Files
sdk/docs/ContentStorefrontResult.md

4.5 KiB

ContentStorefrontResult

Properties

Name Type Description Notes
ImageUrl Pointer to string ImageURL is the absolute URL the listing's headerImage now points at. The image is REFERENCED, not copied — it stays in the org's studio output bucket, so removing it there empties the storefront tile. [optional]
Slug Pointer to string Slug is the product handle the image was attached to. It IS the asset's `design` field — that equality is the whole join between the studio and the catalog, which is why an asset with no design produces no storefront result at all. [optional]
Status Pointer to string Status is one of "published" (the product image was set), "not_configured" (no commerce edge, no store provisioned for the org, or a token that is not admin on the store — a fail-closed no-op) or "failed" (commerce answered and errored). None of the three fails the transition that produced it. [optional]
Store Pointer to string Store is the commerce store id the image landed in, resolved for the org mid-call. Present only on "published": a result that never got that far carries none. [optional]

Methods

NewContentStorefrontResult

func NewContentStorefrontResult() *ContentStorefrontResult

NewContentStorefrontResult instantiates a new ContentStorefrontResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewContentStorefrontResultWithDefaults

func NewContentStorefrontResultWithDefaults() *ContentStorefrontResult

NewContentStorefrontResultWithDefaults instantiates a new ContentStorefrontResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetImageUrl

func (o *ContentStorefrontResult) GetImageUrl() string

GetImageUrl returns the ImageUrl field if non-nil, zero value otherwise.

GetImageUrlOk

func (o *ContentStorefrontResult) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImageUrl

func (o *ContentStorefrontResult) SetImageUrl(v string)

SetImageUrl sets ImageUrl field to given value.

HasImageUrl

func (o *ContentStorefrontResult) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

GetSlug

func (o *ContentStorefrontResult) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *ContentStorefrontResult) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSlug

func (o *ContentStorefrontResult) SetSlug(v string)

SetSlug sets Slug field to given value.

HasSlug

func (o *ContentStorefrontResult) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetStatus

func (o *ContentStorefrontResult) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *ContentStorefrontResult) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *ContentStorefrontResult) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *ContentStorefrontResult) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetStore

func (o *ContentStorefrontResult) GetStore() string

GetStore returns the Store field if non-nil, zero value otherwise.

GetStoreOk

func (o *ContentStorefrontResult) GetStoreOk() (*string, bool)

GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStore

func (o *ContentStorefrontResult) SetStore(v string)

SetStore sets Store field to given value.

HasStore

func (o *ContentStorefrontResult) HasStore() bool

HasStore returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]