Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type BasicAuth
- type BuyerTaxonomyAPI
- type BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest
- type BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest
- type BuyerTaxonomyAPIService
- func (a *BuyerTaxonomyAPIService) GetBuyerTaxonomyNodes(ctx context.Context) BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest
- func (a *BuyerTaxonomyAPIService) GetBuyerTaxonomyNodesExecute(r BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest) (*BuyerTaxonomyNodes, *http.Response, error)
- func (a *BuyerTaxonomyAPIService) GetPropertiesByBuyerTaxonomyId(ctx context.Context, taxonomyId int64) BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest
- func (a *BuyerTaxonomyAPIService) GetPropertiesByBuyerTaxonomyIdExecute(r BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest) (*BuyerTaxonomyNodeProperties, *http.Response, error)
- type BuyerTaxonomyNode
- func (o *BuyerTaxonomyNode) GetChildren() []BuyerTaxonomyNode
- func (o *BuyerTaxonomyNode) GetChildrenOk() ([]BuyerTaxonomyNode, bool)
- func (o *BuyerTaxonomyNode) GetFullPathTaxonomyIds() []int64
- func (o *BuyerTaxonomyNode) GetFullPathTaxonomyIdsOk() ([]int64, bool)
- func (o *BuyerTaxonomyNode) GetId() int64
- func (o *BuyerTaxonomyNode) GetIdOk() (*int64, bool)
- func (o *BuyerTaxonomyNode) GetLevel() int64
- func (o *BuyerTaxonomyNode) GetLevelOk() (*int64, bool)
- func (o *BuyerTaxonomyNode) GetName() string
- func (o *BuyerTaxonomyNode) GetNameOk() (*string, bool)
- func (o *BuyerTaxonomyNode) GetParentId() int64
- func (o *BuyerTaxonomyNode) GetParentIdOk() (*int64, bool)
- func (o *BuyerTaxonomyNode) HasChildren() bool
- func (o *BuyerTaxonomyNode) HasFullPathTaxonomyIds() bool
- func (o *BuyerTaxonomyNode) HasId() bool
- func (o *BuyerTaxonomyNode) HasLevel() bool
- func (o *BuyerTaxonomyNode) HasName() bool
- func (o *BuyerTaxonomyNode) HasParentId() bool
- func (o BuyerTaxonomyNode) MarshalJSON() ([]byte, error)
- func (o *BuyerTaxonomyNode) SetChildren(v []BuyerTaxonomyNode)
- func (o *BuyerTaxonomyNode) SetFullPathTaxonomyIds(v []int64)
- func (o *BuyerTaxonomyNode) SetId(v int64)
- func (o *BuyerTaxonomyNode) SetLevel(v int64)
- func (o *BuyerTaxonomyNode) SetName(v string)
- func (o *BuyerTaxonomyNode) SetParentId(v int64)
- func (o *BuyerTaxonomyNode) SetParentIdNil()
- func (o BuyerTaxonomyNode) ToMap() (map[string]interface{}, error)
- func (o *BuyerTaxonomyNode) UnsetParentId()
- type BuyerTaxonomyNodeProperties
- func (o *BuyerTaxonomyNodeProperties) GetCount() int64
- func (o *BuyerTaxonomyNodeProperties) GetCountOk() (*int64, bool)
- func (o *BuyerTaxonomyNodeProperties) GetResults() []BuyerTaxonomyNodeProperty
- func (o *BuyerTaxonomyNodeProperties) GetResultsOk() ([]BuyerTaxonomyNodeProperty, bool)
- func (o *BuyerTaxonomyNodeProperties) HasCount() bool
- func (o *BuyerTaxonomyNodeProperties) HasResults() bool
- func (o BuyerTaxonomyNodeProperties) MarshalJSON() ([]byte, error)
- func (o *BuyerTaxonomyNodeProperties) SetCount(v int64)
- func (o *BuyerTaxonomyNodeProperties) SetResults(v []BuyerTaxonomyNodeProperty)
- func (o BuyerTaxonomyNodeProperties) ToMap() (map[string]interface{}, error)
- type BuyerTaxonomyNodeProperty
- func (o *BuyerTaxonomyNodeProperty) GetDisplayName() string
- func (o *BuyerTaxonomyNodeProperty) GetDisplayNameOk() (*string, bool)
- func (o *BuyerTaxonomyNodeProperty) GetIsMultivalued() bool
- func (o *BuyerTaxonomyNodeProperty) GetIsMultivaluedOk() (*bool, bool)
- func (o *BuyerTaxonomyNodeProperty) GetIsRequired() bool
- func (o *BuyerTaxonomyNodeProperty) GetIsRequiredOk() (*bool, bool)
- func (o *BuyerTaxonomyNodeProperty) GetMaxValuesAllowed() int64
- func (o *BuyerTaxonomyNodeProperty) GetMaxValuesAllowedOk() (*int64, bool)
- func (o *BuyerTaxonomyNodeProperty) GetName() string
- func (o *BuyerTaxonomyNodeProperty) GetNameOk() (*string, bool)
- func (o *BuyerTaxonomyNodeProperty) GetPossibleValues() []BuyerTaxonomyPropertyValue
- func (o *BuyerTaxonomyNodeProperty) GetPossibleValuesOk() ([]BuyerTaxonomyPropertyValue, bool)
- func (o *BuyerTaxonomyNodeProperty) GetPropertyId() int64
- func (o *BuyerTaxonomyNodeProperty) GetPropertyIdOk() (*int64, bool)
- func (o *BuyerTaxonomyNodeProperty) GetScales() []BuyerTaxonomyPropertyScale
- func (o *BuyerTaxonomyNodeProperty) GetScalesOk() ([]BuyerTaxonomyPropertyScale, bool)
- func (o *BuyerTaxonomyNodeProperty) GetSelectedValues() []BuyerTaxonomyPropertyValue
- func (o *BuyerTaxonomyNodeProperty) GetSelectedValuesOk() ([]BuyerTaxonomyPropertyValue, bool)
- func (o *BuyerTaxonomyNodeProperty) GetSupportsAttributes() bool
- func (o *BuyerTaxonomyNodeProperty) GetSupportsAttributesOk() (*bool, bool)
- func (o *BuyerTaxonomyNodeProperty) GetSupportsVariations() bool
- func (o *BuyerTaxonomyNodeProperty) GetSupportsVariationsOk() (*bool, bool)
- func (o *BuyerTaxonomyNodeProperty) HasDisplayName() bool
- func (o *BuyerTaxonomyNodeProperty) HasIsMultivalued() bool
- func (o *BuyerTaxonomyNodeProperty) HasIsRequired() bool
- func (o *BuyerTaxonomyNodeProperty) HasMaxValuesAllowed() bool
- func (o *BuyerTaxonomyNodeProperty) HasName() bool
- func (o *BuyerTaxonomyNodeProperty) HasPossibleValues() bool
- func (o *BuyerTaxonomyNodeProperty) HasPropertyId() bool
- func (o *BuyerTaxonomyNodeProperty) HasScales() bool
- func (o *BuyerTaxonomyNodeProperty) HasSelectedValues() bool
- func (o *BuyerTaxonomyNodeProperty) HasSupportsAttributes() bool
- func (o *BuyerTaxonomyNodeProperty) HasSupportsVariations() bool
- func (o BuyerTaxonomyNodeProperty) MarshalJSON() ([]byte, error)
- func (o *BuyerTaxonomyNodeProperty) SetDisplayName(v string)
- func (o *BuyerTaxonomyNodeProperty) SetIsMultivalued(v bool)
- func (o *BuyerTaxonomyNodeProperty) SetIsRequired(v bool)
- func (o *BuyerTaxonomyNodeProperty) SetMaxValuesAllowed(v int64)
- func (o *BuyerTaxonomyNodeProperty) SetMaxValuesAllowedNil()
- func (o *BuyerTaxonomyNodeProperty) SetName(v string)
- func (o *BuyerTaxonomyNodeProperty) SetPossibleValues(v []BuyerTaxonomyPropertyValue)
- func (o *BuyerTaxonomyNodeProperty) SetPropertyId(v int64)
- func (o *BuyerTaxonomyNodeProperty) SetScales(v []BuyerTaxonomyPropertyScale)
- func (o *BuyerTaxonomyNodeProperty) SetSelectedValues(v []BuyerTaxonomyPropertyValue)
- func (o *BuyerTaxonomyNodeProperty) SetSupportsAttributes(v bool)
- func (o *BuyerTaxonomyNodeProperty) SetSupportsVariations(v bool)
- func (o BuyerTaxonomyNodeProperty) ToMap() (map[string]interface{}, error)
- func (o *BuyerTaxonomyNodeProperty) UnsetMaxValuesAllowed()
- type BuyerTaxonomyNodes
- func (o *BuyerTaxonomyNodes) GetCount() int64
- func (o *BuyerTaxonomyNodes) GetCountOk() (*int64, bool)
- func (o *BuyerTaxonomyNodes) GetResults() []BuyerTaxonomyNode
- func (o *BuyerTaxonomyNodes) GetResultsOk() ([]BuyerTaxonomyNode, bool)
- func (o *BuyerTaxonomyNodes) HasCount() bool
- func (o *BuyerTaxonomyNodes) HasResults() bool
- func (o BuyerTaxonomyNodes) MarshalJSON() ([]byte, error)
- func (o *BuyerTaxonomyNodes) SetCount(v int64)
- func (o *BuyerTaxonomyNodes) SetResults(v []BuyerTaxonomyNode)
- func (o BuyerTaxonomyNodes) ToMap() (map[string]interface{}, error)
- type BuyerTaxonomyPropertyScale
- func (o *BuyerTaxonomyPropertyScale) GetDescription() string
- func (o *BuyerTaxonomyPropertyScale) GetDescriptionOk() (*string, bool)
- func (o *BuyerTaxonomyPropertyScale) GetDisplayName() string
- func (o *BuyerTaxonomyPropertyScale) GetDisplayNameOk() (*string, bool)
- func (o *BuyerTaxonomyPropertyScale) GetScaleId() int64
- func (o *BuyerTaxonomyPropertyScale) GetScaleIdOk() (*int64, bool)
- func (o *BuyerTaxonomyPropertyScale) HasDescription() bool
- func (o *BuyerTaxonomyPropertyScale) HasDisplayName() bool
- func (o *BuyerTaxonomyPropertyScale) HasScaleId() bool
- func (o BuyerTaxonomyPropertyScale) MarshalJSON() ([]byte, error)
- func (o *BuyerTaxonomyPropertyScale) SetDescription(v string)
- func (o *BuyerTaxonomyPropertyScale) SetDisplayName(v string)
- func (o *BuyerTaxonomyPropertyScale) SetScaleId(v int64)
- func (o BuyerTaxonomyPropertyScale) ToMap() (map[string]interface{}, error)
- type BuyerTaxonomyPropertyValue
- func (o *BuyerTaxonomyPropertyValue) GetEqualTo() []int64
- func (o *BuyerTaxonomyPropertyValue) GetEqualToOk() ([]int64, bool)
- func (o *BuyerTaxonomyPropertyValue) GetName() string
- func (o *BuyerTaxonomyPropertyValue) GetNameOk() (*string, bool)
- func (o *BuyerTaxonomyPropertyValue) GetScaleId() int64
- func (o *BuyerTaxonomyPropertyValue) GetScaleIdOk() (*int64, bool)
- func (o *BuyerTaxonomyPropertyValue) GetValueId() int64
- func (o *BuyerTaxonomyPropertyValue) GetValueIdOk() (*int64, bool)
- func (o *BuyerTaxonomyPropertyValue) HasEqualTo() bool
- func (o *BuyerTaxonomyPropertyValue) HasName() bool
- func (o *BuyerTaxonomyPropertyValue) HasScaleId() bool
- func (o *BuyerTaxonomyPropertyValue) HasValueId() bool
- func (o BuyerTaxonomyPropertyValue) MarshalJSON() ([]byte, error)
- func (o *BuyerTaxonomyPropertyValue) SetEqualTo(v []int64)
- func (o *BuyerTaxonomyPropertyValue) SetName(v string)
- func (o *BuyerTaxonomyPropertyValue) SetScaleId(v int64)
- func (o *BuyerTaxonomyPropertyValue) SetScaleIdNil()
- func (o *BuyerTaxonomyPropertyValue) SetValueId(v int64)
- func (o *BuyerTaxonomyPropertyValue) SetValueIdNil()
- func (o BuyerTaxonomyPropertyValue) ToMap() (map[string]interface{}, error)
- func (o *BuyerTaxonomyPropertyValue) UnsetScaleId()
- func (o *BuyerTaxonomyPropertyValue) UnsetValueId()
- type Configuration
- type CreateDraftListingRequestItemDimensionsUnit
- type CreateDraftListingRequestItemWeightUnit
- type CreateDraftListingRequestType
- type CreateDraftListingRequestWhenMade
- type CreateDraftListingRequestWhoMade
- type CreateShopShippingProfileRequestDestinationRegion
- type CreateShopShippingProfileRequestProcessingTimeUnit
- type CreateShopShippingProfileUpgradeRequestType
- type ErrorSchema
- type GenericOpenAPIError
- type GetListingInventoryIncludesParameter
- type GetListingsByShopIncludesParameterInner
- type GetListingsByShopSortOnParameter
- type GetListingsByShopSortOrderParameter
- type GetListingsByShopStateParameter
- type GetShopReceiptsSortOnParameter
- type GetShopReceiptsSortOrderParameter
- type LedgerEntryAPI
- type LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
- func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Execute() (*PaymentAccountLedgerEntries, *http.Response, error)
- func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Limit(limit int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
- func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) MaxCreated(maxCreated int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
- func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) MinCreated(minCreated int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
- func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Offset(offset int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
- type LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest
- type LedgerEntryAPIService
- func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntries(ctx context.Context, shopId int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
- func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntriesExecute(r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) (*PaymentAccountLedgerEntries, *http.Response, error)
- func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntry(ctx context.Context, shopId int64, ledgerEntryId int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest
- func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntryExecute(r LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest) (*PaymentAccountLedgerEntry, *http.Response, error)
- type ListingImage
- func (o *ListingImage) GetAltText() string
- func (o *ListingImage) GetAltTextOk() (*string, bool)
- func (o *ListingImage) GetBlue() int64
- func (o *ListingImage) GetBlueOk() (*int64, bool)
- func (o *ListingImage) GetBrightness() int64
- func (o *ListingImage) GetBrightnessOk() (*int64, bool)
- func (o *ListingImage) GetCreatedTimestamp() int64
- func (o *ListingImage) GetCreatedTimestampOk() (*int64, bool)
- func (o *ListingImage) GetCreationTsz() int64
- func (o *ListingImage) GetCreationTszOk() (*int64, bool)
- func (o *ListingImage) GetFullHeight() int64
- func (o *ListingImage) GetFullHeightOk() (*int64, bool)
- func (o *ListingImage) GetFullWidth() int64
- func (o *ListingImage) GetFullWidthOk() (*int64, bool)
- func (o *ListingImage) GetGreen() int64
- func (o *ListingImage) GetGreenOk() (*int64, bool)
- func (o *ListingImage) GetHexCode() string
- func (o *ListingImage) GetHexCodeOk() (*string, bool)
- func (o *ListingImage) GetHue() int64
- func (o *ListingImage) GetHueOk() (*int64, bool)
- func (o *ListingImage) GetIsBlackAndWhite() bool
- func (o *ListingImage) GetIsBlackAndWhiteOk() (*bool, bool)
- func (o *ListingImage) GetListingId() int64
- func (o *ListingImage) GetListingIdOk() (*int64, bool)
- func (o *ListingImage) GetListingImageId() int64
- func (o *ListingImage) GetListingImageIdOk() (*int64, bool)
- func (o *ListingImage) GetRank() int64
- func (o *ListingImage) GetRankOk() (*int64, bool)
- func (o *ListingImage) GetRed() int64
- func (o *ListingImage) GetRedOk() (*int64, bool)
- func (o *ListingImage) GetSaturation() int64
- func (o *ListingImage) GetSaturationOk() (*int64, bool)
- func (o *ListingImage) GetUrl170x135() string
- func (o *ListingImage) GetUrl170x135Ok() (*string, bool)
- func (o *ListingImage) GetUrl570xN() string
- func (o *ListingImage) GetUrl570xNOk() (*string, bool)
- func (o *ListingImage) GetUrl75x75() string
- func (o *ListingImage) GetUrl75x75Ok() (*string, bool)
- func (o *ListingImage) GetUrlFullxfull() string
- func (o *ListingImage) GetUrlFullxfullOk() (*string, bool)
- func (o *ListingImage) HasAltText() bool
- func (o *ListingImage) HasBlue() bool
- func (o *ListingImage) HasBrightness() bool
- func (o *ListingImage) HasCreatedTimestamp() bool
- func (o *ListingImage) HasCreationTsz() bool
- func (o *ListingImage) HasFullHeight() bool
- func (o *ListingImage) HasFullWidth() bool
- func (o *ListingImage) HasGreen() bool
- func (o *ListingImage) HasHexCode() bool
- func (o *ListingImage) HasHue() bool
- func (o *ListingImage) HasIsBlackAndWhite() bool
- func (o *ListingImage) HasListingId() bool
- func (o *ListingImage) HasListingImageId() bool
- func (o *ListingImage) HasRank() bool
- func (o *ListingImage) HasRed() bool
- func (o *ListingImage) HasSaturation() bool
- func (o *ListingImage) HasUrl170x135() bool
- func (o *ListingImage) HasUrl570xN() bool
- func (o *ListingImage) HasUrl75x75() bool
- func (o *ListingImage) HasUrlFullxfull() bool
- func (o ListingImage) MarshalJSON() ([]byte, error)
- func (o *ListingImage) SetAltText(v string)
- func (o *ListingImage) SetAltTextNil()
- func (o *ListingImage) SetBlue(v int64)
- func (o *ListingImage) SetBlueNil()
- func (o *ListingImage) SetBrightness(v int64)
- func (o *ListingImage) SetBrightnessNil()
- func (o *ListingImage) SetCreatedTimestamp(v int64)
- func (o *ListingImage) SetCreationTsz(v int64)
- func (o *ListingImage) SetFullHeight(v int64)
- func (o *ListingImage) SetFullHeightNil()
- func (o *ListingImage) SetFullWidth(v int64)
- func (o *ListingImage) SetFullWidthNil()
- func (o *ListingImage) SetGreen(v int64)
- func (o *ListingImage) SetGreenNil()
- func (o *ListingImage) SetHexCode(v string)
- func (o *ListingImage) SetHexCodeNil()
- func (o *ListingImage) SetHue(v int64)
- func (o *ListingImage) SetHueNil()
- func (o *ListingImage) SetIsBlackAndWhite(v bool)
- func (o *ListingImage) SetIsBlackAndWhiteNil()
- func (o *ListingImage) SetListingId(v int64)
- func (o *ListingImage) SetListingImageId(v int64)
- func (o *ListingImage) SetRank(v int64)
- func (o *ListingImage) SetRed(v int64)
- func (o *ListingImage) SetRedNil()
- func (o *ListingImage) SetSaturation(v int64)
- func (o *ListingImage) SetSaturationNil()
- func (o *ListingImage) SetUrl170x135(v string)
- func (o *ListingImage) SetUrl570xN(v string)
- func (o *ListingImage) SetUrl75x75(v string)
- func (o *ListingImage) SetUrlFullxfull(v string)
- func (o ListingImage) ToMap() (map[string]interface{}, error)
- func (o *ListingImage) UnsetAltText()
- func (o *ListingImage) UnsetBlue()
- func (o *ListingImage) UnsetBrightness()
- func (o *ListingImage) UnsetFullHeight()
- func (o *ListingImage) UnsetFullWidth()
- func (o *ListingImage) UnsetGreen()
- func (o *ListingImage) UnsetHexCode()
- func (o *ListingImage) UnsetHue()
- func (o *ListingImage) UnsetIsBlackAndWhite()
- func (o *ListingImage) UnsetRed()
- func (o *ListingImage) UnsetSaturation()
- type ListingImages
- func (o *ListingImages) GetCount() int64
- func (o *ListingImages) GetCountOk() (*int64, bool)
- func (o *ListingImages) GetResults() []ListingImage
- func (o *ListingImages) GetResultsOk() ([]ListingImage, bool)
- func (o *ListingImages) HasCount() bool
- func (o *ListingImages) HasResults() bool
- func (o ListingImages) MarshalJSON() ([]byte, error)
- func (o *ListingImages) SetCount(v int64)
- func (o *ListingImages) SetResults(v []ListingImage)
- func (o ListingImages) ToMap() (map[string]interface{}, error)
- type ListingInventory
- func (o *ListingInventory) GetPriceOnProperty() []int64
- func (o *ListingInventory) GetPriceOnPropertyOk() ([]int64, bool)
- func (o *ListingInventory) GetProducts() []ListingInventoryProduct
- func (o *ListingInventory) GetProductsOk() ([]ListingInventoryProduct, bool)
- func (o *ListingInventory) GetQuantityOnProperty() []int64
- func (o *ListingInventory) GetQuantityOnPropertyOk() ([]int64, bool)
- func (o *ListingInventory) GetSkuOnProperty() []int64
- func (o *ListingInventory) GetSkuOnPropertyOk() ([]int64, bool)
- func (o *ListingInventory) HasPriceOnProperty() bool
- func (o *ListingInventory) HasProducts() bool
- func (o *ListingInventory) HasQuantityOnProperty() bool
- func (o *ListingInventory) HasSkuOnProperty() bool
- func (o ListingInventory) MarshalJSON() ([]byte, error)
- func (o *ListingInventory) SetPriceOnProperty(v []int64)
- func (o *ListingInventory) SetProducts(v []ListingInventoryProduct)
- func (o *ListingInventory) SetQuantityOnProperty(v []int64)
- func (o *ListingInventory) SetSkuOnProperty(v []int64)
- func (o ListingInventory) ToMap() (map[string]interface{}, error)
- type ListingInventoryProduct
- func (o *ListingInventoryProduct) GetIsDeleted() bool
- func (o *ListingInventoryProduct) GetIsDeletedOk() (*bool, bool)
- func (o *ListingInventoryProduct) GetOfferings() []ListingInventoryProductOffering
- func (o *ListingInventoryProduct) GetOfferingsOk() ([]ListingInventoryProductOffering, bool)
- func (o *ListingInventoryProduct) GetProductId() int64
- func (o *ListingInventoryProduct) GetProductIdOk() (*int64, bool)
- func (o *ListingInventoryProduct) GetPropertyValues() []ListingPropertyValue
- func (o *ListingInventoryProduct) GetPropertyValuesOk() ([]ListingPropertyValue, bool)
- func (o *ListingInventoryProduct) GetSku() string
- func (o *ListingInventoryProduct) GetSkuOk() (*string, bool)
- func (o *ListingInventoryProduct) HasIsDeleted() bool
- func (o *ListingInventoryProduct) HasOfferings() bool
- func (o *ListingInventoryProduct) HasProductId() bool
- func (o *ListingInventoryProduct) HasPropertyValues() bool
- func (o *ListingInventoryProduct) HasSku() bool
- func (o ListingInventoryProduct) MarshalJSON() ([]byte, error)
- func (o *ListingInventoryProduct) SetIsDeleted(v bool)
- func (o *ListingInventoryProduct) SetOfferings(v []ListingInventoryProductOffering)
- func (o *ListingInventoryProduct) SetProductId(v int64)
- func (o *ListingInventoryProduct) SetPropertyValues(v []ListingPropertyValue)
- func (o *ListingInventoryProduct) SetSku(v string)
- func (o ListingInventoryProduct) ToMap() (map[string]interface{}, error)
- type ListingInventoryProductOffering
- func (o *ListingInventoryProductOffering) GetIsDeleted() bool
- func (o *ListingInventoryProductOffering) GetIsDeletedOk() (*bool, bool)
- func (o *ListingInventoryProductOffering) GetIsEnabled() bool
- func (o *ListingInventoryProductOffering) GetIsEnabledOk() (*bool, bool)
- func (o *ListingInventoryProductOffering) GetOfferingId() int64
- func (o *ListingInventoryProductOffering) GetOfferingIdOk() (*int64, bool)
- func (o *ListingInventoryProductOffering) GetPrice() Money
- func (o *ListingInventoryProductOffering) GetPriceOk() (*Money, bool)
- func (o *ListingInventoryProductOffering) GetQuantity() int64
- func (o *ListingInventoryProductOffering) GetQuantityOk() (*int64, bool)
- func (o *ListingInventoryProductOffering) HasIsDeleted() bool
- func (o *ListingInventoryProductOffering) HasIsEnabled() bool
- func (o *ListingInventoryProductOffering) HasOfferingId() bool
- func (o *ListingInventoryProductOffering) HasPrice() bool
- func (o *ListingInventoryProductOffering) HasQuantity() bool
- func (o ListingInventoryProductOffering) MarshalJSON() ([]byte, error)
- func (o *ListingInventoryProductOffering) SetIsDeleted(v bool)
- func (o *ListingInventoryProductOffering) SetIsEnabled(v bool)
- func (o *ListingInventoryProductOffering) SetOfferingId(v int64)
- func (o *ListingInventoryProductOffering) SetPrice(v Money)
- func (o *ListingInventoryProductOffering) SetQuantity(v int64)
- func (o ListingInventoryProductOffering) ToMap() (map[string]interface{}, error)
- type ListingInventoryWithAssociations
- func (o *ListingInventoryWithAssociations) GetListing() ShopListing
- func (o *ListingInventoryWithAssociations) GetListingOk() (*ShopListing, bool)
- func (o *ListingInventoryWithAssociations) GetPriceOnProperty() []int64
- func (o *ListingInventoryWithAssociations) GetPriceOnPropertyOk() ([]int64, bool)
- func (o *ListingInventoryWithAssociations) GetProducts() []ListingInventoryProduct
- func (o *ListingInventoryWithAssociations) GetProductsOk() ([]ListingInventoryProduct, bool)
- func (o *ListingInventoryWithAssociations) GetQuantityOnProperty() []int64
- func (o *ListingInventoryWithAssociations) GetQuantityOnPropertyOk() ([]int64, bool)
- func (o *ListingInventoryWithAssociations) GetSkuOnProperty() []int64
- func (o *ListingInventoryWithAssociations) GetSkuOnPropertyOk() ([]int64, bool)
- func (o *ListingInventoryWithAssociations) HasListing() bool
- func (o *ListingInventoryWithAssociations) HasPriceOnProperty() bool
- func (o *ListingInventoryWithAssociations) HasProducts() bool
- func (o *ListingInventoryWithAssociations) HasQuantityOnProperty() bool
- func (o *ListingInventoryWithAssociations) HasSkuOnProperty() bool
- func (o ListingInventoryWithAssociations) MarshalJSON() ([]byte, error)
- func (o *ListingInventoryWithAssociations) SetListing(v ShopListing)
- func (o *ListingInventoryWithAssociations) SetPriceOnProperty(v []int64)
- func (o *ListingInventoryWithAssociations) SetProducts(v []ListingInventoryProduct)
- func (o *ListingInventoryWithAssociations) SetQuantityOnProperty(v []int64)
- func (o *ListingInventoryWithAssociations) SetSkuOnProperty(v []int64)
- func (o ListingInventoryWithAssociations) ToMap() (map[string]interface{}, error)
- type ListingPropertyValue
- func (o *ListingPropertyValue) GetPropertyId() int64
- func (o *ListingPropertyValue) GetPropertyIdOk() (*int64, bool)
- func (o *ListingPropertyValue) GetPropertyName() string
- func (o *ListingPropertyValue) GetPropertyNameOk() (*string, bool)
- func (o *ListingPropertyValue) GetScaleId() int64
- func (o *ListingPropertyValue) GetScaleIdOk() (*int64, bool)
- func (o *ListingPropertyValue) GetScaleName() string
- func (o *ListingPropertyValue) GetScaleNameOk() (*string, bool)
- func (o *ListingPropertyValue) GetValueIds() []int64
- func (o *ListingPropertyValue) GetValueIdsOk() ([]int64, bool)
- func (o *ListingPropertyValue) GetValues() []string
- func (o *ListingPropertyValue) GetValuesOk() ([]string, bool)
- func (o *ListingPropertyValue) HasPropertyId() bool
- func (o *ListingPropertyValue) HasPropertyName() bool
- func (o *ListingPropertyValue) HasScaleId() bool
- func (o *ListingPropertyValue) HasScaleName() bool
- func (o *ListingPropertyValue) HasValueIds() bool
- func (o *ListingPropertyValue) HasValues() bool
- func (o ListingPropertyValue) MarshalJSON() ([]byte, error)
- func (o *ListingPropertyValue) SetPropertyId(v int64)
- func (o *ListingPropertyValue) SetPropertyName(v string)
- func (o *ListingPropertyValue) SetPropertyNameNil()
- func (o *ListingPropertyValue) SetScaleId(v int64)
- func (o *ListingPropertyValue) SetScaleIdNil()
- func (o *ListingPropertyValue) SetScaleName(v string)
- func (o *ListingPropertyValue) SetScaleNameNil()
- func (o *ListingPropertyValue) SetValueIds(v []int64)
- func (o *ListingPropertyValue) SetValues(v []string)
- func (o ListingPropertyValue) ToMap() (map[string]interface{}, error)
- func (o *ListingPropertyValue) UnsetPropertyName()
- func (o *ListingPropertyValue) UnsetScaleId()
- func (o *ListingPropertyValue) UnsetScaleName()
- type ListingPropertyValues
- func (o *ListingPropertyValues) GetCount() int64
- func (o *ListingPropertyValues) GetCountOk() (*int64, bool)
- func (o *ListingPropertyValues) GetResults() []ListingPropertyValue
- func (o *ListingPropertyValues) GetResultsOk() ([]ListingPropertyValue, bool)
- func (o *ListingPropertyValues) HasCount() bool
- func (o *ListingPropertyValues) HasResults() bool
- func (o ListingPropertyValues) MarshalJSON() ([]byte, error)
- func (o *ListingPropertyValues) SetCount(v int64)
- func (o *ListingPropertyValues) SetResults(v []ListingPropertyValue)
- func (o ListingPropertyValues) ToMap() (map[string]interface{}, error)
- type ListingReview
- func (o *ListingReview) GetCreateTimestamp() int64
- func (o *ListingReview) GetCreateTimestampOk() (*int64, bool)
- func (o *ListingReview) GetCreatedTimestamp() int64
- func (o *ListingReview) GetCreatedTimestampOk() (*int64, bool)
- func (o *ListingReview) GetImageUrlFullxfull() string
- func (o *ListingReview) GetImageUrlFullxfullOk() (*string, bool)
- func (o *ListingReview) GetLanguage() string
- func (o *ListingReview) GetLanguageOk() (*string, bool)
- func (o *ListingReview) GetListingId() int64
- func (o *ListingReview) GetListingIdOk() (*int64, bool)
- func (o *ListingReview) GetRating() int64
- func (o *ListingReview) GetRatingOk() (*int64, bool)
- func (o *ListingReview) GetReview() string
- func (o *ListingReview) GetReviewOk() (*string, bool)
- func (o *ListingReview) GetShopId() int64
- func (o *ListingReview) GetShopIdOk() (*int64, bool)
- func (o *ListingReview) GetUpdateTimestamp() int64
- func (o *ListingReview) GetUpdateTimestampOk() (*int64, bool)
- func (o *ListingReview) GetUpdatedTimestamp() int64
- func (o *ListingReview) GetUpdatedTimestampOk() (*int64, bool)
- func (o *ListingReview) HasCreateTimestamp() bool
- func (o *ListingReview) HasCreatedTimestamp() bool
- func (o *ListingReview) HasImageUrlFullxfull() bool
- func (o *ListingReview) HasLanguage() bool
- func (o *ListingReview) HasListingId() bool
- func (o *ListingReview) HasRating() bool
- func (o *ListingReview) HasReview() bool
- func (o *ListingReview) HasShopId() bool
- func (o *ListingReview) HasUpdateTimestamp() bool
- func (o *ListingReview) HasUpdatedTimestamp() bool
- func (o ListingReview) MarshalJSON() ([]byte, error)
- func (o *ListingReview) SetCreateTimestamp(v int64)
- func (o *ListingReview) SetCreatedTimestamp(v int64)
- func (o *ListingReview) SetImageUrlFullxfull(v string)
- func (o *ListingReview) SetImageUrlFullxfullNil()
- func (o *ListingReview) SetLanguage(v string)
- func (o *ListingReview) SetListingId(v int64)
- func (o *ListingReview) SetRating(v int64)
- func (o *ListingReview) SetReview(v string)
- func (o *ListingReview) SetReviewNil()
- func (o *ListingReview) SetShopId(v int64)
- func (o *ListingReview) SetUpdateTimestamp(v int64)
- func (o *ListingReview) SetUpdatedTimestamp(v int64)
- func (o ListingReview) ToMap() (map[string]interface{}, error)
- func (o *ListingReview) UnsetImageUrlFullxfull()
- func (o *ListingReview) UnsetReview()
- type ListingReviews
- func (o *ListingReviews) GetCount() int64
- func (o *ListingReviews) GetCountOk() (*int64, bool)
- func (o *ListingReviews) GetResults() []ListingReview
- func (o *ListingReviews) GetResultsOk() ([]ListingReview, bool)
- func (o *ListingReviews) HasCount() bool
- func (o *ListingReviews) HasResults() bool
- func (o ListingReviews) MarshalJSON() ([]byte, error)
- func (o *ListingReviews) SetCount(v int64)
- func (o *ListingReviews) SetResults(v []ListingReview)
- func (o ListingReviews) ToMap() (map[string]interface{}, error)
- type ListingTranslation
- func (o *ListingTranslation) GetDescription() string
- func (o *ListingTranslation) GetDescriptionOk() (*string, bool)
- func (o *ListingTranslation) GetLanguage() string
- func (o *ListingTranslation) GetLanguageOk() (*string, bool)
- func (o *ListingTranslation) GetListingId() int64
- func (o *ListingTranslation) GetListingIdOk() (*int64, bool)
- func (o *ListingTranslation) GetTags() []string
- func (o *ListingTranslation) GetTagsOk() ([]string, bool)
- func (o *ListingTranslation) GetTitle() string
- func (o *ListingTranslation) GetTitleOk() (*string, bool)
- func (o *ListingTranslation) HasDescription() bool
- func (o *ListingTranslation) HasLanguage() bool
- func (o *ListingTranslation) HasListingId() bool
- func (o *ListingTranslation) HasTags() bool
- func (o *ListingTranslation) HasTitle() bool
- func (o ListingTranslation) MarshalJSON() ([]byte, error)
- func (o *ListingTranslation) SetDescription(v string)
- func (o *ListingTranslation) SetDescriptionNil()
- func (o *ListingTranslation) SetLanguage(v string)
- func (o *ListingTranslation) SetListingId(v int64)
- func (o *ListingTranslation) SetTags(v []string)
- func (o *ListingTranslation) SetTitle(v string)
- func (o *ListingTranslation) SetTitleNil()
- func (o ListingTranslation) ToMap() (map[string]interface{}, error)
- func (o *ListingTranslation) UnsetDescription()
- func (o *ListingTranslation) UnsetTitle()
- type ListingTranslations
- func (o *ListingTranslations) GetDe() ListingTranslation
- func (o *ListingTranslations) GetDeOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetEnGB() ListingTranslation
- func (o *ListingTranslations) GetEnGBOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetEnIN() ListingTranslation
- func (o *ListingTranslations) GetEnINOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetEnUS() ListingTranslation
- func (o *ListingTranslations) GetEnUSOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetEs() ListingTranslation
- func (o *ListingTranslations) GetEsOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetFr() ListingTranslation
- func (o *ListingTranslations) GetFrOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetIt() ListingTranslation
- func (o *ListingTranslations) GetItOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetJa() ListingTranslation
- func (o *ListingTranslations) GetJaOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetNl() ListingTranslation
- func (o *ListingTranslations) GetNlOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetPl() ListingTranslation
- func (o *ListingTranslations) GetPlOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetPt() ListingTranslation
- func (o *ListingTranslations) GetPtOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) GetRu() ListingTranslation
- func (o *ListingTranslations) GetRuOk() (*ListingTranslation, bool)
- func (o *ListingTranslations) HasDe() bool
- func (o *ListingTranslations) HasEnGB() bool
- func (o *ListingTranslations) HasEnIN() bool
- func (o *ListingTranslations) HasEnUS() bool
- func (o *ListingTranslations) HasEs() bool
- func (o *ListingTranslations) HasFr() bool
- func (o *ListingTranslations) HasIt() bool
- func (o *ListingTranslations) HasJa() bool
- func (o *ListingTranslations) HasNl() bool
- func (o *ListingTranslations) HasPl() bool
- func (o *ListingTranslations) HasPt() bool
- func (o *ListingTranslations) HasRu() bool
- func (o ListingTranslations) MarshalJSON() ([]byte, error)
- func (o *ListingTranslations) SetDe(v ListingTranslation)
- func (o *ListingTranslations) SetDeNil()
- func (o *ListingTranslations) SetEnGB(v ListingTranslation)
- func (o *ListingTranslations) SetEnGBNil()
- func (o *ListingTranslations) SetEnIN(v ListingTranslation)
- func (o *ListingTranslations) SetEnINNil()
- func (o *ListingTranslations) SetEnUS(v ListingTranslation)
- func (o *ListingTranslations) SetEnUSNil()
- func (o *ListingTranslations) SetEs(v ListingTranslation)
- func (o *ListingTranslations) SetEsNil()
- func (o *ListingTranslations) SetFr(v ListingTranslation)
- func (o *ListingTranslations) SetFrNil()
- func (o *ListingTranslations) SetIt(v ListingTranslation)
- func (o *ListingTranslations) SetItNil()
- func (o *ListingTranslations) SetJa(v ListingTranslation)
- func (o *ListingTranslations) SetJaNil()
- func (o *ListingTranslations) SetNl(v ListingTranslation)
- func (o *ListingTranslations) SetNlNil()
- func (o *ListingTranslations) SetPl(v ListingTranslation)
- func (o *ListingTranslations) SetPlNil()
- func (o *ListingTranslations) SetPt(v ListingTranslation)
- func (o *ListingTranslations) SetPtNil()
- func (o *ListingTranslations) SetRu(v ListingTranslation)
- func (o *ListingTranslations) SetRuNil()
- func (o ListingTranslations) ToMap() (map[string]interface{}, error)
- func (o *ListingTranslations) UnsetDe()
- func (o *ListingTranslations) UnsetEnGB()
- func (o *ListingTranslations) UnsetEnIN()
- func (o *ListingTranslations) UnsetEnUS()
- func (o *ListingTranslations) UnsetEs()
- func (o *ListingTranslations) UnsetFr()
- func (o *ListingTranslations) UnsetIt()
- func (o *ListingTranslations) UnsetJa()
- func (o *ListingTranslations) UnsetNl()
- func (o *ListingTranslations) UnsetPl()
- func (o *ListingTranslations) UnsetPt()
- func (o *ListingTranslations) UnsetRu()
- type ListingVariationImage
- func (o *ListingVariationImage) GetImageId() int64
- func (o *ListingVariationImage) GetImageIdOk() (*int64, bool)
- func (o *ListingVariationImage) GetPropertyId() int64
- func (o *ListingVariationImage) GetPropertyIdOk() (*int64, bool)
- func (o *ListingVariationImage) GetValue() string
- func (o *ListingVariationImage) GetValueId() int64
- func (o *ListingVariationImage) GetValueIdOk() (*int64, bool)
- func (o *ListingVariationImage) GetValueOk() (*string, bool)
- func (o *ListingVariationImage) HasImageId() bool
- func (o *ListingVariationImage) HasPropertyId() bool
- func (o *ListingVariationImage) HasValue() bool
- func (o *ListingVariationImage) HasValueId() bool
- func (o ListingVariationImage) MarshalJSON() ([]byte, error)
- func (o *ListingVariationImage) SetImageId(v int64)
- func (o *ListingVariationImage) SetPropertyId(v int64)
- func (o *ListingVariationImage) SetValue(v string)
- func (o *ListingVariationImage) SetValueId(v int64)
- func (o *ListingVariationImage) SetValueNil()
- func (o ListingVariationImage) ToMap() (map[string]interface{}, error)
- func (o *ListingVariationImage) UnsetValue()
- type ListingVariationImages
- func (o *ListingVariationImages) GetCount() int64
- func (o *ListingVariationImages) GetCountOk() (*int64, bool)
- func (o *ListingVariationImages) GetResults() []ListingVariationImage
- func (o *ListingVariationImages) GetResultsOk() ([]ListingVariationImage, bool)
- func (o *ListingVariationImages) HasCount() bool
- func (o *ListingVariationImages) HasResults() bool
- func (o ListingVariationImages) MarshalJSON() ([]byte, error)
- func (o *ListingVariationImages) SetCount(v int64)
- func (o *ListingVariationImages) SetResults(v []ListingVariationImage)
- func (o ListingVariationImages) ToMap() (map[string]interface{}, error)
- type ListingVideo
- func (o *ListingVideo) GetHeight() int64
- func (o *ListingVideo) GetHeightOk() (*int64, bool)
- func (o *ListingVideo) GetThumbnailUrl() string
- func (o *ListingVideo) GetThumbnailUrlOk() (*string, bool)
- func (o *ListingVideo) GetVideoId() int64
- func (o *ListingVideo) GetVideoIdOk() (*int64, bool)
- func (o *ListingVideo) GetVideoState() ListingVideoVideoState
- func (o *ListingVideo) GetVideoStateOk() (*ListingVideoVideoState, bool)
- func (o *ListingVideo) GetVideoUrl() string
- func (o *ListingVideo) GetVideoUrlOk() (*string, bool)
- func (o *ListingVideo) GetWidth() int64
- func (o *ListingVideo) GetWidthOk() (*int64, bool)
- func (o *ListingVideo) HasHeight() bool
- func (o *ListingVideo) HasThumbnailUrl() bool
- func (o *ListingVideo) HasVideoId() bool
- func (o *ListingVideo) HasVideoState() bool
- func (o *ListingVideo) HasVideoUrl() bool
- func (o *ListingVideo) HasWidth() bool
- func (o ListingVideo) MarshalJSON() ([]byte, error)
- func (o *ListingVideo) SetHeight(v int64)
- func (o *ListingVideo) SetThumbnailUrl(v string)
- func (o *ListingVideo) SetVideoId(v int64)
- func (o *ListingVideo) SetVideoState(v ListingVideoVideoState)
- func (o *ListingVideo) SetVideoUrl(v string)
- func (o *ListingVideo) SetWidth(v int64)
- func (o ListingVideo) ToMap() (map[string]interface{}, error)
- type ListingVideoVideoState
- type ListingVideos
- func (o *ListingVideos) GetCount() int64
- func (o *ListingVideos) GetCountOk() (*int64, bool)
- func (o *ListingVideos) GetResults() []ListingVideo
- func (o *ListingVideos) GetResultsOk() ([]ListingVideo, bool)
- func (o *ListingVideos) HasCount() bool
- func (o *ListingVideos) HasResults() bool
- func (o ListingVideos) MarshalJSON() ([]byte, error)
- func (o *ListingVideos) SetCount(v int64)
- func (o *ListingVideos) SetResults(v []ListingVideo)
- func (o ListingVideos) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Money
- func (o *Money) GetAmount() int64
- func (o *Money) GetAmountOk() (*int64, bool)
- func (o *Money) GetCurrencyCode() string
- func (o *Money) GetCurrencyCodeOk() (*string, bool)
- func (o *Money) GetDivisor() int64
- func (o *Money) GetDivisorOk() (*int64, bool)
- func (o *Money) HasAmount() bool
- func (o *Money) HasCurrencyCode() bool
- func (o *Money) HasDivisor() bool
- func (o Money) MarshalJSON() ([]byte, error)
- func (o *Money) SetAmount(v int64)
- func (o *Money) SetCurrencyCode(v string)
- func (o *Money) SetDivisor(v int64)
- func (o Money) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableBuyerTaxonomyNode
- func (v NullableBuyerTaxonomyNode) Get() *BuyerTaxonomyNode
- func (v NullableBuyerTaxonomyNode) IsSet() bool
- func (v NullableBuyerTaxonomyNode) MarshalJSON() ([]byte, error)
- func (v *NullableBuyerTaxonomyNode) Set(val *BuyerTaxonomyNode)
- func (v *NullableBuyerTaxonomyNode) UnmarshalJSON(src []byte) error
- func (v *NullableBuyerTaxonomyNode) Unset()
- type NullableBuyerTaxonomyNodeProperties
- func (v NullableBuyerTaxonomyNodeProperties) Get() *BuyerTaxonomyNodeProperties
- func (v NullableBuyerTaxonomyNodeProperties) IsSet() bool
- func (v NullableBuyerTaxonomyNodeProperties) MarshalJSON() ([]byte, error)
- func (v *NullableBuyerTaxonomyNodeProperties) Set(val *BuyerTaxonomyNodeProperties)
- func (v *NullableBuyerTaxonomyNodeProperties) UnmarshalJSON(src []byte) error
- func (v *NullableBuyerTaxonomyNodeProperties) Unset()
- type NullableBuyerTaxonomyNodeProperty
- func (v NullableBuyerTaxonomyNodeProperty) Get() *BuyerTaxonomyNodeProperty
- func (v NullableBuyerTaxonomyNodeProperty) IsSet() bool
- func (v NullableBuyerTaxonomyNodeProperty) MarshalJSON() ([]byte, error)
- func (v *NullableBuyerTaxonomyNodeProperty) Set(val *BuyerTaxonomyNodeProperty)
- func (v *NullableBuyerTaxonomyNodeProperty) UnmarshalJSON(src []byte) error
- func (v *NullableBuyerTaxonomyNodeProperty) Unset()
- type NullableBuyerTaxonomyNodes
- func (v NullableBuyerTaxonomyNodes) Get() *BuyerTaxonomyNodes
- func (v NullableBuyerTaxonomyNodes) IsSet() bool
- func (v NullableBuyerTaxonomyNodes) MarshalJSON() ([]byte, error)
- func (v *NullableBuyerTaxonomyNodes) Set(val *BuyerTaxonomyNodes)
- func (v *NullableBuyerTaxonomyNodes) UnmarshalJSON(src []byte) error
- func (v *NullableBuyerTaxonomyNodes) Unset()
- type NullableBuyerTaxonomyPropertyScale
- func (v NullableBuyerTaxonomyPropertyScale) Get() *BuyerTaxonomyPropertyScale
- func (v NullableBuyerTaxonomyPropertyScale) IsSet() bool
- func (v NullableBuyerTaxonomyPropertyScale) MarshalJSON() ([]byte, error)
- func (v *NullableBuyerTaxonomyPropertyScale) Set(val *BuyerTaxonomyPropertyScale)
- func (v *NullableBuyerTaxonomyPropertyScale) UnmarshalJSON(src []byte) error
- func (v *NullableBuyerTaxonomyPropertyScale) Unset()
- type NullableBuyerTaxonomyPropertyValue
- func (v NullableBuyerTaxonomyPropertyValue) Get() *BuyerTaxonomyPropertyValue
- func (v NullableBuyerTaxonomyPropertyValue) IsSet() bool
- func (v NullableBuyerTaxonomyPropertyValue) MarshalJSON() ([]byte, error)
- func (v *NullableBuyerTaxonomyPropertyValue) Set(val *BuyerTaxonomyPropertyValue)
- func (v *NullableBuyerTaxonomyPropertyValue) UnmarshalJSON(src []byte) error
- func (v *NullableBuyerTaxonomyPropertyValue) Unset()
- type NullableCreateDraftListingRequestItemDimensionsUnit
- func (v NullableCreateDraftListingRequestItemDimensionsUnit) Get() *CreateDraftListingRequestItemDimensionsUnit
- func (v NullableCreateDraftListingRequestItemDimensionsUnit) IsSet() bool
- func (v NullableCreateDraftListingRequestItemDimensionsUnit) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDraftListingRequestItemDimensionsUnit) Set(val *CreateDraftListingRequestItemDimensionsUnit)
- func (v *NullableCreateDraftListingRequestItemDimensionsUnit) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDraftListingRequestItemDimensionsUnit) Unset()
- type NullableCreateDraftListingRequestItemWeightUnit
- func (v NullableCreateDraftListingRequestItemWeightUnit) Get() *CreateDraftListingRequestItemWeightUnit
- func (v NullableCreateDraftListingRequestItemWeightUnit) IsSet() bool
- func (v NullableCreateDraftListingRequestItemWeightUnit) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDraftListingRequestItemWeightUnit) Set(val *CreateDraftListingRequestItemWeightUnit)
- func (v *NullableCreateDraftListingRequestItemWeightUnit) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDraftListingRequestItemWeightUnit) Unset()
- type NullableCreateDraftListingRequestType
- func (v NullableCreateDraftListingRequestType) Get() *CreateDraftListingRequestType
- func (v NullableCreateDraftListingRequestType) IsSet() bool
- func (v NullableCreateDraftListingRequestType) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDraftListingRequestType) Set(val *CreateDraftListingRequestType)
- func (v *NullableCreateDraftListingRequestType) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDraftListingRequestType) Unset()
- type NullableCreateDraftListingRequestWhenMade
- func (v NullableCreateDraftListingRequestWhenMade) Get() *CreateDraftListingRequestWhenMade
- func (v NullableCreateDraftListingRequestWhenMade) IsSet() bool
- func (v NullableCreateDraftListingRequestWhenMade) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDraftListingRequestWhenMade) Set(val *CreateDraftListingRequestWhenMade)
- func (v *NullableCreateDraftListingRequestWhenMade) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDraftListingRequestWhenMade) Unset()
- type NullableCreateDraftListingRequestWhoMade
- func (v NullableCreateDraftListingRequestWhoMade) Get() *CreateDraftListingRequestWhoMade
- func (v NullableCreateDraftListingRequestWhoMade) IsSet() bool
- func (v NullableCreateDraftListingRequestWhoMade) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDraftListingRequestWhoMade) Set(val *CreateDraftListingRequestWhoMade)
- func (v *NullableCreateDraftListingRequestWhoMade) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDraftListingRequestWhoMade) Unset()
- type NullableCreateShopShippingProfileRequestDestinationRegion
- func (v NullableCreateShopShippingProfileRequestDestinationRegion) Get() *CreateShopShippingProfileRequestDestinationRegion
- func (v NullableCreateShopShippingProfileRequestDestinationRegion) IsSet() bool
- func (v NullableCreateShopShippingProfileRequestDestinationRegion) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShopShippingProfileRequestDestinationRegion) Set(val *CreateShopShippingProfileRequestDestinationRegion)
- func (v *NullableCreateShopShippingProfileRequestDestinationRegion) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShopShippingProfileRequestDestinationRegion) Unset()
- type NullableCreateShopShippingProfileRequestProcessingTimeUnit
- func (v NullableCreateShopShippingProfileRequestProcessingTimeUnit) Get() *CreateShopShippingProfileRequestProcessingTimeUnit
- func (v NullableCreateShopShippingProfileRequestProcessingTimeUnit) IsSet() bool
- func (v NullableCreateShopShippingProfileRequestProcessingTimeUnit) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShopShippingProfileRequestProcessingTimeUnit) Set(val *CreateShopShippingProfileRequestProcessingTimeUnit)
- func (v *NullableCreateShopShippingProfileRequestProcessingTimeUnit) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShopShippingProfileRequestProcessingTimeUnit) Unset()
- type NullableCreateShopShippingProfileUpgradeRequestType
- func (v NullableCreateShopShippingProfileUpgradeRequestType) Get() *CreateShopShippingProfileUpgradeRequestType
- func (v NullableCreateShopShippingProfileUpgradeRequestType) IsSet() bool
- func (v NullableCreateShopShippingProfileUpgradeRequestType) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShopShippingProfileUpgradeRequestType) Set(val *CreateShopShippingProfileUpgradeRequestType)
- func (v *NullableCreateShopShippingProfileUpgradeRequestType) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShopShippingProfileUpgradeRequestType) Unset()
- type NullableErrorSchema
- func (v NullableErrorSchema) Get() *ErrorSchema
- func (v NullableErrorSchema) IsSet() bool
- func (v NullableErrorSchema) MarshalJSON() ([]byte, error)
- func (v *NullableErrorSchema) Set(val *ErrorSchema)
- func (v *NullableErrorSchema) UnmarshalJSON(src []byte) error
- func (v *NullableErrorSchema) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetListingInventoryIncludesParameter
- func (v NullableGetListingInventoryIncludesParameter) Get() *GetListingInventoryIncludesParameter
- func (v NullableGetListingInventoryIncludesParameter) IsSet() bool
- func (v NullableGetListingInventoryIncludesParameter) MarshalJSON() ([]byte, error)
- func (v *NullableGetListingInventoryIncludesParameter) Set(val *GetListingInventoryIncludesParameter)
- func (v *NullableGetListingInventoryIncludesParameter) UnmarshalJSON(src []byte) error
- func (v *NullableGetListingInventoryIncludesParameter) Unset()
- type NullableGetListingsByShopIncludesParameterInner
- func (v NullableGetListingsByShopIncludesParameterInner) Get() *GetListingsByShopIncludesParameterInner
- func (v NullableGetListingsByShopIncludesParameterInner) IsSet() bool
- func (v NullableGetListingsByShopIncludesParameterInner) MarshalJSON() ([]byte, error)
- func (v *NullableGetListingsByShopIncludesParameterInner) Set(val *GetListingsByShopIncludesParameterInner)
- func (v *NullableGetListingsByShopIncludesParameterInner) UnmarshalJSON(src []byte) error
- func (v *NullableGetListingsByShopIncludesParameterInner) Unset()
- type NullableGetListingsByShopSortOnParameter
- func (v NullableGetListingsByShopSortOnParameter) Get() *GetListingsByShopSortOnParameter
- func (v NullableGetListingsByShopSortOnParameter) IsSet() bool
- func (v NullableGetListingsByShopSortOnParameter) MarshalJSON() ([]byte, error)
- func (v *NullableGetListingsByShopSortOnParameter) Set(val *GetListingsByShopSortOnParameter)
- func (v *NullableGetListingsByShopSortOnParameter) UnmarshalJSON(src []byte) error
- func (v *NullableGetListingsByShopSortOnParameter) Unset()
- type NullableGetListingsByShopSortOrderParameter
- func (v NullableGetListingsByShopSortOrderParameter) Get() *GetListingsByShopSortOrderParameter
- func (v NullableGetListingsByShopSortOrderParameter) IsSet() bool
- func (v NullableGetListingsByShopSortOrderParameter) MarshalJSON() ([]byte, error)
- func (v *NullableGetListingsByShopSortOrderParameter) Set(val *GetListingsByShopSortOrderParameter)
- func (v *NullableGetListingsByShopSortOrderParameter) UnmarshalJSON(src []byte) error
- func (v *NullableGetListingsByShopSortOrderParameter) Unset()
- type NullableGetListingsByShopStateParameter
- func (v NullableGetListingsByShopStateParameter) Get() *GetListingsByShopStateParameter
- func (v NullableGetListingsByShopStateParameter) IsSet() bool
- func (v NullableGetListingsByShopStateParameter) MarshalJSON() ([]byte, error)
- func (v *NullableGetListingsByShopStateParameter) Set(val *GetListingsByShopStateParameter)
- func (v *NullableGetListingsByShopStateParameter) UnmarshalJSON(src []byte) error
- func (v *NullableGetListingsByShopStateParameter) Unset()
- type NullableGetShopReceiptsSortOnParameter
- func (v NullableGetShopReceiptsSortOnParameter) Get() *GetShopReceiptsSortOnParameter
- func (v NullableGetShopReceiptsSortOnParameter) IsSet() bool
- func (v NullableGetShopReceiptsSortOnParameter) MarshalJSON() ([]byte, error)
- func (v *NullableGetShopReceiptsSortOnParameter) Set(val *GetShopReceiptsSortOnParameter)
- func (v *NullableGetShopReceiptsSortOnParameter) UnmarshalJSON(src []byte) error
- func (v *NullableGetShopReceiptsSortOnParameter) Unset()
- type NullableGetShopReceiptsSortOrderParameter
- func (v NullableGetShopReceiptsSortOrderParameter) Get() *GetShopReceiptsSortOrderParameter
- func (v NullableGetShopReceiptsSortOrderParameter) IsSet() bool
- func (v NullableGetShopReceiptsSortOrderParameter) MarshalJSON() ([]byte, error)
- func (v *NullableGetShopReceiptsSortOrderParameter) Set(val *GetShopReceiptsSortOrderParameter)
- func (v *NullableGetShopReceiptsSortOrderParameter) UnmarshalJSON(src []byte) error
- func (v *NullableGetShopReceiptsSortOrderParameter) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListingImage
- func (v NullableListingImage) Get() *ListingImage
- func (v NullableListingImage) IsSet() bool
- func (v NullableListingImage) MarshalJSON() ([]byte, error)
- func (v *NullableListingImage) Set(val *ListingImage)
- func (v *NullableListingImage) UnmarshalJSON(src []byte) error
- func (v *NullableListingImage) Unset()
- type NullableListingImages
- func (v NullableListingImages) Get() *ListingImages
- func (v NullableListingImages) IsSet() bool
- func (v NullableListingImages) MarshalJSON() ([]byte, error)
- func (v *NullableListingImages) Set(val *ListingImages)
- func (v *NullableListingImages) UnmarshalJSON(src []byte) error
- func (v *NullableListingImages) Unset()
- type NullableListingInventory
- func (v NullableListingInventory) Get() *ListingInventory
- func (v NullableListingInventory) IsSet() bool
- func (v NullableListingInventory) MarshalJSON() ([]byte, error)
- func (v *NullableListingInventory) Set(val *ListingInventory)
- func (v *NullableListingInventory) UnmarshalJSON(src []byte) error
- func (v *NullableListingInventory) Unset()
- type NullableListingInventoryProduct
- func (v NullableListingInventoryProduct) Get() *ListingInventoryProduct
- func (v NullableListingInventoryProduct) IsSet() bool
- func (v NullableListingInventoryProduct) MarshalJSON() ([]byte, error)
- func (v *NullableListingInventoryProduct) Set(val *ListingInventoryProduct)
- func (v *NullableListingInventoryProduct) UnmarshalJSON(src []byte) error
- func (v *NullableListingInventoryProduct) Unset()
- type NullableListingInventoryProductOffering
- func (v NullableListingInventoryProductOffering) Get() *ListingInventoryProductOffering
- func (v NullableListingInventoryProductOffering) IsSet() bool
- func (v NullableListingInventoryProductOffering) MarshalJSON() ([]byte, error)
- func (v *NullableListingInventoryProductOffering) Set(val *ListingInventoryProductOffering)
- func (v *NullableListingInventoryProductOffering) UnmarshalJSON(src []byte) error
- func (v *NullableListingInventoryProductOffering) Unset()
- type NullableListingInventoryWithAssociations
- func (v NullableListingInventoryWithAssociations) Get() *ListingInventoryWithAssociations
- func (v NullableListingInventoryWithAssociations) IsSet() bool
- func (v NullableListingInventoryWithAssociations) MarshalJSON() ([]byte, error)
- func (v *NullableListingInventoryWithAssociations) Set(val *ListingInventoryWithAssociations)
- func (v *NullableListingInventoryWithAssociations) UnmarshalJSON(src []byte) error
- func (v *NullableListingInventoryWithAssociations) Unset()
- type NullableListingPropertyValue
- func (v NullableListingPropertyValue) Get() *ListingPropertyValue
- func (v NullableListingPropertyValue) IsSet() bool
- func (v NullableListingPropertyValue) MarshalJSON() ([]byte, error)
- func (v *NullableListingPropertyValue) Set(val *ListingPropertyValue)
- func (v *NullableListingPropertyValue) UnmarshalJSON(src []byte) error
- func (v *NullableListingPropertyValue) Unset()
- type NullableListingPropertyValues
- func (v NullableListingPropertyValues) Get() *ListingPropertyValues
- func (v NullableListingPropertyValues) IsSet() bool
- func (v NullableListingPropertyValues) MarshalJSON() ([]byte, error)
- func (v *NullableListingPropertyValues) Set(val *ListingPropertyValues)
- func (v *NullableListingPropertyValues) UnmarshalJSON(src []byte) error
- func (v *NullableListingPropertyValues) Unset()
- type NullableListingReview
- func (v NullableListingReview) Get() *ListingReview
- func (v NullableListingReview) IsSet() bool
- func (v NullableListingReview) MarshalJSON() ([]byte, error)
- func (v *NullableListingReview) Set(val *ListingReview)
- func (v *NullableListingReview) UnmarshalJSON(src []byte) error
- func (v *NullableListingReview) Unset()
- type NullableListingReviews
- func (v NullableListingReviews) Get() *ListingReviews
- func (v NullableListingReviews) IsSet() bool
- func (v NullableListingReviews) MarshalJSON() ([]byte, error)
- func (v *NullableListingReviews) Set(val *ListingReviews)
- func (v *NullableListingReviews) UnmarshalJSON(src []byte) error
- func (v *NullableListingReviews) Unset()
- type NullableListingTranslation
- func (v NullableListingTranslation) Get() *ListingTranslation
- func (v NullableListingTranslation) IsSet() bool
- func (v NullableListingTranslation) MarshalJSON() ([]byte, error)
- func (v *NullableListingTranslation) Set(val *ListingTranslation)
- func (v *NullableListingTranslation) UnmarshalJSON(src []byte) error
- func (v *NullableListingTranslation) Unset()
- type NullableListingTranslations
- func (v NullableListingTranslations) Get() *ListingTranslations
- func (v NullableListingTranslations) IsSet() bool
- func (v NullableListingTranslations) MarshalJSON() ([]byte, error)
- func (v *NullableListingTranslations) Set(val *ListingTranslations)
- func (v *NullableListingTranslations) UnmarshalJSON(src []byte) error
- func (v *NullableListingTranslations) Unset()
- type NullableListingVariationImage
- func (v NullableListingVariationImage) Get() *ListingVariationImage
- func (v NullableListingVariationImage) IsSet() bool
- func (v NullableListingVariationImage) MarshalJSON() ([]byte, error)
- func (v *NullableListingVariationImage) Set(val *ListingVariationImage)
- func (v *NullableListingVariationImage) UnmarshalJSON(src []byte) error
- func (v *NullableListingVariationImage) Unset()
- type NullableListingVariationImages
- func (v NullableListingVariationImages) Get() *ListingVariationImages
- func (v NullableListingVariationImages) IsSet() bool
- func (v NullableListingVariationImages) MarshalJSON() ([]byte, error)
- func (v *NullableListingVariationImages) Set(val *ListingVariationImages)
- func (v *NullableListingVariationImages) UnmarshalJSON(src []byte) error
- func (v *NullableListingVariationImages) Unset()
- type NullableListingVideo
- func (v NullableListingVideo) Get() *ListingVideo
- func (v NullableListingVideo) IsSet() bool
- func (v NullableListingVideo) MarshalJSON() ([]byte, error)
- func (v *NullableListingVideo) Set(val *ListingVideo)
- func (v *NullableListingVideo) UnmarshalJSON(src []byte) error
- func (v *NullableListingVideo) Unset()
- type NullableListingVideoVideoState
- func (v NullableListingVideoVideoState) Get() *ListingVideoVideoState
- func (v NullableListingVideoVideoState) IsSet() bool
- func (v NullableListingVideoVideoState) MarshalJSON() ([]byte, error)
- func (v *NullableListingVideoVideoState) Set(val *ListingVideoVideoState)
- func (v *NullableListingVideoVideoState) UnmarshalJSON(src []byte) error
- func (v *NullableListingVideoVideoState) Unset()
- type NullableListingVideos
- func (v NullableListingVideos) Get() *ListingVideos
- func (v NullableListingVideos) IsSet() bool
- func (v NullableListingVideos) MarshalJSON() ([]byte, error)
- func (v *NullableListingVideos) Set(val *ListingVideos)
- func (v *NullableListingVideos) UnmarshalJSON(src []byte) error
- func (v *NullableListingVideos) Unset()
- type NullableMoney
- type NullablePayment
- type NullablePaymentAccountLedgerEntries
- func (v NullablePaymentAccountLedgerEntries) Get() *PaymentAccountLedgerEntries
- func (v NullablePaymentAccountLedgerEntries) IsSet() bool
- func (v NullablePaymentAccountLedgerEntries) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentAccountLedgerEntries) Set(val *PaymentAccountLedgerEntries)
- func (v *NullablePaymentAccountLedgerEntries) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentAccountLedgerEntries) Unset()
- type NullablePaymentAccountLedgerEntry
- func (v NullablePaymentAccountLedgerEntry) Get() *PaymentAccountLedgerEntry
- func (v NullablePaymentAccountLedgerEntry) IsSet() bool
- func (v NullablePaymentAccountLedgerEntry) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentAccountLedgerEntry) Set(val *PaymentAccountLedgerEntry)
- func (v *NullablePaymentAccountLedgerEntry) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentAccountLedgerEntry) Unset()
- type NullablePaymentAdjustment
- func (v NullablePaymentAdjustment) Get() *PaymentAdjustment
- func (v NullablePaymentAdjustment) IsSet() bool
- func (v NullablePaymentAdjustment) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentAdjustment) Set(val *PaymentAdjustment)
- func (v *NullablePaymentAdjustment) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentAdjustment) Unset()
- type NullablePaymentAdjustmentItem
- func (v NullablePaymentAdjustmentItem) Get() *PaymentAdjustmentItem
- func (v NullablePaymentAdjustmentItem) IsSet() bool
- func (v NullablePaymentAdjustmentItem) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentAdjustmentItem) Set(val *PaymentAdjustmentItem)
- func (v *NullablePaymentAdjustmentItem) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentAdjustmentItem) Unset()
- type NullablePayments
- type NullablePong
- type NullableSelf
- type NullableSellerTaxonomyNode
- func (v NullableSellerTaxonomyNode) Get() *SellerTaxonomyNode
- func (v NullableSellerTaxonomyNode) IsSet() bool
- func (v NullableSellerTaxonomyNode) MarshalJSON() ([]byte, error)
- func (v *NullableSellerTaxonomyNode) Set(val *SellerTaxonomyNode)
- func (v *NullableSellerTaxonomyNode) UnmarshalJSON(src []byte) error
- func (v *NullableSellerTaxonomyNode) Unset()
- type NullableSellerTaxonomyNodes
- func (v NullableSellerTaxonomyNodes) Get() *SellerTaxonomyNodes
- func (v NullableSellerTaxonomyNodes) IsSet() bool
- func (v NullableSellerTaxonomyNodes) MarshalJSON() ([]byte, error)
- func (v *NullableSellerTaxonomyNodes) Set(val *SellerTaxonomyNodes)
- func (v *NullableSellerTaxonomyNodes) UnmarshalJSON(src []byte) error
- func (v *NullableSellerTaxonomyNodes) Unset()
- type NullableShippingCarrier
- func (v NullableShippingCarrier) Get() *ShippingCarrier
- func (v NullableShippingCarrier) IsSet() bool
- func (v NullableShippingCarrier) MarshalJSON() ([]byte, error)
- func (v *NullableShippingCarrier) Set(val *ShippingCarrier)
- func (v *NullableShippingCarrier) UnmarshalJSON(src []byte) error
- func (v *NullableShippingCarrier) Unset()
- type NullableShippingCarrierMailClass
- func (v NullableShippingCarrierMailClass) Get() *ShippingCarrierMailClass
- func (v NullableShippingCarrierMailClass) IsSet() bool
- func (v NullableShippingCarrierMailClass) MarshalJSON() ([]byte, error)
- func (v *NullableShippingCarrierMailClass) Set(val *ShippingCarrierMailClass)
- func (v *NullableShippingCarrierMailClass) UnmarshalJSON(src []byte) error
- func (v *NullableShippingCarrierMailClass) Unset()
- type NullableShippingCarriers
- func (v NullableShippingCarriers) Get() *ShippingCarriers
- func (v NullableShippingCarriers) IsSet() bool
- func (v NullableShippingCarriers) MarshalJSON() ([]byte, error)
- func (v *NullableShippingCarriers) Set(val *ShippingCarriers)
- func (v *NullableShippingCarriers) UnmarshalJSON(src []byte) error
- func (v *NullableShippingCarriers) Unset()
- type NullableShop
- type NullableShopHolidayPreference
- func (v NullableShopHolidayPreference) Get() *ShopHolidayPreference
- func (v NullableShopHolidayPreference) IsSet() bool
- func (v NullableShopHolidayPreference) MarshalJSON() ([]byte, error)
- func (v *NullableShopHolidayPreference) Set(val *ShopHolidayPreference)
- func (v *NullableShopHolidayPreference) UnmarshalJSON(src []byte) error
- func (v *NullableShopHolidayPreference) Unset()
- type NullableShopListing
- func (v NullableShopListing) Get() *ShopListing
- func (v NullableShopListing) IsSet() bool
- func (v NullableShopListing) MarshalJSON() ([]byte, error)
- func (v *NullableShopListing) Set(val *ShopListing)
- func (v *NullableShopListing) UnmarshalJSON(src []byte) error
- func (v *NullableShopListing) Unset()
- type NullableShopListingFile
- func (v NullableShopListingFile) Get() *ShopListingFile
- func (v NullableShopListingFile) IsSet() bool
- func (v NullableShopListingFile) MarshalJSON() ([]byte, error)
- func (v *NullableShopListingFile) Set(val *ShopListingFile)
- func (v *NullableShopListingFile) UnmarshalJSON(src []byte) error
- func (v *NullableShopListingFile) Unset()
- type NullableShopListingFiles
- func (v NullableShopListingFiles) Get() *ShopListingFiles
- func (v NullableShopListingFiles) IsSet() bool
- func (v NullableShopListingFiles) MarshalJSON() ([]byte, error)
- func (v *NullableShopListingFiles) Set(val *ShopListingFiles)
- func (v *NullableShopListingFiles) UnmarshalJSON(src []byte) error
- func (v *NullableShopListingFiles) Unset()
- type NullableShopListingState
- func (v NullableShopListingState) Get() *ShopListingState
- func (v NullableShopListingState) IsSet() bool
- func (v NullableShopListingState) MarshalJSON() ([]byte, error)
- func (v *NullableShopListingState) Set(val *ShopListingState)
- func (v *NullableShopListingState) UnmarshalJSON(src []byte) error
- func (v *NullableShopListingState) Unset()
- type NullableShopListingWhenMade
- func (v NullableShopListingWhenMade) Get() *ShopListingWhenMade
- func (v NullableShopListingWhenMade) IsSet() bool
- func (v NullableShopListingWhenMade) MarshalJSON() ([]byte, error)
- func (v *NullableShopListingWhenMade) Set(val *ShopListingWhenMade)
- func (v *NullableShopListingWhenMade) UnmarshalJSON(src []byte) error
- func (v *NullableShopListingWhenMade) Unset()
- type NullableShopListingWhoMade
- func (v NullableShopListingWhoMade) Get() *ShopListingWhoMade
- func (v NullableShopListingWhoMade) IsSet() bool
- func (v NullableShopListingWhoMade) MarshalJSON() ([]byte, error)
- func (v *NullableShopListingWhoMade) Set(val *ShopListingWhoMade)
- func (v *NullableShopListingWhoMade) UnmarshalJSON(src []byte) error
- func (v *NullableShopListingWhoMade) Unset()
- type NullableShopListingWithAssociations
- func (v NullableShopListingWithAssociations) Get() *ShopListingWithAssociations
- func (v NullableShopListingWithAssociations) IsSet() bool
- func (v NullableShopListingWithAssociations) MarshalJSON() ([]byte, error)
- func (v *NullableShopListingWithAssociations) Set(val *ShopListingWithAssociations)
- func (v *NullableShopListingWithAssociations) UnmarshalJSON(src []byte) error
- func (v *NullableShopListingWithAssociations) Unset()
- type NullableShopListings
- func (v NullableShopListings) Get() *ShopListings
- func (v NullableShopListings) IsSet() bool
- func (v NullableShopListings) MarshalJSON() ([]byte, error)
- func (v *NullableShopListings) Set(val *ShopListings)
- func (v *NullableShopListings) UnmarshalJSON(src []byte) error
- func (v *NullableShopListings) Unset()
- type NullableShopListingsWithAssociations
- func (v NullableShopListingsWithAssociations) Get() *ShopListingsWithAssociations
- func (v NullableShopListingsWithAssociations) IsSet() bool
- func (v NullableShopListingsWithAssociations) MarshalJSON() ([]byte, error)
- func (v *NullableShopListingsWithAssociations) Set(val *ShopListingsWithAssociations)
- func (v *NullableShopListingsWithAssociations) UnmarshalJSON(src []byte) error
- func (v *NullableShopListingsWithAssociations) Unset()
- type NullableShopProductionPartner
- func (v NullableShopProductionPartner) Get() *ShopProductionPartner
- func (v NullableShopProductionPartner) IsSet() bool
- func (v NullableShopProductionPartner) MarshalJSON() ([]byte, error)
- func (v *NullableShopProductionPartner) Set(val *ShopProductionPartner)
- func (v *NullableShopProductionPartner) UnmarshalJSON(src []byte) error
- func (v *NullableShopProductionPartner) Unset()
- type NullableShopProductionPartners
- func (v NullableShopProductionPartners) Get() *ShopProductionPartners
- func (v NullableShopProductionPartners) IsSet() bool
- func (v NullableShopProductionPartners) MarshalJSON() ([]byte, error)
- func (v *NullableShopProductionPartners) Set(val *ShopProductionPartners)
- func (v *NullableShopProductionPartners) UnmarshalJSON(src []byte) error
- func (v *NullableShopProductionPartners) Unset()
- type NullableShopReceipt
- func (v NullableShopReceipt) Get() *ShopReceipt
- func (v NullableShopReceipt) IsSet() bool
- func (v NullableShopReceipt) MarshalJSON() ([]byte, error)
- func (v *NullableShopReceipt) Set(val *ShopReceipt)
- func (v *NullableShopReceipt) UnmarshalJSON(src []byte) error
- func (v *NullableShopReceipt) Unset()
- type NullableShopReceiptShipment
- func (v NullableShopReceiptShipment) Get() *ShopReceiptShipment
- func (v NullableShopReceiptShipment) IsSet() bool
- func (v NullableShopReceiptShipment) MarshalJSON() ([]byte, error)
- func (v *NullableShopReceiptShipment) Set(val *ShopReceiptShipment)
- func (v *NullableShopReceiptShipment) UnmarshalJSON(src []byte) error
- func (v *NullableShopReceiptShipment) Unset()
- type NullableShopReceiptStatus
- func (v NullableShopReceiptStatus) Get() *ShopReceiptStatus
- func (v NullableShopReceiptStatus) IsSet() bool
- func (v NullableShopReceiptStatus) MarshalJSON() ([]byte, error)
- func (v *NullableShopReceiptStatus) Set(val *ShopReceiptStatus)
- func (v *NullableShopReceiptStatus) UnmarshalJSON(src []byte) error
- func (v *NullableShopReceiptStatus) Unset()
- type NullableShopReceiptTransaction
- func (v NullableShopReceiptTransaction) Get() *ShopReceiptTransaction
- func (v NullableShopReceiptTransaction) IsSet() bool
- func (v NullableShopReceiptTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableShopReceiptTransaction) Set(val *ShopReceiptTransaction)
- func (v *NullableShopReceiptTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableShopReceiptTransaction) Unset()
- type NullableShopReceiptTransactions
- func (v NullableShopReceiptTransactions) Get() *ShopReceiptTransactions
- func (v NullableShopReceiptTransactions) IsSet() bool
- func (v NullableShopReceiptTransactions) MarshalJSON() ([]byte, error)
- func (v *NullableShopReceiptTransactions) Set(val *ShopReceiptTransactions)
- func (v *NullableShopReceiptTransactions) UnmarshalJSON(src []byte) error
- func (v *NullableShopReceiptTransactions) Unset()
- type NullableShopReceipts
- func (v NullableShopReceipts) Get() *ShopReceipts
- func (v NullableShopReceipts) IsSet() bool
- func (v NullableShopReceipts) MarshalJSON() ([]byte, error)
- func (v *NullableShopReceipts) Set(val *ShopReceipts)
- func (v *NullableShopReceipts) UnmarshalJSON(src []byte) error
- func (v *NullableShopReceipts) Unset()
- type NullableShopRefund
- type NullableShopReturnPolicies
- func (v NullableShopReturnPolicies) Get() *ShopReturnPolicies
- func (v NullableShopReturnPolicies) IsSet() bool
- func (v NullableShopReturnPolicies) MarshalJSON() ([]byte, error)
- func (v *NullableShopReturnPolicies) Set(val *ShopReturnPolicies)
- func (v *NullableShopReturnPolicies) UnmarshalJSON(src []byte) error
- func (v *NullableShopReturnPolicies) Unset()
- type NullableShopReturnPolicy
- func (v NullableShopReturnPolicy) Get() *ShopReturnPolicy
- func (v NullableShopReturnPolicy) IsSet() bool
- func (v NullableShopReturnPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableShopReturnPolicy) Set(val *ShopReturnPolicy)
- func (v *NullableShopReturnPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableShopReturnPolicy) Unset()
- type NullableShopSection
- func (v NullableShopSection) Get() *ShopSection
- func (v NullableShopSection) IsSet() bool
- func (v NullableShopSection) MarshalJSON() ([]byte, error)
- func (v *NullableShopSection) Set(val *ShopSection)
- func (v *NullableShopSection) UnmarshalJSON(src []byte) error
- func (v *NullableShopSection) Unset()
- type NullableShopSections
- func (v NullableShopSections) Get() *ShopSections
- func (v NullableShopSections) IsSet() bool
- func (v NullableShopSections) MarshalJSON() ([]byte, error)
- func (v *NullableShopSections) Set(val *ShopSections)
- func (v *NullableShopSections) UnmarshalJSON(src []byte) error
- func (v *NullableShopSections) Unset()
- type NullableShopShippingProfile
- func (v NullableShopShippingProfile) Get() *ShopShippingProfile
- func (v NullableShopShippingProfile) IsSet() bool
- func (v NullableShopShippingProfile) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfile) Set(val *ShopShippingProfile)
- func (v *NullableShopShippingProfile) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfile) Unset()
- type NullableShopShippingProfileDestination
- func (v NullableShopShippingProfileDestination) Get() *ShopShippingProfileDestination
- func (v NullableShopShippingProfileDestination) IsSet() bool
- func (v NullableShopShippingProfileDestination) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfileDestination) Set(val *ShopShippingProfileDestination)
- func (v *NullableShopShippingProfileDestination) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfileDestination) Unset()
- type NullableShopShippingProfileDestinationDestinationRegion
- func (v NullableShopShippingProfileDestinationDestinationRegion) Get() *ShopShippingProfileDestinationDestinationRegion
- func (v NullableShopShippingProfileDestinationDestinationRegion) IsSet() bool
- func (v NullableShopShippingProfileDestinationDestinationRegion) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfileDestinationDestinationRegion) Set(val *ShopShippingProfileDestinationDestinationRegion)
- func (v *NullableShopShippingProfileDestinationDestinationRegion) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfileDestinationDestinationRegion) Unset()
- type NullableShopShippingProfileDestinations
- func (v NullableShopShippingProfileDestinations) Get() *ShopShippingProfileDestinations
- func (v NullableShopShippingProfileDestinations) IsSet() bool
- func (v NullableShopShippingProfileDestinations) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfileDestinations) Set(val *ShopShippingProfileDestinations)
- func (v *NullableShopShippingProfileDestinations) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfileDestinations) Unset()
- type NullableShopShippingProfileProfileType
- func (v NullableShopShippingProfileProfileType) Get() *ShopShippingProfileProfileType
- func (v NullableShopShippingProfileProfileType) IsSet() bool
- func (v NullableShopShippingProfileProfileType) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfileProfileType) Set(val *ShopShippingProfileProfileType)
- func (v *NullableShopShippingProfileProfileType) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfileProfileType) Unset()
- type NullableShopShippingProfileUpgrade
- func (v NullableShopShippingProfileUpgrade) Get() *ShopShippingProfileUpgrade
- func (v NullableShopShippingProfileUpgrade) IsSet() bool
- func (v NullableShopShippingProfileUpgrade) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfileUpgrade) Set(val *ShopShippingProfileUpgrade)
- func (v *NullableShopShippingProfileUpgrade) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfileUpgrade) Unset()
- type NullableShopShippingProfileUpgrades
- func (v NullableShopShippingProfileUpgrades) Get() *ShopShippingProfileUpgrades
- func (v NullableShopShippingProfileUpgrades) IsSet() bool
- func (v NullableShopShippingProfileUpgrades) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfileUpgrades) Set(val *ShopShippingProfileUpgrades)
- func (v *NullableShopShippingProfileUpgrades) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfileUpgrades) Unset()
- type NullableShopShippingProfiles
- func (v NullableShopShippingProfiles) Get() *ShopShippingProfiles
- func (v NullableShopShippingProfiles) IsSet() bool
- func (v NullableShopShippingProfiles) MarshalJSON() ([]byte, error)
- func (v *NullableShopShippingProfiles) Set(val *ShopShippingProfiles)
- func (v *NullableShopShippingProfiles) UnmarshalJSON(src []byte) error
- func (v *NullableShopShippingProfiles) Unset()
- type NullableShops
- type NullableString
- type NullableTaxonomyNodeProperties
- func (v NullableTaxonomyNodeProperties) Get() *TaxonomyNodeProperties
- func (v NullableTaxonomyNodeProperties) IsSet() bool
- func (v NullableTaxonomyNodeProperties) MarshalJSON() ([]byte, error)
- func (v *NullableTaxonomyNodeProperties) Set(val *TaxonomyNodeProperties)
- func (v *NullableTaxonomyNodeProperties) UnmarshalJSON(src []byte) error
- func (v *NullableTaxonomyNodeProperties) Unset()
- type NullableTaxonomyNodeProperty
- func (v NullableTaxonomyNodeProperty) Get() *TaxonomyNodeProperty
- func (v NullableTaxonomyNodeProperty) IsSet() bool
- func (v NullableTaxonomyNodeProperty) MarshalJSON() ([]byte, error)
- func (v *NullableTaxonomyNodeProperty) Set(val *TaxonomyNodeProperty)
- func (v *NullableTaxonomyNodeProperty) UnmarshalJSON(src []byte) error
- func (v *NullableTaxonomyNodeProperty) Unset()
- type NullableTaxonomyPropertyScale
- func (v NullableTaxonomyPropertyScale) Get() *TaxonomyPropertyScale
- func (v NullableTaxonomyPropertyScale) IsSet() bool
- func (v NullableTaxonomyPropertyScale) MarshalJSON() ([]byte, error)
- func (v *NullableTaxonomyPropertyScale) Set(val *TaxonomyPropertyScale)
- func (v *NullableTaxonomyPropertyScale) UnmarshalJSON(src []byte) error
- func (v *NullableTaxonomyPropertyScale) Unset()
- type NullableTaxonomyPropertyValue
- func (v NullableTaxonomyPropertyValue) Get() *TaxonomyPropertyValue
- func (v NullableTaxonomyPropertyValue) IsSet() bool
- func (v NullableTaxonomyPropertyValue) MarshalJSON() ([]byte, error)
- func (v *NullableTaxonomyPropertyValue) Set(val *TaxonomyPropertyValue)
- func (v *NullableTaxonomyPropertyValue) UnmarshalJSON(src []byte) error
- func (v *NullableTaxonomyPropertyValue) Unset()
- type NullableTime
- type NullableTransactionReview
- func (v NullableTransactionReview) Get() *TransactionReview
- func (v NullableTransactionReview) IsSet() bool
- func (v NullableTransactionReview) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionReview) Set(val *TransactionReview)
- func (v *NullableTransactionReview) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionReview) Unset()
- type NullableTransactionReviews
- func (v NullableTransactionReviews) Get() *TransactionReviews
- func (v NullableTransactionReviews) IsSet() bool
- func (v NullableTransactionReviews) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionReviews) Set(val *TransactionReviews)
- func (v *NullableTransactionReviews) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionReviews) Unset()
- type NullableTransactionVariations
- func (v NullableTransactionVariations) Get() *TransactionVariations
- func (v NullableTransactionVariations) IsSet() bool
- func (v NullableTransactionVariations) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionVariations) Set(val *TransactionVariations)
- func (v *NullableTransactionVariations) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionVariations) Unset()
- type NullableTypeDiscriminator
- func (v NullableTypeDiscriminator) Get() *TypeDiscriminator
- func (v NullableTypeDiscriminator) IsSet() bool
- func (v NullableTypeDiscriminator) MarshalJSON() ([]byte, error)
- func (v *NullableTypeDiscriminator) Set(val *TypeDiscriminator)
- func (v *NullableTypeDiscriminator) UnmarshalJSON(src []byte) error
- func (v *NullableTypeDiscriminator) Unset()
- type NullableUpdateHolidayPreferencesHolidayIdParameter
- func (v NullableUpdateHolidayPreferencesHolidayIdParameter) Get() *UpdateHolidayPreferencesHolidayIdParameter
- func (v NullableUpdateHolidayPreferencesHolidayIdParameter) IsSet() bool
- func (v NullableUpdateHolidayPreferencesHolidayIdParameter) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateHolidayPreferencesHolidayIdParameter) Set(val *UpdateHolidayPreferencesHolidayIdParameter)
- func (v *NullableUpdateHolidayPreferencesHolidayIdParameter) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateHolidayPreferencesHolidayIdParameter) Unset()
- type NullableUpdateListingDeprecatedRequestState
- func (v NullableUpdateListingDeprecatedRequestState) Get() *UpdateListingDeprecatedRequestState
- func (v NullableUpdateListingDeprecatedRequestState) IsSet() bool
- func (v NullableUpdateListingDeprecatedRequestState) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingDeprecatedRequestState) Set(val *UpdateListingDeprecatedRequestState)
- func (v *NullableUpdateListingDeprecatedRequestState) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingDeprecatedRequestState) Unset()
- type NullableUpdateListingDeprecatedRequestType
- func (v NullableUpdateListingDeprecatedRequestType) Get() *UpdateListingDeprecatedRequestType
- func (v NullableUpdateListingDeprecatedRequestType) IsSet() bool
- func (v NullableUpdateListingDeprecatedRequestType) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingDeprecatedRequestType) Set(val *UpdateListingDeprecatedRequestType)
- func (v *NullableUpdateListingDeprecatedRequestType) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingDeprecatedRequestType) Unset()
- type NullableUpdateListingInventoryRequest
- func (v NullableUpdateListingInventoryRequest) Get() *UpdateListingInventoryRequest
- func (v NullableUpdateListingInventoryRequest) IsSet() bool
- func (v NullableUpdateListingInventoryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingInventoryRequest) Set(val *UpdateListingInventoryRequest)
- func (v *NullableUpdateListingInventoryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingInventoryRequest) Unset()
- type NullableUpdateListingInventoryRequestProductsInner
- func (v NullableUpdateListingInventoryRequestProductsInner) Get() *UpdateListingInventoryRequestProductsInner
- func (v NullableUpdateListingInventoryRequestProductsInner) IsSet() bool
- func (v NullableUpdateListingInventoryRequestProductsInner) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingInventoryRequestProductsInner) Set(val *UpdateListingInventoryRequestProductsInner)
- func (v *NullableUpdateListingInventoryRequestProductsInner) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingInventoryRequestProductsInner) Unset()
- type NullableUpdateListingInventoryRequestProductsInnerOfferingsInner
- func (v NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) Get() *UpdateListingInventoryRequestProductsInnerOfferingsInner
- func (v NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) IsSet() bool
- func (v NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) Set(val *UpdateListingInventoryRequestProductsInnerOfferingsInner)
- func (v *NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) Unset()
- type NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner
- func (v NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) Get() *UpdateListingInventoryRequestProductsInnerPropertyValuesInner
- func (v NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) IsSet() bool
- func (v NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) Set(val *UpdateListingInventoryRequestProductsInnerPropertyValuesInner)
- func (v *NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) Unset()
- type NullableUpdateListingRequestItemDimensionsUnit
- func (v NullableUpdateListingRequestItemDimensionsUnit) Get() *UpdateListingRequestItemDimensionsUnit
- func (v NullableUpdateListingRequestItemDimensionsUnit) IsSet() bool
- func (v NullableUpdateListingRequestItemDimensionsUnit) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingRequestItemDimensionsUnit) Set(val *UpdateListingRequestItemDimensionsUnit)
- func (v *NullableUpdateListingRequestItemDimensionsUnit) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingRequestItemDimensionsUnit) Unset()
- type NullableUpdateListingRequestItemWeightUnit
- func (v NullableUpdateListingRequestItemWeightUnit) Get() *UpdateListingRequestItemWeightUnit
- func (v NullableUpdateListingRequestItemWeightUnit) IsSet() bool
- func (v NullableUpdateListingRequestItemWeightUnit) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateListingRequestItemWeightUnit) Set(val *UpdateListingRequestItemWeightUnit)
- func (v *NullableUpdateListingRequestItemWeightUnit) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateListingRequestItemWeightUnit) Unset()
- type NullableUpdateVariationImagesRequest
- func (v NullableUpdateVariationImagesRequest) Get() *UpdateVariationImagesRequest
- func (v NullableUpdateVariationImagesRequest) IsSet() bool
- func (v NullableUpdateVariationImagesRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVariationImagesRequest) Set(val *UpdateVariationImagesRequest)
- func (v *NullableUpdateVariationImagesRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVariationImagesRequest) Unset()
- type NullableUpdateVariationImagesRequestVariationImagesInner
- func (v NullableUpdateVariationImagesRequestVariationImagesInner) Get() *UpdateVariationImagesRequestVariationImagesInner
- func (v NullableUpdateVariationImagesRequestVariationImagesInner) IsSet() bool
- func (v NullableUpdateVariationImagesRequestVariationImagesInner) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVariationImagesRequestVariationImagesInner) Set(val *UpdateVariationImagesRequestVariationImagesInner)
- func (v *NullableUpdateVariationImagesRequestVariationImagesInner) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVariationImagesRequestVariationImagesInner) Unset()
- type NullableUser
- type NullableUserAddress
- func (v NullableUserAddress) Get() *UserAddress
- func (v NullableUserAddress) IsSet() bool
- func (v NullableUserAddress) MarshalJSON() ([]byte, error)
- func (v *NullableUserAddress) Set(val *UserAddress)
- func (v *NullableUserAddress) UnmarshalJSON(src []byte) error
- func (v *NullableUserAddress) Unset()
- type NullableUserAddresses
- func (v NullableUserAddresses) Get() *UserAddresses
- func (v NullableUserAddresses) IsSet() bool
- func (v NullableUserAddresses) MarshalJSON() ([]byte, error)
- func (v *NullableUserAddresses) Set(val *UserAddresses)
- func (v *NullableUserAddresses) UnmarshalJSON(src []byte) error
- func (v *NullableUserAddresses) Unset()
- type OtherAPI
- type OtherAPIPingRequest
- type OtherAPIService
- func (a *OtherAPIService) Ping(ctx context.Context) OtherAPIPingRequest
- func (a *OtherAPIService) PingExecute(r OtherAPIPingRequest) (*Pong, *http.Response, error)
- func (a *OtherAPIService) TokenScopes(ctx context.Context) OtherAPITokenScopesRequest
- func (a *OtherAPIService) TokenScopesExecute(r OtherAPITokenScopesRequest) (map[string]interface{}, *http.Response, error)
- type OtherAPITokenScopesRequest
- type Payment
- func (o *Payment) GetAdjustedFees() Money
- func (o *Payment) GetAdjustedFeesOk() (*Money, bool)
- func (o *Payment) GetAdjustedGross() Money
- func (o *Payment) GetAdjustedGrossOk() (*Money, bool)
- func (o *Payment) GetAdjustedNet() Money
- func (o *Payment) GetAdjustedNetOk() (*Money, bool)
- func (o *Payment) GetAmountFees() Money
- func (o *Payment) GetAmountFeesOk() (*Money, bool)
- func (o *Payment) GetAmountGross() Money
- func (o *Payment) GetAmountGrossOk() (*Money, bool)
- func (o *Payment) GetAmountNet() Money
- func (o *Payment) GetAmountNetOk() (*Money, bool)
- func (o *Payment) GetBillingAddressId() int64
- func (o *Payment) GetBillingAddressIdOk() (*int64, bool)
- func (o *Payment) GetBuyerCurrency() string
- func (o *Payment) GetBuyerCurrencyOk() (*string, bool)
- func (o *Payment) GetBuyerUserId() int64
- func (o *Payment) GetBuyerUserIdOk() (*int64, bool)
- func (o *Payment) GetCreateTimestamp() int64
- func (o *Payment) GetCreateTimestampOk() (*int64, bool)
- func (o *Payment) GetCreatedTimestamp() int64
- func (o *Payment) GetCreatedTimestampOk() (*int64, bool)
- func (o *Payment) GetCurrency() string
- func (o *Payment) GetCurrencyOk() (*string, bool)
- func (o *Payment) GetPaymentAdjustments() []PaymentAdjustment
- func (o *Payment) GetPaymentAdjustmentsOk() ([]PaymentAdjustment, bool)
- func (o *Payment) GetPaymentId() int64
- func (o *Payment) GetPaymentIdOk() (*int64, bool)
- func (o *Payment) GetPostedFees() Money
- func (o *Payment) GetPostedFeesOk() (*Money, bool)
- func (o *Payment) GetPostedGross() Money
- func (o *Payment) GetPostedGrossOk() (*Money, bool)
- func (o *Payment) GetPostedNet() Money
- func (o *Payment) GetPostedNetOk() (*Money, bool)
- func (o *Payment) GetReceiptId() int64
- func (o *Payment) GetReceiptIdOk() (*int64, bool)
- func (o *Payment) GetShippedTimestamp() int64
- func (o *Payment) GetShippedTimestampOk() (*int64, bool)
- func (o *Payment) GetShippingAddressId() int64
- func (o *Payment) GetShippingAddressIdOk() (*int64, bool)
- func (o *Payment) GetShippingUserId() int64
- func (o *Payment) GetShippingUserIdOk() (*int64, bool)
- func (o *Payment) GetShopCurrency() string
- func (o *Payment) GetShopCurrencyOk() (*string, bool)
- func (o *Payment) GetShopId() int64
- func (o *Payment) GetShopIdOk() (*int64, bool)
- func (o *Payment) GetStatus() string
- func (o *Payment) GetStatusOk() (*string, bool)
- func (o *Payment) GetUpdateTimestamp() int64
- func (o *Payment) GetUpdateTimestampOk() (*int64, bool)
- func (o *Payment) GetUpdatedTimestamp() int64
- func (o *Payment) GetUpdatedTimestampOk() (*int64, bool)
- func (o *Payment) HasAdjustedFees() bool
- func (o *Payment) HasAdjustedGross() bool
- func (o *Payment) HasAdjustedNet() bool
- func (o *Payment) HasAmountFees() bool
- func (o *Payment) HasAmountGross() bool
- func (o *Payment) HasAmountNet() bool
- func (o *Payment) HasBillingAddressId() bool
- func (o *Payment) HasBuyerCurrency() bool
- func (o *Payment) HasBuyerUserId() bool
- func (o *Payment) HasCreateTimestamp() bool
- func (o *Payment) HasCreatedTimestamp() bool
- func (o *Payment) HasCurrency() bool
- func (o *Payment) HasPaymentAdjustments() bool
- func (o *Payment) HasPaymentId() bool
- func (o *Payment) HasPostedFees() bool
- func (o *Payment) HasPostedGross() bool
- func (o *Payment) HasPostedNet() bool
- func (o *Payment) HasReceiptId() bool
- func (o *Payment) HasShippedTimestamp() bool
- func (o *Payment) HasShippingAddressId() bool
- func (o *Payment) HasShippingUserId() bool
- func (o *Payment) HasShopCurrency() bool
- func (o *Payment) HasShopId() bool
- func (o *Payment) HasStatus() bool
- func (o *Payment) HasUpdateTimestamp() bool
- func (o *Payment) HasUpdatedTimestamp() bool
- func (o Payment) MarshalJSON() ([]byte, error)
- func (o *Payment) SetAdjustedFees(v Money)
- func (o *Payment) SetAdjustedFeesNil()
- func (o *Payment) SetAdjustedGross(v Money)
- func (o *Payment) SetAdjustedGrossNil()
- func (o *Payment) SetAdjustedNet(v Money)
- func (o *Payment) SetAdjustedNetNil()
- func (o *Payment) SetAmountFees(v Money)
- func (o *Payment) SetAmountGross(v Money)
- func (o *Payment) SetAmountNet(v Money)
- func (o *Payment) SetBillingAddressId(v int64)
- func (o *Payment) SetBuyerCurrency(v string)
- func (o *Payment) SetBuyerCurrencyNil()
- func (o *Payment) SetBuyerUserId(v int64)
- func (o *Payment) SetCreateTimestamp(v int64)
- func (o *Payment) SetCreatedTimestamp(v int64)
- func (o *Payment) SetCurrency(v string)
- func (o *Payment) SetPaymentAdjustments(v []PaymentAdjustment)
- func (o *Payment) SetPaymentId(v int64)
- func (o *Payment) SetPostedFees(v Money)
- func (o *Payment) SetPostedFeesNil()
- func (o *Payment) SetPostedGross(v Money)
- func (o *Payment) SetPostedGrossNil()
- func (o *Payment) SetPostedNet(v Money)
- func (o *Payment) SetPostedNetNil()
- func (o *Payment) SetReceiptId(v int64)
- func (o *Payment) SetShippedTimestamp(v int64)
- func (o *Payment) SetShippedTimestampNil()
- func (o *Payment) SetShippingAddressId(v int64)
- func (o *Payment) SetShippingUserId(v int64)
- func (o *Payment) SetShippingUserIdNil()
- func (o *Payment) SetShopCurrency(v string)
- func (o *Payment) SetShopCurrencyNil()
- func (o *Payment) SetShopId(v int64)
- func (o *Payment) SetStatus(v string)
- func (o *Payment) SetUpdateTimestamp(v int64)
- func (o *Payment) SetUpdatedTimestamp(v int64)
- func (o Payment) ToMap() (map[string]interface{}, error)
- func (o *Payment) UnsetAdjustedFees()
- func (o *Payment) UnsetAdjustedGross()
- func (o *Payment) UnsetAdjustedNet()
- func (o *Payment) UnsetBuyerCurrency()
- func (o *Payment) UnsetPostedFees()
- func (o *Payment) UnsetPostedGross()
- func (o *Payment) UnsetPostedNet()
- func (o *Payment) UnsetShippedTimestamp()
- func (o *Payment) UnsetShippingUserId()
- func (o *Payment) UnsetShopCurrency()
- type PaymentAPI
- type PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest
- type PaymentAPIGetPaymentsRequest
- type PaymentAPIGetShopPaymentByReceiptIdRequest
- type PaymentAPIService
- func (a *PaymentAPIService) GetPaymentAccountLedgerEntryPayments(ctx context.Context, shopId int64) PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest
- func (a *PaymentAPIService) GetPaymentAccountLedgerEntryPaymentsExecute(r PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest) (*Payments, *http.Response, error)
- func (a *PaymentAPIService) GetPayments(ctx context.Context, shopId int64) PaymentAPIGetPaymentsRequest
- func (a *PaymentAPIService) GetPaymentsExecute(r PaymentAPIGetPaymentsRequest) (*Payments, *http.Response, error)
- func (a *PaymentAPIService) GetShopPaymentByReceiptId(ctx context.Context, shopId int64, receiptId int64) PaymentAPIGetShopPaymentByReceiptIdRequest
- func (a *PaymentAPIService) GetShopPaymentByReceiptIdExecute(r PaymentAPIGetShopPaymentByReceiptIdRequest) (*Payments, *http.Response, error)
- type PaymentAccountLedgerEntries
- func (o *PaymentAccountLedgerEntries) GetCount() int64
- func (o *PaymentAccountLedgerEntries) GetCountOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntries) GetResults() []PaymentAccountLedgerEntry
- func (o *PaymentAccountLedgerEntries) GetResultsOk() ([]PaymentAccountLedgerEntry, bool)
- func (o *PaymentAccountLedgerEntries) HasCount() bool
- func (o *PaymentAccountLedgerEntries) HasResults() bool
- func (o PaymentAccountLedgerEntries) MarshalJSON() ([]byte, error)
- func (o *PaymentAccountLedgerEntries) SetCount(v int64)
- func (o *PaymentAccountLedgerEntries) SetResults(v []PaymentAccountLedgerEntry)
- func (o PaymentAccountLedgerEntries) ToMap() (map[string]interface{}, error)
- type PaymentAccountLedgerEntry
- func (o *PaymentAccountLedgerEntry) GetAmount() int64
- func (o *PaymentAccountLedgerEntry) GetAmountOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntry) GetBalance() int64
- func (o *PaymentAccountLedgerEntry) GetBalanceOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntry) GetCreateDate() int64
- func (o *PaymentAccountLedgerEntry) GetCreateDateOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntry) GetCreatedTimestamp() int64
- func (o *PaymentAccountLedgerEntry) GetCreatedTimestampOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntry) GetCurrency() string
- func (o *PaymentAccountLedgerEntry) GetCurrencyOk() (*string, bool)
- func (o *PaymentAccountLedgerEntry) GetDescription() string
- func (o *PaymentAccountLedgerEntry) GetDescriptionOk() (*string, bool)
- func (o *PaymentAccountLedgerEntry) GetEntryId() int64
- func (o *PaymentAccountLedgerEntry) GetEntryIdOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntry) GetLedgerId() int64
- func (o *PaymentAccountLedgerEntry) GetLedgerIdOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntry) GetLedgerType() string
- func (o *PaymentAccountLedgerEntry) GetLedgerTypeOk() (*string, bool)
- func (o *PaymentAccountLedgerEntry) GetPaymentAdjustments() []PaymentAdjustment
- func (o *PaymentAccountLedgerEntry) GetPaymentAdjustmentsOk() ([]PaymentAdjustment, bool)
- func (o *PaymentAccountLedgerEntry) GetReferenceId() string
- func (o *PaymentAccountLedgerEntry) GetReferenceIdOk() (*string, bool)
- func (o *PaymentAccountLedgerEntry) GetReferenceType() string
- func (o *PaymentAccountLedgerEntry) GetReferenceTypeOk() (*string, bool)
- func (o *PaymentAccountLedgerEntry) GetSequenceNumber() int64
- func (o *PaymentAccountLedgerEntry) GetSequenceNumberOk() (*int64, bool)
- func (o *PaymentAccountLedgerEntry) HasAmount() bool
- func (o *PaymentAccountLedgerEntry) HasBalance() bool
- func (o *PaymentAccountLedgerEntry) HasCreateDate() bool
- func (o *PaymentAccountLedgerEntry) HasCreatedTimestamp() bool
- func (o *PaymentAccountLedgerEntry) HasCurrency() bool
- func (o *PaymentAccountLedgerEntry) HasDescription() bool
- func (o *PaymentAccountLedgerEntry) HasEntryId() bool
- func (o *PaymentAccountLedgerEntry) HasLedgerId() bool
- func (o *PaymentAccountLedgerEntry) HasLedgerType() bool
- func (o *PaymentAccountLedgerEntry) HasPaymentAdjustments() bool
- func (o *PaymentAccountLedgerEntry) HasReferenceId() bool
- func (o *PaymentAccountLedgerEntry) HasReferenceType() bool
- func (o *PaymentAccountLedgerEntry) HasSequenceNumber() bool
- func (o PaymentAccountLedgerEntry) MarshalJSON() ([]byte, error)
- func (o *PaymentAccountLedgerEntry) SetAmount(v int64)
- func (o *PaymentAccountLedgerEntry) SetBalance(v int64)
- func (o *PaymentAccountLedgerEntry) SetCreateDate(v int64)
- func (o *PaymentAccountLedgerEntry) SetCreatedTimestamp(v int64)
- func (o *PaymentAccountLedgerEntry) SetCurrency(v string)
- func (o *PaymentAccountLedgerEntry) SetDescription(v string)
- func (o *PaymentAccountLedgerEntry) SetEntryId(v int64)
- func (o *PaymentAccountLedgerEntry) SetLedgerId(v int64)
- func (o *PaymentAccountLedgerEntry) SetLedgerType(v string)
- func (o *PaymentAccountLedgerEntry) SetPaymentAdjustments(v []PaymentAdjustment)
- func (o *PaymentAccountLedgerEntry) SetReferenceId(v string)
- func (o *PaymentAccountLedgerEntry) SetReferenceIdNil()
- func (o *PaymentAccountLedgerEntry) SetReferenceType(v string)
- func (o *PaymentAccountLedgerEntry) SetSequenceNumber(v int64)
- func (o PaymentAccountLedgerEntry) ToMap() (map[string]interface{}, error)
- func (o *PaymentAccountLedgerEntry) UnsetReferenceId()
- type PaymentAdjustment
- func (o *PaymentAdjustment) GetBuyerTotalAdjustmentAmount() int64
- func (o *PaymentAdjustment) GetBuyerTotalAdjustmentAmountOk() (*int64, bool)
- func (o *PaymentAdjustment) GetCreateTimestamp() int64
- func (o *PaymentAdjustment) GetCreateTimestampOk() (*int64, bool)
- func (o *PaymentAdjustment) GetCreatedTimestamp() int64
- func (o *PaymentAdjustment) GetCreatedTimestampOk() (*int64, bool)
- func (o *PaymentAdjustment) GetIsSuccess() bool
- func (o *PaymentAdjustment) GetIsSuccessOk() (*bool, bool)
- func (o *PaymentAdjustment) GetPaymentAdjustmentId() int64
- func (o *PaymentAdjustment) GetPaymentAdjustmentIdOk() (*int64, bool)
- func (o *PaymentAdjustment) GetPaymentAdjustmentItems() []PaymentAdjustmentItem
- func (o *PaymentAdjustment) GetPaymentAdjustmentItemsOk() ([]PaymentAdjustmentItem, bool)
- func (o *PaymentAdjustment) GetPaymentId() int64
- func (o *PaymentAdjustment) GetPaymentIdOk() (*int64, bool)
- func (o *PaymentAdjustment) GetReasonCode() string
- func (o *PaymentAdjustment) GetReasonCodeOk() (*string, bool)
- func (o *PaymentAdjustment) GetShopTotalAdjustmentAmount() int64
- func (o *PaymentAdjustment) GetShopTotalAdjustmentAmountOk() (*int64, bool)
- func (o *PaymentAdjustment) GetStatus() string
- func (o *PaymentAdjustment) GetStatusOk() (*string, bool)
- func (o *PaymentAdjustment) GetTotalAdjustmentAmount() int64
- func (o *PaymentAdjustment) GetTotalAdjustmentAmountOk() (*int64, bool)
- func (o *PaymentAdjustment) GetTotalFeeAdjustmentAmount() int64
- func (o *PaymentAdjustment) GetTotalFeeAdjustmentAmountOk() (*int64, bool)
- func (o *PaymentAdjustment) GetUpdateTimestamp() int64
- func (o *PaymentAdjustment) GetUpdateTimestampOk() (*int64, bool)
- func (o *PaymentAdjustment) GetUpdatedTimestamp() int64
- func (o *PaymentAdjustment) GetUpdatedTimestampOk() (*int64, bool)
- func (o *PaymentAdjustment) GetUserId() int64
- func (o *PaymentAdjustment) GetUserIdOk() (*int64, bool)
- func (o *PaymentAdjustment) HasBuyerTotalAdjustmentAmount() bool
- func (o *PaymentAdjustment) HasCreateTimestamp() bool
- func (o *PaymentAdjustment) HasCreatedTimestamp() bool
- func (o *PaymentAdjustment) HasIsSuccess() bool
- func (o *PaymentAdjustment) HasPaymentAdjustmentId() bool
- func (o *PaymentAdjustment) HasPaymentAdjustmentItems() bool
- func (o *PaymentAdjustment) HasPaymentId() bool
- func (o *PaymentAdjustment) HasReasonCode() bool
- func (o *PaymentAdjustment) HasShopTotalAdjustmentAmount() bool
- func (o *PaymentAdjustment) HasStatus() bool
- func (o *PaymentAdjustment) HasTotalAdjustmentAmount() bool
- func (o *PaymentAdjustment) HasTotalFeeAdjustmentAmount() bool
- func (o *PaymentAdjustment) HasUpdateTimestamp() bool
- func (o *PaymentAdjustment) HasUpdatedTimestamp() bool
- func (o *PaymentAdjustment) HasUserId() bool
- func (o PaymentAdjustment) MarshalJSON() ([]byte, error)
- func (o *PaymentAdjustment) SetBuyerTotalAdjustmentAmount(v int64)
- func (o *PaymentAdjustment) SetBuyerTotalAdjustmentAmountNil()
- func (o *PaymentAdjustment) SetCreateTimestamp(v int64)
- func (o *PaymentAdjustment) SetCreatedTimestamp(v int64)
- func (o *PaymentAdjustment) SetIsSuccess(v bool)
- func (o *PaymentAdjustment) SetPaymentAdjustmentId(v int64)
- func (o *PaymentAdjustment) SetPaymentAdjustmentItems(v []PaymentAdjustmentItem)
- func (o *PaymentAdjustment) SetPaymentId(v int64)
- func (o *PaymentAdjustment) SetReasonCode(v string)
- func (o *PaymentAdjustment) SetShopTotalAdjustmentAmount(v int64)
- func (o *PaymentAdjustment) SetShopTotalAdjustmentAmountNil()
- func (o *PaymentAdjustment) SetStatus(v string)
- func (o *PaymentAdjustment) SetTotalAdjustmentAmount(v int64)
- func (o *PaymentAdjustment) SetTotalAdjustmentAmountNil()
- func (o *PaymentAdjustment) SetTotalFeeAdjustmentAmount(v int64)
- func (o *PaymentAdjustment) SetTotalFeeAdjustmentAmountNil()
- func (o *PaymentAdjustment) SetUpdateTimestamp(v int64)
- func (o *PaymentAdjustment) SetUpdatedTimestamp(v int64)
- func (o *PaymentAdjustment) SetUserId(v int64)
- func (o PaymentAdjustment) ToMap() (map[string]interface{}, error)
- func (o *PaymentAdjustment) UnsetBuyerTotalAdjustmentAmount()
- func (o *PaymentAdjustment) UnsetShopTotalAdjustmentAmount()
- func (o *PaymentAdjustment) UnsetTotalAdjustmentAmount()
- func (o *PaymentAdjustment) UnsetTotalFeeAdjustmentAmount()
- type PaymentAdjustmentItem
- func (o *PaymentAdjustmentItem) GetAdjustmentType() string
- func (o *PaymentAdjustmentItem) GetAdjustmentTypeOk() (*string, bool)
- func (o *PaymentAdjustmentItem) GetAmount() int64
- func (o *PaymentAdjustmentItem) GetAmountOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) GetBillPaymentId() int64
- func (o *PaymentAdjustmentItem) GetBillPaymentIdOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) GetCreatedTimestamp() int64
- func (o *PaymentAdjustmentItem) GetCreatedTimestampOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) GetPaymentAdjustmentId() int64
- func (o *PaymentAdjustmentItem) GetPaymentAdjustmentIdOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) GetPaymentAdjustmentItemId() int64
- func (o *PaymentAdjustmentItem) GetPaymentAdjustmentItemIdOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) GetShopAmount() int64
- func (o *PaymentAdjustmentItem) GetShopAmountOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) GetTransactionId() int64
- func (o *PaymentAdjustmentItem) GetTransactionIdOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) GetUpdatedTimestamp() int64
- func (o *PaymentAdjustmentItem) GetUpdatedTimestampOk() (*int64, bool)
- func (o *PaymentAdjustmentItem) HasAdjustmentType() bool
- func (o *PaymentAdjustmentItem) HasAmount() bool
- func (o *PaymentAdjustmentItem) HasBillPaymentId() bool
- func (o *PaymentAdjustmentItem) HasCreatedTimestamp() bool
- func (o *PaymentAdjustmentItem) HasPaymentAdjustmentId() bool
- func (o *PaymentAdjustmentItem) HasPaymentAdjustmentItemId() bool
- func (o *PaymentAdjustmentItem) HasShopAmount() bool
- func (o *PaymentAdjustmentItem) HasTransactionId() bool
- func (o *PaymentAdjustmentItem) HasUpdatedTimestamp() bool
- func (o PaymentAdjustmentItem) MarshalJSON() ([]byte, error)
- func (o *PaymentAdjustmentItem) SetAdjustmentType(v string)
- func (o *PaymentAdjustmentItem) SetAdjustmentTypeNil()
- func (o *PaymentAdjustmentItem) SetAmount(v int64)
- func (o *PaymentAdjustmentItem) SetBillPaymentId(v int64)
- func (o *PaymentAdjustmentItem) SetBillPaymentIdNil()
- func (o *PaymentAdjustmentItem) SetCreatedTimestamp(v int64)
- func (o *PaymentAdjustmentItem) SetPaymentAdjustmentId(v int64)
- func (o *PaymentAdjustmentItem) SetPaymentAdjustmentItemId(v int64)
- func (o *PaymentAdjustmentItem) SetShopAmount(v int64)
- func (o *PaymentAdjustmentItem) SetTransactionId(v int64)
- func (o *PaymentAdjustmentItem) SetTransactionIdNil()
- func (o *PaymentAdjustmentItem) SetUpdatedTimestamp(v int64)
- func (o PaymentAdjustmentItem) ToMap() (map[string]interface{}, error)
- func (o *PaymentAdjustmentItem) UnsetAdjustmentType()
- func (o *PaymentAdjustmentItem) UnsetBillPaymentId()
- func (o *PaymentAdjustmentItem) UnsetTransactionId()
- type Payments
- func (o *Payments) GetCount() int64
- func (o *Payments) GetCountOk() (*int64, bool)
- func (o *Payments) GetResults() []Payment
- func (o *Payments) GetResultsOk() ([]Payment, bool)
- func (o *Payments) HasCount() bool
- func (o *Payments) HasResults() bool
- func (o Payments) MarshalJSON() ([]byte, error)
- func (o *Payments) SetCount(v int64)
- func (o *Payments) SetResults(v []Payment)
- func (o Payments) ToMap() (map[string]interface{}, error)
- type Pong
- type ReviewAPI
- type ReviewAPIGetReviewsByListingRequest
- func (r ReviewAPIGetReviewsByListingRequest) Execute() (*ListingReviews, *http.Response, error)
- func (r ReviewAPIGetReviewsByListingRequest) Limit(limit int64) ReviewAPIGetReviewsByListingRequest
- func (r ReviewAPIGetReviewsByListingRequest) MaxCreated(maxCreated int64) ReviewAPIGetReviewsByListingRequest
- func (r ReviewAPIGetReviewsByListingRequest) MinCreated(minCreated int64) ReviewAPIGetReviewsByListingRequest
- func (r ReviewAPIGetReviewsByListingRequest) Offset(offset int64) ReviewAPIGetReviewsByListingRequest
- type ReviewAPIGetReviewsByShopRequest
- func (r ReviewAPIGetReviewsByShopRequest) Execute() (*TransactionReviews, *http.Response, error)
- func (r ReviewAPIGetReviewsByShopRequest) Limit(limit int64) ReviewAPIGetReviewsByShopRequest
- func (r ReviewAPIGetReviewsByShopRequest) MaxCreated(maxCreated int64) ReviewAPIGetReviewsByShopRequest
- func (r ReviewAPIGetReviewsByShopRequest) MinCreated(minCreated int64) ReviewAPIGetReviewsByShopRequest
- func (r ReviewAPIGetReviewsByShopRequest) Offset(offset int64) ReviewAPIGetReviewsByShopRequest
- type ReviewAPIService
- func (a *ReviewAPIService) GetReviewsByListing(ctx context.Context, listingId int64) ReviewAPIGetReviewsByListingRequest
- func (a *ReviewAPIService) GetReviewsByListingExecute(r ReviewAPIGetReviewsByListingRequest) (*ListingReviews, *http.Response, error)
- func (a *ReviewAPIService) GetReviewsByShop(ctx context.Context, shopId int64) ReviewAPIGetReviewsByShopRequest
- func (a *ReviewAPIService) GetReviewsByShopExecute(r ReviewAPIGetReviewsByShopRequest) (*TransactionReviews, *http.Response, error)
- type Self
- func (o *Self) GetShopId() int64
- func (o *Self) GetShopIdOk() (*int64, bool)
- func (o *Self) GetUserId() int64
- func (o *Self) GetUserIdOk() (*int64, bool)
- func (o *Self) HasShopId() bool
- func (o *Self) HasUserId() bool
- func (o Self) MarshalJSON() ([]byte, error)
- func (o *Self) SetShopId(v int64)
- func (o *Self) SetUserId(v int64)
- func (o Self) ToMap() (map[string]interface{}, error)
- type SellerTaxonomyAPI
- type SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest
- type SellerTaxonomyAPIGetSellerTaxonomyNodesRequest
- type SellerTaxonomyAPIService
- func (a *SellerTaxonomyAPIService) GetPropertiesByTaxonomyId(ctx context.Context, taxonomyId int64) SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest
- func (a *SellerTaxonomyAPIService) GetPropertiesByTaxonomyIdExecute(r SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest) (*TaxonomyNodeProperties, *http.Response, error)
- func (a *SellerTaxonomyAPIService) GetSellerTaxonomyNodes(ctx context.Context) SellerTaxonomyAPIGetSellerTaxonomyNodesRequest
- func (a *SellerTaxonomyAPIService) GetSellerTaxonomyNodesExecute(r SellerTaxonomyAPIGetSellerTaxonomyNodesRequest) (*SellerTaxonomyNodes, *http.Response, error)
- type SellerTaxonomyNode
- func (o *SellerTaxonomyNode) GetChildren() []SellerTaxonomyNode
- func (o *SellerTaxonomyNode) GetChildrenOk() ([]SellerTaxonomyNode, bool)
- func (o *SellerTaxonomyNode) GetFullPathTaxonomyIds() []int64
- func (o *SellerTaxonomyNode) GetFullPathTaxonomyIdsOk() ([]int64, bool)
- func (o *SellerTaxonomyNode) GetId() int64
- func (o *SellerTaxonomyNode) GetIdOk() (*int64, bool)
- func (o *SellerTaxonomyNode) GetLevel() int64
- func (o *SellerTaxonomyNode) GetLevelOk() (*int64, bool)
- func (o *SellerTaxonomyNode) GetName() string
- func (o *SellerTaxonomyNode) GetNameOk() (*string, bool)
- func (o *SellerTaxonomyNode) GetParentId() int64
- func (o *SellerTaxonomyNode) GetParentIdOk() (*int64, bool)
- func (o *SellerTaxonomyNode) HasChildren() bool
- func (o *SellerTaxonomyNode) HasFullPathTaxonomyIds() bool
- func (o *SellerTaxonomyNode) HasId() bool
- func (o *SellerTaxonomyNode) HasLevel() bool
- func (o *SellerTaxonomyNode) HasName() bool
- func (o *SellerTaxonomyNode) HasParentId() bool
- func (o SellerTaxonomyNode) MarshalJSON() ([]byte, error)
- func (o *SellerTaxonomyNode) SetChildren(v []SellerTaxonomyNode)
- func (o *SellerTaxonomyNode) SetFullPathTaxonomyIds(v []int64)
- func (o *SellerTaxonomyNode) SetId(v int64)
- func (o *SellerTaxonomyNode) SetLevel(v int64)
- func (o *SellerTaxonomyNode) SetName(v string)
- func (o *SellerTaxonomyNode) SetParentId(v int64)
- func (o *SellerTaxonomyNode) SetParentIdNil()
- func (o SellerTaxonomyNode) ToMap() (map[string]interface{}, error)
- func (o *SellerTaxonomyNode) UnsetParentId()
- type SellerTaxonomyNodes
- func (o *SellerTaxonomyNodes) GetCount() int64
- func (o *SellerTaxonomyNodes) GetCountOk() (*int64, bool)
- func (o *SellerTaxonomyNodes) GetResults() []SellerTaxonomyNode
- func (o *SellerTaxonomyNodes) GetResultsOk() ([]SellerTaxonomyNode, bool)
- func (o *SellerTaxonomyNodes) HasCount() bool
- func (o *SellerTaxonomyNodes) HasResults() bool
- func (o SellerTaxonomyNodes) MarshalJSON() ([]byte, error)
- func (o *SellerTaxonomyNodes) SetCount(v int64)
- func (o *SellerTaxonomyNodes) SetResults(v []SellerTaxonomyNode)
- func (o SellerTaxonomyNodes) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ShippingCarrier
- func (o *ShippingCarrier) GetDomesticClasses() []ShippingCarrierMailClass
- func (o *ShippingCarrier) GetDomesticClassesOk() ([]ShippingCarrierMailClass, bool)
- func (o *ShippingCarrier) GetInternationalClasses() []ShippingCarrierMailClass
- func (o *ShippingCarrier) GetInternationalClassesOk() ([]ShippingCarrierMailClass, bool)
- func (o *ShippingCarrier) GetName() string
- func (o *ShippingCarrier) GetNameOk() (*string, bool)
- func (o *ShippingCarrier) GetShippingCarrierId() int64
- func (o *ShippingCarrier) GetShippingCarrierIdOk() (*int64, bool)
- func (o *ShippingCarrier) HasDomesticClasses() bool
- func (o *ShippingCarrier) HasInternationalClasses() bool
- func (o *ShippingCarrier) HasName() bool
- func (o *ShippingCarrier) HasShippingCarrierId() bool
- func (o ShippingCarrier) MarshalJSON() ([]byte, error)
- func (o *ShippingCarrier) SetDomesticClasses(v []ShippingCarrierMailClass)
- func (o *ShippingCarrier) SetInternationalClasses(v []ShippingCarrierMailClass)
- func (o *ShippingCarrier) SetName(v string)
- func (o *ShippingCarrier) SetShippingCarrierId(v int64)
- func (o ShippingCarrier) ToMap() (map[string]interface{}, error)
- type ShippingCarrierMailClass
- func (o *ShippingCarrierMailClass) GetMailClassKey() string
- func (o *ShippingCarrierMailClass) GetMailClassKeyOk() (*string, bool)
- func (o *ShippingCarrierMailClass) GetName() string
- func (o *ShippingCarrierMailClass) GetNameOk() (*string, bool)
- func (o *ShippingCarrierMailClass) HasMailClassKey() bool
- func (o *ShippingCarrierMailClass) HasName() bool
- func (o ShippingCarrierMailClass) MarshalJSON() ([]byte, error)
- func (o *ShippingCarrierMailClass) SetMailClassKey(v string)
- func (o *ShippingCarrierMailClass) SetName(v string)
- func (o ShippingCarrierMailClass) ToMap() (map[string]interface{}, error)
- type ShippingCarriers
- func (o *ShippingCarriers) GetCount() int64
- func (o *ShippingCarriers) GetCountOk() (*int64, bool)
- func (o *ShippingCarriers) GetResults() []ShippingCarrier
- func (o *ShippingCarriers) GetResultsOk() ([]ShippingCarrier, bool)
- func (o *ShippingCarriers) HasCount() bool
- func (o *ShippingCarriers) HasResults() bool
- func (o ShippingCarriers) MarshalJSON() ([]byte, error)
- func (o *ShippingCarriers) SetCount(v int64)
- func (o *ShippingCarriers) SetResults(v []ShippingCarrier)
- func (o ShippingCarriers) ToMap() (map[string]interface{}, error)
- type Shop
- func (o *Shop) GetAcceptsCustomRequests() bool
- func (o *Shop) GetAcceptsCustomRequestsOk() (*bool, bool)
- func (o *Shop) GetAnnouncement() string
- func (o *Shop) GetAnnouncementOk() (*string, bool)
- func (o *Shop) GetCreateDate() int64
- func (o *Shop) GetCreateDateOk() (*int64, bool)
- func (o *Shop) GetCreatedTimestamp() int64
- func (o *Shop) GetCreatedTimestampOk() (*int64, bool)
- func (o *Shop) GetCurrencyCode() string
- func (o *Shop) GetCurrencyCodeOk() (*string, bool)
- func (o *Shop) GetDigitalListingCount() int64
- func (o *Shop) GetDigitalListingCountOk() (*int64, bool)
- func (o *Shop) GetDigitalSaleMessage() string
- func (o *Shop) GetDigitalSaleMessageOk() (*string, bool)
- func (o *Shop) GetHasOnboardedStructuredPolicies() bool
- func (o *Shop) GetHasOnboardedStructuredPoliciesOk() (*bool, bool)
- func (o *Shop) GetHasUnstructuredPolicies() bool
- func (o *Shop) GetHasUnstructuredPoliciesOk() (*bool, bool)
- func (o *Shop) GetIconUrlFullxfull() string
- func (o *Shop) GetIconUrlFullxfullOk() (*string, bool)
- func (o *Shop) GetImageUrl760x100() string
- func (o *Shop) GetImageUrl760x100Ok() (*string, bool)
- func (o *Shop) GetIncludeDisputeFormLink() bool
- func (o *Shop) GetIncludeDisputeFormLinkOk() (*bool, bool)
- func (o *Shop) GetIsCalculatedEligible() bool
- func (o *Shop) GetIsCalculatedEligibleOk() (*bool, bool)
- func (o *Shop) GetIsDirectCheckoutOnboarded() bool
- func (o *Shop) GetIsDirectCheckoutOnboardedOk() (*bool, bool)
- func (o *Shop) GetIsEtsyPaymentsOnboarded() bool
- func (o *Shop) GetIsEtsyPaymentsOnboardedOk() (*bool, bool)
- func (o *Shop) GetIsOptedInToBuyerPromise() bool
- func (o *Shop) GetIsOptedInToBuyerPromiseOk() (*bool, bool)
- func (o *Shop) GetIsShopUsBased() bool
- func (o *Shop) GetIsShopUsBasedOk() (*bool, bool)
- func (o *Shop) GetIsUsingStructuredPolicies() bool
- func (o *Shop) GetIsUsingStructuredPoliciesOk() (*bool, bool)
- func (o *Shop) GetIsVacation() bool
- func (o *Shop) GetIsVacationOk() (*bool, bool)
- func (o *Shop) GetLanguages() []string
- func (o *Shop) GetLanguagesOk() ([]string, bool)
- func (o *Shop) GetListingActiveCount() int64
- func (o *Shop) GetListingActiveCountOk() (*int64, bool)
- func (o *Shop) GetLoginName() string
- func (o *Shop) GetLoginNameOk() (*string, bool)
- func (o *Shop) GetNumFavorers() int64
- func (o *Shop) GetNumFavorersOk() (*int64, bool)
- func (o *Shop) GetPolicyAdditional() string
- func (o *Shop) GetPolicyAdditionalOk() (*string, bool)
- func (o *Shop) GetPolicyHasPrivateReceiptInfo() bool
- func (o *Shop) GetPolicyHasPrivateReceiptInfoOk() (*bool, bool)
- func (o *Shop) GetPolicyPayment() string
- func (o *Shop) GetPolicyPaymentOk() (*string, bool)
- func (o *Shop) GetPolicyPrivacy() string
- func (o *Shop) GetPolicyPrivacyOk() (*string, bool)
- func (o *Shop) GetPolicyRefunds() string
- func (o *Shop) GetPolicyRefundsOk() (*string, bool)
- func (o *Shop) GetPolicySellerInfo() string
- func (o *Shop) GetPolicySellerInfoOk() (*string, bool)
- func (o *Shop) GetPolicyShipping() string
- func (o *Shop) GetPolicyShippingOk() (*string, bool)
- func (o *Shop) GetPolicyUpdateDate() int64
- func (o *Shop) GetPolicyUpdateDateOk() (*int64, bool)
- func (o *Shop) GetPolicyWelcome() string
- func (o *Shop) GetPolicyWelcomeOk() (*string, bool)
- func (o *Shop) GetReviewAverage() float32
- func (o *Shop) GetReviewAverageOk() (*float32, bool)
- func (o *Shop) GetReviewCount() int64
- func (o *Shop) GetReviewCountOk() (*int64, bool)
- func (o *Shop) GetSaleMessage() string
- func (o *Shop) GetSaleMessageOk() (*string, bool)
- func (o *Shop) GetShippingFromCountryIso() string
- func (o *Shop) GetShippingFromCountryIsoOk() (*string, bool)
- func (o *Shop) GetShopId() int64
- func (o *Shop) GetShopIdOk() (*int64, bool)
- func (o *Shop) GetShopLocationCountryIso() string
- func (o *Shop) GetShopLocationCountryIsoOk() (*string, bool)
- func (o *Shop) GetShopName() string
- func (o *Shop) GetShopNameOk() (*string, bool)
- func (o *Shop) GetTitle() string
- func (o *Shop) GetTitleOk() (*string, bool)
- func (o *Shop) GetTransactionSoldCount() int64
- func (o *Shop) GetTransactionSoldCountOk() (*int64, bool)
- func (o *Shop) GetUpdateDate() int64
- func (o *Shop) GetUpdateDateOk() (*int64, bool)
- func (o *Shop) GetUpdatedTimestamp() int64
- func (o *Shop) GetUpdatedTimestampOk() (*int64, bool)
- func (o *Shop) GetUrl() string
- func (o *Shop) GetUrlOk() (*string, bool)
- func (o *Shop) GetUserId() int64
- func (o *Shop) GetUserIdOk() (*int64, bool)
- func (o *Shop) GetVacationAutoreply() string
- func (o *Shop) GetVacationAutoreplyOk() (*string, bool)
- func (o *Shop) GetVacationMessage() string
- func (o *Shop) GetVacationMessageOk() (*string, bool)
- func (o *Shop) HasAcceptsCustomRequests() bool
- func (o *Shop) HasAnnouncement() bool
- func (o *Shop) HasCreateDate() bool
- func (o *Shop) HasCreatedTimestamp() bool
- func (o *Shop) HasCurrencyCode() bool
- func (o *Shop) HasDigitalListingCount() bool
- func (o *Shop) HasDigitalSaleMessage() bool
- func (o *Shop) HasHasOnboardedStructuredPolicies() bool
- func (o *Shop) HasHasUnstructuredPolicies() bool
- func (o *Shop) HasIconUrlFullxfull() bool
- func (o *Shop) HasImageUrl760x100() bool
- func (o *Shop) HasIncludeDisputeFormLink() bool
- func (o *Shop) HasIsCalculatedEligible() bool
- func (o *Shop) HasIsDirectCheckoutOnboarded() bool
- func (o *Shop) HasIsEtsyPaymentsOnboarded() bool
- func (o *Shop) HasIsOptedInToBuyerPromise() bool
- func (o *Shop) HasIsShopUsBased() bool
- func (o *Shop) HasIsUsingStructuredPolicies() bool
- func (o *Shop) HasIsVacation() bool
- func (o *Shop) HasLanguages() bool
- func (o *Shop) HasListingActiveCount() bool
- func (o *Shop) HasLoginName() bool
- func (o *Shop) HasNumFavorers() bool
- func (o *Shop) HasPolicyAdditional() bool
- func (o *Shop) HasPolicyHasPrivateReceiptInfo() bool
- func (o *Shop) HasPolicyPayment() bool
- func (o *Shop) HasPolicyPrivacy() bool
- func (o *Shop) HasPolicyRefunds() bool
- func (o *Shop) HasPolicySellerInfo() bool
- func (o *Shop) HasPolicyShipping() bool
- func (o *Shop) HasPolicyUpdateDate() bool
- func (o *Shop) HasPolicyWelcome() bool
- func (o *Shop) HasReviewAverage() bool
- func (o *Shop) HasReviewCount() bool
- func (o *Shop) HasSaleMessage() bool
- func (o *Shop) HasShippingFromCountryIso() bool
- func (o *Shop) HasShopId() bool
- func (o *Shop) HasShopLocationCountryIso() bool
- func (o *Shop) HasShopName() bool
- func (o *Shop) HasTitle() bool
- func (o *Shop) HasTransactionSoldCount() bool
- func (o *Shop) HasUpdateDate() bool
- func (o *Shop) HasUpdatedTimestamp() bool
- func (o *Shop) HasUrl() bool
- func (o *Shop) HasUserId() bool
- func (o *Shop) HasVacationAutoreply() bool
- func (o *Shop) HasVacationMessage() bool
- func (o Shop) MarshalJSON() ([]byte, error)
- func (o *Shop) SetAcceptsCustomRequests(v bool)
- func (o *Shop) SetAnnouncement(v string)
- func (o *Shop) SetAnnouncementNil()
- func (o *Shop) SetCreateDate(v int64)
- func (o *Shop) SetCreatedTimestamp(v int64)
- func (o *Shop) SetCurrencyCode(v string)
- func (o *Shop) SetDigitalListingCount(v int64)
- func (o *Shop) SetDigitalSaleMessage(v string)
- func (o *Shop) SetDigitalSaleMessageNil()
- func (o *Shop) SetHasOnboardedStructuredPolicies(v bool)
- func (o *Shop) SetHasUnstructuredPolicies(v bool)
- func (o *Shop) SetIconUrlFullxfull(v string)
- func (o *Shop) SetIconUrlFullxfullNil()
- func (o *Shop) SetImageUrl760x100(v string)
- func (o *Shop) SetImageUrl760x100Nil()
- func (o *Shop) SetIncludeDisputeFormLink(v bool)
- func (o *Shop) SetIsCalculatedEligible(v bool)
- func (o *Shop) SetIsDirectCheckoutOnboarded(v bool)
- func (o *Shop) SetIsEtsyPaymentsOnboarded(v bool)
- func (o *Shop) SetIsOptedInToBuyerPromise(v bool)
- func (o *Shop) SetIsShopUsBased(v bool)
- func (o *Shop) SetIsUsingStructuredPolicies(v bool)
- func (o *Shop) SetIsVacation(v bool)
- func (o *Shop) SetLanguages(v []string)
- func (o *Shop) SetListingActiveCount(v int64)
- func (o *Shop) SetLoginName(v string)
- func (o *Shop) SetNumFavorers(v int64)
- func (o *Shop) SetPolicyAdditional(v string)
- func (o *Shop) SetPolicyAdditionalNil()
- func (o *Shop) SetPolicyHasPrivateReceiptInfo(v bool)
- func (o *Shop) SetPolicyPayment(v string)
- func (o *Shop) SetPolicyPaymentNil()
- func (o *Shop) SetPolicyPrivacy(v string)
- func (o *Shop) SetPolicyPrivacyNil()
- func (o *Shop) SetPolicyRefunds(v string)
- func (o *Shop) SetPolicyRefundsNil()
- func (o *Shop) SetPolicySellerInfo(v string)
- func (o *Shop) SetPolicySellerInfoNil()
- func (o *Shop) SetPolicyShipping(v string)
- func (o *Shop) SetPolicyShippingNil()
- func (o *Shop) SetPolicyUpdateDate(v int64)
- func (o *Shop) SetPolicyWelcome(v string)
- func (o *Shop) SetPolicyWelcomeNil()
- func (o *Shop) SetReviewAverage(v float32)
- func (o *Shop) SetReviewAverageNil()
- func (o *Shop) SetReviewCount(v int64)
- func (o *Shop) SetReviewCountNil()
- func (o *Shop) SetSaleMessage(v string)
- func (o *Shop) SetSaleMessageNil()
- func (o *Shop) SetShippingFromCountryIso(v string)
- func (o *Shop) SetShippingFromCountryIsoNil()
- func (o *Shop) SetShopId(v int64)
- func (o *Shop) SetShopLocationCountryIso(v string)
- func (o *Shop) SetShopLocationCountryIsoNil()
- func (o *Shop) SetShopName(v string)
- func (o *Shop) SetTitle(v string)
- func (o *Shop) SetTitleNil()
- func (o *Shop) SetTransactionSoldCount(v int64)
- func (o *Shop) SetUpdateDate(v int64)
- func (o *Shop) SetUpdatedTimestamp(v int64)
- func (o *Shop) SetUrl(v string)
- func (o *Shop) SetUserId(v int64)
- func (o *Shop) SetVacationAutoreply(v string)
- func (o *Shop) SetVacationAutoreplyNil()
- func (o *Shop) SetVacationMessage(v string)
- func (o *Shop) SetVacationMessageNil()
- func (o Shop) ToMap() (map[string]interface{}, error)
- func (o *Shop) UnsetAnnouncement()
- func (o *Shop) UnsetDigitalSaleMessage()
- func (o *Shop) UnsetIconUrlFullxfull()
- func (o *Shop) UnsetImageUrl760x100()
- func (o *Shop) UnsetPolicyAdditional()
- func (o *Shop) UnsetPolicyPayment()
- func (o *Shop) UnsetPolicyPrivacy()
- func (o *Shop) UnsetPolicyRefunds()
- func (o *Shop) UnsetPolicySellerInfo()
- func (o *Shop) UnsetPolicyShipping()
- func (o *Shop) UnsetPolicyWelcome()
- func (o *Shop) UnsetReviewAverage()
- func (o *Shop) UnsetReviewCount()
- func (o *Shop) UnsetSaleMessage()
- func (o *Shop) UnsetShippingFromCountryIso()
- func (o *Shop) UnsetShopLocationCountryIso()
- func (o *Shop) UnsetTitle()
- func (o *Shop) UnsetVacationAutoreply()
- func (o *Shop) UnsetVacationMessage()
- type ShopAPI
- type ShopAPIFindShopsRequest
- func (r ShopAPIFindShopsRequest) Execute() (*Shops, *http.Response, error)
- func (r ShopAPIFindShopsRequest) Limit(limit int64) ShopAPIFindShopsRequest
- func (r ShopAPIFindShopsRequest) Offset(offset int64) ShopAPIFindShopsRequest
- func (r ShopAPIFindShopsRequest) ShopName(shopName string) ShopAPIFindShopsRequest
- type ShopAPIGetShopByOwnerUserIdRequest
- type ShopAPIGetShopRequest
- type ShopAPIService
- func (a *ShopAPIService) FindShops(ctx context.Context) ShopAPIFindShopsRequest
- func (a *ShopAPIService) FindShopsExecute(r ShopAPIFindShopsRequest) (*Shops, *http.Response, error)
- func (a *ShopAPIService) GetShop(ctx context.Context, shopId int64) ShopAPIGetShopRequest
- func (a *ShopAPIService) GetShopByOwnerUserId(ctx context.Context, userId int64) ShopAPIGetShopByOwnerUserIdRequest
- func (a *ShopAPIService) GetShopByOwnerUserIdExecute(r ShopAPIGetShopByOwnerUserIdRequest) (*Shop, *http.Response, error)
- func (a *ShopAPIService) GetShopExecute(r ShopAPIGetShopRequest) (*Shop, *http.Response, error)
- func (a *ShopAPIService) UpdateShop(ctx context.Context, shopId int64) ShopAPIUpdateShopRequest
- func (a *ShopAPIService) UpdateShopExecute(r ShopAPIUpdateShopRequest) (*Shop, *http.Response, error)
- type ShopAPIUpdateShopRequest
- func (r ShopAPIUpdateShopRequest) Announcement(announcement string) ShopAPIUpdateShopRequest
- func (r ShopAPIUpdateShopRequest) DigitalSaleMessage(digitalSaleMessage string) ShopAPIUpdateShopRequest
- func (r ShopAPIUpdateShopRequest) Execute() (*Shop, *http.Response, error)
- func (r ShopAPIUpdateShopRequest) PolicyAdditional(policyAdditional string) ShopAPIUpdateShopRequest
- func (r ShopAPIUpdateShopRequest) SaleMessage(saleMessage string) ShopAPIUpdateShopRequest
- func (r ShopAPIUpdateShopRequest) Title(title string) ShopAPIUpdateShopRequest
- type ShopHolidayPreference
- func (o *ShopHolidayPreference) GetCountryIso() string
- func (o *ShopHolidayPreference) GetCountryIsoOk() (*string, bool)
- func (o *ShopHolidayPreference) GetHolidayId() UpdateHolidayPreferencesHolidayIdParameter
- func (o *ShopHolidayPreference) GetHolidayIdOk() (*UpdateHolidayPreferencesHolidayIdParameter, bool)
- func (o *ShopHolidayPreference) GetHolidayName() string
- func (o *ShopHolidayPreference) GetHolidayNameOk() (*string, bool)
- func (o *ShopHolidayPreference) GetIsWorking() bool
- func (o *ShopHolidayPreference) GetIsWorkingOk() (*bool, bool)
- func (o *ShopHolidayPreference) GetShopId() int64
- func (o *ShopHolidayPreference) GetShopIdOk() (*int64, bool)
- func (o *ShopHolidayPreference) HasCountryIso() bool
- func (o *ShopHolidayPreference) HasHolidayId() bool
- func (o *ShopHolidayPreference) HasHolidayName() bool
- func (o *ShopHolidayPreference) HasIsWorking() bool
- func (o *ShopHolidayPreference) HasShopId() bool
- func (o ShopHolidayPreference) MarshalJSON() ([]byte, error)
- func (o *ShopHolidayPreference) SetCountryIso(v string)
- func (o *ShopHolidayPreference) SetHolidayId(v UpdateHolidayPreferencesHolidayIdParameter)
- func (o *ShopHolidayPreference) SetHolidayName(v string)
- func (o *ShopHolidayPreference) SetIsWorking(v bool)
- func (o *ShopHolidayPreference) SetShopId(v int64)
- func (o ShopHolidayPreference) ToMap() (map[string]interface{}, error)
- type ShopHolidayPreferencesAPI
- type ShopHolidayPreferencesAPIGetHolidayPreferencesRequest
- type ShopHolidayPreferencesAPIService
- func (a *ShopHolidayPreferencesAPIService) GetHolidayPreferences(ctx context.Context, shopId int64) ShopHolidayPreferencesAPIGetHolidayPreferencesRequest
- func (a *ShopHolidayPreferencesAPIService) GetHolidayPreferencesExecute(r ShopHolidayPreferencesAPIGetHolidayPreferencesRequest) ([]ShopHolidayPreference, *http.Response, error)
- func (a *ShopHolidayPreferencesAPIService) UpdateHolidayPreferences(ctx context.Context, shopId int64, ...) ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest
- func (a *ShopHolidayPreferencesAPIService) UpdateHolidayPreferencesExecute(r ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest) (*ShopHolidayPreference, *http.Response, error)
- type ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest
- type ShopListing
- func (o *ShopListing) GetCreatedTimestamp() int64
- func (o *ShopListing) GetCreatedTimestampOk() (*int64, bool)
- func (o *ShopListing) GetCreationTimestamp() int64
- func (o *ShopListing) GetCreationTimestampOk() (*int64, bool)
- func (o *ShopListing) GetDescription() string
- func (o *ShopListing) GetDescriptionOk() (*string, bool)
- func (o *ShopListing) GetEndingTimestamp() int64
- func (o *ShopListing) GetEndingTimestampOk() (*int64, bool)
- func (o *ShopListing) GetFeaturedRank() int64
- func (o *ShopListing) GetFeaturedRankOk() (*int64, bool)
- func (o *ShopListing) GetFileData() string
- func (o *ShopListing) GetFileDataOk() (*string, bool)
- func (o *ShopListing) GetHasVariations() bool
- func (o *ShopListing) GetHasVariationsOk() (*bool, bool)
- func (o *ShopListing) GetIsCustomizable() bool
- func (o *ShopListing) GetIsCustomizableOk() (*bool, bool)
- func (o *ShopListing) GetIsPersonalizable() bool
- func (o *ShopListing) GetIsPersonalizableOk() (*bool, bool)
- func (o *ShopListing) GetIsPrivate() bool
- func (o *ShopListing) GetIsPrivateOk() (*bool, bool)
- func (o *ShopListing) GetIsSupply() bool
- func (o *ShopListing) GetIsSupplyOk() (*bool, bool)
- func (o *ShopListing) GetIsTaxable() bool
- func (o *ShopListing) GetIsTaxableOk() (*bool, bool)
- func (o *ShopListing) GetItemDimensionsUnit() CreateDraftListingRequestItemDimensionsUnit
- func (o *ShopListing) GetItemDimensionsUnitOk() (*CreateDraftListingRequestItemDimensionsUnit, bool)
- func (o *ShopListing) GetItemHeight() float32
- func (o *ShopListing) GetItemHeightOk() (*float32, bool)
- func (o *ShopListing) GetItemLength() float32
- func (o *ShopListing) GetItemLengthOk() (*float32, bool)
- func (o *ShopListing) GetItemWeight() float32
- func (o *ShopListing) GetItemWeightOk() (*float32, bool)
- func (o *ShopListing) GetItemWeightUnit() CreateDraftListingRequestItemWeightUnit
- func (o *ShopListing) GetItemWeightUnitOk() (*CreateDraftListingRequestItemWeightUnit, bool)
- func (o *ShopListing) GetItemWidth() float32
- func (o *ShopListing) GetItemWidthOk() (*float32, bool)
- func (o *ShopListing) GetLanguage() string
- func (o *ShopListing) GetLanguageOk() (*string, bool)
- func (o *ShopListing) GetLastModifiedTimestamp() int64
- func (o *ShopListing) GetLastModifiedTimestampOk() (*int64, bool)
- func (o *ShopListing) GetListingId() int64
- func (o *ShopListing) GetListingIdOk() (*int64, bool)
- func (o *ShopListing) GetListingType() CreateDraftListingRequestType
- func (o *ShopListing) GetListingTypeOk() (*CreateDraftListingRequestType, bool)
- func (o *ShopListing) GetMaterials() []string
- func (o *ShopListing) GetMaterialsOk() ([]string, bool)
- func (o *ShopListing) GetNonTaxable() bool
- func (o *ShopListing) GetNonTaxableOk() (*bool, bool)
- func (o *ShopListing) GetNumFavorers() int64
- func (o *ShopListing) GetNumFavorersOk() (*int64, bool)
- func (o *ShopListing) GetOriginalCreationTimestamp() int64
- func (o *ShopListing) GetOriginalCreationTimestampOk() (*int64, bool)
- func (o *ShopListing) GetPersonalizationCharCountMax() int64
- func (o *ShopListing) GetPersonalizationCharCountMaxOk() (*int64, bool)
- func (o *ShopListing) GetPersonalizationInstructions() string
- func (o *ShopListing) GetPersonalizationInstructionsOk() (*string, bool)
- func (o *ShopListing) GetPersonalizationIsRequired() bool
- func (o *ShopListing) GetPersonalizationIsRequiredOk() (*bool, bool)
- func (o *ShopListing) GetPrice() Money
- func (o *ShopListing) GetPriceOk() (*Money, bool)
- func (o *ShopListing) GetProcessingMax() int64
- func (o *ShopListing) GetProcessingMaxOk() (*int64, bool)
- func (o *ShopListing) GetProcessingMin() int64
- func (o *ShopListing) GetProcessingMinOk() (*int64, bool)
- func (o *ShopListing) GetQuantity() int64
- func (o *ShopListing) GetQuantityOk() (*int64, bool)
- func (o *ShopListing) GetReturnPolicyId() int64
- func (o *ShopListing) GetReturnPolicyIdOk() (*int64, bool)
- func (o *ShopListing) GetShippingProfileId() int64
- func (o *ShopListing) GetShippingProfileIdOk() (*int64, bool)
- func (o *ShopListing) GetShopId() int64
- func (o *ShopListing) GetShopIdOk() (*int64, bool)
- func (o *ShopListing) GetShopSectionId() int64
- func (o *ShopListing) GetShopSectionIdOk() (*int64, bool)
- func (o *ShopListing) GetShouldAutoRenew() bool
- func (o *ShopListing) GetShouldAutoRenewOk() (*bool, bool)
- func (o *ShopListing) GetState() ShopListingState
- func (o *ShopListing) GetStateOk() (*ShopListingState, bool)
- func (o *ShopListing) GetStateTimestamp() int64
- func (o *ShopListing) GetStateTimestampOk() (*int64, bool)
- func (o *ShopListing) GetStyle() []string
- func (o *ShopListing) GetStyleOk() ([]string, bool)
- func (o *ShopListing) GetTags() []string
- func (o *ShopListing) GetTagsOk() ([]string, bool)
- func (o *ShopListing) GetTaxonomyId() int64
- func (o *ShopListing) GetTaxonomyIdOk() (*int64, bool)
- func (o *ShopListing) GetTitle() string
- func (o *ShopListing) GetTitleOk() (*string, bool)
- func (o *ShopListing) GetUpdatedTimestamp() int64
- func (o *ShopListing) GetUpdatedTimestampOk() (*int64, bool)
- func (o *ShopListing) GetUrl() string
- func (o *ShopListing) GetUrlOk() (*string, bool)
- func (o *ShopListing) GetUserId() int64
- func (o *ShopListing) GetUserIdOk() (*int64, bool)
- func (o *ShopListing) GetWhenMade() ShopListingWhenMade
- func (o *ShopListing) GetWhenMadeOk() (*ShopListingWhenMade, bool)
- func (o *ShopListing) GetWhoMade() ShopListingWhoMade
- func (o *ShopListing) GetWhoMadeOk() (*ShopListingWhoMade, bool)
- func (o *ShopListing) HasCreatedTimestamp() bool
- func (o *ShopListing) HasCreationTimestamp() bool
- func (o *ShopListing) HasDescription() bool
- func (o *ShopListing) HasEndingTimestamp() bool
- func (o *ShopListing) HasFeaturedRank() bool
- func (o *ShopListing) HasFileData() bool
- func (o *ShopListing) HasHasVariations() bool
- func (o *ShopListing) HasIsCustomizable() bool
- func (o *ShopListing) HasIsPersonalizable() bool
- func (o *ShopListing) HasIsPrivate() bool
- func (o *ShopListing) HasIsSupply() bool
- func (o *ShopListing) HasIsTaxable() bool
- func (o *ShopListing) HasItemDimensionsUnit() bool
- func (o *ShopListing) HasItemHeight() bool
- func (o *ShopListing) HasItemLength() bool
- func (o *ShopListing) HasItemWeight() bool
- func (o *ShopListing) HasItemWeightUnit() bool
- func (o *ShopListing) HasItemWidth() bool
- func (o *ShopListing) HasLanguage() bool
- func (o *ShopListing) HasLastModifiedTimestamp() bool
- func (o *ShopListing) HasListingId() bool
- func (o *ShopListing) HasListingType() bool
- func (o *ShopListing) HasMaterials() bool
- func (o *ShopListing) HasNonTaxable() bool
- func (o *ShopListing) HasNumFavorers() bool
- func (o *ShopListing) HasOriginalCreationTimestamp() bool
- func (o *ShopListing) HasPersonalizationCharCountMax() bool
- func (o *ShopListing) HasPersonalizationInstructions() bool
- func (o *ShopListing) HasPersonalizationIsRequired() bool
- func (o *ShopListing) HasPrice() bool
- func (o *ShopListing) HasProcessingMax() bool
- func (o *ShopListing) HasProcessingMin() bool
- func (o *ShopListing) HasQuantity() bool
- func (o *ShopListing) HasReturnPolicyId() bool
- func (o *ShopListing) HasShippingProfileId() bool
- func (o *ShopListing) HasShopId() bool
- func (o *ShopListing) HasShopSectionId() bool
- func (o *ShopListing) HasShouldAutoRenew() bool
- func (o *ShopListing) HasState() bool
- func (o *ShopListing) HasStateTimestamp() bool
- func (o *ShopListing) HasStyle() bool
- func (o *ShopListing) HasTags() bool
- func (o *ShopListing) HasTaxonomyId() bool
- func (o *ShopListing) HasTitle() bool
- func (o *ShopListing) HasUpdatedTimestamp() bool
- func (o *ShopListing) HasUrl() bool
- func (o *ShopListing) HasUserId() bool
- func (o *ShopListing) HasWhenMade() bool
- func (o *ShopListing) HasWhoMade() bool
- func (o ShopListing) MarshalJSON() ([]byte, error)
- func (o *ShopListing) SetCreatedTimestamp(v int64)
- func (o *ShopListing) SetCreationTimestamp(v int64)
- func (o *ShopListing) SetDescription(v string)
- func (o *ShopListing) SetEndingTimestamp(v int64)
- func (o *ShopListing) SetFeaturedRank(v int64)
- func (o *ShopListing) SetFileData(v string)
- func (o *ShopListing) SetHasVariations(v bool)
- func (o *ShopListing) SetIsCustomizable(v bool)
- func (o *ShopListing) SetIsPersonalizable(v bool)
- func (o *ShopListing) SetIsPrivate(v bool)
- func (o *ShopListing) SetIsSupply(v bool)
- func (o *ShopListing) SetIsSupplyNil()
- func (o *ShopListing) SetIsTaxable(v bool)
- func (o *ShopListing) SetItemDimensionsUnit(v CreateDraftListingRequestItemDimensionsUnit)
- func (o *ShopListing) SetItemDimensionsUnitNil()
- func (o *ShopListing) SetItemHeight(v float32)
- func (o *ShopListing) SetItemHeightNil()
- func (o *ShopListing) SetItemLength(v float32)
- func (o *ShopListing) SetItemLengthNil()
- func (o *ShopListing) SetItemWeight(v float32)
- func (o *ShopListing) SetItemWeightNil()
- func (o *ShopListing) SetItemWeightUnit(v CreateDraftListingRequestItemWeightUnit)
- func (o *ShopListing) SetItemWeightUnitNil()
- func (o *ShopListing) SetItemWidth(v float32)
- func (o *ShopListing) SetItemWidthNil()
- func (o *ShopListing) SetLanguage(v string)
- func (o *ShopListing) SetLanguageNil()
- func (o *ShopListing) SetLastModifiedTimestamp(v int64)
- func (o *ShopListing) SetListingId(v int64)
- func (o *ShopListing) SetListingType(v CreateDraftListingRequestType)
- func (o *ShopListing) SetMaterials(v []string)
- func (o *ShopListing) SetNonTaxable(v bool)
- func (o *ShopListing) SetNumFavorers(v int64)
- func (o *ShopListing) SetOriginalCreationTimestamp(v int64)
- func (o *ShopListing) SetPersonalizationCharCountMax(v int64)
- func (o *ShopListing) SetPersonalizationCharCountMaxNil()
- func (o *ShopListing) SetPersonalizationInstructions(v string)
- func (o *ShopListing) SetPersonalizationInstructionsNil()
- func (o *ShopListing) SetPersonalizationIsRequired(v bool)
- func (o *ShopListing) SetPrice(v Money)
- func (o *ShopListing) SetProcessingMax(v int64)
- func (o *ShopListing) SetProcessingMaxNil()
- func (o *ShopListing) SetProcessingMin(v int64)
- func (o *ShopListing) SetProcessingMinNil()
- func (o *ShopListing) SetQuantity(v int64)
- func (o *ShopListing) SetReturnPolicyId(v int64)
- func (o *ShopListing) SetReturnPolicyIdNil()
- func (o *ShopListing) SetShippingProfileId(v int64)
- func (o *ShopListing) SetShippingProfileIdNil()
- func (o *ShopListing) SetShopId(v int64)
- func (o *ShopListing) SetShopSectionId(v int64)
- func (o *ShopListing) SetShopSectionIdNil()
- func (o *ShopListing) SetShouldAutoRenew(v bool)
- func (o *ShopListing) SetState(v ShopListingState)
- func (o *ShopListing) SetStateTimestamp(v int64)
- func (o *ShopListing) SetStateTimestampNil()
- func (o *ShopListing) SetStyle(v []string)
- func (o *ShopListing) SetTags(v []string)
- func (o *ShopListing) SetTaxonomyId(v int64)
- func (o *ShopListing) SetTaxonomyIdNil()
- func (o *ShopListing) SetTitle(v string)
- func (o *ShopListing) SetUpdatedTimestamp(v int64)
- func (o *ShopListing) SetUrl(v string)
- func (o *ShopListing) SetUserId(v int64)
- func (o *ShopListing) SetWhenMade(v ShopListingWhenMade)
- func (o *ShopListing) SetWhenMadeNil()
- func (o *ShopListing) SetWhoMade(v ShopListingWhoMade)
- func (o *ShopListing) SetWhoMadeNil()
- func (o ShopListing) ToMap() (map[string]interface{}, error)
- func (o *ShopListing) UnsetIsSupply()
- func (o *ShopListing) UnsetItemDimensionsUnit()
- func (o *ShopListing) UnsetItemHeight()
- func (o *ShopListing) UnsetItemLength()
- func (o *ShopListing) UnsetItemWeight()
- func (o *ShopListing) UnsetItemWeightUnit()
- func (o *ShopListing) UnsetItemWidth()
- func (o *ShopListing) UnsetLanguage()
- func (o *ShopListing) UnsetPersonalizationCharCountMax()
- func (o *ShopListing) UnsetPersonalizationInstructions()
- func (o *ShopListing) UnsetProcessingMax()
- func (o *ShopListing) UnsetProcessingMin()
- func (o *ShopListing) UnsetReturnPolicyId()
- func (o *ShopListing) UnsetShippingProfileId()
- func (o *ShopListing) UnsetShopSectionId()
- func (o *ShopListing) UnsetStateTimestamp()
- func (o *ShopListing) UnsetTaxonomyId()
- func (o *ShopListing) UnsetWhenMade()
- func (o *ShopListing) UnsetWhoMade()
- type ShopListingAPI
- type ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Description(description string) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Execute() (*ShopListing, *http.Response, error)
- func (r ShopListingAPICreateDraftListingRequest) ImageIds(imageIds []int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) IsCustomizable(isCustomizable bool) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) IsPersonalizable(isPersonalizable bool) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) IsSupply(isSupply bool) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) IsTaxable(isTaxable bool) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ItemDimensionsUnit(itemDimensionsUnit CreateDraftListingRequestItemDimensionsUnit) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ItemHeight(itemHeight float32) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ItemLength(itemLength float32) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ItemWeight(itemWeight float32) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ItemWeightUnit(itemWeightUnit CreateDraftListingRequestItemWeightUnit) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ItemWidth(itemWidth float32) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Materials(materials []string) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) PersonalizationCharCountMax(personalizationCharCountMax int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) PersonalizationInstructions(personalizationInstructions string) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) PersonalizationIsRequired(personalizationIsRequired bool) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Price(price float32) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ProcessingMax(processingMax int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ProcessingMin(processingMin int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ProductionPartnerIds(productionPartnerIds []int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Quantity(quantity int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ReturnPolicyId(returnPolicyId int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ShippingProfileId(shippingProfileId int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ShopSectionId(shopSectionId int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) ShouldAutoRenew(shouldAutoRenew bool) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Styles(styles []string) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Tags(tags []string) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) TaxonomyId(taxonomyId int64) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Title(title string) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) Type_(type_ CreateDraftListingRequestType) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) WhenMade(whenMade CreateDraftListingRequestWhenMade) ShopListingAPICreateDraftListingRequest
- func (r ShopListingAPICreateDraftListingRequest) WhoMade(whoMade CreateDraftListingRequestWhoMade) ShopListingAPICreateDraftListingRequest
- type ShopListingAPIDeleteListingPropertyRequest
- type ShopListingAPIDeleteListingRequest
- type ShopListingAPIFindAllActiveListingsByShopRequest
- func (r ShopListingAPIFindAllActiveListingsByShopRequest) Execute() (*ShopListings, *http.Response, error)
- func (r ShopListingAPIFindAllActiveListingsByShopRequest) Keywords(keywords string) ShopListingAPIFindAllActiveListingsByShopRequest
- func (r ShopListingAPIFindAllActiveListingsByShopRequest) Limit(limit int64) ShopListingAPIFindAllActiveListingsByShopRequest
- func (r ShopListingAPIFindAllActiveListingsByShopRequest) Offset(offset int64) ShopListingAPIFindAllActiveListingsByShopRequest
- func (r ShopListingAPIFindAllActiveListingsByShopRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIFindAllActiveListingsByShopRequest
- func (r ShopListingAPIFindAllActiveListingsByShopRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIFindAllActiveListingsByShopRequest
- type ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) Execute() (*ShopListings, *http.Response, error)
- func (r ShopListingAPIFindAllListingsActiveRequest) Keywords(keywords string) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) Limit(limit int64) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) MaxPrice(maxPrice float32) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) MinPrice(minPrice float32) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) Offset(offset int64) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) ShopLocation(shopLocation string) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIFindAllListingsActiveRequest
- func (r ShopListingAPIFindAllListingsActiveRequest) TaxonomyId(taxonomyId int64) ShopListingAPIFindAllListingsActiveRequest
- type ShopListingAPIGetFeaturedListingsByShopRequest
- func (r ShopListingAPIGetFeaturedListingsByShopRequest) Execute() (*ShopListings, *http.Response, error)
- func (r ShopListingAPIGetFeaturedListingsByShopRequest) Limit(limit int64) ShopListingAPIGetFeaturedListingsByShopRequest
- func (r ShopListingAPIGetFeaturedListingsByShopRequest) Offset(offset int64) ShopListingAPIGetFeaturedListingsByShopRequest
- type ShopListingAPIGetListingPropertiesRequest
- type ShopListingAPIGetListingPropertyRequest
- type ShopListingAPIGetListingRequest
- func (r ShopListingAPIGetListingRequest) Execute() (*ShopListingWithAssociations, *http.Response, error)
- func (r ShopListingAPIGetListingRequest) Includes(includes []GetListingsByShopIncludesParameterInner) ShopListingAPIGetListingRequest
- func (r ShopListingAPIGetListingRequest) Language(language string) ShopListingAPIGetListingRequest
- type ShopListingAPIGetListingsByListingIdsRequest
- func (r ShopListingAPIGetListingsByListingIdsRequest) Execute() (*ShopListingsWithAssociations, *http.Response, error)
- func (r ShopListingAPIGetListingsByListingIdsRequest) Includes(includes []GetListingsByShopIncludesParameterInner) ShopListingAPIGetListingsByListingIdsRequest
- func (r ShopListingAPIGetListingsByListingIdsRequest) ListingIds(listingIds []int64) ShopListingAPIGetListingsByListingIdsRequest
- type ShopListingAPIGetListingsByShopReceiptRequest
- func (r ShopListingAPIGetListingsByShopReceiptRequest) Execute() (*ShopListings, *http.Response, error)
- func (r ShopListingAPIGetListingsByShopReceiptRequest) Limit(limit int64) ShopListingAPIGetListingsByShopReceiptRequest
- func (r ShopListingAPIGetListingsByShopReceiptRequest) Offset(offset int64) ShopListingAPIGetListingsByShopReceiptRequest
- type ShopListingAPIGetListingsByShopRequest
- func (r ShopListingAPIGetListingsByShopRequest) Execute() (*ShopListingsWithAssociations, *http.Response, error)
- func (r ShopListingAPIGetListingsByShopRequest) Includes(includes []GetListingsByShopIncludesParameterInner) ShopListingAPIGetListingsByShopRequest
- func (r ShopListingAPIGetListingsByShopRequest) Limit(limit int64) ShopListingAPIGetListingsByShopRequest
- func (r ShopListingAPIGetListingsByShopRequest) Offset(offset int64) ShopListingAPIGetListingsByShopRequest
- func (r ShopListingAPIGetListingsByShopRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIGetListingsByShopRequest
- func (r ShopListingAPIGetListingsByShopRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIGetListingsByShopRequest
- func (r ShopListingAPIGetListingsByShopRequest) State(state GetListingsByShopStateParameter) ShopListingAPIGetListingsByShopRequest
- type ShopListingAPIGetListingsByShopReturnPolicyRequest
- type ShopListingAPIGetListingsByShopSectionIdRequest
- func (r ShopListingAPIGetListingsByShopSectionIdRequest) Execute() (*ShopListings, *http.Response, error)
- func (r ShopListingAPIGetListingsByShopSectionIdRequest) Limit(limit int64) ShopListingAPIGetListingsByShopSectionIdRequest
- func (r ShopListingAPIGetListingsByShopSectionIdRequest) Offset(offset int64) ShopListingAPIGetListingsByShopSectionIdRequest
- func (r ShopListingAPIGetListingsByShopSectionIdRequest) ShopSectionIds(shopSectionIds []int64) ShopListingAPIGetListingsByShopSectionIdRequest
- func (r ShopListingAPIGetListingsByShopSectionIdRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIGetListingsByShopSectionIdRequest
- func (r ShopListingAPIGetListingsByShopSectionIdRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIGetListingsByShopSectionIdRequest
- type ShopListingAPIService
- func (a *ShopListingAPIService) CreateDraftListing(ctx context.Context, shopId int64) ShopListingAPICreateDraftListingRequest
- func (a *ShopListingAPIService) CreateDraftListingExecute(r ShopListingAPICreateDraftListingRequest) (*ShopListing, *http.Response, error)
- func (a *ShopListingAPIService) DeleteListing(ctx context.Context, listingId int64) ShopListingAPIDeleteListingRequest
- func (a *ShopListingAPIService) DeleteListingExecute(r ShopListingAPIDeleteListingRequest) (*http.Response, error)
- func (a *ShopListingAPIService) DeleteListingProperty(ctx context.Context, shopId int64, listingId int64, propertyId int64) ShopListingAPIDeleteListingPropertyRequest
- func (a *ShopListingAPIService) DeleteListingPropertyExecute(r ShopListingAPIDeleteListingPropertyRequest) (*http.Response, error)
- func (a *ShopListingAPIService) FindAllActiveListingsByShop(ctx context.Context, shopId int64) ShopListingAPIFindAllActiveListingsByShopRequest
- func (a *ShopListingAPIService) FindAllActiveListingsByShopExecute(r ShopListingAPIFindAllActiveListingsByShopRequest) (*ShopListings, *http.Response, error)
- func (a *ShopListingAPIService) FindAllListingsActive(ctx context.Context) ShopListingAPIFindAllListingsActiveRequest
- func (a *ShopListingAPIService) FindAllListingsActiveExecute(r ShopListingAPIFindAllListingsActiveRequest) (*ShopListings, *http.Response, error)
- func (a *ShopListingAPIService) GetFeaturedListingsByShop(ctx context.Context, shopId int64) ShopListingAPIGetFeaturedListingsByShopRequest
- func (a *ShopListingAPIService) GetFeaturedListingsByShopExecute(r ShopListingAPIGetFeaturedListingsByShopRequest) (*ShopListings, *http.Response, error)
- func (a *ShopListingAPIService) GetListing(ctx context.Context, listingId int64) ShopListingAPIGetListingRequest
- func (a *ShopListingAPIService) GetListingExecute(r ShopListingAPIGetListingRequest) (*ShopListingWithAssociations, *http.Response, error)
- func (a *ShopListingAPIService) GetListingProperties(ctx context.Context, shopId int64, listingId int64) ShopListingAPIGetListingPropertiesRequest
- func (a *ShopListingAPIService) GetListingPropertiesExecute(r ShopListingAPIGetListingPropertiesRequest) (*ListingPropertyValues, *http.Response, error)
- func (a *ShopListingAPIService) GetListingProperty(ctx context.Context, listingId int64, propertyId int64) ShopListingAPIGetListingPropertyRequest
- func (a *ShopListingAPIService) GetListingPropertyExecute(r ShopListingAPIGetListingPropertyRequest) (*ListingPropertyValue, *http.Response, error)
- func (a *ShopListingAPIService) GetListingsByListingIds(ctx context.Context) ShopListingAPIGetListingsByListingIdsRequest
- func (a *ShopListingAPIService) GetListingsByListingIdsExecute(r ShopListingAPIGetListingsByListingIdsRequest) (*ShopListingsWithAssociations, *http.Response, error)
- func (a *ShopListingAPIService) GetListingsByShop(ctx context.Context, shopId int64) ShopListingAPIGetListingsByShopRequest
- func (a *ShopListingAPIService) GetListingsByShopExecute(r ShopListingAPIGetListingsByShopRequest) (*ShopListingsWithAssociations, *http.Response, error)
- func (a *ShopListingAPIService) GetListingsByShopReceipt(ctx context.Context, receiptId int64, shopId int64) ShopListingAPIGetListingsByShopReceiptRequest
- func (a *ShopListingAPIService) GetListingsByShopReceiptExecute(r ShopListingAPIGetListingsByShopReceiptRequest) (*ShopListings, *http.Response, error)
- func (a *ShopListingAPIService) GetListingsByShopReturnPolicy(ctx context.Context, returnPolicyId int64, shopId int64) ShopListingAPIGetListingsByShopReturnPolicyRequest
- func (a *ShopListingAPIService) GetListingsByShopReturnPolicyExecute(r ShopListingAPIGetListingsByShopReturnPolicyRequest) (*ShopListings, *http.Response, error)
- func (a *ShopListingAPIService) GetListingsByShopSectionId(ctx context.Context, shopId int64) ShopListingAPIGetListingsByShopSectionIdRequest
- func (a *ShopListingAPIService) GetListingsByShopSectionIdExecute(r ShopListingAPIGetListingsByShopSectionIdRequest) (*ShopListings, *http.Response, error)
- func (a *ShopListingAPIService) UpdateListing(ctx context.Context, shopId int64, listingId int64) ShopListingAPIUpdateListingRequest
- func (a *ShopListingAPIService) UpdateListingDeprecated(ctx context.Context, shopId int64, listingId int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (a *ShopListingAPIService) UpdateListingDeprecatedExecute(r ShopListingAPIUpdateListingDeprecatedRequest) (*ShopListing, *http.Response, error)
- func (a *ShopListingAPIService) UpdateListingExecute(r ShopListingAPIUpdateListingRequest) (*ShopListing, *http.Response, error)
- func (a *ShopListingAPIService) UpdateListingProperty(ctx context.Context, shopId int64, listingId int64, propertyId int64) ShopListingAPIUpdateListingPropertyRequest
- func (a *ShopListingAPIService) UpdateListingPropertyExecute(r ShopListingAPIUpdateListingPropertyRequest) (*ListingPropertyValue, *http.Response, error)
- type ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) Description(description string) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) Execute() (*ShopListing, *http.Response, error)
- func (r ShopListingAPIUpdateListingDeprecatedRequest) FeaturedRank(featuredRank int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ImageIds(imageIds []int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) IsPersonalizable(isPersonalizable bool) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) IsSupply(isSupply bool) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) IsTaxable(isTaxable bool) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemDimensionsUnit(itemDimensionsUnit CreateDraftListingRequestItemDimensionsUnit) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemHeight(itemHeight float32) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemLength(itemLength float32) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemWeight(itemWeight float32) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemWeightUnit(itemWeightUnit CreateDraftListingRequestItemWeightUnit) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemWidth(itemWidth float32) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) Materials(materials []string) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationCharCountMax(personalizationCharCountMax int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationInstructions(personalizationInstructions string) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationIsRequired(personalizationIsRequired bool) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ProductionPartnerIds(productionPartnerIds []int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ShippingProfileId(shippingProfileId int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ShopSectionId(shopSectionId int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) ShouldAutoRenew(shouldAutoRenew bool) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) State(state UpdateListingDeprecatedRequestState) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) Tags(tags []string) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) TaxonomyId(taxonomyId int64) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) Title(title string) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) Type_(type_ UpdateListingDeprecatedRequestType) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) WhenMade(whenMade CreateDraftListingRequestWhenMade) ShopListingAPIUpdateListingDeprecatedRequest
- func (r ShopListingAPIUpdateListingDeprecatedRequest) WhoMade(whoMade CreateDraftListingRequestWhoMade) ShopListingAPIUpdateListingDeprecatedRequest
- type ShopListingAPIUpdateListingPropertyRequest
- func (r ShopListingAPIUpdateListingPropertyRequest) Execute() (*ListingPropertyValue, *http.Response, error)
- func (r ShopListingAPIUpdateListingPropertyRequest) ScaleId(scaleId int64) ShopListingAPIUpdateListingPropertyRequest
- func (r ShopListingAPIUpdateListingPropertyRequest) ValueIds(valueIds []int64) ShopListingAPIUpdateListingPropertyRequest
- func (r ShopListingAPIUpdateListingPropertyRequest) Values(values []string) ShopListingAPIUpdateListingPropertyRequest
- type ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) Description(description string) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) Execute() (*ShopListing, *http.Response, error)
- func (r ShopListingAPIUpdateListingRequest) FeaturedRank(featuredRank int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ImageIds(imageIds []int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) IsPersonalizable(isPersonalizable bool) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) IsSupply(isSupply bool) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) IsTaxable(isTaxable bool) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ItemDimensionsUnit(itemDimensionsUnit UpdateListingRequestItemDimensionsUnit) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ItemHeight(itemHeight float32) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ItemLength(itemLength float32) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ItemWeight(itemWeight float32) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ItemWeightUnit(itemWeightUnit UpdateListingRequestItemWeightUnit) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ItemWidth(itemWidth float32) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) Materials(materials []string) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) PersonalizationCharCountMax(personalizationCharCountMax int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) PersonalizationInstructions(personalizationInstructions string) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) PersonalizationIsRequired(personalizationIsRequired bool) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ProductionPartnerIds(productionPartnerIds []int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ReturnPolicyId(returnPolicyId int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ShippingProfileId(shippingProfileId int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ShopSectionId(shopSectionId int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) ShouldAutoRenew(shouldAutoRenew bool) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) State(state UpdateListingDeprecatedRequestState) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) Tags(tags []string) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) TaxonomyId(taxonomyId int64) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) Title(title string) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) Type_(type_ UpdateListingDeprecatedRequestType) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) WhenMade(whenMade CreateDraftListingRequestWhenMade) ShopListingAPIUpdateListingRequest
- func (r ShopListingAPIUpdateListingRequest) WhoMade(whoMade CreateDraftListingRequestWhoMade) ShopListingAPIUpdateListingRequest
- type ShopListingFile
- func (o *ShopListingFile) GetCreateTimestamp() int64
- func (o *ShopListingFile) GetCreateTimestampOk() (*int64, bool)
- func (o *ShopListingFile) GetCreatedTimestamp() int64
- func (o *ShopListingFile) GetCreatedTimestampOk() (*int64, bool)
- func (o *ShopListingFile) GetFilename() string
- func (o *ShopListingFile) GetFilenameOk() (*string, bool)
- func (o *ShopListingFile) GetFilesize() string
- func (o *ShopListingFile) GetFilesizeOk() (*string, bool)
- func (o *ShopListingFile) GetFiletype() string
- func (o *ShopListingFile) GetFiletypeOk() (*string, bool)
- func (o *ShopListingFile) GetListingFileId() int64
- func (o *ShopListingFile) GetListingFileIdOk() (*int64, bool)
- func (o *ShopListingFile) GetListingId() int64
- func (o *ShopListingFile) GetListingIdOk() (*int64, bool)
- func (o *ShopListingFile) GetRank() int64
- func (o *ShopListingFile) GetRankOk() (*int64, bool)
- func (o *ShopListingFile) GetSizeBytes() int64
- func (o *ShopListingFile) GetSizeBytesOk() (*int64, bool)
- func (o *ShopListingFile) HasCreateTimestamp() bool
- func (o *ShopListingFile) HasCreatedTimestamp() bool
- func (o *ShopListingFile) HasFilename() bool
- func (o *ShopListingFile) HasFilesize() bool
- func (o *ShopListingFile) HasFiletype() bool
- func (o *ShopListingFile) HasListingFileId() bool
- func (o *ShopListingFile) HasListingId() bool
- func (o *ShopListingFile) HasRank() bool
- func (o *ShopListingFile) HasSizeBytes() bool
- func (o ShopListingFile) MarshalJSON() ([]byte, error)
- func (o *ShopListingFile) SetCreateTimestamp(v int64)
- func (o *ShopListingFile) SetCreatedTimestamp(v int64)
- func (o *ShopListingFile) SetFilename(v string)
- func (o *ShopListingFile) SetFilesize(v string)
- func (o *ShopListingFile) SetFiletype(v string)
- func (o *ShopListingFile) SetListingFileId(v int64)
- func (o *ShopListingFile) SetListingId(v int64)
- func (o *ShopListingFile) SetRank(v int64)
- func (o *ShopListingFile) SetSizeBytes(v int64)
- func (o ShopListingFile) ToMap() (map[string]interface{}, error)
- type ShopListingFileAPI
- type ShopListingFileAPIDeleteListingFileRequest
- type ShopListingFileAPIGetAllListingFilesRequest
- type ShopListingFileAPIGetListingFileRequest
- type ShopListingFileAPIService
- func (a *ShopListingFileAPIService) DeleteListingFile(ctx context.Context, shopId int64, listingId int64, listingFileId int64) ShopListingFileAPIDeleteListingFileRequest
- func (a *ShopListingFileAPIService) DeleteListingFileExecute(r ShopListingFileAPIDeleteListingFileRequest) (*http.Response, error)
- func (a *ShopListingFileAPIService) GetAllListingFiles(ctx context.Context, listingId int64, shopId int64) ShopListingFileAPIGetAllListingFilesRequest
- func (a *ShopListingFileAPIService) GetAllListingFilesExecute(r ShopListingFileAPIGetAllListingFilesRequest) (*ShopListingFiles, *http.Response, error)
- func (a *ShopListingFileAPIService) GetListingFile(ctx context.Context, shopId int64, listingId int64, listingFileId int64) ShopListingFileAPIGetListingFileRequest
- func (a *ShopListingFileAPIService) GetListingFileExecute(r ShopListingFileAPIGetListingFileRequest) (*ShopListingFile, *http.Response, error)
- func (a *ShopListingFileAPIService) UploadListingFile(ctx context.Context, shopId int64, listingId int64) ShopListingFileAPIUploadListingFileRequest
- func (a *ShopListingFileAPIService) UploadListingFileExecute(r ShopListingFileAPIUploadListingFileRequest) (*ShopListingFile, *http.Response, error)
- type ShopListingFileAPIUploadListingFileRequest
- func (r ShopListingFileAPIUploadListingFileRequest) Execute() (*ShopListingFile, *http.Response, error)
- func (r ShopListingFileAPIUploadListingFileRequest) File(file *os.File) ShopListingFileAPIUploadListingFileRequest
- func (r ShopListingFileAPIUploadListingFileRequest) ListingFileId(listingFileId int64) ShopListingFileAPIUploadListingFileRequest
- func (r ShopListingFileAPIUploadListingFileRequest) Name(name string) ShopListingFileAPIUploadListingFileRequest
- func (r ShopListingFileAPIUploadListingFileRequest) Rank(rank int64) ShopListingFileAPIUploadListingFileRequest
- type ShopListingFiles
- func (o *ShopListingFiles) GetCount() int64
- func (o *ShopListingFiles) GetCountOk() (*int64, bool)
- func (o *ShopListingFiles) GetResults() []ShopListingFile
- func (o *ShopListingFiles) GetResultsOk() ([]ShopListingFile, bool)
- func (o *ShopListingFiles) HasCount() bool
- func (o *ShopListingFiles) HasResults() bool
- func (o ShopListingFiles) MarshalJSON() ([]byte, error)
- func (o *ShopListingFiles) SetCount(v int64)
- func (o *ShopListingFiles) SetResults(v []ShopListingFile)
- func (o ShopListingFiles) ToMap() (map[string]interface{}, error)
- type ShopListingImageAPI
- type ShopListingImageAPIDeleteListingImageRequest
- type ShopListingImageAPIGetListingImageDeprecatedRequest
- type ShopListingImageAPIGetListingImageRequest
- type ShopListingImageAPIGetListingImagesDeprecatedRequest
- type ShopListingImageAPIGetListingImagesRequest
- type ShopListingImageAPIService
- func (a *ShopListingImageAPIService) DeleteListingImage(ctx context.Context, shopId int64, listingId int64, listingImageId int64) ShopListingImageAPIDeleteListingImageRequest
- func (a *ShopListingImageAPIService) DeleteListingImageExecute(r ShopListingImageAPIDeleteListingImageRequest) (*http.Response, error)
- func (a *ShopListingImageAPIService) GetListingImage(ctx context.Context, listingId int64, listingImageId int64) ShopListingImageAPIGetListingImageRequest
- func (a *ShopListingImageAPIService) GetListingImageDeprecated(ctx context.Context, shopId int64, listingId int64, listingImageId int64) ShopListingImageAPIGetListingImageDeprecatedRequest
- func (a *ShopListingImageAPIService) GetListingImageDeprecatedExecute(r ShopListingImageAPIGetListingImageDeprecatedRequest) (*ListingImage, *http.Response, error)
- func (a *ShopListingImageAPIService) GetListingImageExecute(r ShopListingImageAPIGetListingImageRequest) (*ListingImage, *http.Response, error)
- func (a *ShopListingImageAPIService) GetListingImages(ctx context.Context, listingId int64) ShopListingImageAPIGetListingImagesRequest
- func (a *ShopListingImageAPIService) GetListingImagesDeprecated(ctx context.Context, shopId int64, listingId int64) ShopListingImageAPIGetListingImagesDeprecatedRequest
- func (a *ShopListingImageAPIService) GetListingImagesDeprecatedExecute(r ShopListingImageAPIGetListingImagesDeprecatedRequest) (*ListingImages, *http.Response, error)
- func (a *ShopListingImageAPIService) GetListingImagesExecute(r ShopListingImageAPIGetListingImagesRequest) (*ListingImages, *http.Response, error)
- func (a *ShopListingImageAPIService) UploadListingImage(ctx context.Context, shopId int64, listingId int64) ShopListingImageAPIUploadListingImageRequest
- func (a *ShopListingImageAPIService) UploadListingImageExecute(r ShopListingImageAPIUploadListingImageRequest) (*ListingImage, *http.Response, error)
- type ShopListingImageAPIUploadListingImageRequest
- func (r ShopListingImageAPIUploadListingImageRequest) AltText(altText string) ShopListingImageAPIUploadListingImageRequest
- func (r ShopListingImageAPIUploadListingImageRequest) Execute() (*ListingImage, *http.Response, error)
- func (r ShopListingImageAPIUploadListingImageRequest) Image(image *os.File) ShopListingImageAPIUploadListingImageRequest
- func (r ShopListingImageAPIUploadListingImageRequest) IsWatermarked(isWatermarked bool) ShopListingImageAPIUploadListingImageRequest
- func (r ShopListingImageAPIUploadListingImageRequest) ListingImageId(listingImageId int64) ShopListingImageAPIUploadListingImageRequest
- func (r ShopListingImageAPIUploadListingImageRequest) Overwrite(overwrite bool) ShopListingImageAPIUploadListingImageRequest
- func (r ShopListingImageAPIUploadListingImageRequest) Rank(rank int64) ShopListingImageAPIUploadListingImageRequest
- type ShopListingInventoryAPI
- type ShopListingInventoryAPIGetListingInventoryRequest
- func (r ShopListingInventoryAPIGetListingInventoryRequest) Execute() (*ListingInventoryWithAssociations, *http.Response, error)
- func (r ShopListingInventoryAPIGetListingInventoryRequest) Includes(includes GetListingInventoryIncludesParameter) ShopListingInventoryAPIGetListingInventoryRequest
- func (r ShopListingInventoryAPIGetListingInventoryRequest) ShowDeleted(showDeleted bool) ShopListingInventoryAPIGetListingInventoryRequest
- type ShopListingInventoryAPIService
- func (a *ShopListingInventoryAPIService) GetListingInventory(ctx context.Context, listingId int64) ShopListingInventoryAPIGetListingInventoryRequest
- func (a *ShopListingInventoryAPIService) GetListingInventoryExecute(r ShopListingInventoryAPIGetListingInventoryRequest) (*ListingInventoryWithAssociations, *http.Response, error)
- func (a *ShopListingInventoryAPIService) UpdateListingInventory(ctx context.Context, listingId int64) ShopListingInventoryAPIUpdateListingInventoryRequest
- func (a *ShopListingInventoryAPIService) UpdateListingInventoryExecute(r ShopListingInventoryAPIUpdateListingInventoryRequest) (*ListingInventory, *http.Response, error)
- type ShopListingInventoryAPIUpdateListingInventoryRequest
- func (r ShopListingInventoryAPIUpdateListingInventoryRequest) Execute() (*ListingInventory, *http.Response, error)
- func (r ShopListingInventoryAPIUpdateListingInventoryRequest) UpdateListingInventoryRequest(updateListingInventoryRequest UpdateListingInventoryRequest) ShopListingInventoryAPIUpdateListingInventoryRequest
- type ShopListingOfferingAPI
- type ShopListingOfferingAPIGetListingOfferingRequest
- type ShopListingOfferingAPIService
- func (a *ShopListingOfferingAPIService) GetListingOffering(ctx context.Context, listingId int64, productId int64, productOfferingId int64) ShopListingOfferingAPIGetListingOfferingRequest
- func (a *ShopListingOfferingAPIService) GetListingOfferingExecute(r ShopListingOfferingAPIGetListingOfferingRequest) (*ListingInventoryProductOffering, *http.Response, error)
- type ShopListingProductAPI
- type ShopListingProductAPIGetListingProductRequest
- type ShopListingProductAPIService
- func (a *ShopListingProductAPIService) GetListingProduct(ctx context.Context, listingId int64, productId int64) ShopListingProductAPIGetListingProductRequest
- func (a *ShopListingProductAPIService) GetListingProductExecute(r ShopListingProductAPIGetListingProductRequest) (*ListingInventoryProduct, *http.Response, error)
- type ShopListingState
- type ShopListingTranslationAPI
- type ShopListingTranslationAPICreateListingTranslationRequest
- func (r ShopListingTranslationAPICreateListingTranslationRequest) Description(description string) ShopListingTranslationAPICreateListingTranslationRequest
- func (r ShopListingTranslationAPICreateListingTranslationRequest) Execute() (*ListingTranslation, *http.Response, error)
- func (r ShopListingTranslationAPICreateListingTranslationRequest) Tags(tags []string) ShopListingTranslationAPICreateListingTranslationRequest
- func (r ShopListingTranslationAPICreateListingTranslationRequest) Title(title string) ShopListingTranslationAPICreateListingTranslationRequest
- type ShopListingTranslationAPIGetListingTranslationRequest
- type ShopListingTranslationAPIService
- func (a *ShopListingTranslationAPIService) CreateListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPICreateListingTranslationRequest
- func (a *ShopListingTranslationAPIService) CreateListingTranslationExecute(r ShopListingTranslationAPICreateListingTranslationRequest) (*ListingTranslation, *http.Response, error)
- func (a *ShopListingTranslationAPIService) GetListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPIGetListingTranslationRequest
- func (a *ShopListingTranslationAPIService) GetListingTranslationExecute(r ShopListingTranslationAPIGetListingTranslationRequest) (*ListingTranslation, *http.Response, error)
- func (a *ShopListingTranslationAPIService) UpdateListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPIUpdateListingTranslationRequest
- func (a *ShopListingTranslationAPIService) UpdateListingTranslationExecute(r ShopListingTranslationAPIUpdateListingTranslationRequest) (*ListingTranslation, *http.Response, error)
- type ShopListingTranslationAPIUpdateListingTranslationRequest
- func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Description(description string) ShopListingTranslationAPIUpdateListingTranslationRequest
- func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Execute() (*ListingTranslation, *http.Response, error)
- func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Tags(tags []string) ShopListingTranslationAPIUpdateListingTranslationRequest
- func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Title(title string) ShopListingTranslationAPIUpdateListingTranslationRequest
- type ShopListingVariationImageAPI
- type ShopListingVariationImageAPIGetListingVariationImagesRequest
- type ShopListingVariationImageAPIService
- func (a *ShopListingVariationImageAPIService) GetListingVariationImages(ctx context.Context, shopId int64, listingId int64) ShopListingVariationImageAPIGetListingVariationImagesRequest
- func (a *ShopListingVariationImageAPIService) GetListingVariationImagesExecute(r ShopListingVariationImageAPIGetListingVariationImagesRequest) (*ListingVariationImages, *http.Response, error)
- func (a *ShopListingVariationImageAPIService) UpdateVariationImages(ctx context.Context, shopId int64, listingId int64) ShopListingVariationImageAPIUpdateVariationImagesRequest
- func (a *ShopListingVariationImageAPIService) UpdateVariationImagesExecute(r ShopListingVariationImageAPIUpdateVariationImagesRequest) (*ListingVariationImages, *http.Response, error)
- type ShopListingVariationImageAPIUpdateVariationImagesRequest
- func (r ShopListingVariationImageAPIUpdateVariationImagesRequest) Execute() (*ListingVariationImages, *http.Response, error)
- func (r ShopListingVariationImageAPIUpdateVariationImagesRequest) UpdateVariationImagesRequest(updateVariationImagesRequest UpdateVariationImagesRequest) ShopListingVariationImageAPIUpdateVariationImagesRequest
- type ShopListingVideoAPI
- type ShopListingVideoAPIDeleteListingVideoRequest
- type ShopListingVideoAPIGetListingVideoRequest
- type ShopListingVideoAPIGetListingVideosRequest
- type ShopListingVideoAPIService
- func (a *ShopListingVideoAPIService) DeleteListingVideo(ctx context.Context, shopId int64, listingId int64, videoId int64) ShopListingVideoAPIDeleteListingVideoRequest
- func (a *ShopListingVideoAPIService) DeleteListingVideoExecute(r ShopListingVideoAPIDeleteListingVideoRequest) (*http.Response, error)
- func (a *ShopListingVideoAPIService) GetListingVideo(ctx context.Context, videoId int64, listingId int64) ShopListingVideoAPIGetListingVideoRequest
- func (a *ShopListingVideoAPIService) GetListingVideoExecute(r ShopListingVideoAPIGetListingVideoRequest) (*ListingVideo, *http.Response, error)
- func (a *ShopListingVideoAPIService) GetListingVideos(ctx context.Context, listingId int64) ShopListingVideoAPIGetListingVideosRequest
- func (a *ShopListingVideoAPIService) GetListingVideosExecute(r ShopListingVideoAPIGetListingVideosRequest) (*ListingVideos, *http.Response, error)
- func (a *ShopListingVideoAPIService) UploadListingVideo(ctx context.Context, shopId int64, listingId int64) ShopListingVideoAPIUploadListingVideoRequest
- func (a *ShopListingVideoAPIService) UploadListingVideoExecute(r ShopListingVideoAPIUploadListingVideoRequest) (*ListingVideo, *http.Response, error)
- type ShopListingVideoAPIUploadListingVideoRequest
- func (r ShopListingVideoAPIUploadListingVideoRequest) Execute() (*ListingVideo, *http.Response, error)
- func (r ShopListingVideoAPIUploadListingVideoRequest) Name(name string) ShopListingVideoAPIUploadListingVideoRequest
- func (r ShopListingVideoAPIUploadListingVideoRequest) Video(video *os.File) ShopListingVideoAPIUploadListingVideoRequest
- func (r ShopListingVideoAPIUploadListingVideoRequest) VideoId(videoId int64) ShopListingVideoAPIUploadListingVideoRequest
- type ShopListingWhenMade
- type ShopListingWhoMade
- type ShopListingWithAssociations
- func (o *ShopListingWithAssociations) GetCreatedTimestamp() int64
- func (o *ShopListingWithAssociations) GetCreatedTimestampOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetCreationTimestamp() int64
- func (o *ShopListingWithAssociations) GetCreationTimestampOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetDescription() string
- func (o *ShopListingWithAssociations) GetDescriptionOk() (*string, bool)
- func (o *ShopListingWithAssociations) GetEndingTimestamp() int64
- func (o *ShopListingWithAssociations) GetEndingTimestampOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetFeaturedRank() int64
- func (o *ShopListingWithAssociations) GetFeaturedRankOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetFileData() string
- func (o *ShopListingWithAssociations) GetFileDataOk() (*string, bool)
- func (o *ShopListingWithAssociations) GetHasVariations() bool
- func (o *ShopListingWithAssociations) GetHasVariationsOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetImages() []ListingImage
- func (o *ShopListingWithAssociations) GetImagesOk() ([]ListingImage, bool)
- func (o *ShopListingWithAssociations) GetInventory() ListingInventory
- func (o *ShopListingWithAssociations) GetInventoryOk() (*ListingInventory, bool)
- func (o *ShopListingWithAssociations) GetIsCustomizable() bool
- func (o *ShopListingWithAssociations) GetIsCustomizableOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetIsPersonalizable() bool
- func (o *ShopListingWithAssociations) GetIsPersonalizableOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetIsPrivate() bool
- func (o *ShopListingWithAssociations) GetIsPrivateOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetIsSupply() bool
- func (o *ShopListingWithAssociations) GetIsSupplyOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetIsTaxable() bool
- func (o *ShopListingWithAssociations) GetIsTaxableOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetItemDimensionsUnit() CreateDraftListingRequestItemDimensionsUnit
- func (o *ShopListingWithAssociations) GetItemDimensionsUnitOk() (*CreateDraftListingRequestItemDimensionsUnit, bool)
- func (o *ShopListingWithAssociations) GetItemHeight() float32
- func (o *ShopListingWithAssociations) GetItemHeightOk() (*float32, bool)
- func (o *ShopListingWithAssociations) GetItemLength() float32
- func (o *ShopListingWithAssociations) GetItemLengthOk() (*float32, bool)
- func (o *ShopListingWithAssociations) GetItemWeight() float32
- func (o *ShopListingWithAssociations) GetItemWeightOk() (*float32, bool)
- func (o *ShopListingWithAssociations) GetItemWeightUnit() CreateDraftListingRequestItemWeightUnit
- func (o *ShopListingWithAssociations) GetItemWeightUnitOk() (*CreateDraftListingRequestItemWeightUnit, bool)
- func (o *ShopListingWithAssociations) GetItemWidth() float32
- func (o *ShopListingWithAssociations) GetItemWidthOk() (*float32, bool)
- func (o *ShopListingWithAssociations) GetLanguage() string
- func (o *ShopListingWithAssociations) GetLanguageOk() (*string, bool)
- func (o *ShopListingWithAssociations) GetLastModifiedTimestamp() int64
- func (o *ShopListingWithAssociations) GetLastModifiedTimestampOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetListingId() int64
- func (o *ShopListingWithAssociations) GetListingIdOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetListingType() CreateDraftListingRequestType
- func (o *ShopListingWithAssociations) GetListingTypeOk() (*CreateDraftListingRequestType, bool)
- func (o *ShopListingWithAssociations) GetMaterials() []string
- func (o *ShopListingWithAssociations) GetMaterialsOk() ([]string, bool)
- func (o *ShopListingWithAssociations) GetNonTaxable() bool
- func (o *ShopListingWithAssociations) GetNonTaxableOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetNumFavorers() int64
- func (o *ShopListingWithAssociations) GetNumFavorersOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetOriginalCreationTimestamp() int64
- func (o *ShopListingWithAssociations) GetOriginalCreationTimestampOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetPersonalizationCharCountMax() int64
- func (o *ShopListingWithAssociations) GetPersonalizationCharCountMaxOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetPersonalizationInstructions() string
- func (o *ShopListingWithAssociations) GetPersonalizationInstructionsOk() (*string, bool)
- func (o *ShopListingWithAssociations) GetPersonalizationIsRequired() bool
- func (o *ShopListingWithAssociations) GetPersonalizationIsRequiredOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetPrice() Money
- func (o *ShopListingWithAssociations) GetPriceOk() (*Money, bool)
- func (o *ShopListingWithAssociations) GetProcessingMax() int64
- func (o *ShopListingWithAssociations) GetProcessingMaxOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetProcessingMin() int64
- func (o *ShopListingWithAssociations) GetProcessingMinOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetProductionPartners() []ShopProductionPartner
- func (o *ShopListingWithAssociations) GetProductionPartnersOk() ([]ShopProductionPartner, bool)
- func (o *ShopListingWithAssociations) GetQuantity() int64
- func (o *ShopListingWithAssociations) GetQuantityOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetReturnPolicyId() int64
- func (o *ShopListingWithAssociations) GetReturnPolicyIdOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetShippingProfile() ShopShippingProfile
- func (o *ShopListingWithAssociations) GetShippingProfileId() int64
- func (o *ShopListingWithAssociations) GetShippingProfileIdOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetShippingProfileOk() (*ShopShippingProfile, bool)
- func (o *ShopListingWithAssociations) GetShop() Shop
- func (o *ShopListingWithAssociations) GetShopId() int64
- func (o *ShopListingWithAssociations) GetShopIdOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetShopOk() (*Shop, bool)
- func (o *ShopListingWithAssociations) GetShopSectionId() int64
- func (o *ShopListingWithAssociations) GetShopSectionIdOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetShouldAutoRenew() bool
- func (o *ShopListingWithAssociations) GetShouldAutoRenewOk() (*bool, bool)
- func (o *ShopListingWithAssociations) GetSkus() []string
- func (o *ShopListingWithAssociations) GetSkusOk() ([]string, bool)
- func (o *ShopListingWithAssociations) GetState() ShopListingState
- func (o *ShopListingWithAssociations) GetStateOk() (*ShopListingState, bool)
- func (o *ShopListingWithAssociations) GetStateTimestamp() int64
- func (o *ShopListingWithAssociations) GetStateTimestampOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetStyle() []string
- func (o *ShopListingWithAssociations) GetStyleOk() ([]string, bool)
- func (o *ShopListingWithAssociations) GetTags() []string
- func (o *ShopListingWithAssociations) GetTagsOk() ([]string, bool)
- func (o *ShopListingWithAssociations) GetTaxonomyId() int64
- func (o *ShopListingWithAssociations) GetTaxonomyIdOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetTitle() string
- func (o *ShopListingWithAssociations) GetTitleOk() (*string, bool)
- func (o *ShopListingWithAssociations) GetTranslations() ListingTranslations
- func (o *ShopListingWithAssociations) GetTranslationsOk() (*ListingTranslations, bool)
- func (o *ShopListingWithAssociations) GetUpdatedTimestamp() int64
- func (o *ShopListingWithAssociations) GetUpdatedTimestampOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetUrl() string
- func (o *ShopListingWithAssociations) GetUrlOk() (*string, bool)
- func (o *ShopListingWithAssociations) GetUser() User
- func (o *ShopListingWithAssociations) GetUserId() int64
- func (o *ShopListingWithAssociations) GetUserIdOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetUserOk() (*User, bool)
- func (o *ShopListingWithAssociations) GetVideos() []ListingVideo
- func (o *ShopListingWithAssociations) GetVideosOk() ([]ListingVideo, bool)
- func (o *ShopListingWithAssociations) GetViews() int64
- func (o *ShopListingWithAssociations) GetViewsOk() (*int64, bool)
- func (o *ShopListingWithAssociations) GetWhenMade() ShopListingWhenMade
- func (o *ShopListingWithAssociations) GetWhenMadeOk() (*ShopListingWhenMade, bool)
- func (o *ShopListingWithAssociations) GetWhoMade() ShopListingWhoMade
- func (o *ShopListingWithAssociations) GetWhoMadeOk() (*ShopListingWhoMade, bool)
- func (o *ShopListingWithAssociations) HasCreatedTimestamp() bool
- func (o *ShopListingWithAssociations) HasCreationTimestamp() bool
- func (o *ShopListingWithAssociations) HasDescription() bool
- func (o *ShopListingWithAssociations) HasEndingTimestamp() bool
- func (o *ShopListingWithAssociations) HasFeaturedRank() bool
- func (o *ShopListingWithAssociations) HasFileData() bool
- func (o *ShopListingWithAssociations) HasHasVariations() bool
- func (o *ShopListingWithAssociations) HasImages() bool
- func (o *ShopListingWithAssociations) HasInventory() bool
- func (o *ShopListingWithAssociations) HasIsCustomizable() bool
- func (o *ShopListingWithAssociations) HasIsPersonalizable() bool
- func (o *ShopListingWithAssociations) HasIsPrivate() bool
- func (o *ShopListingWithAssociations) HasIsSupply() bool
- func (o *ShopListingWithAssociations) HasIsTaxable() bool
- func (o *ShopListingWithAssociations) HasItemDimensionsUnit() bool
- func (o *ShopListingWithAssociations) HasItemHeight() bool
- func (o *ShopListingWithAssociations) HasItemLength() bool
- func (o *ShopListingWithAssociations) HasItemWeight() bool
- func (o *ShopListingWithAssociations) HasItemWeightUnit() bool
- func (o *ShopListingWithAssociations) HasItemWidth() bool
- func (o *ShopListingWithAssociations) HasLanguage() bool
- func (o *ShopListingWithAssociations) HasLastModifiedTimestamp() bool
- func (o *ShopListingWithAssociations) HasListingId() bool
- func (o *ShopListingWithAssociations) HasListingType() bool
- func (o *ShopListingWithAssociations) HasMaterials() bool
- func (o *ShopListingWithAssociations) HasNonTaxable() bool
- func (o *ShopListingWithAssociations) HasNumFavorers() bool
- func (o *ShopListingWithAssociations) HasOriginalCreationTimestamp() bool
- func (o *ShopListingWithAssociations) HasPersonalizationCharCountMax() bool
- func (o *ShopListingWithAssociations) HasPersonalizationInstructions() bool
- func (o *ShopListingWithAssociations) HasPersonalizationIsRequired() bool
- func (o *ShopListingWithAssociations) HasPrice() bool
- func (o *ShopListingWithAssociations) HasProcessingMax() bool
- func (o *ShopListingWithAssociations) HasProcessingMin() bool
- func (o *ShopListingWithAssociations) HasProductionPartners() bool
- func (o *ShopListingWithAssociations) HasQuantity() bool
- func (o *ShopListingWithAssociations) HasReturnPolicyId() bool
- func (o *ShopListingWithAssociations) HasShippingProfile() bool
- func (o *ShopListingWithAssociations) HasShippingProfileId() bool
- func (o *ShopListingWithAssociations) HasShop() bool
- func (o *ShopListingWithAssociations) HasShopId() bool
- func (o *ShopListingWithAssociations) HasShopSectionId() bool
- func (o *ShopListingWithAssociations) HasShouldAutoRenew() bool
- func (o *ShopListingWithAssociations) HasSkus() bool
- func (o *ShopListingWithAssociations) HasState() bool
- func (o *ShopListingWithAssociations) HasStateTimestamp() bool
- func (o *ShopListingWithAssociations) HasStyle() bool
- func (o *ShopListingWithAssociations) HasTags() bool
- func (o *ShopListingWithAssociations) HasTaxonomyId() bool
- func (o *ShopListingWithAssociations) HasTitle() bool
- func (o *ShopListingWithAssociations) HasTranslations() bool
- func (o *ShopListingWithAssociations) HasUpdatedTimestamp() bool
- func (o *ShopListingWithAssociations) HasUrl() bool
- func (o *ShopListingWithAssociations) HasUser() bool
- func (o *ShopListingWithAssociations) HasUserId() bool
- func (o *ShopListingWithAssociations) HasVideos() bool
- func (o *ShopListingWithAssociations) HasViews() bool
- func (o *ShopListingWithAssociations) HasWhenMade() bool
- func (o *ShopListingWithAssociations) HasWhoMade() bool
- func (o ShopListingWithAssociations) MarshalJSON() ([]byte, error)
- func (o *ShopListingWithAssociations) SetCreatedTimestamp(v int64)
- func (o *ShopListingWithAssociations) SetCreationTimestamp(v int64)
- func (o *ShopListingWithAssociations) SetDescription(v string)
- func (o *ShopListingWithAssociations) SetEndingTimestamp(v int64)
- func (o *ShopListingWithAssociations) SetFeaturedRank(v int64)
- func (o *ShopListingWithAssociations) SetFileData(v string)
- func (o *ShopListingWithAssociations) SetHasVariations(v bool)
- func (o *ShopListingWithAssociations) SetImages(v []ListingImage)
- func (o *ShopListingWithAssociations) SetInventory(v ListingInventory)
- func (o *ShopListingWithAssociations) SetInventoryNil()
- func (o *ShopListingWithAssociations) SetIsCustomizable(v bool)
- func (o *ShopListingWithAssociations) SetIsPersonalizable(v bool)
- func (o *ShopListingWithAssociations) SetIsPrivate(v bool)
- func (o *ShopListingWithAssociations) SetIsSupply(v bool)
- func (o *ShopListingWithAssociations) SetIsSupplyNil()
- func (o *ShopListingWithAssociations) SetIsTaxable(v bool)
- func (o *ShopListingWithAssociations) SetItemDimensionsUnit(v CreateDraftListingRequestItemDimensionsUnit)
- func (o *ShopListingWithAssociations) SetItemDimensionsUnitNil()
- func (o *ShopListingWithAssociations) SetItemHeight(v float32)
- func (o *ShopListingWithAssociations) SetItemHeightNil()
- func (o *ShopListingWithAssociations) SetItemLength(v float32)
- func (o *ShopListingWithAssociations) SetItemLengthNil()
- func (o *ShopListingWithAssociations) SetItemWeight(v float32)
- func (o *ShopListingWithAssociations) SetItemWeightNil()
- func (o *ShopListingWithAssociations) SetItemWeightUnit(v CreateDraftListingRequestItemWeightUnit)
- func (o *ShopListingWithAssociations) SetItemWeightUnitNil()
- func (o *ShopListingWithAssociations) SetItemWidth(v float32)
- func (o *ShopListingWithAssociations) SetItemWidthNil()
- func (o *ShopListingWithAssociations) SetLanguage(v string)
- func (o *ShopListingWithAssociations) SetLanguageNil()
- func (o *ShopListingWithAssociations) SetLastModifiedTimestamp(v int64)
- func (o *ShopListingWithAssociations) SetListingId(v int64)
- func (o *ShopListingWithAssociations) SetListingType(v CreateDraftListingRequestType)
- func (o *ShopListingWithAssociations) SetMaterials(v []string)
- func (o *ShopListingWithAssociations) SetNonTaxable(v bool)
- func (o *ShopListingWithAssociations) SetNumFavorers(v int64)
- func (o *ShopListingWithAssociations) SetOriginalCreationTimestamp(v int64)
- func (o *ShopListingWithAssociations) SetPersonalizationCharCountMax(v int64)
- func (o *ShopListingWithAssociations) SetPersonalizationCharCountMaxNil()
- func (o *ShopListingWithAssociations) SetPersonalizationInstructions(v string)
- func (o *ShopListingWithAssociations) SetPersonalizationInstructionsNil()
- func (o *ShopListingWithAssociations) SetPersonalizationIsRequired(v bool)
- func (o *ShopListingWithAssociations) SetPrice(v Money)
- func (o *ShopListingWithAssociations) SetProcessingMax(v int64)
- func (o *ShopListingWithAssociations) SetProcessingMaxNil()
- func (o *ShopListingWithAssociations) SetProcessingMin(v int64)
- func (o *ShopListingWithAssociations) SetProcessingMinNil()
- func (o *ShopListingWithAssociations) SetProductionPartners(v []ShopProductionPartner)
- func (o *ShopListingWithAssociations) SetQuantity(v int64)
- func (o *ShopListingWithAssociations) SetReturnPolicyId(v int64)
- func (o *ShopListingWithAssociations) SetReturnPolicyIdNil()
- func (o *ShopListingWithAssociations) SetShippingProfile(v ShopShippingProfile)
- func (o *ShopListingWithAssociations) SetShippingProfileId(v int64)
- func (o *ShopListingWithAssociations) SetShippingProfileIdNil()
- func (o *ShopListingWithAssociations) SetShippingProfileNil()
- func (o *ShopListingWithAssociations) SetShop(v Shop)
- func (o *ShopListingWithAssociations) SetShopId(v int64)
- func (o *ShopListingWithAssociations) SetShopNil()
- func (o *ShopListingWithAssociations) SetShopSectionId(v int64)
- func (o *ShopListingWithAssociations) SetShopSectionIdNil()
- func (o *ShopListingWithAssociations) SetShouldAutoRenew(v bool)
- func (o *ShopListingWithAssociations) SetSkus(v []string)
- func (o *ShopListingWithAssociations) SetState(v ShopListingState)
- func (o *ShopListingWithAssociations) SetStateTimestamp(v int64)
- func (o *ShopListingWithAssociations) SetStateTimestampNil()
- func (o *ShopListingWithAssociations) SetStyle(v []string)
- func (o *ShopListingWithAssociations) SetTags(v []string)
- func (o *ShopListingWithAssociations) SetTaxonomyId(v int64)
- func (o *ShopListingWithAssociations) SetTaxonomyIdNil()
- func (o *ShopListingWithAssociations) SetTitle(v string)
- func (o *ShopListingWithAssociations) SetTranslations(v ListingTranslations)
- func (o *ShopListingWithAssociations) SetTranslationsNil()
- func (o *ShopListingWithAssociations) SetUpdatedTimestamp(v int64)
- func (o *ShopListingWithAssociations) SetUrl(v string)
- func (o *ShopListingWithAssociations) SetUser(v User)
- func (o *ShopListingWithAssociations) SetUserId(v int64)
- func (o *ShopListingWithAssociations) SetUserNil()
- func (o *ShopListingWithAssociations) SetVideos(v []ListingVideo)
- func (o *ShopListingWithAssociations) SetViews(v int64)
- func (o *ShopListingWithAssociations) SetWhenMade(v ShopListingWhenMade)
- func (o *ShopListingWithAssociations) SetWhenMadeNil()
- func (o *ShopListingWithAssociations) SetWhoMade(v ShopListingWhoMade)
- func (o *ShopListingWithAssociations) SetWhoMadeNil()
- func (o ShopListingWithAssociations) ToMap() (map[string]interface{}, error)
- func (o *ShopListingWithAssociations) UnsetInventory()
- func (o *ShopListingWithAssociations) UnsetIsSupply()
- func (o *ShopListingWithAssociations) UnsetItemDimensionsUnit()
- func (o *ShopListingWithAssociations) UnsetItemHeight()
- func (o *ShopListingWithAssociations) UnsetItemLength()
- func (o *ShopListingWithAssociations) UnsetItemWeight()
- func (o *ShopListingWithAssociations) UnsetItemWeightUnit()
- func (o *ShopListingWithAssociations) UnsetItemWidth()
- func (o *ShopListingWithAssociations) UnsetLanguage()
- func (o *ShopListingWithAssociations) UnsetPersonalizationCharCountMax()
- func (o *ShopListingWithAssociations) UnsetPersonalizationInstructions()
- func (o *ShopListingWithAssociations) UnsetProcessingMax()
- func (o *ShopListingWithAssociations) UnsetProcessingMin()
- func (o *ShopListingWithAssociations) UnsetReturnPolicyId()
- func (o *ShopListingWithAssociations) UnsetShippingProfile()
- func (o *ShopListingWithAssociations) UnsetShippingProfileId()
- func (o *ShopListingWithAssociations) UnsetShop()
- func (o *ShopListingWithAssociations) UnsetShopSectionId()
- func (o *ShopListingWithAssociations) UnsetStateTimestamp()
- func (o *ShopListingWithAssociations) UnsetTaxonomyId()
- func (o *ShopListingWithAssociations) UnsetTranslations()
- func (o *ShopListingWithAssociations) UnsetUser()
- func (o *ShopListingWithAssociations) UnsetWhenMade()
- func (o *ShopListingWithAssociations) UnsetWhoMade()
- type ShopListings
- func (o *ShopListings) GetCount() int64
- func (o *ShopListings) GetCountOk() (*int64, bool)
- func (o *ShopListings) GetResults() []ShopListing
- func (o *ShopListings) GetResultsOk() ([]ShopListing, bool)
- func (o *ShopListings) HasCount() bool
- func (o *ShopListings) HasResults() bool
- func (o ShopListings) MarshalJSON() ([]byte, error)
- func (o *ShopListings) SetCount(v int64)
- func (o *ShopListings) SetResults(v []ShopListing)
- func (o ShopListings) ToMap() (map[string]interface{}, error)
- type ShopListingsWithAssociations
- func (o *ShopListingsWithAssociations) GetCount() int64
- func (o *ShopListingsWithAssociations) GetCountOk() (*int64, bool)
- func (o *ShopListingsWithAssociations) GetResults() []ShopListingWithAssociations
- func (o *ShopListingsWithAssociations) GetResultsOk() ([]ShopListingWithAssociations, bool)
- func (o *ShopListingsWithAssociations) HasCount() bool
- func (o *ShopListingsWithAssociations) HasResults() bool
- func (o ShopListingsWithAssociations) MarshalJSON() ([]byte, error)
- func (o *ShopListingsWithAssociations) SetCount(v int64)
- func (o *ShopListingsWithAssociations) SetResults(v []ShopListingWithAssociations)
- func (o ShopListingsWithAssociations) ToMap() (map[string]interface{}, error)
- type ShopProductionPartner
- func (o *ShopProductionPartner) GetLocation() string
- func (o *ShopProductionPartner) GetLocationOk() (*string, bool)
- func (o *ShopProductionPartner) GetPartnerName() string
- func (o *ShopProductionPartner) GetPartnerNameOk() (*string, bool)
- func (o *ShopProductionPartner) GetProductionPartnerId() int64
- func (o *ShopProductionPartner) GetProductionPartnerIdOk() (*int64, bool)
- func (o *ShopProductionPartner) HasLocation() bool
- func (o *ShopProductionPartner) HasPartnerName() bool
- func (o *ShopProductionPartner) HasProductionPartnerId() bool
- func (o ShopProductionPartner) MarshalJSON() ([]byte, error)
- func (o *ShopProductionPartner) SetLocation(v string)
- func (o *ShopProductionPartner) SetPartnerName(v string)
- func (o *ShopProductionPartner) SetProductionPartnerId(v int64)
- func (o ShopProductionPartner) ToMap() (map[string]interface{}, error)
- type ShopProductionPartnerAPI
- type ShopProductionPartnerAPIGetShopProductionPartnersRequest
- type ShopProductionPartnerAPIService
- func (a *ShopProductionPartnerAPIService) GetShopProductionPartners(ctx context.Context, shopId int64) ShopProductionPartnerAPIGetShopProductionPartnersRequest
- func (a *ShopProductionPartnerAPIService) GetShopProductionPartnersExecute(r ShopProductionPartnerAPIGetShopProductionPartnersRequest) (*ShopProductionPartners, *http.Response, error)
- type ShopProductionPartners
- func (o *ShopProductionPartners) GetCount() int64
- func (o *ShopProductionPartners) GetCountOk() (*int64, bool)
- func (o *ShopProductionPartners) GetResults() []ShopProductionPartner
- func (o *ShopProductionPartners) GetResultsOk() ([]ShopProductionPartner, bool)
- func (o *ShopProductionPartners) HasCount() bool
- func (o *ShopProductionPartners) HasResults() bool
- func (o ShopProductionPartners) MarshalJSON() ([]byte, error)
- func (o *ShopProductionPartners) SetCount(v int64)
- func (o *ShopProductionPartners) SetResults(v []ShopProductionPartner)
- func (o ShopProductionPartners) ToMap() (map[string]interface{}, error)
- type ShopReceipt
- func (o *ShopReceipt) GetBuyerEmail() string
- func (o *ShopReceipt) GetBuyerEmailOk() (*string, bool)
- func (o *ShopReceipt) GetBuyerUserId() int64
- func (o *ShopReceipt) GetBuyerUserIdOk() (*int64, bool)
- func (o *ShopReceipt) GetCity() string
- func (o *ShopReceipt) GetCityOk() (*string, bool)
- func (o *ShopReceipt) GetCountryIso() string
- func (o *ShopReceipt) GetCountryIsoOk() (*string, bool)
- func (o *ShopReceipt) GetCreateTimestamp() int64
- func (o *ShopReceipt) GetCreateTimestampOk() (*int64, bool)
- func (o *ShopReceipt) GetCreatedTimestamp() int64
- func (o *ShopReceipt) GetCreatedTimestampOk() (*int64, bool)
- func (o *ShopReceipt) GetDiscountAmt() Money
- func (o *ShopReceipt) GetDiscountAmtOk() (*Money, bool)
- func (o *ShopReceipt) GetFirstLine() string
- func (o *ShopReceipt) GetFirstLineOk() (*string, bool)
- func (o *ShopReceipt) GetFormattedAddress() string
- func (o *ShopReceipt) GetFormattedAddressOk() (*string, bool)
- func (o *ShopReceipt) GetGiftMessage() string
- func (o *ShopReceipt) GetGiftMessageOk() (*string, bool)
- func (o *ShopReceipt) GetGiftSender() string
- func (o *ShopReceipt) GetGiftSenderOk() (*string, bool)
- func (o *ShopReceipt) GetGiftWrapPrice() Money
- func (o *ShopReceipt) GetGiftWrapPriceOk() (*Money, bool)
- func (o *ShopReceipt) GetGrandtotal() Money
- func (o *ShopReceipt) GetGrandtotalOk() (*Money, bool)
- func (o *ShopReceipt) GetIsGift() bool
- func (o *ShopReceipt) GetIsGiftOk() (*bool, bool)
- func (o *ShopReceipt) GetIsPaid() bool
- func (o *ShopReceipt) GetIsPaidOk() (*bool, bool)
- func (o *ShopReceipt) GetIsShipped() bool
- func (o *ShopReceipt) GetIsShippedOk() (*bool, bool)
- func (o *ShopReceipt) GetMessageFromBuyer() string
- func (o *ShopReceipt) GetMessageFromBuyerOk() (*string, bool)
- func (o *ShopReceipt) GetMessageFromPayment() string
- func (o *ShopReceipt) GetMessageFromPaymentOk() (*string, bool)
- func (o *ShopReceipt) GetMessageFromSeller() string
- func (o *ShopReceipt) GetMessageFromSellerOk() (*string, bool)
- func (o *ShopReceipt) GetName() string
- func (o *ShopReceipt) GetNameOk() (*string, bool)
- func (o *ShopReceipt) GetPaymentEmail() string
- func (o *ShopReceipt) GetPaymentEmailOk() (*string, bool)
- func (o *ShopReceipt) GetPaymentMethod() string
- func (o *ShopReceipt) GetPaymentMethodOk() (*string, bool)
- func (o *ShopReceipt) GetReceiptId() int64
- func (o *ShopReceipt) GetReceiptIdOk() (*int64, bool)
- func (o *ShopReceipt) GetReceiptType() int64
- func (o *ShopReceipt) GetReceiptTypeOk() (*int64, bool)
- func (o *ShopReceipt) GetRefunds() []ShopRefund
- func (o *ShopReceipt) GetRefundsOk() ([]ShopRefund, bool)
- func (o *ShopReceipt) GetSecondLine() string
- func (o *ShopReceipt) GetSecondLineOk() (*string, bool)
- func (o *ShopReceipt) GetSellerEmail() string
- func (o *ShopReceipt) GetSellerEmailOk() (*string, bool)
- func (o *ShopReceipt) GetSellerUserId() int64
- func (o *ShopReceipt) GetSellerUserIdOk() (*int64, bool)
- func (o *ShopReceipt) GetShipments() []ShopReceiptShipment
- func (o *ShopReceipt) GetShipmentsOk() ([]ShopReceiptShipment, bool)
- func (o *ShopReceipt) GetState() string
- func (o *ShopReceipt) GetStateOk() (*string, bool)
- func (o *ShopReceipt) GetStatus() ShopReceiptStatus
- func (o *ShopReceipt) GetStatusOk() (*ShopReceiptStatus, bool)
- func (o *ShopReceipt) GetSubtotal() Money
- func (o *ShopReceipt) GetSubtotalOk() (*Money, bool)
- func (o *ShopReceipt) GetTotalPrice() Money
- func (o *ShopReceipt) GetTotalPriceOk() (*Money, bool)
- func (o *ShopReceipt) GetTotalShippingCost() Money
- func (o *ShopReceipt) GetTotalShippingCostOk() (*Money, bool)
- func (o *ShopReceipt) GetTotalTaxCost() Money
- func (o *ShopReceipt) GetTotalTaxCostOk() (*Money, bool)
- func (o *ShopReceipt) GetTotalVatCost() Money
- func (o *ShopReceipt) GetTotalVatCostOk() (*Money, bool)
- func (o *ShopReceipt) GetTransactions() []ShopReceiptTransaction
- func (o *ShopReceipt) GetTransactionsOk() ([]ShopReceiptTransaction, bool)
- func (o *ShopReceipt) GetUpdateTimestamp() int64
- func (o *ShopReceipt) GetUpdateTimestampOk() (*int64, bool)
- func (o *ShopReceipt) GetUpdatedTimestamp() int64
- func (o *ShopReceipt) GetUpdatedTimestampOk() (*int64, bool)
- func (o *ShopReceipt) GetZip() string
- func (o *ShopReceipt) GetZipOk() (*string, bool)
- func (o *ShopReceipt) HasBuyerEmail() bool
- func (o *ShopReceipt) HasBuyerUserId() bool
- func (o *ShopReceipt) HasCity() bool
- func (o *ShopReceipt) HasCountryIso() bool
- func (o *ShopReceipt) HasCreateTimestamp() bool
- func (o *ShopReceipt) HasCreatedTimestamp() bool
- func (o *ShopReceipt) HasDiscountAmt() bool
- func (o *ShopReceipt) HasFirstLine() bool
- func (o *ShopReceipt) HasFormattedAddress() bool
- func (o *ShopReceipt) HasGiftMessage() bool
- func (o *ShopReceipt) HasGiftSender() bool
- func (o *ShopReceipt) HasGiftWrapPrice() bool
- func (o *ShopReceipt) HasGrandtotal() bool
- func (o *ShopReceipt) HasIsGift() bool
- func (o *ShopReceipt) HasIsPaid() bool
- func (o *ShopReceipt) HasIsShipped() bool
- func (o *ShopReceipt) HasMessageFromBuyer() bool
- func (o *ShopReceipt) HasMessageFromPayment() bool
- func (o *ShopReceipt) HasMessageFromSeller() bool
- func (o *ShopReceipt) HasName() bool
- func (o *ShopReceipt) HasPaymentEmail() bool
- func (o *ShopReceipt) HasPaymentMethod() bool
- func (o *ShopReceipt) HasReceiptId() bool
- func (o *ShopReceipt) HasReceiptType() bool
- func (o *ShopReceipt) HasRefunds() bool
- func (o *ShopReceipt) HasSecondLine() bool
- func (o *ShopReceipt) HasSellerEmail() bool
- func (o *ShopReceipt) HasSellerUserId() bool
- func (o *ShopReceipt) HasShipments() bool
- func (o *ShopReceipt) HasState() bool
- func (o *ShopReceipt) HasStatus() bool
- func (o *ShopReceipt) HasSubtotal() bool
- func (o *ShopReceipt) HasTotalPrice() bool
- func (o *ShopReceipt) HasTotalShippingCost() bool
- func (o *ShopReceipt) HasTotalTaxCost() bool
- func (o *ShopReceipt) HasTotalVatCost() bool
- func (o *ShopReceipt) HasTransactions() bool
- func (o *ShopReceipt) HasUpdateTimestamp() bool
- func (o *ShopReceipt) HasUpdatedTimestamp() bool
- func (o *ShopReceipt) HasZip() bool
- func (o ShopReceipt) MarshalJSON() ([]byte, error)
- func (o *ShopReceipt) SetBuyerEmail(v string)
- func (o *ShopReceipt) SetBuyerEmailNil()
- func (o *ShopReceipt) SetBuyerUserId(v int64)
- func (o *ShopReceipt) SetCity(v string)
- func (o *ShopReceipt) SetCityNil()
- func (o *ShopReceipt) SetCountryIso(v string)
- func (o *ShopReceipt) SetCountryIsoNil()
- func (o *ShopReceipt) SetCreateTimestamp(v int64)
- func (o *ShopReceipt) SetCreatedTimestamp(v int64)
- func (o *ShopReceipt) SetDiscountAmt(v Money)
- func (o *ShopReceipt) SetFirstLine(v string)
- func (o *ShopReceipt) SetFirstLineNil()
- func (o *ShopReceipt) SetFormattedAddress(v string)
- func (o *ShopReceipt) SetFormattedAddressNil()
- func (o *ShopReceipt) SetGiftMessage(v string)
- func (o *ShopReceipt) SetGiftSender(v string)
- func (o *ShopReceipt) SetGiftWrapPrice(v Money)
- func (o *ShopReceipt) SetGrandtotal(v Money)
- func (o *ShopReceipt) SetIsGift(v bool)
- func (o *ShopReceipt) SetIsPaid(v bool)
- func (o *ShopReceipt) SetIsShipped(v bool)
- func (o *ShopReceipt) SetMessageFromBuyer(v string)
- func (o *ShopReceipt) SetMessageFromBuyerNil()
- func (o *ShopReceipt) SetMessageFromPayment(v string)
- func (o *ShopReceipt) SetMessageFromPaymentNil()
- func (o *ShopReceipt) SetMessageFromSeller(v string)
- func (o *ShopReceipt) SetMessageFromSellerNil()
- func (o *ShopReceipt) SetName(v string)
- func (o *ShopReceipt) SetPaymentEmail(v string)
- func (o *ShopReceipt) SetPaymentEmailNil()
- func (o *ShopReceipt) SetPaymentMethod(v string)
- func (o *ShopReceipt) SetReceiptId(v int64)
- func (o *ShopReceipt) SetReceiptType(v int64)
- func (o *ShopReceipt) SetRefunds(v []ShopRefund)
- func (o *ShopReceipt) SetSecondLine(v string)
- func (o *ShopReceipt) SetSecondLineNil()
- func (o *ShopReceipt) SetSellerEmail(v string)
- func (o *ShopReceipt) SetSellerEmailNil()
- func (o *ShopReceipt) SetSellerUserId(v int64)
- func (o *ShopReceipt) SetShipments(v []ShopReceiptShipment)
- func (o *ShopReceipt) SetState(v string)
- func (o *ShopReceipt) SetStateNil()
- func (o *ShopReceipt) SetStatus(v ShopReceiptStatus)
- func (o *ShopReceipt) SetSubtotal(v Money)
- func (o *ShopReceipt) SetTotalPrice(v Money)
- func (o *ShopReceipt) SetTotalShippingCost(v Money)
- func (o *ShopReceipt) SetTotalTaxCost(v Money)
- func (o *ShopReceipt) SetTotalVatCost(v Money)
- func (o *ShopReceipt) SetTransactions(v []ShopReceiptTransaction)
- func (o *ShopReceipt) SetUpdateTimestamp(v int64)
- func (o *ShopReceipt) SetUpdatedTimestamp(v int64)
- func (o *ShopReceipt) SetZip(v string)
- func (o *ShopReceipt) SetZipNil()
- func (o ShopReceipt) ToMap() (map[string]interface{}, error)
- func (o *ShopReceipt) UnsetBuyerEmail()
- func (o *ShopReceipt) UnsetCity()
- func (o *ShopReceipt) UnsetCountryIso()
- func (o *ShopReceipt) UnsetFirstLine()
- func (o *ShopReceipt) UnsetFormattedAddress()
- func (o *ShopReceipt) UnsetMessageFromBuyer()
- func (o *ShopReceipt) UnsetMessageFromPayment()
- func (o *ShopReceipt) UnsetMessageFromSeller()
- func (o *ShopReceipt) UnsetPaymentEmail()
- func (o *ShopReceipt) UnsetSecondLine()
- func (o *ShopReceipt) UnsetSellerEmail()
- func (o *ShopReceipt) UnsetState()
- func (o *ShopReceipt) UnsetZip()
- type ShopReceiptAPI
- type ShopReceiptAPICreateReceiptShipmentRequest
- func (r ShopReceiptAPICreateReceiptShipmentRequest) CarrierName(carrierName string) ShopReceiptAPICreateReceiptShipmentRequest
- func (r ShopReceiptAPICreateReceiptShipmentRequest) Execute() (*ShopReceipt, *http.Response, error)
- func (r ShopReceiptAPICreateReceiptShipmentRequest) NoteToBuyer(noteToBuyer string) ShopReceiptAPICreateReceiptShipmentRequest
- func (r ShopReceiptAPICreateReceiptShipmentRequest) SendBcc(sendBcc bool) ShopReceiptAPICreateReceiptShipmentRequest
- func (r ShopReceiptAPICreateReceiptShipmentRequest) TrackingCode(trackingCode string) ShopReceiptAPICreateReceiptShipmentRequest
- type ShopReceiptAPIGetShopReceiptRequest
- type ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) Execute() (*ShopReceipts, *http.Response, error)
- func (r ShopReceiptAPIGetShopReceiptsRequest) Limit(limit int64) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) MaxCreated(maxCreated int64) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) MaxLastModified(maxLastModified int64) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) MinCreated(minCreated int64) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) MinLastModified(minLastModified int64) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) Offset(offset int64) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) SortOn(sortOn GetShopReceiptsSortOnParameter) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) SortOrder(sortOrder GetShopReceiptsSortOrderParameter) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) WasCanceled(wasCanceled bool) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) WasDelivered(wasDelivered bool) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) WasPaid(wasPaid bool) ShopReceiptAPIGetShopReceiptsRequest
- func (r ShopReceiptAPIGetShopReceiptsRequest) WasShipped(wasShipped bool) ShopReceiptAPIGetShopReceiptsRequest
- type ShopReceiptAPIService
- func (a *ShopReceiptAPIService) CreateReceiptShipment(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPICreateReceiptShipmentRequest
- func (a *ShopReceiptAPIService) CreateReceiptShipmentExecute(r ShopReceiptAPICreateReceiptShipmentRequest) (*ShopReceipt, *http.Response, error)
- func (a *ShopReceiptAPIService) GetShopReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPIGetShopReceiptRequest
- func (a *ShopReceiptAPIService) GetShopReceiptExecute(r ShopReceiptAPIGetShopReceiptRequest) (*ShopReceipt, *http.Response, error)
- func (a *ShopReceiptAPIService) GetShopReceipts(ctx context.Context, shopId int64) ShopReceiptAPIGetShopReceiptsRequest
- func (a *ShopReceiptAPIService) GetShopReceiptsExecute(r ShopReceiptAPIGetShopReceiptsRequest) (*ShopReceipts, *http.Response, error)
- func (a *ShopReceiptAPIService) UpdateShopReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPIUpdateShopReceiptRequest
- func (a *ShopReceiptAPIService) UpdateShopReceiptExecute(r ShopReceiptAPIUpdateShopReceiptRequest) (*ShopReceipt, *http.Response, error)
- type ShopReceiptAPIUpdateShopReceiptRequest
- func (r ShopReceiptAPIUpdateShopReceiptRequest) Execute() (*ShopReceipt, *http.Response, error)
- func (r ShopReceiptAPIUpdateShopReceiptRequest) WasPaid(wasPaid bool) ShopReceiptAPIUpdateShopReceiptRequest
- func (r ShopReceiptAPIUpdateShopReceiptRequest) WasShipped(wasShipped bool) ShopReceiptAPIUpdateShopReceiptRequest
- type ShopReceiptShipment
- func (o *ShopReceiptShipment) GetCarrierName() string
- func (o *ShopReceiptShipment) GetCarrierNameOk() (*string, bool)
- func (o *ShopReceiptShipment) GetReceiptShippingId() int64
- func (o *ShopReceiptShipment) GetReceiptShippingIdOk() (*int64, bool)
- func (o *ShopReceiptShipment) GetShipmentNotificationTimestamp() int64
- func (o *ShopReceiptShipment) GetShipmentNotificationTimestampOk() (*int64, bool)
- func (o *ShopReceiptShipment) GetTrackingCode() string
- func (o *ShopReceiptShipment) GetTrackingCodeOk() (*string, bool)
- func (o *ShopReceiptShipment) HasCarrierName() bool
- func (o *ShopReceiptShipment) HasReceiptShippingId() bool
- func (o *ShopReceiptShipment) HasShipmentNotificationTimestamp() bool
- func (o *ShopReceiptShipment) HasTrackingCode() bool
- func (o ShopReceiptShipment) MarshalJSON() ([]byte, error)
- func (o *ShopReceiptShipment) SetCarrierName(v string)
- func (o *ShopReceiptShipment) SetReceiptShippingId(v int64)
- func (o *ShopReceiptShipment) SetReceiptShippingIdNil()
- func (o *ShopReceiptShipment) SetShipmentNotificationTimestamp(v int64)
- func (o *ShopReceiptShipment) SetTrackingCode(v string)
- func (o ShopReceiptShipment) ToMap() (map[string]interface{}, error)
- func (o *ShopReceiptShipment) UnsetReceiptShippingId()
- type ShopReceiptStatus
- type ShopReceiptTransaction
- func (o *ShopReceiptTransaction) GetBuyerCoupon() float32
- func (o *ShopReceiptTransaction) GetBuyerCouponOk() (*float32, bool)
- func (o *ShopReceiptTransaction) GetBuyerUserId() int64
- func (o *ShopReceiptTransaction) GetBuyerUserIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetCreateTimestamp() int64
- func (o *ShopReceiptTransaction) GetCreateTimestampOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetCreatedTimestamp() int64
- func (o *ShopReceiptTransaction) GetCreatedTimestampOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetDescription() string
- func (o *ShopReceiptTransaction) GetDescriptionOk() (*string, bool)
- func (o *ShopReceiptTransaction) GetExpectedShipDate() int64
- func (o *ShopReceiptTransaction) GetExpectedShipDateOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetFileData() string
- func (o *ShopReceiptTransaction) GetFileDataOk() (*string, bool)
- func (o *ShopReceiptTransaction) GetIsDigital() bool
- func (o *ShopReceiptTransaction) GetIsDigitalOk() (*bool, bool)
- func (o *ShopReceiptTransaction) GetListingId() int64
- func (o *ShopReceiptTransaction) GetListingIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetListingImageId() int64
- func (o *ShopReceiptTransaction) GetListingImageIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetMaxProcessingDays() int64
- func (o *ShopReceiptTransaction) GetMaxProcessingDaysOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetMinProcessingDays() int64
- func (o *ShopReceiptTransaction) GetMinProcessingDaysOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetPaidTimestamp() int64
- func (o *ShopReceiptTransaction) GetPaidTimestampOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetPrice() Money
- func (o *ShopReceiptTransaction) GetPriceOk() (*Money, bool)
- func (o *ShopReceiptTransaction) GetProductData() []ListingPropertyValue
- func (o *ShopReceiptTransaction) GetProductDataOk() ([]ListingPropertyValue, bool)
- func (o *ShopReceiptTransaction) GetProductId() int64
- func (o *ShopReceiptTransaction) GetProductIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetQuantity() int64
- func (o *ShopReceiptTransaction) GetQuantityOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetReceiptId() int64
- func (o *ShopReceiptTransaction) GetReceiptIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetSellerUserId() int64
- func (o *ShopReceiptTransaction) GetSellerUserIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetShippedTimestamp() int64
- func (o *ShopReceiptTransaction) GetShippedTimestampOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetShippingCost() Money
- func (o *ShopReceiptTransaction) GetShippingCostOk() (*Money, bool)
- func (o *ShopReceiptTransaction) GetShippingMethod() string
- func (o *ShopReceiptTransaction) GetShippingMethodOk() (*string, bool)
- func (o *ShopReceiptTransaction) GetShippingProfileId() int64
- func (o *ShopReceiptTransaction) GetShippingProfileIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetShippingUpgrade() string
- func (o *ShopReceiptTransaction) GetShippingUpgradeOk() (*string, bool)
- func (o *ShopReceiptTransaction) GetShopCoupon() float32
- func (o *ShopReceiptTransaction) GetShopCouponOk() (*float32, bool)
- func (o *ShopReceiptTransaction) GetSku() string
- func (o *ShopReceiptTransaction) GetSkuOk() (*string, bool)
- func (o *ShopReceiptTransaction) GetTitle() string
- func (o *ShopReceiptTransaction) GetTitleOk() (*string, bool)
- func (o *ShopReceiptTransaction) GetTransactionId() int64
- func (o *ShopReceiptTransaction) GetTransactionIdOk() (*int64, bool)
- func (o *ShopReceiptTransaction) GetTransactionType() string
- func (o *ShopReceiptTransaction) GetTransactionTypeOk() (*string, bool)
- func (o *ShopReceiptTransaction) GetVariations() []TransactionVariations
- func (o *ShopReceiptTransaction) GetVariationsOk() ([]TransactionVariations, bool)
- func (o *ShopReceiptTransaction) HasBuyerCoupon() bool
- func (o *ShopReceiptTransaction) HasBuyerUserId() bool
- func (o *ShopReceiptTransaction) HasCreateTimestamp() bool
- func (o *ShopReceiptTransaction) HasCreatedTimestamp() bool
- func (o *ShopReceiptTransaction) HasDescription() bool
- func (o *ShopReceiptTransaction) HasExpectedShipDate() bool
- func (o *ShopReceiptTransaction) HasFileData() bool
- func (o *ShopReceiptTransaction) HasIsDigital() bool
- func (o *ShopReceiptTransaction) HasListingId() bool
- func (o *ShopReceiptTransaction) HasListingImageId() bool
- func (o *ShopReceiptTransaction) HasMaxProcessingDays() bool
- func (o *ShopReceiptTransaction) HasMinProcessingDays() bool
- func (o *ShopReceiptTransaction) HasPaidTimestamp() bool
- func (o *ShopReceiptTransaction) HasPrice() bool
- func (o *ShopReceiptTransaction) HasProductData() bool
- func (o *ShopReceiptTransaction) HasProductId() bool
- func (o *ShopReceiptTransaction) HasQuantity() bool
- func (o *ShopReceiptTransaction) HasReceiptId() bool
- func (o *ShopReceiptTransaction) HasSellerUserId() bool
- func (o *ShopReceiptTransaction) HasShippedTimestamp() bool
- func (o *ShopReceiptTransaction) HasShippingCost() bool
- func (o *ShopReceiptTransaction) HasShippingMethod() bool
- func (o *ShopReceiptTransaction) HasShippingProfileId() bool
- func (o *ShopReceiptTransaction) HasShippingUpgrade() bool
- func (o *ShopReceiptTransaction) HasShopCoupon() bool
- func (o *ShopReceiptTransaction) HasSku() bool
- func (o *ShopReceiptTransaction) HasTitle() bool
- func (o *ShopReceiptTransaction) HasTransactionId() bool
- func (o *ShopReceiptTransaction) HasTransactionType() bool
- func (o *ShopReceiptTransaction) HasVariations() bool
- func (o ShopReceiptTransaction) MarshalJSON() ([]byte, error)
- func (o *ShopReceiptTransaction) SetBuyerCoupon(v float32)
- func (o *ShopReceiptTransaction) SetBuyerUserId(v int64)
- func (o *ShopReceiptTransaction) SetCreateTimestamp(v int64)
- func (o *ShopReceiptTransaction) SetCreatedTimestamp(v int64)
- func (o *ShopReceiptTransaction) SetDescription(v string)
- func (o *ShopReceiptTransaction) SetDescriptionNil()
- func (o *ShopReceiptTransaction) SetExpectedShipDate(v int64)
- func (o *ShopReceiptTransaction) SetExpectedShipDateNil()
- func (o *ShopReceiptTransaction) SetFileData(v string)
- func (o *ShopReceiptTransaction) SetIsDigital(v bool)
- func (o *ShopReceiptTransaction) SetListingId(v int64)
- func (o *ShopReceiptTransaction) SetListingIdNil()
- func (o *ShopReceiptTransaction) SetListingImageId(v int64)
- func (o *ShopReceiptTransaction) SetListingImageIdNil()
- func (o *ShopReceiptTransaction) SetMaxProcessingDays(v int64)
- func (o *ShopReceiptTransaction) SetMaxProcessingDaysNil()
- func (o *ShopReceiptTransaction) SetMinProcessingDays(v int64)
- func (o *ShopReceiptTransaction) SetMinProcessingDaysNil()
- func (o *ShopReceiptTransaction) SetPaidTimestamp(v int64)
- func (o *ShopReceiptTransaction) SetPaidTimestampNil()
- func (o *ShopReceiptTransaction) SetPrice(v Money)
- func (o *ShopReceiptTransaction) SetProductData(v []ListingPropertyValue)
- func (o *ShopReceiptTransaction) SetProductId(v int64)
- func (o *ShopReceiptTransaction) SetProductIdNil()
- func (o *ShopReceiptTransaction) SetQuantity(v int64)
- func (o *ShopReceiptTransaction) SetReceiptId(v int64)
- func (o *ShopReceiptTransaction) SetSellerUserId(v int64)
- func (o *ShopReceiptTransaction) SetShippedTimestamp(v int64)
- func (o *ShopReceiptTransaction) SetShippedTimestampNil()
- func (o *ShopReceiptTransaction) SetShippingCost(v Money)
- func (o *ShopReceiptTransaction) SetShippingMethod(v string)
- func (o *ShopReceiptTransaction) SetShippingMethodNil()
- func (o *ShopReceiptTransaction) SetShippingProfileId(v int64)
- func (o *ShopReceiptTransaction) SetShippingProfileIdNil()
- func (o *ShopReceiptTransaction) SetShippingUpgrade(v string)
- func (o *ShopReceiptTransaction) SetShippingUpgradeNil()
- func (o *ShopReceiptTransaction) SetShopCoupon(v float32)
- func (o *ShopReceiptTransaction) SetSku(v string)
- func (o *ShopReceiptTransaction) SetSkuNil()
- func (o *ShopReceiptTransaction) SetTitle(v string)
- func (o *ShopReceiptTransaction) SetTitleNil()
- func (o *ShopReceiptTransaction) SetTransactionId(v int64)
- func (o *ShopReceiptTransaction) SetTransactionType(v string)
- func (o *ShopReceiptTransaction) SetVariations(v []TransactionVariations)
- func (o ShopReceiptTransaction) ToMap() (map[string]interface{}, error)
- func (o *ShopReceiptTransaction) UnsetDescription()
- func (o *ShopReceiptTransaction) UnsetExpectedShipDate()
- func (o *ShopReceiptTransaction) UnsetListingId()
- func (o *ShopReceiptTransaction) UnsetListingImageId()
- func (o *ShopReceiptTransaction) UnsetMaxProcessingDays()
- func (o *ShopReceiptTransaction) UnsetMinProcessingDays()
- func (o *ShopReceiptTransaction) UnsetPaidTimestamp()
- func (o *ShopReceiptTransaction) UnsetProductId()
- func (o *ShopReceiptTransaction) UnsetShippedTimestamp()
- func (o *ShopReceiptTransaction) UnsetShippingMethod()
- func (o *ShopReceiptTransaction) UnsetShippingProfileId()
- func (o *ShopReceiptTransaction) UnsetShippingUpgrade()
- func (o *ShopReceiptTransaction) UnsetSku()
- func (o *ShopReceiptTransaction) UnsetTitle()
- type ShopReceiptTransactions
- func (o *ShopReceiptTransactions) GetCount() int64
- func (o *ShopReceiptTransactions) GetCountOk() (*int64, bool)
- func (o *ShopReceiptTransactions) GetResults() []ShopReceiptTransaction
- func (o *ShopReceiptTransactions) GetResultsOk() ([]ShopReceiptTransaction, bool)
- func (o *ShopReceiptTransactions) HasCount() bool
- func (o *ShopReceiptTransactions) HasResults() bool
- func (o ShopReceiptTransactions) MarshalJSON() ([]byte, error)
- func (o *ShopReceiptTransactions) SetCount(v int64)
- func (o *ShopReceiptTransactions) SetResults(v []ShopReceiptTransaction)
- func (o ShopReceiptTransactions) ToMap() (map[string]interface{}, error)
- type ShopReceiptTransactionsAPI
- type ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest
- type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
- func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Execute() (*ShopReceiptTransactions, *http.Response, error)
- func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Limit(limit int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
- func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Offset(offset int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
- type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest
- type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
- func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Execute() (*ShopReceiptTransactions, *http.Response, error)
- func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Limit(limit int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
- func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Offset(offset int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
- type ShopReceiptTransactionsAPIService
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransaction(ctx context.Context, shopId int64, transactionId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest) (*ShopReceiptTransaction, *http.Response, error)
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByListing(ctx context.Context, shopId int64, listingId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByListingExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) (*ShopReceiptTransactions, *http.Response, error)
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByReceiptExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest) (*ShopReceiptTransactions, *http.Response, error)
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByShop(ctx context.Context, shopId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
- func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByShopExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) (*ShopReceiptTransactions, *http.Response, error)
- type ShopReceipts
- func (o *ShopReceipts) GetCount() int64
- func (o *ShopReceipts) GetCountOk() (*int64, bool)
- func (o *ShopReceipts) GetResults() []ShopReceipt
- func (o *ShopReceipts) GetResultsOk() ([]ShopReceipt, bool)
- func (o *ShopReceipts) HasCount() bool
- func (o *ShopReceipts) HasResults() bool
- func (o ShopReceipts) MarshalJSON() ([]byte, error)
- func (o *ShopReceipts) SetCount(v int64)
- func (o *ShopReceipts) SetResults(v []ShopReceipt)
- func (o ShopReceipts) ToMap() (map[string]interface{}, error)
- type ShopRefund
- func (o *ShopRefund) GetAmount() Money
- func (o *ShopRefund) GetAmountOk() (*Money, bool)
- func (o *ShopRefund) GetCreatedTimestamp() int64
- func (o *ShopRefund) GetCreatedTimestampOk() (*int64, bool)
- func (o *ShopRefund) GetNoteFromIssuer() string
- func (o *ShopRefund) GetNoteFromIssuerOk() (*string, bool)
- func (o *ShopRefund) GetReason() string
- func (o *ShopRefund) GetReasonOk() (*string, bool)
- func (o *ShopRefund) GetStatus() string
- func (o *ShopRefund) GetStatusOk() (*string, bool)
- func (o *ShopRefund) HasAmount() bool
- func (o *ShopRefund) HasCreatedTimestamp() bool
- func (o *ShopRefund) HasNoteFromIssuer() bool
- func (o *ShopRefund) HasReason() bool
- func (o *ShopRefund) HasStatus() bool
- func (o ShopRefund) MarshalJSON() ([]byte, error)
- func (o *ShopRefund) SetAmount(v Money)
- func (o *ShopRefund) SetCreatedTimestamp(v int64)
- func (o *ShopRefund) SetNoteFromIssuer(v string)
- func (o *ShopRefund) SetNoteFromIssuerNil()
- func (o *ShopRefund) SetReason(v string)
- func (o *ShopRefund) SetReasonNil()
- func (o *ShopRefund) SetStatus(v string)
- func (o *ShopRefund) SetStatusNil()
- func (o ShopRefund) ToMap() (map[string]interface{}, error)
- func (o *ShopRefund) UnsetNoteFromIssuer()
- func (o *ShopRefund) UnsetReason()
- func (o *ShopRefund) UnsetStatus()
- type ShopReturnPolicies
- func (o *ShopReturnPolicies) GetCount() int64
- func (o *ShopReturnPolicies) GetCountOk() (*int64, bool)
- func (o *ShopReturnPolicies) GetResults() []ShopReturnPolicy
- func (o *ShopReturnPolicies) GetResultsOk() ([]ShopReturnPolicy, bool)
- func (o *ShopReturnPolicies) HasCount() bool
- func (o *ShopReturnPolicies) HasResults() bool
- func (o ShopReturnPolicies) MarshalJSON() ([]byte, error)
- func (o *ShopReturnPolicies) SetCount(v int64)
- func (o *ShopReturnPolicies) SetResults(v []ShopReturnPolicy)
- func (o ShopReturnPolicies) ToMap() (map[string]interface{}, error)
- type ShopReturnPolicy
- func (o *ShopReturnPolicy) GetAcceptsExchanges() bool
- func (o *ShopReturnPolicy) GetAcceptsExchangesOk() (*bool, bool)
- func (o *ShopReturnPolicy) GetAcceptsReturns() bool
- func (o *ShopReturnPolicy) GetAcceptsReturnsOk() (*bool, bool)
- func (o *ShopReturnPolicy) GetReturnDeadline() int64
- func (o *ShopReturnPolicy) GetReturnDeadlineOk() (*int64, bool)
- func (o *ShopReturnPolicy) GetReturnPolicyId() int64
- func (o *ShopReturnPolicy) GetReturnPolicyIdOk() (*int64, bool)
- func (o *ShopReturnPolicy) GetShopId() int64
- func (o *ShopReturnPolicy) GetShopIdOk() (*int64, bool)
- func (o *ShopReturnPolicy) HasAcceptsExchanges() bool
- func (o *ShopReturnPolicy) HasAcceptsReturns() bool
- func (o *ShopReturnPolicy) HasReturnDeadline() bool
- func (o *ShopReturnPolicy) HasReturnPolicyId() bool
- func (o *ShopReturnPolicy) HasShopId() bool
- func (o ShopReturnPolicy) MarshalJSON() ([]byte, error)
- func (o *ShopReturnPolicy) SetAcceptsExchanges(v bool)
- func (o *ShopReturnPolicy) SetAcceptsReturns(v bool)
- func (o *ShopReturnPolicy) SetReturnDeadline(v int64)
- func (o *ShopReturnPolicy) SetReturnDeadlineNil()
- func (o *ShopReturnPolicy) SetReturnPolicyId(v int64)
- func (o *ShopReturnPolicy) SetShopId(v int64)
- func (o ShopReturnPolicy) ToMap() (map[string]interface{}, error)
- func (o *ShopReturnPolicy) UnsetReturnDeadline()
- type ShopReturnPolicyAPI
- type ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
- func (r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) DestinationReturnPolicyId(destinationReturnPolicyId int64) ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
- func (r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) Execute() (*ShopReturnPolicy, *http.Response, error)
- func (r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) SourceReturnPolicyId(sourceReturnPolicyId int64) ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
- type ShopReturnPolicyAPICreateShopReturnPolicyRequest
- func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) AcceptsExchanges(acceptsExchanges bool) ShopReturnPolicyAPICreateShopReturnPolicyRequest
- func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) AcceptsReturns(acceptsReturns bool) ShopReturnPolicyAPICreateShopReturnPolicyRequest
- func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) Execute() (*ShopReturnPolicy, *http.Response, error)
- func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) ReturnDeadline(returnDeadline int64) ShopReturnPolicyAPICreateShopReturnPolicyRequest
- type ShopReturnPolicyAPIDeleteShopReturnPolicyRequest
- type ShopReturnPolicyAPIGetShopReturnPoliciesRequest
- type ShopReturnPolicyAPIGetShopReturnPolicyRequest
- type ShopReturnPolicyAPIService
- func (a *ShopReturnPolicyAPIService) ConsolidateShopReturnPolicies(ctx context.Context, shopId int64) ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
- func (a *ShopReturnPolicyAPIService) ConsolidateShopReturnPoliciesExecute(r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) (*ShopReturnPolicy, *http.Response, error)
- func (a *ShopReturnPolicyAPIService) CreateShopReturnPolicy(ctx context.Context, shopId int64) ShopReturnPolicyAPICreateShopReturnPolicyRequest
- func (a *ShopReturnPolicyAPIService) CreateShopReturnPolicyExecute(r ShopReturnPolicyAPICreateShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error)
- func (a *ShopReturnPolicyAPIService) DeleteShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIDeleteShopReturnPolicyRequest
- func (a *ShopReturnPolicyAPIService) DeleteShopReturnPolicyExecute(r ShopReturnPolicyAPIDeleteShopReturnPolicyRequest) (*http.Response, error)
- func (a *ShopReturnPolicyAPIService) GetShopReturnPolicies(ctx context.Context, shopId int64) ShopReturnPolicyAPIGetShopReturnPoliciesRequest
- func (a *ShopReturnPolicyAPIService) GetShopReturnPoliciesExecute(r ShopReturnPolicyAPIGetShopReturnPoliciesRequest) (*ShopReturnPolicies, *http.Response, error)
- func (a *ShopReturnPolicyAPIService) GetShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIGetShopReturnPolicyRequest
- func (a *ShopReturnPolicyAPIService) GetShopReturnPolicyExecute(r ShopReturnPolicyAPIGetShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error)
- func (a *ShopReturnPolicyAPIService) UpdateShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
- func (a *ShopReturnPolicyAPIService) UpdateShopReturnPolicyExecute(r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error)
- type ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
- func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) AcceptsExchanges(acceptsExchanges bool) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
- func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) AcceptsReturns(acceptsReturns bool) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
- func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) Execute() (*ShopReturnPolicy, *http.Response, error)
- func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) ReturnDeadline(returnDeadline int64) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
- type ShopSection
- func (o *ShopSection) GetActiveListingCount() int64
- func (o *ShopSection) GetActiveListingCountOk() (*int64, bool)
- func (o *ShopSection) GetRank() int64
- func (o *ShopSection) GetRankOk() (*int64, bool)
- func (o *ShopSection) GetShopSectionId() int64
- func (o *ShopSection) GetShopSectionIdOk() (*int64, bool)
- func (o *ShopSection) GetTitle() string
- func (o *ShopSection) GetTitleOk() (*string, bool)
- func (o *ShopSection) GetUserId() int64
- func (o *ShopSection) GetUserIdOk() (*int64, bool)
- func (o *ShopSection) HasActiveListingCount() bool
- func (o *ShopSection) HasRank() bool
- func (o *ShopSection) HasShopSectionId() bool
- func (o *ShopSection) HasTitle() bool
- func (o *ShopSection) HasUserId() bool
- func (o ShopSection) MarshalJSON() ([]byte, error)
- func (o *ShopSection) SetActiveListingCount(v int64)
- func (o *ShopSection) SetRank(v int64)
- func (o *ShopSection) SetShopSectionId(v int64)
- func (o *ShopSection) SetTitle(v string)
- func (o *ShopSection) SetUserId(v int64)
- func (o ShopSection) ToMap() (map[string]interface{}, error)
- type ShopSectionAPI
- type ShopSectionAPICreateShopSectionRequest
- type ShopSectionAPIDeleteShopSectionRequest
- type ShopSectionAPIGetShopSectionRequest
- type ShopSectionAPIGetShopSectionsRequest
- type ShopSectionAPIService
- func (a *ShopSectionAPIService) CreateShopSection(ctx context.Context, shopId int64) ShopSectionAPICreateShopSectionRequest
- func (a *ShopSectionAPIService) CreateShopSectionExecute(r ShopSectionAPICreateShopSectionRequest) (*ShopSection, *http.Response, error)
- func (a *ShopSectionAPIService) DeleteShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIDeleteShopSectionRequest
- func (a *ShopSectionAPIService) DeleteShopSectionExecute(r ShopSectionAPIDeleteShopSectionRequest) (*http.Response, error)
- func (a *ShopSectionAPIService) GetShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIGetShopSectionRequest
- func (a *ShopSectionAPIService) GetShopSectionExecute(r ShopSectionAPIGetShopSectionRequest) (*ShopSection, *http.Response, error)
- func (a *ShopSectionAPIService) GetShopSections(ctx context.Context, shopId int64) ShopSectionAPIGetShopSectionsRequest
- func (a *ShopSectionAPIService) GetShopSectionsExecute(r ShopSectionAPIGetShopSectionsRequest) (*ShopSections, *http.Response, error)
- func (a *ShopSectionAPIService) UpdateShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIUpdateShopSectionRequest
- func (a *ShopSectionAPIService) UpdateShopSectionExecute(r ShopSectionAPIUpdateShopSectionRequest) (*ShopSection, *http.Response, error)
- type ShopSectionAPIUpdateShopSectionRequest
- type ShopSections
- func (o *ShopSections) GetCount() int64
- func (o *ShopSections) GetCountOk() (*int64, bool)
- func (o *ShopSections) GetResults() []ShopSection
- func (o *ShopSections) GetResultsOk() ([]ShopSection, bool)
- func (o *ShopSections) HasCount() bool
- func (o *ShopSections) HasResults() bool
- func (o ShopSections) MarshalJSON() ([]byte, error)
- func (o *ShopSections) SetCount(v int64)
- func (o *ShopSections) SetResults(v []ShopSection)
- func (o ShopSections) ToMap() (map[string]interface{}, error)
- type ShopShippingProfile
- func (o *ShopShippingProfile) GetDomesticHandlingFee() float32
- func (o *ShopShippingProfile) GetDomesticHandlingFeeOk() (*float32, bool)
- func (o *ShopShippingProfile) GetInternationalHandlingFee() float32
- func (o *ShopShippingProfile) GetInternationalHandlingFeeOk() (*float32, bool)
- func (o *ShopShippingProfile) GetIsDeleted() bool
- func (o *ShopShippingProfile) GetIsDeletedOk() (*bool, bool)
- func (o *ShopShippingProfile) GetMaxProcessingDays() int64
- func (o *ShopShippingProfile) GetMaxProcessingDaysOk() (*int64, bool)
- func (o *ShopShippingProfile) GetMinProcessingDays() int64
- func (o *ShopShippingProfile) GetMinProcessingDaysOk() (*int64, bool)
- func (o *ShopShippingProfile) GetOriginCountryIso() string
- func (o *ShopShippingProfile) GetOriginCountryIsoOk() (*string, bool)
- func (o *ShopShippingProfile) GetOriginPostalCode() string
- func (o *ShopShippingProfile) GetOriginPostalCodeOk() (*string, bool)
- func (o *ShopShippingProfile) GetProcessingDaysDisplayLabel() string
- func (o *ShopShippingProfile) GetProcessingDaysDisplayLabelOk() (*string, bool)
- func (o *ShopShippingProfile) GetProfileType() ShopShippingProfileProfileType
- func (o *ShopShippingProfile) GetProfileTypeOk() (*ShopShippingProfileProfileType, bool)
- func (o *ShopShippingProfile) GetShippingProfileDestinations() []ShopShippingProfileDestination
- func (o *ShopShippingProfile) GetShippingProfileDestinationsOk() ([]ShopShippingProfileDestination, bool)
- func (o *ShopShippingProfile) GetShippingProfileId() int64
- func (o *ShopShippingProfile) GetShippingProfileIdOk() (*int64, bool)
- func (o *ShopShippingProfile) GetShippingProfileUpgrades() []ShopShippingProfileUpgrade
- func (o *ShopShippingProfile) GetShippingProfileUpgradesOk() ([]ShopShippingProfileUpgrade, bool)
- func (o *ShopShippingProfile) GetTitle() string
- func (o *ShopShippingProfile) GetTitleOk() (*string, bool)
- func (o *ShopShippingProfile) GetUserId() int64
- func (o *ShopShippingProfile) GetUserIdOk() (*int64, bool)
- func (o *ShopShippingProfile) HasDomesticHandlingFee() bool
- func (o *ShopShippingProfile) HasInternationalHandlingFee() bool
- func (o *ShopShippingProfile) HasIsDeleted() bool
- func (o *ShopShippingProfile) HasMaxProcessingDays() bool
- func (o *ShopShippingProfile) HasMinProcessingDays() bool
- func (o *ShopShippingProfile) HasOriginCountryIso() bool
- func (o *ShopShippingProfile) HasOriginPostalCode() bool
- func (o *ShopShippingProfile) HasProcessingDaysDisplayLabel() bool
- func (o *ShopShippingProfile) HasProfileType() bool
- func (o *ShopShippingProfile) HasShippingProfileDestinations() bool
- func (o *ShopShippingProfile) HasShippingProfileId() bool
- func (o *ShopShippingProfile) HasShippingProfileUpgrades() bool
- func (o *ShopShippingProfile) HasTitle() bool
- func (o *ShopShippingProfile) HasUserId() bool
- func (o ShopShippingProfile) MarshalJSON() ([]byte, error)
- func (o *ShopShippingProfile) SetDomesticHandlingFee(v float32)
- func (o *ShopShippingProfile) SetInternationalHandlingFee(v float32)
- func (o *ShopShippingProfile) SetIsDeleted(v bool)
- func (o *ShopShippingProfile) SetMaxProcessingDays(v int64)
- func (o *ShopShippingProfile) SetMaxProcessingDaysNil()
- func (o *ShopShippingProfile) SetMinProcessingDays(v int64)
- func (o *ShopShippingProfile) SetMinProcessingDaysNil()
- func (o *ShopShippingProfile) SetOriginCountryIso(v string)
- func (o *ShopShippingProfile) SetOriginPostalCode(v string)
- func (o *ShopShippingProfile) SetOriginPostalCodeNil()
- func (o *ShopShippingProfile) SetProcessingDaysDisplayLabel(v string)
- func (o *ShopShippingProfile) SetProfileType(v ShopShippingProfileProfileType)
- func (o *ShopShippingProfile) SetShippingProfileDestinations(v []ShopShippingProfileDestination)
- func (o *ShopShippingProfile) SetShippingProfileId(v int64)
- func (o *ShopShippingProfile) SetShippingProfileUpgrades(v []ShopShippingProfileUpgrade)
- func (o *ShopShippingProfile) SetTitle(v string)
- func (o *ShopShippingProfile) SetTitleNil()
- func (o *ShopShippingProfile) SetUserId(v int64)
- func (o ShopShippingProfile) ToMap() (map[string]interface{}, error)
- func (o *ShopShippingProfile) UnsetMaxProcessingDays()
- func (o *ShopShippingProfile) UnsetMinProcessingDays()
- func (o *ShopShippingProfile) UnsetOriginPostalCode()
- func (o *ShopShippingProfile) UnsetTitle()
- type ShopShippingProfileAPI
- type ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) DestinationCountryIso(destinationCountryIso string) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) DestinationRegion(destinationRegion CreateShopShippingProfileRequestDestinationRegion) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) Execute() (*ShopShippingProfileDestination, *http.Response, error)
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MailClass(mailClass string) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) PrimaryCost(primaryCost float32) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) SecondaryCost(secondaryCost float32) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- type ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) DestinationCountryIso(destinationCountryIso string) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) DestinationRegion(destinationRegion CreateShopShippingProfileRequestDestinationRegion) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) Execute() (*ShopShippingProfile, *http.Response, error)
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MailClass(mailClass string) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MaxProcessingTime(maxProcessingTime int64) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MinProcessingTime(minProcessingTime int64) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) OriginCountryIso(originCountryIso string) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) OriginPostalCode(originPostalCode string) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) PrimaryCost(primaryCost float32) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) ProcessingTimeUnit(processingTimeUnit CreateShopShippingProfileRequestProcessingTimeUnit) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) SecondaryCost(secondaryCost float32) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileRequest) Title(title string) ShopShippingProfileAPICreateShopShippingProfileRequest
- type ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) Execute() (*ShopShippingProfileUpgrade, *http.Response, error)
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MailClass(mailClass string) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) Price(price float32) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) SecondaryPrice(secondaryPrice float32) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) Type_(type_ CreateShopShippingProfileUpgradeRequestType) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) UpgradeName(upgradeName string) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- type ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest
- type ShopShippingProfileAPIDeleteShopShippingProfileRequest
- type ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest
- type ShopShippingProfileAPIGetShippingCarriersRequest
- type ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest
- func (r ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) Execute() (*ShopShippingProfileDestinations, *http.Response, error)
- func (r ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) Limit(limit int64) ...
- func (r ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) Offset(offset int64) ...
- type ShopShippingProfileAPIGetShopShippingProfileRequest
- type ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest
- type ShopShippingProfileAPIGetShopShippingProfilesRequest
- type ShopShippingProfileAPIService
- func (a *ShopShippingProfileAPIService) CreateShopShippingProfile(ctx context.Context, shopId int64) ShopShippingProfileAPICreateShopShippingProfileRequest
- func (a *ShopShippingProfileAPIService) CreateShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
- func (a *ShopShippingProfileAPIService) CreateShopShippingProfileDestinationExecute(r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) (*ShopShippingProfileDestination, *http.Response, error)
- func (a *ShopShippingProfileAPIService) CreateShopShippingProfileExecute(r ShopShippingProfileAPICreateShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error)
- func (a *ShopShippingProfileAPIService) CreateShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
- func (a *ShopShippingProfileAPIService) CreateShopShippingProfileUpgradeExecute(r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) (*ShopShippingProfileUpgrade, *http.Response, error)
- func (a *ShopShippingProfileAPIService) DeleteShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIDeleteShopShippingProfileRequest
- func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64, ...) ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest
- func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileDestinationExecute(r ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest) (*http.Response, error)
- func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileExecute(r ShopShippingProfileAPIDeleteShopShippingProfileRequest) (*http.Response, error)
- func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64, upgradeId int64) ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest
- func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileUpgradeExecute(r ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest) (*http.Response, error)
- func (a *ShopShippingProfileAPIService) GetShippingCarriers(ctx context.Context) ShopShippingProfileAPIGetShippingCarriersRequest
- func (a *ShopShippingProfileAPIService) GetShippingCarriersExecute(r ShopShippingProfileAPIGetShippingCarriersRequest) (*ShippingCarriers, *http.Response, error)
- func (a *ShopShippingProfileAPIService) GetShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileRequest
- func (a *ShopShippingProfileAPIService) GetShopShippingProfileDestinationsByShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ...
- func (a *ShopShippingProfileAPIService) GetShopShippingProfileDestinationsByShippingProfileExecute(...) (*ShopShippingProfileDestinations, *http.Response, error)
- func (a *ShopShippingProfileAPIService) GetShopShippingProfileExecute(r ShopShippingProfileAPIGetShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error)
- func (a *ShopShippingProfileAPIService) GetShopShippingProfileUpgrades(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest
- func (a *ShopShippingProfileAPIService) GetShopShippingProfileUpgradesExecute(r ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest) (*ShopShippingProfileUpgrades, *http.Response, error)
- func (a *ShopShippingProfileAPIService) GetShopShippingProfiles(ctx context.Context, shopId int64) ShopShippingProfileAPIGetShopShippingProfilesRequest
- func (a *ShopShippingProfileAPIService) GetShopShippingProfilesExecute(r ShopShippingProfileAPIGetShopShippingProfilesRequest) (*ShopShippingProfiles, *http.Response, error)
- func (a *ShopShippingProfileAPIService) UpdateShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIUpdateShopShippingProfileRequest
- func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64, ...) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileDestinationExecute(r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) (*ShopShippingProfileDestination, *http.Response, error)
- func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileExecute(r ShopShippingProfileAPIUpdateShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error)
- func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64, upgradeId int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileUpgradeExecute(r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) (*ShopShippingProfileUpgrade, *http.Response, error)
- type ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) DestinationCountryIso(destinationCountryIso string) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) DestinationRegion(destinationRegion CreateShopShippingProfileRequestDestinationRegion) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) Execute() (*ShopShippingProfileDestination, *http.Response, error)
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MailClass(mailClass string) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) PrimaryCost(primaryCost float32) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) SecondaryCost(secondaryCost float32) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
- type ShopShippingProfileAPIUpdateShopShippingProfileRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) Execute() (*ShopShippingProfile, *http.Response, error)
- func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) MaxProcessingTime(maxProcessingTime int64) ShopShippingProfileAPIUpdateShopShippingProfileRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) MinProcessingTime(minProcessingTime int64) ShopShippingProfileAPIUpdateShopShippingProfileRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) OriginCountryIso(originCountryIso string) ShopShippingProfileAPIUpdateShopShippingProfileRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) OriginPostalCode(originPostalCode string) ShopShippingProfileAPIUpdateShopShippingProfileRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) ProcessingTimeUnit(processingTimeUnit CreateShopShippingProfileRequestProcessingTimeUnit) ShopShippingProfileAPIUpdateShopShippingProfileRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) Title(title string) ShopShippingProfileAPIUpdateShopShippingProfileRequest
- type ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) Execute() (*ShopShippingProfileUpgrade, *http.Response, error)
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MailClass(mailClass string) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) Price(price float32) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) SecondaryPrice(secondaryPrice float32) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) Type_(type_ CreateShopShippingProfileUpgradeRequestType) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) UpgradeName(upgradeName string) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
- type ShopShippingProfileDestination
- func (o *ShopShippingProfileDestination) GetDestinationCountryIso() string
- func (o *ShopShippingProfileDestination) GetDestinationCountryIsoOk() (*string, bool)
- func (o *ShopShippingProfileDestination) GetDestinationRegion() ShopShippingProfileDestinationDestinationRegion
- func (o *ShopShippingProfileDestination) GetDestinationRegionOk() (*ShopShippingProfileDestinationDestinationRegion, bool)
- func (o *ShopShippingProfileDestination) GetMailClass() string
- func (o *ShopShippingProfileDestination) GetMailClassOk() (*string, bool)
- func (o *ShopShippingProfileDestination) GetMaxDeliveryDays() int64
- func (o *ShopShippingProfileDestination) GetMaxDeliveryDaysOk() (*int64, bool)
- func (o *ShopShippingProfileDestination) GetMinDeliveryDays() int64
- func (o *ShopShippingProfileDestination) GetMinDeliveryDaysOk() (*int64, bool)
- func (o *ShopShippingProfileDestination) GetOriginCountryIso() string
- func (o *ShopShippingProfileDestination) GetOriginCountryIsoOk() (*string, bool)
- func (o *ShopShippingProfileDestination) GetPrimaryCost() Money
- func (o *ShopShippingProfileDestination) GetPrimaryCostOk() (*Money, bool)
- func (o *ShopShippingProfileDestination) GetSecondaryCost() Money
- func (o *ShopShippingProfileDestination) GetSecondaryCostOk() (*Money, bool)
- func (o *ShopShippingProfileDestination) GetShippingCarrierId() int64
- func (o *ShopShippingProfileDestination) GetShippingCarrierIdOk() (*int64, bool)
- func (o *ShopShippingProfileDestination) GetShippingProfileDestinationId() int64
- func (o *ShopShippingProfileDestination) GetShippingProfileDestinationIdOk() (*int64, bool)
- func (o *ShopShippingProfileDestination) GetShippingProfileId() int64
- func (o *ShopShippingProfileDestination) GetShippingProfileIdOk() (*int64, bool)
- func (o *ShopShippingProfileDestination) HasDestinationCountryIso() bool
- func (o *ShopShippingProfileDestination) HasDestinationRegion() bool
- func (o *ShopShippingProfileDestination) HasMailClass() bool
- func (o *ShopShippingProfileDestination) HasMaxDeliveryDays() bool
- func (o *ShopShippingProfileDestination) HasMinDeliveryDays() bool
- func (o *ShopShippingProfileDestination) HasOriginCountryIso() bool
- func (o *ShopShippingProfileDestination) HasPrimaryCost() bool
- func (o *ShopShippingProfileDestination) HasSecondaryCost() bool
- func (o *ShopShippingProfileDestination) HasShippingCarrierId() bool
- func (o *ShopShippingProfileDestination) HasShippingProfileDestinationId() bool
- func (o *ShopShippingProfileDestination) HasShippingProfileId() bool
- func (o ShopShippingProfileDestination) MarshalJSON() ([]byte, error)
- func (o *ShopShippingProfileDestination) SetDestinationCountryIso(v string)
- func (o *ShopShippingProfileDestination) SetDestinationRegion(v ShopShippingProfileDestinationDestinationRegion)
- func (o *ShopShippingProfileDestination) SetMailClass(v string)
- func (o *ShopShippingProfileDestination) SetMailClassNil()
- func (o *ShopShippingProfileDestination) SetMaxDeliveryDays(v int64)
- func (o *ShopShippingProfileDestination) SetMaxDeliveryDaysNil()
- func (o *ShopShippingProfileDestination) SetMinDeliveryDays(v int64)
- func (o *ShopShippingProfileDestination) SetMinDeliveryDaysNil()
- func (o *ShopShippingProfileDestination) SetOriginCountryIso(v string)
- func (o *ShopShippingProfileDestination) SetPrimaryCost(v Money)
- func (o *ShopShippingProfileDestination) SetSecondaryCost(v Money)
- func (o *ShopShippingProfileDestination) SetShippingCarrierId(v int64)
- func (o *ShopShippingProfileDestination) SetShippingCarrierIdNil()
- func (o *ShopShippingProfileDestination) SetShippingProfileDestinationId(v int64)
- func (o *ShopShippingProfileDestination) SetShippingProfileId(v int64)
- func (o ShopShippingProfileDestination) ToMap() (map[string]interface{}, error)
- func (o *ShopShippingProfileDestination) UnsetMailClass()
- func (o *ShopShippingProfileDestination) UnsetMaxDeliveryDays()
- func (o *ShopShippingProfileDestination) UnsetMinDeliveryDays()
- func (o *ShopShippingProfileDestination) UnsetShippingCarrierId()
- type ShopShippingProfileDestinationDestinationRegion
- type ShopShippingProfileDestinations
- func (o *ShopShippingProfileDestinations) GetCount() int64
- func (o *ShopShippingProfileDestinations) GetCountOk() (*int64, bool)
- func (o *ShopShippingProfileDestinations) GetResults() []ShopShippingProfileDestination
- func (o *ShopShippingProfileDestinations) GetResultsOk() ([]ShopShippingProfileDestination, bool)
- func (o *ShopShippingProfileDestinations) HasCount() bool
- func (o *ShopShippingProfileDestinations) HasResults() bool
- func (o ShopShippingProfileDestinations) MarshalJSON() ([]byte, error)
- func (o *ShopShippingProfileDestinations) SetCount(v int64)
- func (o *ShopShippingProfileDestinations) SetResults(v []ShopShippingProfileDestination)
- func (o ShopShippingProfileDestinations) ToMap() (map[string]interface{}, error)
- type ShopShippingProfileProfileType
- type ShopShippingProfileUpgrade
- func (o *ShopShippingProfileUpgrade) GetLanguage() string
- func (o *ShopShippingProfileUpgrade) GetLanguageOk() (*string, bool)
- func (o *ShopShippingProfileUpgrade) GetMailClass() string
- func (o *ShopShippingProfileUpgrade) GetMailClassOk() (*string, bool)
- func (o *ShopShippingProfileUpgrade) GetMaxDeliveryDays() int64
- func (o *ShopShippingProfileUpgrade) GetMaxDeliveryDaysOk() (*int64, bool)
- func (o *ShopShippingProfileUpgrade) GetMinDeliveryDays() int64
- func (o *ShopShippingProfileUpgrade) GetMinDeliveryDaysOk() (*int64, bool)
- func (o *ShopShippingProfileUpgrade) GetPrice() Money
- func (o *ShopShippingProfileUpgrade) GetPriceOk() (*Money, bool)
- func (o *ShopShippingProfileUpgrade) GetRank() int64
- func (o *ShopShippingProfileUpgrade) GetRankOk() (*int64, bool)
- func (o *ShopShippingProfileUpgrade) GetSecondaryPrice() Money
- func (o *ShopShippingProfileUpgrade) GetSecondaryPriceOk() (*Money, bool)
- func (o *ShopShippingProfileUpgrade) GetShippingCarrierId() int64
- func (o *ShopShippingProfileUpgrade) GetShippingCarrierIdOk() (*int64, bool)
- func (o *ShopShippingProfileUpgrade) GetShippingProfileId() int64
- func (o *ShopShippingProfileUpgrade) GetShippingProfileIdOk() (*int64, bool)
- func (o *ShopShippingProfileUpgrade) GetType() CreateShopShippingProfileUpgradeRequestType
- func (o *ShopShippingProfileUpgrade) GetTypeOk() (*CreateShopShippingProfileUpgradeRequestType, bool)
- func (o *ShopShippingProfileUpgrade) GetUpgradeId() int64
- func (o *ShopShippingProfileUpgrade) GetUpgradeIdOk() (*int64, bool)
- func (o *ShopShippingProfileUpgrade) GetUpgradeName() string
- func (o *ShopShippingProfileUpgrade) GetUpgradeNameOk() (*string, bool)
- func (o *ShopShippingProfileUpgrade) HasLanguage() bool
- func (o *ShopShippingProfileUpgrade) HasMailClass() bool
- func (o *ShopShippingProfileUpgrade) HasMaxDeliveryDays() bool
- func (o *ShopShippingProfileUpgrade) HasMinDeliveryDays() bool
- func (o *ShopShippingProfileUpgrade) HasPrice() bool
- func (o *ShopShippingProfileUpgrade) HasRank() bool
- func (o *ShopShippingProfileUpgrade) HasSecondaryPrice() bool
- func (o *ShopShippingProfileUpgrade) HasShippingCarrierId() bool
- func (o *ShopShippingProfileUpgrade) HasShippingProfileId() bool
- func (o *ShopShippingProfileUpgrade) HasType() bool
- func (o *ShopShippingProfileUpgrade) HasUpgradeId() bool
- func (o *ShopShippingProfileUpgrade) HasUpgradeName() bool
- func (o ShopShippingProfileUpgrade) MarshalJSON() ([]byte, error)
- func (o *ShopShippingProfileUpgrade) SetLanguage(v string)
- func (o *ShopShippingProfileUpgrade) SetMailClass(v string)
- func (o *ShopShippingProfileUpgrade) SetMailClassNil()
- func (o *ShopShippingProfileUpgrade) SetMaxDeliveryDays(v int64)
- func (o *ShopShippingProfileUpgrade) SetMaxDeliveryDaysNil()
- func (o *ShopShippingProfileUpgrade) SetMinDeliveryDays(v int64)
- func (o *ShopShippingProfileUpgrade) SetMinDeliveryDaysNil()
- func (o *ShopShippingProfileUpgrade) SetPrice(v Money)
- func (o *ShopShippingProfileUpgrade) SetRank(v int64)
- func (o *ShopShippingProfileUpgrade) SetSecondaryPrice(v Money)
- func (o *ShopShippingProfileUpgrade) SetShippingCarrierId(v int64)
- func (o *ShopShippingProfileUpgrade) SetShippingCarrierIdNil()
- func (o *ShopShippingProfileUpgrade) SetShippingProfileId(v int64)
- func (o *ShopShippingProfileUpgrade) SetType(v CreateShopShippingProfileUpgradeRequestType)
- func (o *ShopShippingProfileUpgrade) SetUpgradeId(v int64)
- func (o *ShopShippingProfileUpgrade) SetUpgradeName(v string)
- func (o ShopShippingProfileUpgrade) ToMap() (map[string]interface{}, error)
- func (o *ShopShippingProfileUpgrade) UnsetMailClass()
- func (o *ShopShippingProfileUpgrade) UnsetMaxDeliveryDays()
- func (o *ShopShippingProfileUpgrade) UnsetMinDeliveryDays()
- func (o *ShopShippingProfileUpgrade) UnsetShippingCarrierId()
- type ShopShippingProfileUpgrades
- func (o *ShopShippingProfileUpgrades) GetCount() int64
- func (o *ShopShippingProfileUpgrades) GetCountOk() (*int64, bool)
- func (o *ShopShippingProfileUpgrades) GetResults() []ShopShippingProfileUpgrade
- func (o *ShopShippingProfileUpgrades) GetResultsOk() ([]ShopShippingProfileUpgrade, bool)
- func (o *ShopShippingProfileUpgrades) HasCount() bool
- func (o *ShopShippingProfileUpgrades) HasResults() bool
- func (o ShopShippingProfileUpgrades) MarshalJSON() ([]byte, error)
- func (o *ShopShippingProfileUpgrades) SetCount(v int64)
- func (o *ShopShippingProfileUpgrades) SetResults(v []ShopShippingProfileUpgrade)
- func (o ShopShippingProfileUpgrades) ToMap() (map[string]interface{}, error)
- type ShopShippingProfiles
- func (o *ShopShippingProfiles) GetCount() int64
- func (o *ShopShippingProfiles) GetCountOk() (*int64, bool)
- func (o *ShopShippingProfiles) GetResults() []ShopShippingProfile
- func (o *ShopShippingProfiles) GetResultsOk() ([]ShopShippingProfile, bool)
- func (o *ShopShippingProfiles) HasCount() bool
- func (o *ShopShippingProfiles) HasResults() bool
- func (o ShopShippingProfiles) MarshalJSON() ([]byte, error)
- func (o *ShopShippingProfiles) SetCount(v int64)
- func (o *ShopShippingProfiles) SetResults(v []ShopShippingProfile)
- func (o ShopShippingProfiles) ToMap() (map[string]interface{}, error)
- type Shops
- func (o *Shops) GetCount() int64
- func (o *Shops) GetCountOk() (*int64, bool)
- func (o *Shops) GetResults() []Shop
- func (o *Shops) GetResultsOk() ([]Shop, bool)
- func (o *Shops) HasCount() bool
- func (o *Shops) HasResults() bool
- func (o Shops) MarshalJSON() ([]byte, error)
- func (o *Shops) SetCount(v int64)
- func (o *Shops) SetResults(v []Shop)
- func (o Shops) ToMap() (map[string]interface{}, error)
- type TaxonomyNodeProperties
- func (o *TaxonomyNodeProperties) GetCount() int64
- func (o *TaxonomyNodeProperties) GetCountOk() (*int64, bool)
- func (o *TaxonomyNodeProperties) GetResults() []TaxonomyNodeProperty
- func (o *TaxonomyNodeProperties) GetResultsOk() ([]TaxonomyNodeProperty, bool)
- func (o *TaxonomyNodeProperties) HasCount() bool
- func (o *TaxonomyNodeProperties) HasResults() bool
- func (o TaxonomyNodeProperties) MarshalJSON() ([]byte, error)
- func (o *TaxonomyNodeProperties) SetCount(v int64)
- func (o *TaxonomyNodeProperties) SetResults(v []TaxonomyNodeProperty)
- func (o TaxonomyNodeProperties) ToMap() (map[string]interface{}, error)
- type TaxonomyNodeProperty
- func (o *TaxonomyNodeProperty) GetDisplayName() string
- func (o *TaxonomyNodeProperty) GetDisplayNameOk() (*string, bool)
- func (o *TaxonomyNodeProperty) GetIsMultivalued() bool
- func (o *TaxonomyNodeProperty) GetIsMultivaluedOk() (*bool, bool)
- func (o *TaxonomyNodeProperty) GetIsRequired() bool
- func (o *TaxonomyNodeProperty) GetIsRequiredOk() (*bool, bool)
- func (o *TaxonomyNodeProperty) GetMaxValuesAllowed() int64
- func (o *TaxonomyNodeProperty) GetMaxValuesAllowedOk() (*int64, bool)
- func (o *TaxonomyNodeProperty) GetName() string
- func (o *TaxonomyNodeProperty) GetNameOk() (*string, bool)
- func (o *TaxonomyNodeProperty) GetPossibleValues() []TaxonomyPropertyValue
- func (o *TaxonomyNodeProperty) GetPossibleValuesOk() ([]TaxonomyPropertyValue, bool)
- func (o *TaxonomyNodeProperty) GetPropertyId() int64
- func (o *TaxonomyNodeProperty) GetPropertyIdOk() (*int64, bool)
- func (o *TaxonomyNodeProperty) GetScales() []TaxonomyPropertyScale
- func (o *TaxonomyNodeProperty) GetScalesOk() ([]TaxonomyPropertyScale, bool)
- func (o *TaxonomyNodeProperty) GetSelectedValues() []TaxonomyPropertyValue
- func (o *TaxonomyNodeProperty) GetSelectedValuesOk() ([]TaxonomyPropertyValue, bool)
- func (o *TaxonomyNodeProperty) GetSupportsAttributes() bool
- func (o *TaxonomyNodeProperty) GetSupportsAttributesOk() (*bool, bool)
- func (o *TaxonomyNodeProperty) GetSupportsVariations() bool
- func (o *TaxonomyNodeProperty) GetSupportsVariationsOk() (*bool, bool)
- func (o *TaxonomyNodeProperty) HasDisplayName() bool
- func (o *TaxonomyNodeProperty) HasIsMultivalued() bool
- func (o *TaxonomyNodeProperty) HasIsRequired() bool
- func (o *TaxonomyNodeProperty) HasMaxValuesAllowed() bool
- func (o *TaxonomyNodeProperty) HasName() bool
- func (o *TaxonomyNodeProperty) HasPossibleValues() bool
- func (o *TaxonomyNodeProperty) HasPropertyId() bool
- func (o *TaxonomyNodeProperty) HasScales() bool
- func (o *TaxonomyNodeProperty) HasSelectedValues() bool
- func (o *TaxonomyNodeProperty) HasSupportsAttributes() bool
- func (o *TaxonomyNodeProperty) HasSupportsVariations() bool
- func (o TaxonomyNodeProperty) MarshalJSON() ([]byte, error)
- func (o *TaxonomyNodeProperty) SetDisplayName(v string)
- func (o *TaxonomyNodeProperty) SetIsMultivalued(v bool)
- func (o *TaxonomyNodeProperty) SetIsRequired(v bool)
- func (o *TaxonomyNodeProperty) SetMaxValuesAllowed(v int64)
- func (o *TaxonomyNodeProperty) SetMaxValuesAllowedNil()
- func (o *TaxonomyNodeProperty) SetName(v string)
- func (o *TaxonomyNodeProperty) SetPossibleValues(v []TaxonomyPropertyValue)
- func (o *TaxonomyNodeProperty) SetPropertyId(v int64)
- func (o *TaxonomyNodeProperty) SetScales(v []TaxonomyPropertyScale)
- func (o *TaxonomyNodeProperty) SetSelectedValues(v []TaxonomyPropertyValue)
- func (o *TaxonomyNodeProperty) SetSupportsAttributes(v bool)
- func (o *TaxonomyNodeProperty) SetSupportsVariations(v bool)
- func (o TaxonomyNodeProperty) ToMap() (map[string]interface{}, error)
- func (o *TaxonomyNodeProperty) UnsetMaxValuesAllowed()
- type TaxonomyPropertyScale
- func (o *TaxonomyPropertyScale) GetDescription() string
- func (o *TaxonomyPropertyScale) GetDescriptionOk() (*string, bool)
- func (o *TaxonomyPropertyScale) GetDisplayName() string
- func (o *TaxonomyPropertyScale) GetDisplayNameOk() (*string, bool)
- func (o *TaxonomyPropertyScale) GetScaleId() int64
- func (o *TaxonomyPropertyScale) GetScaleIdOk() (*int64, bool)
- func (o *TaxonomyPropertyScale) HasDescription() bool
- func (o *TaxonomyPropertyScale) HasDisplayName() bool
- func (o *TaxonomyPropertyScale) HasScaleId() bool
- func (o TaxonomyPropertyScale) MarshalJSON() ([]byte, error)
- func (o *TaxonomyPropertyScale) SetDescription(v string)
- func (o *TaxonomyPropertyScale) SetDisplayName(v string)
- func (o *TaxonomyPropertyScale) SetScaleId(v int64)
- func (o TaxonomyPropertyScale) ToMap() (map[string]interface{}, error)
- type TaxonomyPropertyValue
- func (o *TaxonomyPropertyValue) GetEqualTo() []int64
- func (o *TaxonomyPropertyValue) GetEqualToOk() ([]int64, bool)
- func (o *TaxonomyPropertyValue) GetName() string
- func (o *TaxonomyPropertyValue) GetNameOk() (*string, bool)
- func (o *TaxonomyPropertyValue) GetScaleId() int64
- func (o *TaxonomyPropertyValue) GetScaleIdOk() (*int64, bool)
- func (o *TaxonomyPropertyValue) GetValueId() int64
- func (o *TaxonomyPropertyValue) GetValueIdOk() (*int64, bool)
- func (o *TaxonomyPropertyValue) HasEqualTo() bool
- func (o *TaxonomyPropertyValue) HasName() bool
- func (o *TaxonomyPropertyValue) HasScaleId() bool
- func (o *TaxonomyPropertyValue) HasValueId() bool
- func (o TaxonomyPropertyValue) MarshalJSON() ([]byte, error)
- func (o *TaxonomyPropertyValue) SetEqualTo(v []int64)
- func (o *TaxonomyPropertyValue) SetName(v string)
- func (o *TaxonomyPropertyValue) SetScaleId(v int64)
- func (o *TaxonomyPropertyValue) SetScaleIdNil()
- func (o *TaxonomyPropertyValue) SetValueId(v int64)
- func (o *TaxonomyPropertyValue) SetValueIdNil()
- func (o TaxonomyPropertyValue) ToMap() (map[string]interface{}, error)
- func (o *TaxonomyPropertyValue) UnsetScaleId()
- func (o *TaxonomyPropertyValue) UnsetValueId()
- type TransactionReview
- func (o *TransactionReview) GetBuyerUserId() int64
- func (o *TransactionReview) GetBuyerUserIdOk() (*int64, bool)
- func (o *TransactionReview) GetCreateTimestamp() int64
- func (o *TransactionReview) GetCreateTimestampOk() (*int64, bool)
- func (o *TransactionReview) GetCreatedTimestamp() int64
- func (o *TransactionReview) GetCreatedTimestampOk() (*int64, bool)
- func (o *TransactionReview) GetImageUrlFullxfull() string
- func (o *TransactionReview) GetImageUrlFullxfullOk() (*string, bool)
- func (o *TransactionReview) GetLanguage() string
- func (o *TransactionReview) GetLanguageOk() (*string, bool)
- func (o *TransactionReview) GetListingId() int64
- func (o *TransactionReview) GetListingIdOk() (*int64, bool)
- func (o *TransactionReview) GetRating() int64
- func (o *TransactionReview) GetRatingOk() (*int64, bool)
- func (o *TransactionReview) GetReview() string
- func (o *TransactionReview) GetReviewOk() (*string, bool)
- func (o *TransactionReview) GetShopId() int64
- func (o *TransactionReview) GetShopIdOk() (*int64, bool)
- func (o *TransactionReview) GetTransactionId() int64
- func (o *TransactionReview) GetTransactionIdOk() (*int64, bool)
- func (o *TransactionReview) GetUpdateTimestamp() int64
- func (o *TransactionReview) GetUpdateTimestampOk() (*int64, bool)
- func (o *TransactionReview) GetUpdatedTimestamp() int64
- func (o *TransactionReview) GetUpdatedTimestampOk() (*int64, bool)
- func (o *TransactionReview) HasBuyerUserId() bool
- func (o *TransactionReview) HasCreateTimestamp() bool
- func (o *TransactionReview) HasCreatedTimestamp() bool
- func (o *TransactionReview) HasImageUrlFullxfull() bool
- func (o *TransactionReview) HasLanguage() bool
- func (o *TransactionReview) HasListingId() bool
- func (o *TransactionReview) HasRating() bool
- func (o *TransactionReview) HasReview() bool
- func (o *TransactionReview) HasShopId() bool
- func (o *TransactionReview) HasTransactionId() bool
- func (o *TransactionReview) HasUpdateTimestamp() bool
- func (o *TransactionReview) HasUpdatedTimestamp() bool
- func (o TransactionReview) MarshalJSON() ([]byte, error)
- func (o *TransactionReview) SetBuyerUserId(v int64)
- func (o *TransactionReview) SetBuyerUserIdNil()
- func (o *TransactionReview) SetCreateTimestamp(v int64)
- func (o *TransactionReview) SetCreatedTimestamp(v int64)
- func (o *TransactionReview) SetImageUrlFullxfull(v string)
- func (o *TransactionReview) SetImageUrlFullxfullNil()
- func (o *TransactionReview) SetLanguage(v string)
- func (o *TransactionReview) SetListingId(v int64)
- func (o *TransactionReview) SetRating(v int64)
- func (o *TransactionReview) SetReview(v string)
- func (o *TransactionReview) SetShopId(v int64)
- func (o *TransactionReview) SetTransactionId(v int64)
- func (o *TransactionReview) SetUpdateTimestamp(v int64)
- func (o *TransactionReview) SetUpdatedTimestamp(v int64)
- func (o TransactionReview) ToMap() (map[string]interface{}, error)
- func (o *TransactionReview) UnsetBuyerUserId()
- func (o *TransactionReview) UnsetImageUrlFullxfull()
- type TransactionReviews
- func (o *TransactionReviews) GetCount() int64
- func (o *TransactionReviews) GetCountOk() (*int64, bool)
- func (o *TransactionReviews) GetResults() []TransactionReview
- func (o *TransactionReviews) GetResultsOk() ([]TransactionReview, bool)
- func (o *TransactionReviews) HasCount() bool
- func (o *TransactionReviews) HasResults() bool
- func (o TransactionReviews) MarshalJSON() ([]byte, error)
- func (o *TransactionReviews) SetCount(v int64)
- func (o *TransactionReviews) SetResults(v []TransactionReview)
- func (o TransactionReviews) ToMap() (map[string]interface{}, error)
- type TransactionVariations
- func (o *TransactionVariations) GetFormattedName() string
- func (o *TransactionVariations) GetFormattedNameOk() (*string, bool)
- func (o *TransactionVariations) GetFormattedValue() string
- func (o *TransactionVariations) GetFormattedValueOk() (*string, bool)
- func (o *TransactionVariations) GetPropertyId() int64
- func (o *TransactionVariations) GetPropertyIdOk() (*int64, bool)
- func (o *TransactionVariations) GetValueId() int64
- func (o *TransactionVariations) GetValueIdOk() (*int64, bool)
- func (o *TransactionVariations) HasFormattedName() bool
- func (o *TransactionVariations) HasFormattedValue() bool
- func (o *TransactionVariations) HasPropertyId() bool
- func (o *TransactionVariations) HasValueId() bool
- func (o TransactionVariations) MarshalJSON() ([]byte, error)
- func (o *TransactionVariations) SetFormattedName(v string)
- func (o *TransactionVariations) SetFormattedValue(v string)
- func (o *TransactionVariations) SetPropertyId(v int64)
- func (o *TransactionVariations) SetValueId(v int64)
- func (o *TransactionVariations) SetValueIdNil()
- func (o TransactionVariations) ToMap() (map[string]interface{}, error)
- func (o *TransactionVariations) UnsetValueId()
- type TypeDiscriminator
- type UpdateHolidayPreferencesHolidayIdParameter
- type UpdateListingDeprecatedRequestState
- type UpdateListingDeprecatedRequestType
- type UpdateListingInventoryRequest
- func (o *UpdateListingInventoryRequest) GetPriceOnProperty() []int64
- func (o *UpdateListingInventoryRequest) GetPriceOnPropertyOk() ([]int64, bool)
- func (o *UpdateListingInventoryRequest) GetProducts() []UpdateListingInventoryRequestProductsInner
- func (o *UpdateListingInventoryRequest) GetProductsOk() ([]UpdateListingInventoryRequestProductsInner, bool)
- func (o *UpdateListingInventoryRequest) GetQuantityOnProperty() []int64
- func (o *UpdateListingInventoryRequest) GetQuantityOnPropertyOk() ([]int64, bool)
- func (o *UpdateListingInventoryRequest) GetSkuOnProperty() []int64
- func (o *UpdateListingInventoryRequest) GetSkuOnPropertyOk() ([]int64, bool)
- func (o *UpdateListingInventoryRequest) HasPriceOnProperty() bool
- func (o *UpdateListingInventoryRequest) HasQuantityOnProperty() bool
- func (o *UpdateListingInventoryRequest) HasSkuOnProperty() bool
- func (o UpdateListingInventoryRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateListingInventoryRequest) SetPriceOnProperty(v []int64)
- func (o *UpdateListingInventoryRequest) SetProducts(v []UpdateListingInventoryRequestProductsInner)
- func (o *UpdateListingInventoryRequest) SetQuantityOnProperty(v []int64)
- func (o *UpdateListingInventoryRequest) SetSkuOnProperty(v []int64)
- func (o UpdateListingInventoryRequest) ToMap() (map[string]interface{}, error)
- type UpdateListingInventoryRequestProductsInner
- func (o *UpdateListingInventoryRequestProductsInner) GetOfferings() []UpdateListingInventoryRequestProductsInnerOfferingsInner
- func (o *UpdateListingInventoryRequestProductsInner) GetOfferingsOk() ([]UpdateListingInventoryRequestProductsInnerOfferingsInner, bool)
- func (o *UpdateListingInventoryRequestProductsInner) GetPropertyValues() []UpdateListingInventoryRequestProductsInnerPropertyValuesInner
- func (o *UpdateListingInventoryRequestProductsInner) GetPropertyValuesOk() ([]UpdateListingInventoryRequestProductsInnerPropertyValuesInner, bool)
- func (o *UpdateListingInventoryRequestProductsInner) GetSku() string
- func (o *UpdateListingInventoryRequestProductsInner) GetSkuOk() (*string, bool)
- func (o *UpdateListingInventoryRequestProductsInner) HasPropertyValues() bool
- func (o *UpdateListingInventoryRequestProductsInner) HasSku() bool
- func (o UpdateListingInventoryRequestProductsInner) MarshalJSON() ([]byte, error)
- func (o *UpdateListingInventoryRequestProductsInner) SetOfferings(v []UpdateListingInventoryRequestProductsInnerOfferingsInner)
- func (o *UpdateListingInventoryRequestProductsInner) SetPropertyValues(v []UpdateListingInventoryRequestProductsInnerPropertyValuesInner)
- func (o *UpdateListingInventoryRequestProductsInner) SetSku(v string)
- func (o *UpdateListingInventoryRequestProductsInner) SetSkuNil()
- func (o UpdateListingInventoryRequestProductsInner) ToMap() (map[string]interface{}, error)
- func (o *UpdateListingInventoryRequestProductsInner) UnsetSku()
- type UpdateListingInventoryRequestProductsInnerOfferingsInner
- func NewUpdateListingInventoryRequestProductsInnerOfferingsInner(price float32, quantity int64, isEnabled bool) *UpdateListingInventoryRequestProductsInnerOfferingsInner
- func NewUpdateListingInventoryRequestProductsInnerOfferingsInnerWithDefaults() *UpdateListingInventoryRequestProductsInnerOfferingsInner
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetIsEnabled() bool
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetIsEnabledOk() (*bool, bool)
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetPrice() float32
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetPriceOk() (*float32, bool)
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetQuantity() int64
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetQuantityOk() (*int64, bool)
- func (o UpdateListingInventoryRequestProductsInnerOfferingsInner) MarshalJSON() ([]byte, error)
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) SetIsEnabled(v bool)
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) SetPrice(v float32)
- func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) SetQuantity(v int64)
- func (o UpdateListingInventoryRequestProductsInnerOfferingsInner) ToMap() (map[string]interface{}, error)
- type UpdateListingInventoryRequestProductsInnerPropertyValuesInner
- func NewUpdateListingInventoryRequestProductsInnerPropertyValuesInner(propertyId int64, valueIds []int64, values []string) *UpdateListingInventoryRequestProductsInnerPropertyValuesInner
- func NewUpdateListingInventoryRequestProductsInnerPropertyValuesInnerWithDefaults() *UpdateListingInventoryRequestProductsInnerPropertyValuesInner
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyId() int64
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyIdOk() (*int64, bool)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyName() string
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyNameOk() (*string, bool)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetScaleId() int64
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetScaleIdOk() (*int64, bool)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValueIds() []int64
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValueIdsOk() ([]int64, bool)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValues() []string
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValuesOk() ([]string, bool)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) HasPropertyName() bool
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) HasScaleId() bool
- func (o UpdateListingInventoryRequestProductsInnerPropertyValuesInner) MarshalJSON() ([]byte, error)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetPropertyId(v int64)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetPropertyName(v string)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetScaleId(v int64)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetScaleIdNil()
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetValueIds(v []int64)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetValues(v []string)
- func (o UpdateListingInventoryRequestProductsInnerPropertyValuesInner) ToMap() (map[string]interface{}, error)
- func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) UnsetScaleId()
- type UpdateListingRequestItemDimensionsUnit
- type UpdateListingRequestItemWeightUnit
- type UpdateVariationImagesRequest
- func (o *UpdateVariationImagesRequest) GetVariationImages() []UpdateVariationImagesRequestVariationImagesInner
- func (o *UpdateVariationImagesRequest) GetVariationImagesOk() ([]UpdateVariationImagesRequestVariationImagesInner, bool)
- func (o UpdateVariationImagesRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateVariationImagesRequest) SetVariationImages(v []UpdateVariationImagesRequestVariationImagesInner)
- func (o UpdateVariationImagesRequest) ToMap() (map[string]interface{}, error)
- type UpdateVariationImagesRequestVariationImagesInner
- func (o *UpdateVariationImagesRequestVariationImagesInner) GetImageId() int64
- func (o *UpdateVariationImagesRequestVariationImagesInner) GetImageIdOk() (*int64, bool)
- func (o *UpdateVariationImagesRequestVariationImagesInner) GetPropertyId() int64
- func (o *UpdateVariationImagesRequestVariationImagesInner) GetPropertyIdOk() (*int64, bool)
- func (o *UpdateVariationImagesRequestVariationImagesInner) GetValueId() int64
- func (o *UpdateVariationImagesRequestVariationImagesInner) GetValueIdOk() (*int64, bool)
- func (o UpdateVariationImagesRequestVariationImagesInner) MarshalJSON() ([]byte, error)
- func (o *UpdateVariationImagesRequestVariationImagesInner) SetImageId(v int64)
- func (o *UpdateVariationImagesRequestVariationImagesInner) SetPropertyId(v int64)
- func (o *UpdateVariationImagesRequestVariationImagesInner) SetValueId(v int64)
- func (o UpdateVariationImagesRequestVariationImagesInner) ToMap() (map[string]interface{}, error)
- type User
- func (o *User) GetFirstName() string
- func (o *User) GetFirstNameOk() (*string, bool)
- func (o *User) GetImageUrl75x75() string
- func (o *User) GetImageUrl75x75Ok() (*string, bool)
- func (o *User) GetLastName() string
- func (o *User) GetLastNameOk() (*string, bool)
- func (o *User) GetPrimaryEmail() string
- func (o *User) GetPrimaryEmailOk() (*string, bool)
- func (o *User) GetUserId() int64
- func (o *User) GetUserIdOk() (*int64, bool)
- func (o *User) HasFirstName() bool
- func (o *User) HasImageUrl75x75() bool
- func (o *User) HasLastName() bool
- func (o *User) HasPrimaryEmail() bool
- func (o *User) HasUserId() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetFirstName(v string)
- func (o *User) SetFirstNameNil()
- func (o *User) SetImageUrl75x75(v string)
- func (o *User) SetImageUrl75x75Nil()
- func (o *User) SetLastName(v string)
- func (o *User) SetLastNameNil()
- func (o *User) SetPrimaryEmail(v string)
- func (o *User) SetPrimaryEmailNil()
- func (o *User) SetUserId(v int64)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnsetFirstName()
- func (o *User) UnsetImageUrl75x75()
- func (o *User) UnsetLastName()
- func (o *User) UnsetPrimaryEmail()
- type UserAPI
- type UserAPIGetMeRequest
- type UserAPIGetUserRequest
- type UserAPIService
- func (a *UserAPIService) GetMe(ctx context.Context) UserAPIGetMeRequest
- func (a *UserAPIService) GetMeExecute(r UserAPIGetMeRequest) (*Self, *http.Response, error)
- func (a *UserAPIService) GetUser(ctx context.Context, userId int64) UserAPIGetUserRequest
- func (a *UserAPIService) GetUserExecute(r UserAPIGetUserRequest) (*User, *http.Response, error)
- type UserAddress
- func (o *UserAddress) GetCity() string
- func (o *UserAddress) GetCityOk() (*string, bool)
- func (o *UserAddress) GetCountryName() string
- func (o *UserAddress) GetCountryNameOk() (*string, bool)
- func (o *UserAddress) GetFirstLine() string
- func (o *UserAddress) GetFirstLineOk() (*string, bool)
- func (o *UserAddress) GetIsDefaultShippingAddress() bool
- func (o *UserAddress) GetIsDefaultShippingAddressOk() (*bool, bool)
- func (o *UserAddress) GetIsoCountryCode() string
- func (o *UserAddress) GetIsoCountryCodeOk() (*string, bool)
- func (o *UserAddress) GetName() string
- func (o *UserAddress) GetNameOk() (*string, bool)
- func (o *UserAddress) GetSecondLine() string
- func (o *UserAddress) GetSecondLineOk() (*string, bool)
- func (o *UserAddress) GetState() string
- func (o *UserAddress) GetStateOk() (*string, bool)
- func (o *UserAddress) GetUserAddressId() int64
- func (o *UserAddress) GetUserAddressIdOk() (*int64, bool)
- func (o *UserAddress) GetUserId() int64
- func (o *UserAddress) GetUserIdOk() (*int64, bool)
- func (o *UserAddress) GetZip() string
- func (o *UserAddress) GetZipOk() (*string, bool)
- func (o *UserAddress) HasCity() bool
- func (o *UserAddress) HasCountryName() bool
- func (o *UserAddress) HasFirstLine() bool
- func (o *UserAddress) HasIsDefaultShippingAddress() bool
- func (o *UserAddress) HasIsoCountryCode() bool
- func (o *UserAddress) HasName() bool
- func (o *UserAddress) HasSecondLine() bool
- func (o *UserAddress) HasState() bool
- func (o *UserAddress) HasUserAddressId() bool
- func (o *UserAddress) HasUserId() bool
- func (o *UserAddress) HasZip() bool
- func (o UserAddress) MarshalJSON() ([]byte, error)
- func (o *UserAddress) SetCity(v string)
- func (o *UserAddress) SetCountryName(v string)
- func (o *UserAddress) SetCountryNameNil()
- func (o *UserAddress) SetFirstLine(v string)
- func (o *UserAddress) SetIsDefaultShippingAddress(v bool)
- func (o *UserAddress) SetIsoCountryCode(v string)
- func (o *UserAddress) SetIsoCountryCodeNil()
- func (o *UserAddress) SetName(v string)
- func (o *UserAddress) SetSecondLine(v string)
- func (o *UserAddress) SetSecondLineNil()
- func (o *UserAddress) SetState(v string)
- func (o *UserAddress) SetStateNil()
- func (o *UserAddress) SetUserAddressId(v int64)
- func (o *UserAddress) SetUserId(v int64)
- func (o *UserAddress) SetZip(v string)
- func (o *UserAddress) SetZipNil()
- func (o UserAddress) ToMap() (map[string]interface{}, error)
- func (o *UserAddress) UnsetCountryName()
- func (o *UserAddress) UnsetIsoCountryCode()
- func (o *UserAddress) UnsetSecondLine()
- func (o *UserAddress) UnsetState()
- func (o *UserAddress) UnsetZip()
- type UserAddressAPI
- type UserAddressAPIDeleteUserAddressRequest
- type UserAddressAPIGetUserAddressRequest
- type UserAddressAPIGetUserAddressesRequest
- func (r UserAddressAPIGetUserAddressesRequest) Execute() (*UserAddresses, *http.Response, error)
- func (r UserAddressAPIGetUserAddressesRequest) Limit(limit int64) UserAddressAPIGetUserAddressesRequest
- func (r UserAddressAPIGetUserAddressesRequest) Offset(offset int64) UserAddressAPIGetUserAddressesRequest
- type UserAddressAPIService
- func (a *UserAddressAPIService) DeleteUserAddress(ctx context.Context, userAddressId int64) UserAddressAPIDeleteUserAddressRequest
- func (a *UserAddressAPIService) DeleteUserAddressExecute(r UserAddressAPIDeleteUserAddressRequest) (*http.Response, error)
- func (a *UserAddressAPIService) GetUserAddress(ctx context.Context, userAddressId int64) UserAddressAPIGetUserAddressRequest
- func (a *UserAddressAPIService) GetUserAddressExecute(r UserAddressAPIGetUserAddressRequest) (*UserAddress, *http.Response, error)
- func (a *UserAddressAPIService) GetUserAddresses(ctx context.Context) UserAddressAPIGetUserAddressesRequest
- func (a *UserAddressAPIService) GetUserAddressesExecute(r UserAddressAPIGetUserAddressesRequest) (*UserAddresses, *http.Response, error)
- type UserAddresses
- func (o *UserAddresses) GetCount() int64
- func (o *UserAddresses) GetCountOk() (*int64, bool)
- func (o *UserAddresses) GetResults() []UserAddress
- func (o *UserAddresses) GetResultsOk() ([]UserAddress, bool)
- func (o *UserAddresses) HasCount() bool
- func (o *UserAddresses) HasResults() bool
- func (o UserAddresses) MarshalJSON() ([]byte, error)
- func (o *UserAddresses) SetCount(v int64)
- func (o *UserAddresses) SetResults(v []UserAddress)
- func (o UserAddresses) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedCreateDraftListingRequestItemDimensionsUnitEnumValues = []CreateDraftListingRequestItemDimensionsUnit{
"in",
"ft",
"mm",
"cm",
"m",
"yd",
"inches",
}
All allowed values of CreateDraftListingRequestItemDimensionsUnit enum
var AllowedCreateDraftListingRequestItemWeightUnitEnumValues = []CreateDraftListingRequestItemWeightUnit{
"oz",
"lb",
"g",
"kg",
}
All allowed values of CreateDraftListingRequestItemWeightUnit enum
var AllowedCreateDraftListingRequestTypeEnumValues = []CreateDraftListingRequestType{
"physical",
"download",
"both",
}
All allowed values of CreateDraftListingRequestType enum
var AllowedCreateDraftListingRequestWhenMadeEnumValues = []CreateDraftListingRequestWhenMade{
"made_to_order",
"2020_2024",
"2010_2019",
"2005_2009",
"before_2005",
"2000_2004",
"1990s",
"1980s",
"1970s",
"1960s",
"1950s",
"1940s",
"1930s",
"1920s",
"1910s",
"1900s",
"1800s",
"1700s",
"before_1700",
}
All allowed values of CreateDraftListingRequestWhenMade enum
var AllowedCreateDraftListingRequestWhoMadeEnumValues = []CreateDraftListingRequestWhoMade{
"i_did",
"someone_else",
"collective",
}
All allowed values of CreateDraftListingRequestWhoMade enum
var AllowedCreateShopShippingProfileRequestDestinationRegionEnumValues = []CreateShopShippingProfileRequestDestinationRegion{
"eu",
"non_eu",
"none",
}
All allowed values of CreateShopShippingProfileRequestDestinationRegion enum
var AllowedCreateShopShippingProfileRequestProcessingTimeUnitEnumValues = []CreateShopShippingProfileRequestProcessingTimeUnit{
"business_days",
"weeks",
}
All allowed values of CreateShopShippingProfileRequestProcessingTimeUnit enum
var AllowedCreateShopShippingProfileUpgradeRequestTypeEnumValues = []CreateShopShippingProfileUpgradeRequestType{
"0",
"1",
}
All allowed values of CreateShopShippingProfileUpgradeRequestType enum
var AllowedGetListingInventoryIncludesParameterEnumValues = []GetListingInventoryIncludesParameter{
"Listing",
}
All allowed values of GetListingInventoryIncludesParameter enum
var AllowedGetListingsByShopIncludesParameterInnerEnumValues = []GetListingsByShopIncludesParameterInner{
"Shipping",
"Images",
"Shop",
"User",
"Translations",
"Inventory",
"Videos",
}
All allowed values of GetListingsByShopIncludesParameterInner enum
var AllowedGetListingsByShopSortOnParameterEnumValues = []GetListingsByShopSortOnParameter{
"created",
"price",
"updated",
"score",
}
All allowed values of GetListingsByShopSortOnParameter enum
var AllowedGetListingsByShopSortOrderParameterEnumValues = []GetListingsByShopSortOrderParameter{
"asc",
"ascending",
"desc",
"descending",
"up",
"down",
}
All allowed values of GetListingsByShopSortOrderParameter enum
var AllowedGetListingsByShopStateParameterEnumValues = []GetListingsByShopStateParameter{
"active",
"inactive",
"sold_out",
"draft",
"expired",
}
All allowed values of GetListingsByShopStateParameter enum
var AllowedGetShopReceiptsSortOnParameterEnumValues = []GetShopReceiptsSortOnParameter{
"created",
"updated",
"receipt_id",
}
All allowed values of GetShopReceiptsSortOnParameter enum
var AllowedGetShopReceiptsSortOrderParameterEnumValues = []GetShopReceiptsSortOrderParameter{
"asc",
"ascending",
"desc",
"descending",
"up",
"down",
}
All allowed values of GetShopReceiptsSortOrderParameter enum
var AllowedListingVideoVideoStateEnumValues = []ListingVideoVideoState{
"active",
"inactive",
"deleted",
"flagged",
}
All allowed values of ListingVideoVideoState enum
var AllowedShopListingStateEnumValues = []ShopListingState{
"active",
"inactive",
"sold_out",
"draft",
"expired",
}
All allowed values of ShopListingState enum
var AllowedShopListingWhenMadeEnumValues = []ShopListingWhenMade{
"made_to_order",
"2020_2024",
"2010_2019",
"2005_2009",
"before_2005",
"2000_2004",
"1990s",
"1980s",
"1970s",
"1960s",
"1950s",
"1940s",
"1930s",
"1920s",
"1910s",
"1900s",
"1800s",
"1700s",
"before_1700",
}
All allowed values of ShopListingWhenMade enum
var AllowedShopListingWhoMadeEnumValues = []ShopListingWhoMade{
"i_did",
"someone_else",
"collective",
}
All allowed values of ShopListingWhoMade enum
var AllowedShopReceiptStatusEnumValues = []ShopReceiptStatus{
"paid",
"completed",
"open",
"payment processing",
"canceled",
"fully refunded",
"partially refunded",
}
All allowed values of ShopReceiptStatus enum
var AllowedShopShippingProfileDestinationDestinationRegionEnumValues = []ShopShippingProfileDestinationDestinationRegion{
"eu",
"non_eu",
"none",
}
All allowed values of ShopShippingProfileDestinationDestinationRegion enum
var AllowedShopShippingProfileProfileTypeEnumValues = []ShopShippingProfileProfileType{
"manual",
"calculated",
}
All allowed values of ShopShippingProfileProfileType enum
var AllowedUpdateHolidayPreferencesHolidayIdParameterEnumValues = []UpdateHolidayPreferencesHolidayIdParameter{}/* 105 elements not displayed */
All allowed values of UpdateHolidayPreferencesHolidayIdParameter enum
var AllowedUpdateListingDeprecatedRequestStateEnumValues = []UpdateListingDeprecatedRequestState{
"active",
"inactive",
}
All allowed values of UpdateListingDeprecatedRequestState enum
var AllowedUpdateListingDeprecatedRequestTypeEnumValues = []UpdateListingDeprecatedRequestType{
"physical",
"download",
"both",
}
All allowed values of UpdateListingDeprecatedRequestType enum
var AllowedUpdateListingRequestItemDimensionsUnitEnumValues = []UpdateListingRequestItemDimensionsUnit{
"",
"in",
"ft",
"mm",
"cm",
"m",
"yd",
"inches",
}
All allowed values of UpdateListingRequestItemDimensionsUnit enum
var AllowedUpdateListingRequestItemWeightUnitEnumValues = []UpdateListingRequestItemWeightUnit{
"",
"oz",
"lb",
"g",
"kg",
}
All allowed values of UpdateListingRequestItemWeightUnit enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { BuyerTaxonomyAPI BuyerTaxonomyAPI LedgerEntryAPI LedgerEntryAPI OtherAPI OtherAPI PaymentAPI PaymentAPI ReviewAPI ReviewAPI SellerTaxonomyAPI SellerTaxonomyAPI ShopAPI ShopAPI ShopHolidayPreferencesAPI ShopHolidayPreferencesAPI ShopListingAPI ShopListingAPI ShopListingFileAPI ShopListingFileAPI ShopListingImageAPI ShopListingImageAPI ShopListingInventoryAPI ShopListingInventoryAPI ShopListingOfferingAPI ShopListingOfferingAPI ShopListingProductAPI ShopListingProductAPI ShopListingTranslationAPI ShopListingTranslationAPI ShopListingVariationImageAPI ShopListingVariationImageAPI ShopListingVideoAPI ShopListingVideoAPI ShopProductionPartnerAPI ShopProductionPartnerAPI ShopReceiptAPI ShopReceiptAPI ShopReceiptTransactionsAPI ShopReceiptTransactionsAPI ShopReturnPolicyAPI ShopReturnPolicyAPI ShopSectionAPI ShopSectionAPI ShopShippingProfileAPI ShopShippingProfileAPI UserAPI UserAPI UserAddressAPI UserAddressAPI // contains filtered or unexported fields }
APIClient manages communication with the Etsy Open API v3 API v3.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BuyerTaxonomyAPI ¶
type BuyerTaxonomyAPI interface { /* GetBuyerTaxonomyNodes Method for GetBuyerTaxonomyNodes <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the full hierarchy tree of buyer taxonomy nodes. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest */ GetBuyerTaxonomyNodes(ctx context.Context) BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest // GetBuyerTaxonomyNodesExecute executes the request // @return BuyerTaxonomyNodes GetBuyerTaxonomyNodesExecute(r BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest) (*BuyerTaxonomyNodes, *http.Response, error) /* GetPropertiesByBuyerTaxonomyId Method for GetPropertiesByBuyerTaxonomyId <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of product properties, with applicable scales and values, supported for a specific buyer taxonomy ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param taxonomyId The unique numeric ID of an Etsy taxonomy node, which is a metadata category for listings organized into the seller taxonomy hierarchy tree. For example, the \"shoes\" taxonomy node (ID: 1429, level: 1) is higher in the hierarchy than \"girls' shoes\" (ID: 1440, level: 2). The taxonomy nodes assigned to a listing support access to specific standardized product scales and properties. For example, listings assigned the taxonomy nodes \"shoes\" or \"girls' shoes\" support access to the \"EU\" shoe size scale with its associated property names and IDs for EU shoe sizes, such as property `value_id`:\"1394\", and `name`:\"38\". @return BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest */ GetPropertiesByBuyerTaxonomyId(ctx context.Context, taxonomyId int64) BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest // GetPropertiesByBuyerTaxonomyIdExecute executes the request // @return BuyerTaxonomyNodeProperties GetPropertiesByBuyerTaxonomyIdExecute(r BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest) (*BuyerTaxonomyNodeProperties, *http.Response, error) }
type BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest ¶
type BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest struct { ApiService BuyerTaxonomyAPI // contains filtered or unexported fields }
func (BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest) Execute ¶
func (r BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest) Execute() (*BuyerTaxonomyNodes, *http.Response, error)
type BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest ¶
type BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest struct { ApiService BuyerTaxonomyAPI // contains filtered or unexported fields }
func (BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest) Execute ¶
func (r BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest) Execute() (*BuyerTaxonomyNodeProperties, *http.Response, error)
type BuyerTaxonomyAPIService ¶
type BuyerTaxonomyAPIService service
BuyerTaxonomyAPIService BuyerTaxonomyAPI service
func (*BuyerTaxonomyAPIService) GetBuyerTaxonomyNodes ¶
func (a *BuyerTaxonomyAPIService) GetBuyerTaxonomyNodes(ctx context.Context) BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest
GetBuyerTaxonomyNodes Method for GetBuyerTaxonomyNodes
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the full hierarchy tree of buyer taxonomy nodes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest
func (*BuyerTaxonomyAPIService) GetBuyerTaxonomyNodesExecute ¶
func (a *BuyerTaxonomyAPIService) GetBuyerTaxonomyNodesExecute(r BuyerTaxonomyAPIGetBuyerTaxonomyNodesRequest) (*BuyerTaxonomyNodes, *http.Response, error)
Execute executes the request
@return BuyerTaxonomyNodes
func (*BuyerTaxonomyAPIService) GetPropertiesByBuyerTaxonomyId ¶
func (a *BuyerTaxonomyAPIService) GetPropertiesByBuyerTaxonomyId(ctx context.Context, taxonomyId int64) BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest
GetPropertiesByBuyerTaxonomyId Method for GetPropertiesByBuyerTaxonomyId
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of product properties, with applicable scales and values, supported for a specific buyer taxonomy ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param taxonomyId The unique numeric ID of an Etsy taxonomy node, which is a metadata category for listings organized into the seller taxonomy hierarchy tree. For example, the \"shoes\" taxonomy node (ID: 1429, level: 1) is higher in the hierarchy than \"girls' shoes\" (ID: 1440, level: 2). The taxonomy nodes assigned to a listing support access to specific standardized product scales and properties. For example, listings assigned the taxonomy nodes \"shoes\" or \"girls' shoes\" support access to the \"EU\" shoe size scale with its associated property names and IDs for EU shoe sizes, such as property `value_id`:\"1394\", and `name`:\"38\". @return BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest
func (*BuyerTaxonomyAPIService) GetPropertiesByBuyerTaxonomyIdExecute ¶
func (a *BuyerTaxonomyAPIService) GetPropertiesByBuyerTaxonomyIdExecute(r BuyerTaxonomyAPIGetPropertiesByBuyerTaxonomyIdRequest) (*BuyerTaxonomyNodeProperties, *http.Response, error)
Execute executes the request
@return BuyerTaxonomyNodeProperties
type BuyerTaxonomyNode ¶
type BuyerTaxonomyNode struct { // The unique numeric ID of an Etsy taxonomy node, which is a metadata category for listings organized into the seller taxonomy hierarchy tree. For example, the \\\"shoes\\\" taxonomy node (ID: 1429, level: 1) is higher in the hierarchy than \\\"girls' shoes\\\" (ID: 1440, level: 2). The taxonomy nodes assigned to a listing support access to specific standardized product scales and properties. For example, listings assigned the taxonomy nodes \\\"shoes\\\" or \\\"girls' shoes\\\" support access to the \\\"EU\\\" shoe size scale with its associated property names and IDs for EU shoe sizes, such as property `value_id`:\\\"1394\\\", and `name`:\\\"38\\\". Id *int64 `json:"id,omitempty"` // The integer depth of this taxonomy node in the seller taxonomy tree, with roots at level 0. Level *int64 `json:"level,omitempty"` // The name string for this taxonomy node. Name *string `json:"name,omitempty"` // The numeric taxonomy ID of the parent of this node. ParentId NullableInt64 `json:"parent_id,omitempty"` // An array of taxonomy nodes for all the direct children of this taxonomy node in the seller taxonomy tree. Children []BuyerTaxonomyNode `json:"children,omitempty"` // An array of `taxonomy_id`s including this node and all of its direct parents in the seller taxonomy tree up to a root node. They are listed in order from root to leaf. FullPathTaxonomyIds []int64 `json:"full_path_taxonomy_ids,omitempty"` AdditionalProperties map[string]interface{} }
BuyerTaxonomyNode A taxonomy node in the buyer taxonomy tree.
func NewBuyerTaxonomyNode ¶
func NewBuyerTaxonomyNode() *BuyerTaxonomyNode
NewBuyerTaxonomyNode instantiates a new BuyerTaxonomyNode 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
func NewBuyerTaxonomyNodeWithDefaults ¶
func NewBuyerTaxonomyNodeWithDefaults() *BuyerTaxonomyNode
NewBuyerTaxonomyNodeWithDefaults instantiates a new BuyerTaxonomyNode 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
func (*BuyerTaxonomyNode) GetChildren ¶
func (o *BuyerTaxonomyNode) GetChildren() []BuyerTaxonomyNode
GetChildren returns the Children field value if set, zero value otherwise.
func (*BuyerTaxonomyNode) GetChildrenOk ¶
func (o *BuyerTaxonomyNode) GetChildrenOk() ([]BuyerTaxonomyNode, bool)
GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNode) GetFullPathTaxonomyIds ¶
func (o *BuyerTaxonomyNode) GetFullPathTaxonomyIds() []int64
GetFullPathTaxonomyIds returns the FullPathTaxonomyIds field value if set, zero value otherwise.
func (*BuyerTaxonomyNode) GetFullPathTaxonomyIdsOk ¶
func (o *BuyerTaxonomyNode) GetFullPathTaxonomyIdsOk() ([]int64, bool)
GetFullPathTaxonomyIdsOk returns a tuple with the FullPathTaxonomyIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNode) GetId ¶
func (o *BuyerTaxonomyNode) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*BuyerTaxonomyNode) GetIdOk ¶
func (o *BuyerTaxonomyNode) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNode) GetLevel ¶
func (o *BuyerTaxonomyNode) GetLevel() int64
GetLevel returns the Level field value if set, zero value otherwise.
func (*BuyerTaxonomyNode) GetLevelOk ¶
func (o *BuyerTaxonomyNode) GetLevelOk() (*int64, bool)
GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNode) GetName ¶
func (o *BuyerTaxonomyNode) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BuyerTaxonomyNode) GetNameOk ¶
func (o *BuyerTaxonomyNode) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNode) GetParentId ¶
func (o *BuyerTaxonomyNode) GetParentId() int64
GetParentId returns the ParentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BuyerTaxonomyNode) GetParentIdOk ¶
func (o *BuyerTaxonomyNode) GetParentIdOk() (*int64, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BuyerTaxonomyNode) HasChildren ¶
func (o *BuyerTaxonomyNode) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (*BuyerTaxonomyNode) HasFullPathTaxonomyIds ¶
func (o *BuyerTaxonomyNode) HasFullPathTaxonomyIds() bool
HasFullPathTaxonomyIds returns a boolean if a field has been set.
func (*BuyerTaxonomyNode) HasId ¶
func (o *BuyerTaxonomyNode) HasId() bool
HasId returns a boolean if a field has been set.
func (*BuyerTaxonomyNode) HasLevel ¶
func (o *BuyerTaxonomyNode) HasLevel() bool
HasLevel returns a boolean if a field has been set.
func (*BuyerTaxonomyNode) HasName ¶
func (o *BuyerTaxonomyNode) HasName() bool
HasName returns a boolean if a field has been set.
func (*BuyerTaxonomyNode) HasParentId ¶
func (o *BuyerTaxonomyNode) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (BuyerTaxonomyNode) MarshalJSON ¶
func (o BuyerTaxonomyNode) MarshalJSON() ([]byte, error)
func (*BuyerTaxonomyNode) SetChildren ¶
func (o *BuyerTaxonomyNode) SetChildren(v []BuyerTaxonomyNode)
SetChildren gets a reference to the given []BuyerTaxonomyNode and assigns it to the Children field.
func (*BuyerTaxonomyNode) SetFullPathTaxonomyIds ¶
func (o *BuyerTaxonomyNode) SetFullPathTaxonomyIds(v []int64)
SetFullPathTaxonomyIds gets a reference to the given []int64 and assigns it to the FullPathTaxonomyIds field.
func (*BuyerTaxonomyNode) SetId ¶
func (o *BuyerTaxonomyNode) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*BuyerTaxonomyNode) SetLevel ¶
func (o *BuyerTaxonomyNode) SetLevel(v int64)
SetLevel gets a reference to the given int64 and assigns it to the Level field.
func (*BuyerTaxonomyNode) SetName ¶
func (o *BuyerTaxonomyNode) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BuyerTaxonomyNode) SetParentId ¶
func (o *BuyerTaxonomyNode) SetParentId(v int64)
SetParentId gets a reference to the given NullableInt64 and assigns it to the ParentId field.
func (*BuyerTaxonomyNode) SetParentIdNil ¶
func (o *BuyerTaxonomyNode) SetParentIdNil()
SetParentIdNil sets the value for ParentId to be an explicit nil
func (BuyerTaxonomyNode) ToMap ¶
func (o BuyerTaxonomyNode) ToMap() (map[string]interface{}, error)
func (*BuyerTaxonomyNode) UnsetParentId ¶
func (o *BuyerTaxonomyNode) UnsetParentId()
UnsetParentId ensures that no value is present for ParentId, not even an explicit nil
type BuyerTaxonomyNodeProperties ¶
type BuyerTaxonomyNodeProperties struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []BuyerTaxonomyNodeProperty `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
BuyerTaxonomyNodeProperties A list of product property definitions.
func NewBuyerTaxonomyNodeProperties ¶
func NewBuyerTaxonomyNodeProperties() *BuyerTaxonomyNodeProperties
NewBuyerTaxonomyNodeProperties instantiates a new BuyerTaxonomyNodeProperties 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
func NewBuyerTaxonomyNodePropertiesWithDefaults ¶
func NewBuyerTaxonomyNodePropertiesWithDefaults() *BuyerTaxonomyNodeProperties
NewBuyerTaxonomyNodePropertiesWithDefaults instantiates a new BuyerTaxonomyNodeProperties 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
func (*BuyerTaxonomyNodeProperties) GetCount ¶
func (o *BuyerTaxonomyNodeProperties) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperties) GetCountOk ¶
func (o *BuyerTaxonomyNodeProperties) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperties) GetResults ¶
func (o *BuyerTaxonomyNodeProperties) GetResults() []BuyerTaxonomyNodeProperty
GetResults returns the Results field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperties) GetResultsOk ¶
func (o *BuyerTaxonomyNodeProperties) GetResultsOk() ([]BuyerTaxonomyNodeProperty, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperties) HasCount ¶
func (o *BuyerTaxonomyNodeProperties) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperties) HasResults ¶
func (o *BuyerTaxonomyNodeProperties) HasResults() bool
HasResults returns a boolean if a field has been set.
func (BuyerTaxonomyNodeProperties) MarshalJSON ¶
func (o BuyerTaxonomyNodeProperties) MarshalJSON() ([]byte, error)
func (*BuyerTaxonomyNodeProperties) SetCount ¶
func (o *BuyerTaxonomyNodeProperties) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*BuyerTaxonomyNodeProperties) SetResults ¶
func (o *BuyerTaxonomyNodeProperties) SetResults(v []BuyerTaxonomyNodeProperty)
SetResults gets a reference to the given []BuyerTaxonomyNodeProperty and assigns it to the Results field.
func (BuyerTaxonomyNodeProperties) ToMap ¶
func (o BuyerTaxonomyNodeProperties) ToMap() (map[string]interface{}, error)
type BuyerTaxonomyNodeProperty ¶
type BuyerTaxonomyNodeProperty struct { // The unique numeric ID of this product property. PropertyId *int64 `json:"property_id,omitempty"` // The name string for this taxonomy node. Name *string `json:"name,omitempty"` // The human-readable product property name string. DisplayName *string `json:"display_name,omitempty"` // A list of available scales. Scales []BuyerTaxonomyPropertyScale `json:"scales,omitempty"` // When true, listings assigned eligible taxonomy IDs require this property. IsRequired *bool `json:"is_required,omitempty"` // When true, you can use this property in listing attributes. SupportsAttributes *bool `json:"supports_attributes,omitempty"` // When true, you can use this property in listing variations. SupportsVariations *bool `json:"supports_variations,omitempty"` // When true, you can assign multiple property values to this property IsMultivalued *bool `json:"is_multivalued,omitempty"` // When true, you can assign multiple property values to this property MaxValuesAllowed NullableInt64 `json:"max_values_allowed,omitempty"` // A list of supported property value strings for this property. PossibleValues []BuyerTaxonomyPropertyValue `json:"possible_values,omitempty"` // A list of property value strings automatically and always selected for the given property. SelectedValues []BuyerTaxonomyPropertyValue `json:"selected_values,omitempty"` AdditionalProperties map[string]interface{} }
BuyerTaxonomyNodeProperty A product property definition.
func NewBuyerTaxonomyNodeProperty ¶
func NewBuyerTaxonomyNodeProperty() *BuyerTaxonomyNodeProperty
NewBuyerTaxonomyNodeProperty instantiates a new BuyerTaxonomyNodeProperty 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
func NewBuyerTaxonomyNodePropertyWithDefaults ¶
func NewBuyerTaxonomyNodePropertyWithDefaults() *BuyerTaxonomyNodeProperty
NewBuyerTaxonomyNodePropertyWithDefaults instantiates a new BuyerTaxonomyNodeProperty 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
func (*BuyerTaxonomyNodeProperty) GetDisplayName ¶
func (o *BuyerTaxonomyNodeProperty) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetDisplayNameOk ¶
func (o *BuyerTaxonomyNodeProperty) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetIsMultivalued ¶
func (o *BuyerTaxonomyNodeProperty) GetIsMultivalued() bool
GetIsMultivalued returns the IsMultivalued field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetIsMultivaluedOk ¶
func (o *BuyerTaxonomyNodeProperty) GetIsMultivaluedOk() (*bool, bool)
GetIsMultivaluedOk returns a tuple with the IsMultivalued field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetIsRequired ¶
func (o *BuyerTaxonomyNodeProperty) GetIsRequired() bool
GetIsRequired returns the IsRequired field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetIsRequiredOk ¶
func (o *BuyerTaxonomyNodeProperty) GetIsRequiredOk() (*bool, bool)
GetIsRequiredOk returns a tuple with the IsRequired field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetMaxValuesAllowed ¶
func (o *BuyerTaxonomyNodeProperty) GetMaxValuesAllowed() int64
GetMaxValuesAllowed returns the MaxValuesAllowed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BuyerTaxonomyNodeProperty) GetMaxValuesAllowedOk ¶
func (o *BuyerTaxonomyNodeProperty) GetMaxValuesAllowedOk() (*int64, bool)
GetMaxValuesAllowedOk returns a tuple with the MaxValuesAllowed field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BuyerTaxonomyNodeProperty) GetName ¶
func (o *BuyerTaxonomyNodeProperty) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetNameOk ¶
func (o *BuyerTaxonomyNodeProperty) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetPossibleValues ¶
func (o *BuyerTaxonomyNodeProperty) GetPossibleValues() []BuyerTaxonomyPropertyValue
GetPossibleValues returns the PossibleValues field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetPossibleValuesOk ¶
func (o *BuyerTaxonomyNodeProperty) GetPossibleValuesOk() ([]BuyerTaxonomyPropertyValue, bool)
GetPossibleValuesOk returns a tuple with the PossibleValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetPropertyId ¶
func (o *BuyerTaxonomyNodeProperty) GetPropertyId() int64
GetPropertyId returns the PropertyId field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetPropertyIdOk ¶
func (o *BuyerTaxonomyNodeProperty) GetPropertyIdOk() (*int64, bool)
GetPropertyIdOk returns a tuple with the PropertyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetScales ¶
func (o *BuyerTaxonomyNodeProperty) GetScales() []BuyerTaxonomyPropertyScale
GetScales returns the Scales field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetScalesOk ¶
func (o *BuyerTaxonomyNodeProperty) GetScalesOk() ([]BuyerTaxonomyPropertyScale, bool)
GetScalesOk returns a tuple with the Scales field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetSelectedValues ¶
func (o *BuyerTaxonomyNodeProperty) GetSelectedValues() []BuyerTaxonomyPropertyValue
GetSelectedValues returns the SelectedValues field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetSelectedValuesOk ¶
func (o *BuyerTaxonomyNodeProperty) GetSelectedValuesOk() ([]BuyerTaxonomyPropertyValue, bool)
GetSelectedValuesOk returns a tuple with the SelectedValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetSupportsAttributes ¶
func (o *BuyerTaxonomyNodeProperty) GetSupportsAttributes() bool
GetSupportsAttributes returns the SupportsAttributes field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetSupportsAttributesOk ¶
func (o *BuyerTaxonomyNodeProperty) GetSupportsAttributesOk() (*bool, bool)
GetSupportsAttributesOk returns a tuple with the SupportsAttributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) GetSupportsVariations ¶
func (o *BuyerTaxonomyNodeProperty) GetSupportsVariations() bool
GetSupportsVariations returns the SupportsVariations field value if set, zero value otherwise.
func (*BuyerTaxonomyNodeProperty) GetSupportsVariationsOk ¶
func (o *BuyerTaxonomyNodeProperty) GetSupportsVariationsOk() (*bool, bool)
GetSupportsVariationsOk returns a tuple with the SupportsVariations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodeProperty) HasDisplayName ¶
func (o *BuyerTaxonomyNodeProperty) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasIsMultivalued ¶
func (o *BuyerTaxonomyNodeProperty) HasIsMultivalued() bool
HasIsMultivalued returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasIsRequired ¶
func (o *BuyerTaxonomyNodeProperty) HasIsRequired() bool
HasIsRequired returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasMaxValuesAllowed ¶
func (o *BuyerTaxonomyNodeProperty) HasMaxValuesAllowed() bool
HasMaxValuesAllowed returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasName ¶
func (o *BuyerTaxonomyNodeProperty) HasName() bool
HasName returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasPossibleValues ¶
func (o *BuyerTaxonomyNodeProperty) HasPossibleValues() bool
HasPossibleValues returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasPropertyId ¶
func (o *BuyerTaxonomyNodeProperty) HasPropertyId() bool
HasPropertyId returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasScales ¶
func (o *BuyerTaxonomyNodeProperty) HasScales() bool
HasScales returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasSelectedValues ¶
func (o *BuyerTaxonomyNodeProperty) HasSelectedValues() bool
HasSelectedValues returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasSupportsAttributes ¶
func (o *BuyerTaxonomyNodeProperty) HasSupportsAttributes() bool
HasSupportsAttributes returns a boolean if a field has been set.
func (*BuyerTaxonomyNodeProperty) HasSupportsVariations ¶
func (o *BuyerTaxonomyNodeProperty) HasSupportsVariations() bool
HasSupportsVariations returns a boolean if a field has been set.
func (BuyerTaxonomyNodeProperty) MarshalJSON ¶
func (o BuyerTaxonomyNodeProperty) MarshalJSON() ([]byte, error)
func (*BuyerTaxonomyNodeProperty) SetDisplayName ¶
func (o *BuyerTaxonomyNodeProperty) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*BuyerTaxonomyNodeProperty) SetIsMultivalued ¶
func (o *BuyerTaxonomyNodeProperty) SetIsMultivalued(v bool)
SetIsMultivalued gets a reference to the given bool and assigns it to the IsMultivalued field.
func (*BuyerTaxonomyNodeProperty) SetIsRequired ¶
func (o *BuyerTaxonomyNodeProperty) SetIsRequired(v bool)
SetIsRequired gets a reference to the given bool and assigns it to the IsRequired field.
func (*BuyerTaxonomyNodeProperty) SetMaxValuesAllowed ¶
func (o *BuyerTaxonomyNodeProperty) SetMaxValuesAllowed(v int64)
SetMaxValuesAllowed gets a reference to the given NullableInt64 and assigns it to the MaxValuesAllowed field.
func (*BuyerTaxonomyNodeProperty) SetMaxValuesAllowedNil ¶
func (o *BuyerTaxonomyNodeProperty) SetMaxValuesAllowedNil()
SetMaxValuesAllowedNil sets the value for MaxValuesAllowed to be an explicit nil
func (*BuyerTaxonomyNodeProperty) SetName ¶
func (o *BuyerTaxonomyNodeProperty) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BuyerTaxonomyNodeProperty) SetPossibleValues ¶
func (o *BuyerTaxonomyNodeProperty) SetPossibleValues(v []BuyerTaxonomyPropertyValue)
SetPossibleValues gets a reference to the given []BuyerTaxonomyPropertyValue and assigns it to the PossibleValues field.
func (*BuyerTaxonomyNodeProperty) SetPropertyId ¶
func (o *BuyerTaxonomyNodeProperty) SetPropertyId(v int64)
SetPropertyId gets a reference to the given int64 and assigns it to the PropertyId field.
func (*BuyerTaxonomyNodeProperty) SetScales ¶
func (o *BuyerTaxonomyNodeProperty) SetScales(v []BuyerTaxonomyPropertyScale)
SetScales gets a reference to the given []BuyerTaxonomyPropertyScale and assigns it to the Scales field.
func (*BuyerTaxonomyNodeProperty) SetSelectedValues ¶
func (o *BuyerTaxonomyNodeProperty) SetSelectedValues(v []BuyerTaxonomyPropertyValue)
SetSelectedValues gets a reference to the given []BuyerTaxonomyPropertyValue and assigns it to the SelectedValues field.
func (*BuyerTaxonomyNodeProperty) SetSupportsAttributes ¶
func (o *BuyerTaxonomyNodeProperty) SetSupportsAttributes(v bool)
SetSupportsAttributes gets a reference to the given bool and assigns it to the SupportsAttributes field.
func (*BuyerTaxonomyNodeProperty) SetSupportsVariations ¶
func (o *BuyerTaxonomyNodeProperty) SetSupportsVariations(v bool)
SetSupportsVariations gets a reference to the given bool and assigns it to the SupportsVariations field.
func (BuyerTaxonomyNodeProperty) ToMap ¶
func (o BuyerTaxonomyNodeProperty) ToMap() (map[string]interface{}, error)
func (*BuyerTaxonomyNodeProperty) UnsetMaxValuesAllowed ¶
func (o *BuyerTaxonomyNodeProperty) UnsetMaxValuesAllowed()
UnsetMaxValuesAllowed ensures that no value is present for MaxValuesAllowed, not even an explicit nil
type BuyerTaxonomyNodes ¶
type BuyerTaxonomyNodes struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []BuyerTaxonomyNode `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
BuyerTaxonomyNodes A list of taxonomy nodes from the buyer taxonomy tree.
func NewBuyerTaxonomyNodes ¶
func NewBuyerTaxonomyNodes() *BuyerTaxonomyNodes
NewBuyerTaxonomyNodes instantiates a new BuyerTaxonomyNodes 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
func NewBuyerTaxonomyNodesWithDefaults ¶
func NewBuyerTaxonomyNodesWithDefaults() *BuyerTaxonomyNodes
NewBuyerTaxonomyNodesWithDefaults instantiates a new BuyerTaxonomyNodes 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
func (*BuyerTaxonomyNodes) GetCount ¶
func (o *BuyerTaxonomyNodes) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*BuyerTaxonomyNodes) GetCountOk ¶
func (o *BuyerTaxonomyNodes) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodes) GetResults ¶
func (o *BuyerTaxonomyNodes) GetResults() []BuyerTaxonomyNode
GetResults returns the Results field value if set, zero value otherwise.
func (*BuyerTaxonomyNodes) GetResultsOk ¶
func (o *BuyerTaxonomyNodes) GetResultsOk() ([]BuyerTaxonomyNode, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyNodes) HasCount ¶
func (o *BuyerTaxonomyNodes) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*BuyerTaxonomyNodes) HasResults ¶
func (o *BuyerTaxonomyNodes) HasResults() bool
HasResults returns a boolean if a field has been set.
func (BuyerTaxonomyNodes) MarshalJSON ¶
func (o BuyerTaxonomyNodes) MarshalJSON() ([]byte, error)
func (*BuyerTaxonomyNodes) SetCount ¶
func (o *BuyerTaxonomyNodes) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*BuyerTaxonomyNodes) SetResults ¶
func (o *BuyerTaxonomyNodes) SetResults(v []BuyerTaxonomyNode)
SetResults gets a reference to the given []BuyerTaxonomyNode and assigns it to the Results field.
func (BuyerTaxonomyNodes) ToMap ¶
func (o BuyerTaxonomyNodes) ToMap() (map[string]interface{}, error)
type BuyerTaxonomyPropertyScale ¶
type BuyerTaxonomyPropertyScale struct { // The unique numeric ID of a scale. ScaleId *int64 `json:"scale_id,omitempty"` // The name string for a scale. DisplayName *string `json:"display_name,omitempty"` // The description string for a scale. Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} }
BuyerTaxonomyPropertyScale A scale defnining the assignable increments for the property values available to specific product properties.
func NewBuyerTaxonomyPropertyScale ¶
func NewBuyerTaxonomyPropertyScale() *BuyerTaxonomyPropertyScale
NewBuyerTaxonomyPropertyScale instantiates a new BuyerTaxonomyPropertyScale 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
func NewBuyerTaxonomyPropertyScaleWithDefaults ¶
func NewBuyerTaxonomyPropertyScaleWithDefaults() *BuyerTaxonomyPropertyScale
NewBuyerTaxonomyPropertyScaleWithDefaults instantiates a new BuyerTaxonomyPropertyScale 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
func (*BuyerTaxonomyPropertyScale) GetDescription ¶
func (o *BuyerTaxonomyPropertyScale) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*BuyerTaxonomyPropertyScale) GetDescriptionOk ¶
func (o *BuyerTaxonomyPropertyScale) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyPropertyScale) GetDisplayName ¶
func (o *BuyerTaxonomyPropertyScale) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*BuyerTaxonomyPropertyScale) GetDisplayNameOk ¶
func (o *BuyerTaxonomyPropertyScale) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyPropertyScale) GetScaleId ¶
func (o *BuyerTaxonomyPropertyScale) GetScaleId() int64
GetScaleId returns the ScaleId field value if set, zero value otherwise.
func (*BuyerTaxonomyPropertyScale) GetScaleIdOk ¶
func (o *BuyerTaxonomyPropertyScale) GetScaleIdOk() (*int64, bool)
GetScaleIdOk returns a tuple with the ScaleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyPropertyScale) HasDescription ¶
func (o *BuyerTaxonomyPropertyScale) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*BuyerTaxonomyPropertyScale) HasDisplayName ¶
func (o *BuyerTaxonomyPropertyScale) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*BuyerTaxonomyPropertyScale) HasScaleId ¶
func (o *BuyerTaxonomyPropertyScale) HasScaleId() bool
HasScaleId returns a boolean if a field has been set.
func (BuyerTaxonomyPropertyScale) MarshalJSON ¶
func (o BuyerTaxonomyPropertyScale) MarshalJSON() ([]byte, error)
func (*BuyerTaxonomyPropertyScale) SetDescription ¶
func (o *BuyerTaxonomyPropertyScale) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*BuyerTaxonomyPropertyScale) SetDisplayName ¶
func (o *BuyerTaxonomyPropertyScale) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*BuyerTaxonomyPropertyScale) SetScaleId ¶
func (o *BuyerTaxonomyPropertyScale) SetScaleId(v int64)
SetScaleId gets a reference to the given int64 and assigns it to the ScaleId field.
func (BuyerTaxonomyPropertyScale) ToMap ¶
func (o BuyerTaxonomyPropertyScale) ToMap() (map[string]interface{}, error)
type BuyerTaxonomyPropertyValue ¶
type BuyerTaxonomyPropertyValue struct { // The numeric ID of this property value. ValueId NullableInt64 `json:"value_id,omitempty"` // The name string of this property value. Name *string `json:"name,omitempty"` // The numeric scale ID of the scale to which this property value belongs. ScaleId NullableInt64 `json:"scale_id,omitempty"` // A list of numeric property value IDs this property value is equal to (if any). EqualTo []int64 `json:"equal_to,omitempty"` AdditionalProperties map[string]interface{} }
BuyerTaxonomyPropertyValue A property value for a specific product property, which may also employ a specific scale.
func NewBuyerTaxonomyPropertyValue ¶
func NewBuyerTaxonomyPropertyValue() *BuyerTaxonomyPropertyValue
NewBuyerTaxonomyPropertyValue instantiates a new BuyerTaxonomyPropertyValue 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
func NewBuyerTaxonomyPropertyValueWithDefaults ¶
func NewBuyerTaxonomyPropertyValueWithDefaults() *BuyerTaxonomyPropertyValue
NewBuyerTaxonomyPropertyValueWithDefaults instantiates a new BuyerTaxonomyPropertyValue 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
func (*BuyerTaxonomyPropertyValue) GetEqualTo ¶
func (o *BuyerTaxonomyPropertyValue) GetEqualTo() []int64
GetEqualTo returns the EqualTo field value if set, zero value otherwise.
func (*BuyerTaxonomyPropertyValue) GetEqualToOk ¶
func (o *BuyerTaxonomyPropertyValue) GetEqualToOk() ([]int64, bool)
GetEqualToOk returns a tuple with the EqualTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyPropertyValue) GetName ¶
func (o *BuyerTaxonomyPropertyValue) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BuyerTaxonomyPropertyValue) GetNameOk ¶
func (o *BuyerTaxonomyPropertyValue) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuyerTaxonomyPropertyValue) GetScaleId ¶
func (o *BuyerTaxonomyPropertyValue) GetScaleId() int64
GetScaleId returns the ScaleId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BuyerTaxonomyPropertyValue) GetScaleIdOk ¶
func (o *BuyerTaxonomyPropertyValue) GetScaleIdOk() (*int64, bool)
GetScaleIdOk returns a tuple with the ScaleId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BuyerTaxonomyPropertyValue) GetValueId ¶
func (o *BuyerTaxonomyPropertyValue) GetValueId() int64
GetValueId returns the ValueId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BuyerTaxonomyPropertyValue) GetValueIdOk ¶
func (o *BuyerTaxonomyPropertyValue) GetValueIdOk() (*int64, bool)
GetValueIdOk returns a tuple with the ValueId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BuyerTaxonomyPropertyValue) HasEqualTo ¶
func (o *BuyerTaxonomyPropertyValue) HasEqualTo() bool
HasEqualTo returns a boolean if a field has been set.
func (*BuyerTaxonomyPropertyValue) HasName ¶
func (o *BuyerTaxonomyPropertyValue) HasName() bool
HasName returns a boolean if a field has been set.
func (*BuyerTaxonomyPropertyValue) HasScaleId ¶
func (o *BuyerTaxonomyPropertyValue) HasScaleId() bool
HasScaleId returns a boolean if a field has been set.
func (*BuyerTaxonomyPropertyValue) HasValueId ¶
func (o *BuyerTaxonomyPropertyValue) HasValueId() bool
HasValueId returns a boolean if a field has been set.
func (BuyerTaxonomyPropertyValue) MarshalJSON ¶
func (o BuyerTaxonomyPropertyValue) MarshalJSON() ([]byte, error)
func (*BuyerTaxonomyPropertyValue) SetEqualTo ¶
func (o *BuyerTaxonomyPropertyValue) SetEqualTo(v []int64)
SetEqualTo gets a reference to the given []int64 and assigns it to the EqualTo field.
func (*BuyerTaxonomyPropertyValue) SetName ¶
func (o *BuyerTaxonomyPropertyValue) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BuyerTaxonomyPropertyValue) SetScaleId ¶
func (o *BuyerTaxonomyPropertyValue) SetScaleId(v int64)
SetScaleId gets a reference to the given NullableInt64 and assigns it to the ScaleId field.
func (*BuyerTaxonomyPropertyValue) SetScaleIdNil ¶
func (o *BuyerTaxonomyPropertyValue) SetScaleIdNil()
SetScaleIdNil sets the value for ScaleId to be an explicit nil
func (*BuyerTaxonomyPropertyValue) SetValueId ¶
func (o *BuyerTaxonomyPropertyValue) SetValueId(v int64)
SetValueId gets a reference to the given NullableInt64 and assigns it to the ValueId field.
func (*BuyerTaxonomyPropertyValue) SetValueIdNil ¶
func (o *BuyerTaxonomyPropertyValue) SetValueIdNil()
SetValueIdNil sets the value for ValueId to be an explicit nil
func (BuyerTaxonomyPropertyValue) ToMap ¶
func (o BuyerTaxonomyPropertyValue) ToMap() (map[string]interface{}, error)
func (*BuyerTaxonomyPropertyValue) UnsetScaleId ¶
func (o *BuyerTaxonomyPropertyValue) UnsetScaleId()
UnsetScaleId ensures that no value is present for ScaleId, not even an explicit nil
func (*BuyerTaxonomyPropertyValue) UnsetValueId ¶
func (o *BuyerTaxonomyPropertyValue) UnsetValueId()
UnsetValueId ensures that no value is present for ValueId, not even an explicit nil
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateDraftListingRequestItemDimensionsUnit ¶
type CreateDraftListingRequestItemDimensionsUnit string
CreateDraftListingRequestItemDimensionsUnit A string defining the units used to measure the dimensions of the product. Default value is null.
const ( CREATEDRAFTLISTINGREQUESTITEMDIMENSIONSUNIT_IN CreateDraftListingRequestItemDimensionsUnit = "in" CREATEDRAFTLISTINGREQUESTITEMDIMENSIONSUNIT_FT CreateDraftListingRequestItemDimensionsUnit = "ft" CREATEDRAFTLISTINGREQUESTITEMDIMENSIONSUNIT_MM CreateDraftListingRequestItemDimensionsUnit = "mm" CREATEDRAFTLISTINGREQUESTITEMDIMENSIONSUNIT_CM CreateDraftListingRequestItemDimensionsUnit = "cm" CREATEDRAFTLISTINGREQUESTITEMDIMENSIONSUNIT_M CreateDraftListingRequestItemDimensionsUnit = "m" CREATEDRAFTLISTINGREQUESTITEMDIMENSIONSUNIT_YD CreateDraftListingRequestItemDimensionsUnit = "yd" CREATEDRAFTLISTINGREQUESTITEMDIMENSIONSUNIT_INCHES CreateDraftListingRequestItemDimensionsUnit = "inches" )
List of createDraftListing_request_item_dimensions_unit
func NewCreateDraftListingRequestItemDimensionsUnitFromValue ¶
func NewCreateDraftListingRequestItemDimensionsUnitFromValue(v string) (*CreateDraftListingRequestItemDimensionsUnit, error)
NewCreateDraftListingRequestItemDimensionsUnitFromValue returns a pointer to a valid CreateDraftListingRequestItemDimensionsUnit for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateDraftListingRequestItemDimensionsUnit) IsValid ¶
func (v CreateDraftListingRequestItemDimensionsUnit) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateDraftListingRequestItemDimensionsUnit) Ptr ¶
func (v CreateDraftListingRequestItemDimensionsUnit) Ptr() *CreateDraftListingRequestItemDimensionsUnit
Ptr returns reference to createDraftListing_request_item_dimensions_unit value
func (*CreateDraftListingRequestItemDimensionsUnit) UnmarshalJSON ¶
func (v *CreateDraftListingRequestItemDimensionsUnit) UnmarshalJSON(src []byte) error
type CreateDraftListingRequestItemWeightUnit ¶
type CreateDraftListingRequestItemWeightUnit string
CreateDraftListingRequestItemWeightUnit A string defining the units used to measure the weight of the product. Default value is null.
const ( CREATEDRAFTLISTINGREQUESTITEMWEIGHTUNIT_OZ CreateDraftListingRequestItemWeightUnit = "oz" CREATEDRAFTLISTINGREQUESTITEMWEIGHTUNIT_LB CreateDraftListingRequestItemWeightUnit = "lb" CREATEDRAFTLISTINGREQUESTITEMWEIGHTUNIT_G CreateDraftListingRequestItemWeightUnit = "g" CREATEDRAFTLISTINGREQUESTITEMWEIGHTUNIT_KG CreateDraftListingRequestItemWeightUnit = "kg" )
List of createDraftListing_request_item_weight_unit
func NewCreateDraftListingRequestItemWeightUnitFromValue ¶
func NewCreateDraftListingRequestItemWeightUnitFromValue(v string) (*CreateDraftListingRequestItemWeightUnit, error)
NewCreateDraftListingRequestItemWeightUnitFromValue returns a pointer to a valid CreateDraftListingRequestItemWeightUnit for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateDraftListingRequestItemWeightUnit) IsValid ¶
func (v CreateDraftListingRequestItemWeightUnit) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateDraftListingRequestItemWeightUnit) Ptr ¶
Ptr returns reference to createDraftListing_request_item_weight_unit value
func (*CreateDraftListingRequestItemWeightUnit) UnmarshalJSON ¶
func (v *CreateDraftListingRequestItemWeightUnit) UnmarshalJSON(src []byte) error
type CreateDraftListingRequestType ¶
type CreateDraftListingRequestType string
CreateDraftListingRequestType An enumerated type string that indicates whether the listing is physical or a digital download.
const ( CREATEDRAFTLISTINGREQUESTTYPE_PHYSICAL CreateDraftListingRequestType = "physical" CREATEDRAFTLISTINGREQUESTTYPE_DOWNLOAD CreateDraftListingRequestType = "download" CREATEDRAFTLISTINGREQUESTTYPE_BOTH CreateDraftListingRequestType = "both" )
List of createDraftListing_request_type
func NewCreateDraftListingRequestTypeFromValue ¶
func NewCreateDraftListingRequestTypeFromValue(v string) (*CreateDraftListingRequestType, error)
NewCreateDraftListingRequestTypeFromValue returns a pointer to a valid CreateDraftListingRequestType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateDraftListingRequestType) IsValid ¶
func (v CreateDraftListingRequestType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateDraftListingRequestType) Ptr ¶
func (v CreateDraftListingRequestType) Ptr() *CreateDraftListingRequestType
Ptr returns reference to createDraftListing_request_type value
func (*CreateDraftListingRequestType) UnmarshalJSON ¶
func (v *CreateDraftListingRequestType) UnmarshalJSON(src []byte) error
type CreateDraftListingRequestWhenMade ¶
type CreateDraftListingRequestWhenMade string
CreateDraftListingRequestWhenMade An enumerated string for the era in which the maker made the product in this listing. Helps buyers locate the listing under the Vintage heading. Requires 'is_supply' and 'who_made'.
const ( CREATEDRAFTLISTINGREQUESTWHENMADE_MADE_TO_ORDER CreateDraftListingRequestWhenMade = "made_to_order" CREATEDRAFTLISTINGREQUESTWHENMADE__2020_2024 CreateDraftListingRequestWhenMade = "2020_2024" CREATEDRAFTLISTINGREQUESTWHENMADE__2010_2019 CreateDraftListingRequestWhenMade = "2010_2019" CREATEDRAFTLISTINGREQUESTWHENMADE__2005_2009 CreateDraftListingRequestWhenMade = "2005_2009" CREATEDRAFTLISTINGREQUESTWHENMADE_BEFORE_2005 CreateDraftListingRequestWhenMade = "before_2005" CREATEDRAFTLISTINGREQUESTWHENMADE__2000_2004 CreateDraftListingRequestWhenMade = "2000_2004" CREATEDRAFTLISTINGREQUESTWHENMADE__1990S CreateDraftListingRequestWhenMade = "1990s" CREATEDRAFTLISTINGREQUESTWHENMADE__1980S CreateDraftListingRequestWhenMade = "1980s" CREATEDRAFTLISTINGREQUESTWHENMADE__1970S CreateDraftListingRequestWhenMade = "1970s" CREATEDRAFTLISTINGREQUESTWHENMADE__1960S CreateDraftListingRequestWhenMade = "1960s" CREATEDRAFTLISTINGREQUESTWHENMADE__1950S CreateDraftListingRequestWhenMade = "1950s" CREATEDRAFTLISTINGREQUESTWHENMADE__1940S CreateDraftListingRequestWhenMade = "1940s" CREATEDRAFTLISTINGREQUESTWHENMADE__1930S CreateDraftListingRequestWhenMade = "1930s" CREATEDRAFTLISTINGREQUESTWHENMADE__1920S CreateDraftListingRequestWhenMade = "1920s" CREATEDRAFTLISTINGREQUESTWHENMADE__1910S CreateDraftListingRequestWhenMade = "1910s" CREATEDRAFTLISTINGREQUESTWHENMADE__1900S CreateDraftListingRequestWhenMade = "1900s" CREATEDRAFTLISTINGREQUESTWHENMADE__1800S CreateDraftListingRequestWhenMade = "1800s" CREATEDRAFTLISTINGREQUESTWHENMADE__1700S CreateDraftListingRequestWhenMade = "1700s" CREATEDRAFTLISTINGREQUESTWHENMADE_BEFORE_1700 CreateDraftListingRequestWhenMade = "before_1700" )
List of createDraftListing_request_when_made
func NewCreateDraftListingRequestWhenMadeFromValue ¶
func NewCreateDraftListingRequestWhenMadeFromValue(v string) (*CreateDraftListingRequestWhenMade, error)
NewCreateDraftListingRequestWhenMadeFromValue returns a pointer to a valid CreateDraftListingRequestWhenMade for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateDraftListingRequestWhenMade) IsValid ¶
func (v CreateDraftListingRequestWhenMade) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateDraftListingRequestWhenMade) Ptr ¶
func (v CreateDraftListingRequestWhenMade) Ptr() *CreateDraftListingRequestWhenMade
Ptr returns reference to createDraftListing_request_when_made value
func (*CreateDraftListingRequestWhenMade) UnmarshalJSON ¶
func (v *CreateDraftListingRequestWhenMade) UnmarshalJSON(src []byte) error
type CreateDraftListingRequestWhoMade ¶
type CreateDraftListingRequestWhoMade string
CreateDraftListingRequestWhoMade An enumerated string indicating who made the product. Helps buyers locate the listing under the Handmade heading. Requires 'is_supply' and 'when_made'.
const ( CREATEDRAFTLISTINGREQUESTWHOMADE_I_DID CreateDraftListingRequestWhoMade = "i_did" CREATEDRAFTLISTINGREQUESTWHOMADE_SOMEONE_ELSE CreateDraftListingRequestWhoMade = "someone_else" CREATEDRAFTLISTINGREQUESTWHOMADE_COLLECTIVE CreateDraftListingRequestWhoMade = "collective" )
List of createDraftListing_request_who_made
func NewCreateDraftListingRequestWhoMadeFromValue ¶
func NewCreateDraftListingRequestWhoMadeFromValue(v string) (*CreateDraftListingRequestWhoMade, error)
NewCreateDraftListingRequestWhoMadeFromValue returns a pointer to a valid CreateDraftListingRequestWhoMade for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateDraftListingRequestWhoMade) IsValid ¶
func (v CreateDraftListingRequestWhoMade) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateDraftListingRequestWhoMade) Ptr ¶
func (v CreateDraftListingRequestWhoMade) Ptr() *CreateDraftListingRequestWhoMade
Ptr returns reference to createDraftListing_request_who_made value
func (*CreateDraftListingRequestWhoMade) UnmarshalJSON ¶
func (v *CreateDraftListingRequestWhoMade) UnmarshalJSON(src []byte) error
type CreateShopShippingProfileRequestDestinationRegion ¶
type CreateShopShippingProfileRequestDestinationRegion string
CreateShopShippingProfileRequestDestinationRegion The code of the region to which the listing ships. A region represents a set of countries. Supported regions are Europe Union and Non-Europe Union (countries in Europe not in EU). If `none`, request sets destination to destination_country_iso. Required if destination_country_iso is null or not provided.
const ( CREATESHOPSHIPPINGPROFILEREQUESTDESTINATIONREGION_EU CreateShopShippingProfileRequestDestinationRegion = "eu" CREATESHOPSHIPPINGPROFILEREQUESTDESTINATIONREGION_NON_EU CreateShopShippingProfileRequestDestinationRegion = "non_eu" CREATESHOPSHIPPINGPROFILEREQUESTDESTINATIONREGION_NONE CreateShopShippingProfileRequestDestinationRegion = "none" )
List of createShopShippingProfile_request_destination_region
func NewCreateShopShippingProfileRequestDestinationRegionFromValue ¶
func NewCreateShopShippingProfileRequestDestinationRegionFromValue(v string) (*CreateShopShippingProfileRequestDestinationRegion, error)
NewCreateShopShippingProfileRequestDestinationRegionFromValue returns a pointer to a valid CreateShopShippingProfileRequestDestinationRegion for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateShopShippingProfileRequestDestinationRegion) IsValid ¶
func (v CreateShopShippingProfileRequestDestinationRegion) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateShopShippingProfileRequestDestinationRegion) Ptr ¶
func (v CreateShopShippingProfileRequestDestinationRegion) Ptr() *CreateShopShippingProfileRequestDestinationRegion
Ptr returns reference to createShopShippingProfile_request_destination_region value
func (*CreateShopShippingProfileRequestDestinationRegion) UnmarshalJSON ¶
func (v *CreateShopShippingProfileRequestDestinationRegion) UnmarshalJSON(src []byte) error
type CreateShopShippingProfileRequestProcessingTimeUnit ¶
type CreateShopShippingProfileRequestProcessingTimeUnit string
CreateShopShippingProfileRequestProcessingTimeUnit The unit used to represent how long a processing time is. A week is equivalent to 5 business days. If none is provided, the unit is set to \"business_days\".
const ( CREATESHOPSHIPPINGPROFILEREQUESTPROCESSINGTIMEUNIT_BUSINESS_DAYS CreateShopShippingProfileRequestProcessingTimeUnit = "business_days" CREATESHOPSHIPPINGPROFILEREQUESTPROCESSINGTIMEUNIT_WEEKS CreateShopShippingProfileRequestProcessingTimeUnit = "weeks" )
List of createShopShippingProfile_request_processing_time_unit
func NewCreateShopShippingProfileRequestProcessingTimeUnitFromValue ¶
func NewCreateShopShippingProfileRequestProcessingTimeUnitFromValue(v string) (*CreateShopShippingProfileRequestProcessingTimeUnit, error)
NewCreateShopShippingProfileRequestProcessingTimeUnitFromValue returns a pointer to a valid CreateShopShippingProfileRequestProcessingTimeUnit for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateShopShippingProfileRequestProcessingTimeUnit) IsValid ¶
func (v CreateShopShippingProfileRequestProcessingTimeUnit) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateShopShippingProfileRequestProcessingTimeUnit) Ptr ¶
func (v CreateShopShippingProfileRequestProcessingTimeUnit) Ptr() *CreateShopShippingProfileRequestProcessingTimeUnit
Ptr returns reference to createShopShippingProfile_request_processing_time_unit value
func (*CreateShopShippingProfileRequestProcessingTimeUnit) UnmarshalJSON ¶
func (v *CreateShopShippingProfileRequestProcessingTimeUnit) UnmarshalJSON(src []byte) error
type CreateShopShippingProfileUpgradeRequestType ¶
type CreateShopShippingProfileUpgradeRequestType string
CreateShopShippingProfileUpgradeRequestType The type of the shipping upgrade. Domestic (0) or international (1).
const ( CREATESHOPSHIPPINGPROFILEUPGRADEREQUESTTYPE__0 CreateShopShippingProfileUpgradeRequestType = "0" CREATESHOPSHIPPINGPROFILEUPGRADEREQUESTTYPE__1 CreateShopShippingProfileUpgradeRequestType = "1" )
List of createShopShippingProfileUpgrade_request_type
func NewCreateShopShippingProfileUpgradeRequestTypeFromValue ¶
func NewCreateShopShippingProfileUpgradeRequestTypeFromValue(v string) (*CreateShopShippingProfileUpgradeRequestType, error)
NewCreateShopShippingProfileUpgradeRequestTypeFromValue returns a pointer to a valid CreateShopShippingProfileUpgradeRequestType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (CreateShopShippingProfileUpgradeRequestType) IsValid ¶
func (v CreateShopShippingProfileUpgradeRequestType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (CreateShopShippingProfileUpgradeRequestType) Ptr ¶
func (v CreateShopShippingProfileUpgradeRequestType) Ptr() *CreateShopShippingProfileUpgradeRequestType
Ptr returns reference to createShopShippingProfileUpgrade_request_type value
func (*CreateShopShippingProfileUpgradeRequestType) UnmarshalJSON ¶
func (v *CreateShopShippingProfileUpgradeRequestType) UnmarshalJSON(src []byte) error
type ErrorSchema ¶
ErrorSchema struct for ErrorSchema
func NewErrorSchema ¶
func NewErrorSchema(error_ string) *ErrorSchema
NewErrorSchema instantiates a new ErrorSchema 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
func NewErrorSchemaWithDefaults ¶
func NewErrorSchemaWithDefaults() *ErrorSchema
NewErrorSchemaWithDefaults instantiates a new ErrorSchema 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
func (*ErrorSchema) GetError ¶
func (o *ErrorSchema) GetError() string
GetError returns the Error field value
func (*ErrorSchema) GetErrorOk ¶
func (o *ErrorSchema) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (ErrorSchema) MarshalJSON ¶
func (o ErrorSchema) MarshalJSON() ([]byte, error)
func (ErrorSchema) ToMap ¶
func (o ErrorSchema) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetListingInventoryIncludesParameter ¶
type GetListingInventoryIncludesParameter string
GetListingInventoryIncludesParameter An enumerated string that attaches a valid association. Default value is null.
const (
GETLISTINGINVENTORYINCLUDESPARAMETER_LISTING GetListingInventoryIncludesParameter = "Listing"
)
List of getListingInventory_includes_parameter
func NewGetListingInventoryIncludesParameterFromValue ¶
func NewGetListingInventoryIncludesParameterFromValue(v string) (*GetListingInventoryIncludesParameter, error)
NewGetListingInventoryIncludesParameterFromValue returns a pointer to a valid GetListingInventoryIncludesParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetListingInventoryIncludesParameter) IsValid ¶
func (v GetListingInventoryIncludesParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetListingInventoryIncludesParameter) Ptr ¶
Ptr returns reference to getListingInventory_includes_parameter value
func (*GetListingInventoryIncludesParameter) UnmarshalJSON ¶
func (v *GetListingInventoryIncludesParameter) UnmarshalJSON(src []byte) error
type GetListingsByShopIncludesParameterInner ¶
type GetListingsByShopIncludesParameterInner string
GetListingsByShopIncludesParameterInner the model 'GetListingsByShopIncludesParameterInner'
const ( GETLISTINGSBYSHOPINCLUDESPARAMETERINNER_SHIPPING GetListingsByShopIncludesParameterInner = "Shipping" GETLISTINGSBYSHOPINCLUDESPARAMETERINNER_IMAGES GetListingsByShopIncludesParameterInner = "Images" GETLISTINGSBYSHOPINCLUDESPARAMETERINNER_SHOP GetListingsByShopIncludesParameterInner = "Shop" GETLISTINGSBYSHOPINCLUDESPARAMETERINNER_USER GetListingsByShopIncludesParameterInner = "User" GETLISTINGSBYSHOPINCLUDESPARAMETERINNER_TRANSLATIONS GetListingsByShopIncludesParameterInner = "Translations" GETLISTINGSBYSHOPINCLUDESPARAMETERINNER_INVENTORY GetListingsByShopIncludesParameterInner = "Inventory" GETLISTINGSBYSHOPINCLUDESPARAMETERINNER_VIDEOS GetListingsByShopIncludesParameterInner = "Videos" )
List of getListingsByShop_includes_parameter_inner
func NewGetListingsByShopIncludesParameterInnerFromValue ¶
func NewGetListingsByShopIncludesParameterInnerFromValue(v string) (*GetListingsByShopIncludesParameterInner, error)
NewGetListingsByShopIncludesParameterInnerFromValue returns a pointer to a valid GetListingsByShopIncludesParameterInner for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetListingsByShopIncludesParameterInner) IsValid ¶
func (v GetListingsByShopIncludesParameterInner) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetListingsByShopIncludesParameterInner) Ptr ¶
Ptr returns reference to getListingsByShop_includes_parameter_inner value
func (*GetListingsByShopIncludesParameterInner) UnmarshalJSON ¶
func (v *GetListingsByShopIncludesParameterInner) UnmarshalJSON(src []byte) error
type GetListingsByShopSortOnParameter ¶
type GetListingsByShopSortOnParameter string
GetListingsByShopSortOnParameter The value to sort a search result of listings on. NOTES: a) `sort_on` only works when combined with one of the search options (keywords, region, etc.). b) when using `score` the returned results will always be in _descending_ order, regardless of the `sort_order` parameter.
const ( GETLISTINGSBYSHOPSORTONPARAMETER_CREATED GetListingsByShopSortOnParameter = "created" GETLISTINGSBYSHOPSORTONPARAMETER_PRICE GetListingsByShopSortOnParameter = "price" GETLISTINGSBYSHOPSORTONPARAMETER_UPDATED GetListingsByShopSortOnParameter = "updated" GETLISTINGSBYSHOPSORTONPARAMETER_SCORE GetListingsByShopSortOnParameter = "score" )
List of getListingsByShop_sort_on_parameter
func NewGetListingsByShopSortOnParameterFromValue ¶
func NewGetListingsByShopSortOnParameterFromValue(v string) (*GetListingsByShopSortOnParameter, error)
NewGetListingsByShopSortOnParameterFromValue returns a pointer to a valid GetListingsByShopSortOnParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetListingsByShopSortOnParameter) IsValid ¶
func (v GetListingsByShopSortOnParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetListingsByShopSortOnParameter) Ptr ¶
func (v GetListingsByShopSortOnParameter) Ptr() *GetListingsByShopSortOnParameter
Ptr returns reference to getListingsByShop_sort_on_parameter value
func (*GetListingsByShopSortOnParameter) UnmarshalJSON ¶
func (v *GetListingsByShopSortOnParameter) UnmarshalJSON(src []byte) error
type GetListingsByShopSortOrderParameter ¶
type GetListingsByShopSortOrderParameter string
GetListingsByShopSortOrderParameter The ascending(up) or descending(down) order to sort listings by. NOTE: sort_order only works when combined with one of the search options (keywords, region, etc.).
const ( GETLISTINGSBYSHOPSORTORDERPARAMETER_ASC GetListingsByShopSortOrderParameter = "asc" GETLISTINGSBYSHOPSORTORDERPARAMETER_ASCENDING GetListingsByShopSortOrderParameter = "ascending" GETLISTINGSBYSHOPSORTORDERPARAMETER_DESC GetListingsByShopSortOrderParameter = "desc" GETLISTINGSBYSHOPSORTORDERPARAMETER_DESCENDING GetListingsByShopSortOrderParameter = "descending" GETLISTINGSBYSHOPSORTORDERPARAMETER_UP GetListingsByShopSortOrderParameter = "up" GETLISTINGSBYSHOPSORTORDERPARAMETER_DOWN GetListingsByShopSortOrderParameter = "down" )
List of getListingsByShop_sort_order_parameter
func NewGetListingsByShopSortOrderParameterFromValue ¶
func NewGetListingsByShopSortOrderParameterFromValue(v string) (*GetListingsByShopSortOrderParameter, error)
NewGetListingsByShopSortOrderParameterFromValue returns a pointer to a valid GetListingsByShopSortOrderParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetListingsByShopSortOrderParameter) IsValid ¶
func (v GetListingsByShopSortOrderParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetListingsByShopSortOrderParameter) Ptr ¶
Ptr returns reference to getListingsByShop_sort_order_parameter value
func (*GetListingsByShopSortOrderParameter) UnmarshalJSON ¶
func (v *GetListingsByShopSortOrderParameter) UnmarshalJSON(src []byte) error
type GetListingsByShopStateParameter ¶
type GetListingsByShopStateParameter string
GetListingsByShopStateParameter When _updating_ a listing, this value can be either `active` or `inactive`. Note: Setting a `draft` listing to `active` will also publish the listing on etsy.com and requires that the listing have an image set. Setting a `sold_out` listing to active will update the quantity to 1 and renew the listing on etsy.com.
const ( GETLISTINGSBYSHOPSTATEPARAMETER_ACTIVE GetListingsByShopStateParameter = "active" GETLISTINGSBYSHOPSTATEPARAMETER_INACTIVE GetListingsByShopStateParameter = "inactive" GETLISTINGSBYSHOPSTATEPARAMETER_SOLD_OUT GetListingsByShopStateParameter = "sold_out" GETLISTINGSBYSHOPSTATEPARAMETER_DRAFT GetListingsByShopStateParameter = "draft" GETLISTINGSBYSHOPSTATEPARAMETER_EXPIRED GetListingsByShopStateParameter = "expired" )
List of getListingsByShop_state_parameter
func NewGetListingsByShopStateParameterFromValue ¶
func NewGetListingsByShopStateParameterFromValue(v string) (*GetListingsByShopStateParameter, error)
NewGetListingsByShopStateParameterFromValue returns a pointer to a valid GetListingsByShopStateParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetListingsByShopStateParameter) IsValid ¶
func (v GetListingsByShopStateParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetListingsByShopStateParameter) Ptr ¶
func (v GetListingsByShopStateParameter) Ptr() *GetListingsByShopStateParameter
Ptr returns reference to getListingsByShop_state_parameter value
func (*GetListingsByShopStateParameter) UnmarshalJSON ¶
func (v *GetListingsByShopStateParameter) UnmarshalJSON(src []byte) error
type GetShopReceiptsSortOnParameter ¶
type GetShopReceiptsSortOnParameter string
GetShopReceiptsSortOnParameter The value to sort a search result of listings on.
const ( GETSHOPRECEIPTSSORTONPARAMETER_CREATED GetShopReceiptsSortOnParameter = "created" GETSHOPRECEIPTSSORTONPARAMETER_UPDATED GetShopReceiptsSortOnParameter = "updated" GETSHOPRECEIPTSSORTONPARAMETER_RECEIPT_ID GetShopReceiptsSortOnParameter = "receipt_id" )
List of getShopReceipts_sort_on_parameter
func NewGetShopReceiptsSortOnParameterFromValue ¶
func NewGetShopReceiptsSortOnParameterFromValue(v string) (*GetShopReceiptsSortOnParameter, error)
NewGetShopReceiptsSortOnParameterFromValue returns a pointer to a valid GetShopReceiptsSortOnParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetShopReceiptsSortOnParameter) IsValid ¶
func (v GetShopReceiptsSortOnParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetShopReceiptsSortOnParameter) Ptr ¶
func (v GetShopReceiptsSortOnParameter) Ptr() *GetShopReceiptsSortOnParameter
Ptr returns reference to getShopReceipts_sort_on_parameter value
func (*GetShopReceiptsSortOnParameter) UnmarshalJSON ¶
func (v *GetShopReceiptsSortOnParameter) UnmarshalJSON(src []byte) error
type GetShopReceiptsSortOrderParameter ¶
type GetShopReceiptsSortOrderParameter string
GetShopReceiptsSortOrderParameter The ascending(up) or descending(down) order to sort receipts by.
const ( GETSHOPRECEIPTSSORTORDERPARAMETER_ASC GetShopReceiptsSortOrderParameter = "asc" GETSHOPRECEIPTSSORTORDERPARAMETER_ASCENDING GetShopReceiptsSortOrderParameter = "ascending" GETSHOPRECEIPTSSORTORDERPARAMETER_DESC GetShopReceiptsSortOrderParameter = "desc" GETSHOPRECEIPTSSORTORDERPARAMETER_DESCENDING GetShopReceiptsSortOrderParameter = "descending" GETSHOPRECEIPTSSORTORDERPARAMETER_UP GetShopReceiptsSortOrderParameter = "up" GETSHOPRECEIPTSSORTORDERPARAMETER_DOWN GetShopReceiptsSortOrderParameter = "down" )
List of getShopReceipts_sort_order_parameter
func NewGetShopReceiptsSortOrderParameterFromValue ¶
func NewGetShopReceiptsSortOrderParameterFromValue(v string) (*GetShopReceiptsSortOrderParameter, error)
NewGetShopReceiptsSortOrderParameterFromValue returns a pointer to a valid GetShopReceiptsSortOrderParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetShopReceiptsSortOrderParameter) IsValid ¶
func (v GetShopReceiptsSortOrderParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetShopReceiptsSortOrderParameter) Ptr ¶
func (v GetShopReceiptsSortOrderParameter) Ptr() *GetShopReceiptsSortOrderParameter
Ptr returns reference to getShopReceipts_sort_order_parameter value
func (*GetShopReceiptsSortOrderParameter) UnmarshalJSON ¶
func (v *GetShopReceiptsSortOrderParameter) UnmarshalJSON(src []byte) error
type LedgerEntryAPI ¶
type LedgerEntryAPI interface { /* GetShopPaymentAccountLedgerEntries Method for GetShopPaymentAccountLedgerEntries <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Get a Shop Payment Account Ledger's Entries @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest */ GetShopPaymentAccountLedgerEntries(ctx context.Context, shopId int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest // GetShopPaymentAccountLedgerEntriesExecute executes the request // @return PaymentAccountLedgerEntries GetShopPaymentAccountLedgerEntriesExecute(r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) (*PaymentAccountLedgerEntries, *http.Response, error) /* GetShopPaymentAccountLedgerEntry Method for GetShopPaymentAccountLedgerEntry <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Get a single Shop Payment Account Ledger's Entry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param ledgerEntryId The unique ID of the shop owner ledger entry. @return LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest */ GetShopPaymentAccountLedgerEntry(ctx context.Context, shopId int64, ledgerEntryId int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest // GetShopPaymentAccountLedgerEntryExecute executes the request // @return PaymentAccountLedgerEntry GetShopPaymentAccountLedgerEntryExecute(r LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest) (*PaymentAccountLedgerEntry, *http.Response, error) }
type LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest ¶
type LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest struct { ApiService LedgerEntryAPI // contains filtered or unexported fields }
func (LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Execute ¶
func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Execute() (*PaymentAccountLedgerEntries, *http.Response, error)
func (LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Limit ¶
func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Limit(limit int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
The maximum number of results to return.
func (LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) MaxCreated ¶
func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) MaxCreated(maxCreated int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
The latest unix timestamp for when a record was created.
func (LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) MinCreated ¶
func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) MinCreated(minCreated int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
The earliest unix timestamp for when a record was created.
func (LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Offset ¶
func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) Offset(offset int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
The number of records to skip before selecting the first result.
type LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest ¶
type LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest struct { ApiService LedgerEntryAPI // contains filtered or unexported fields }
func (LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest) Execute ¶
func (r LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest) Execute() (*PaymentAccountLedgerEntry, *http.Response, error)
type LedgerEntryAPIService ¶
type LedgerEntryAPIService service
LedgerEntryAPIService LedgerEntryAPI service
func (*LedgerEntryAPIService) GetShopPaymentAccountLedgerEntries ¶
func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntries(ctx context.Context, shopId int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
GetShopPaymentAccountLedgerEntries Method for GetShopPaymentAccountLedgerEntries
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Get a Shop Payment Account Ledger's Entries
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest
func (*LedgerEntryAPIService) GetShopPaymentAccountLedgerEntriesExecute ¶
func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntriesExecute(r LedgerEntryAPIGetShopPaymentAccountLedgerEntriesRequest) (*PaymentAccountLedgerEntries, *http.Response, error)
Execute executes the request
@return PaymentAccountLedgerEntries
func (*LedgerEntryAPIService) GetShopPaymentAccountLedgerEntry ¶
func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntry(ctx context.Context, shopId int64, ledgerEntryId int64) LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest
GetShopPaymentAccountLedgerEntry Method for GetShopPaymentAccountLedgerEntry
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Get a single Shop Payment Account Ledger's Entry
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param ledgerEntryId The unique ID of the shop owner ledger entry. @return LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest
func (*LedgerEntryAPIService) GetShopPaymentAccountLedgerEntryExecute ¶
func (a *LedgerEntryAPIService) GetShopPaymentAccountLedgerEntryExecute(r LedgerEntryAPIGetShopPaymentAccountLedgerEntryRequest) (*PaymentAccountLedgerEntry, *http.Response, error)
Execute executes the request
@return PaymentAccountLedgerEntry
type ListingImage ¶
type ListingImage struct { // The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. ListingId *int64 `json:"listing_id,omitempty"` // The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. ListingImageId *int64 `json:"listing_image_id,omitempty"` // The webhex string for the image's average color, in webhex notation. HexCode NullableString `json:"hex_code,omitempty"` // The numeric red value equal to the image's average red value, from 0-255 (RGB color). Red NullableInt64 `json:"red,omitempty"` // The numeric red value equal to the image's average red value, from 0-255 (RGB color). Green NullableInt64 `json:"green,omitempty"` // The numeric red value equal to the image's average red value, from 0-255 (RGB color). Blue NullableInt64 `json:"blue,omitempty"` // The numeric hue equal to the image's average hue, from 0-360 (HSV color). Hue NullableInt64 `json:"hue,omitempty"` // The numeric saturation equal to the image's average saturation, from 0-100 (HSV color). Saturation NullableInt64 `json:"saturation,omitempty"` // The numeric brightness equal to the image's average brightness, from 0-100 (HSV color). Brightness NullableInt64 `json:"brightness,omitempty"` // When true, the image is in black & white. IsBlackAndWhite NullableBool `json:"is_black_and_white,omitempty"` // The listing image\\'s creation time, in epoch seconds. CreationTsz *int64 `json:"creation_tsz,omitempty"` // The listing image\\'s creation time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The positive non-zero numeric position in the images displayed in a listing, with rank 1 images appearing in the left-most position in a listing. Rank *int64 `json:"rank,omitempty"` // The url string for a 75x75 pixel thumbnail of the image. Url75x75 *string `json:"url_75x75,omitempty"` // The url string for a 170x135 pixel thumbnail of the image. Url170x135 *string `json:"url_170x135,omitempty"` // The url string for a thumbnail of the image, no more than 570 pixels wide with variable height. Url570xN *string `json:"url_570xN,omitempty"` // The url string for the full-size image, up to 3000 pixels in each dimension. UrlFullxfull *string `json:"url_fullxfull,omitempty"` // The numeric height, measured in pixels, of the full-sized image referenced in url_fullxfull. FullHeight NullableInt64 `json:"full_height,omitempty"` // The numeric width, measured in pixels, of the full-sized image referenced in url_fullxfull. FullWidth NullableInt64 `json:"full_width,omitempty"` // Alt text for the listing image. Max length 250 characters. AltText NullableString `json:"alt_text,omitempty"` AdditionalProperties map[string]interface{} }
ListingImage Reference urls and metadata for an image associated with a specific listing. The `url_fullxfull` parameter contains the URL for full-sized binary image file.
func NewListingImage ¶
func NewListingImage() *ListingImage
NewListingImage instantiates a new ListingImage 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
func NewListingImageWithDefaults ¶
func NewListingImageWithDefaults() *ListingImage
NewListingImageWithDefaults instantiates a new ListingImage 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
func (*ListingImage) GetAltText ¶
func (o *ListingImage) GetAltText() string
GetAltText returns the AltText field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetAltTextOk ¶
func (o *ListingImage) GetAltTextOk() (*string, bool)
GetAltTextOk returns a tuple with the AltText field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetBlue ¶
func (o *ListingImage) GetBlue() int64
GetBlue returns the Blue field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetBlueOk ¶
func (o *ListingImage) GetBlueOk() (*int64, bool)
GetBlueOk returns a tuple with the Blue field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetBrightness ¶
func (o *ListingImage) GetBrightness() int64
GetBrightness returns the Brightness field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetBrightnessOk ¶
func (o *ListingImage) GetBrightnessOk() (*int64, bool)
GetBrightnessOk returns a tuple with the Brightness field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetCreatedTimestamp ¶
func (o *ListingImage) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ListingImage) GetCreatedTimestampOk ¶
func (o *ListingImage) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetCreationTsz ¶
func (o *ListingImage) GetCreationTsz() int64
GetCreationTsz returns the CreationTsz field value if set, zero value otherwise.
func (*ListingImage) GetCreationTszOk ¶
func (o *ListingImage) GetCreationTszOk() (*int64, bool)
GetCreationTszOk returns a tuple with the CreationTsz field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetFullHeight ¶
func (o *ListingImage) GetFullHeight() int64
GetFullHeight returns the FullHeight field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetFullHeightOk ¶
func (o *ListingImage) GetFullHeightOk() (*int64, bool)
GetFullHeightOk returns a tuple with the FullHeight field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetFullWidth ¶
func (o *ListingImage) GetFullWidth() int64
GetFullWidth returns the FullWidth field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetFullWidthOk ¶
func (o *ListingImage) GetFullWidthOk() (*int64, bool)
GetFullWidthOk returns a tuple with the FullWidth field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetGreen ¶
func (o *ListingImage) GetGreen() int64
GetGreen returns the Green field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetGreenOk ¶
func (o *ListingImage) GetGreenOk() (*int64, bool)
GetGreenOk returns a tuple with the Green field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetHexCode ¶
func (o *ListingImage) GetHexCode() string
GetHexCode returns the HexCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetHexCodeOk ¶
func (o *ListingImage) GetHexCodeOk() (*string, bool)
GetHexCodeOk returns a tuple with the HexCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetHue ¶
func (o *ListingImage) GetHue() int64
GetHue returns the Hue field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetHueOk ¶
func (o *ListingImage) GetHueOk() (*int64, bool)
GetHueOk returns a tuple with the Hue field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetIsBlackAndWhite ¶
func (o *ListingImage) GetIsBlackAndWhite() bool
GetIsBlackAndWhite returns the IsBlackAndWhite field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetIsBlackAndWhiteOk ¶
func (o *ListingImage) GetIsBlackAndWhiteOk() (*bool, bool)
GetIsBlackAndWhiteOk returns a tuple with the IsBlackAndWhite field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetListingId ¶
func (o *ListingImage) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise.
func (*ListingImage) GetListingIdOk ¶
func (o *ListingImage) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetListingImageId ¶
func (o *ListingImage) GetListingImageId() int64
GetListingImageId returns the ListingImageId field value if set, zero value otherwise.
func (*ListingImage) GetListingImageIdOk ¶
func (o *ListingImage) GetListingImageIdOk() (*int64, bool)
GetListingImageIdOk returns a tuple with the ListingImageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetRank ¶
func (o *ListingImage) GetRank() int64
GetRank returns the Rank field value if set, zero value otherwise.
func (*ListingImage) GetRankOk ¶
func (o *ListingImage) GetRankOk() (*int64, bool)
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetRed ¶
func (o *ListingImage) GetRed() int64
GetRed returns the Red field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetRedOk ¶
func (o *ListingImage) GetRedOk() (*int64, bool)
GetRedOk returns a tuple with the Red field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetSaturation ¶
func (o *ListingImage) GetSaturation() int64
GetSaturation returns the Saturation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingImage) GetSaturationOk ¶
func (o *ListingImage) GetSaturationOk() (*int64, bool)
GetSaturationOk returns a tuple with the Saturation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingImage) GetUrl170x135 ¶
func (o *ListingImage) GetUrl170x135() string
GetUrl170x135 returns the Url170x135 field value if set, zero value otherwise.
func (*ListingImage) GetUrl170x135Ok ¶
func (o *ListingImage) GetUrl170x135Ok() (*string, bool)
GetUrl170x135Ok returns a tuple with the Url170x135 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetUrl570xN ¶
func (o *ListingImage) GetUrl570xN() string
GetUrl570xN returns the Url570xN field value if set, zero value otherwise.
func (*ListingImage) GetUrl570xNOk ¶
func (o *ListingImage) GetUrl570xNOk() (*string, bool)
GetUrl570xNOk returns a tuple with the Url570xN field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetUrl75x75 ¶
func (o *ListingImage) GetUrl75x75() string
GetUrl75x75 returns the Url75x75 field value if set, zero value otherwise.
func (*ListingImage) GetUrl75x75Ok ¶
func (o *ListingImage) GetUrl75x75Ok() (*string, bool)
GetUrl75x75Ok returns a tuple with the Url75x75 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) GetUrlFullxfull ¶
func (o *ListingImage) GetUrlFullxfull() string
GetUrlFullxfull returns the UrlFullxfull field value if set, zero value otherwise.
func (*ListingImage) GetUrlFullxfullOk ¶
func (o *ListingImage) GetUrlFullxfullOk() (*string, bool)
GetUrlFullxfullOk returns a tuple with the UrlFullxfull field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImage) HasAltText ¶
func (o *ListingImage) HasAltText() bool
HasAltText returns a boolean if a field has been set.
func (*ListingImage) HasBlue ¶
func (o *ListingImage) HasBlue() bool
HasBlue returns a boolean if a field has been set.
func (*ListingImage) HasBrightness ¶
func (o *ListingImage) HasBrightness() bool
HasBrightness returns a boolean if a field has been set.
func (*ListingImage) HasCreatedTimestamp ¶
func (o *ListingImage) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ListingImage) HasCreationTsz ¶
func (o *ListingImage) HasCreationTsz() bool
HasCreationTsz returns a boolean if a field has been set.
func (*ListingImage) HasFullHeight ¶
func (o *ListingImage) HasFullHeight() bool
HasFullHeight returns a boolean if a field has been set.
func (*ListingImage) HasFullWidth ¶
func (o *ListingImage) HasFullWidth() bool
HasFullWidth returns a boolean if a field has been set.
func (*ListingImage) HasGreen ¶
func (o *ListingImage) HasGreen() bool
HasGreen returns a boolean if a field has been set.
func (*ListingImage) HasHexCode ¶
func (o *ListingImage) HasHexCode() bool
HasHexCode returns a boolean if a field has been set.
func (*ListingImage) HasHue ¶
func (o *ListingImage) HasHue() bool
HasHue returns a boolean if a field has been set.
func (*ListingImage) HasIsBlackAndWhite ¶
func (o *ListingImage) HasIsBlackAndWhite() bool
HasIsBlackAndWhite returns a boolean if a field has been set.
func (*ListingImage) HasListingId ¶
func (o *ListingImage) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*ListingImage) HasListingImageId ¶
func (o *ListingImage) HasListingImageId() bool
HasListingImageId returns a boolean if a field has been set.
func (*ListingImage) HasRank ¶
func (o *ListingImage) HasRank() bool
HasRank returns a boolean if a field has been set.
func (*ListingImage) HasRed ¶
func (o *ListingImage) HasRed() bool
HasRed returns a boolean if a field has been set.
func (*ListingImage) HasSaturation ¶
func (o *ListingImage) HasSaturation() bool
HasSaturation returns a boolean if a field has been set.
func (*ListingImage) HasUrl170x135 ¶
func (o *ListingImage) HasUrl170x135() bool
HasUrl170x135 returns a boolean if a field has been set.
func (*ListingImage) HasUrl570xN ¶
func (o *ListingImage) HasUrl570xN() bool
HasUrl570xN returns a boolean if a field has been set.
func (*ListingImage) HasUrl75x75 ¶
func (o *ListingImage) HasUrl75x75() bool
HasUrl75x75 returns a boolean if a field has been set.
func (*ListingImage) HasUrlFullxfull ¶
func (o *ListingImage) HasUrlFullxfull() bool
HasUrlFullxfull returns a boolean if a field has been set.
func (ListingImage) MarshalJSON ¶
func (o ListingImage) MarshalJSON() ([]byte, error)
func (*ListingImage) SetAltText ¶
func (o *ListingImage) SetAltText(v string)
SetAltText gets a reference to the given NullableString and assigns it to the AltText field.
func (*ListingImage) SetAltTextNil ¶
func (o *ListingImage) SetAltTextNil()
SetAltTextNil sets the value for AltText to be an explicit nil
func (*ListingImage) SetBlue ¶
func (o *ListingImage) SetBlue(v int64)
SetBlue gets a reference to the given NullableInt64 and assigns it to the Blue field.
func (*ListingImage) SetBlueNil ¶
func (o *ListingImage) SetBlueNil()
SetBlueNil sets the value for Blue to be an explicit nil
func (*ListingImage) SetBrightness ¶
func (o *ListingImage) SetBrightness(v int64)
SetBrightness gets a reference to the given NullableInt64 and assigns it to the Brightness field.
func (*ListingImage) SetBrightnessNil ¶
func (o *ListingImage) SetBrightnessNil()
SetBrightnessNil sets the value for Brightness to be an explicit nil
func (*ListingImage) SetCreatedTimestamp ¶
func (o *ListingImage) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ListingImage) SetCreationTsz ¶
func (o *ListingImage) SetCreationTsz(v int64)
SetCreationTsz gets a reference to the given int64 and assigns it to the CreationTsz field.
func (*ListingImage) SetFullHeight ¶
func (o *ListingImage) SetFullHeight(v int64)
SetFullHeight gets a reference to the given NullableInt64 and assigns it to the FullHeight field.
func (*ListingImage) SetFullHeightNil ¶
func (o *ListingImage) SetFullHeightNil()
SetFullHeightNil sets the value for FullHeight to be an explicit nil
func (*ListingImage) SetFullWidth ¶
func (o *ListingImage) SetFullWidth(v int64)
SetFullWidth gets a reference to the given NullableInt64 and assigns it to the FullWidth field.
func (*ListingImage) SetFullWidthNil ¶
func (o *ListingImage) SetFullWidthNil()
SetFullWidthNil sets the value for FullWidth to be an explicit nil
func (*ListingImage) SetGreen ¶
func (o *ListingImage) SetGreen(v int64)
SetGreen gets a reference to the given NullableInt64 and assigns it to the Green field.
func (*ListingImage) SetGreenNil ¶
func (o *ListingImage) SetGreenNil()
SetGreenNil sets the value for Green to be an explicit nil
func (*ListingImage) SetHexCode ¶
func (o *ListingImage) SetHexCode(v string)
SetHexCode gets a reference to the given NullableString and assigns it to the HexCode field.
func (*ListingImage) SetHexCodeNil ¶
func (o *ListingImage) SetHexCodeNil()
SetHexCodeNil sets the value for HexCode to be an explicit nil
func (*ListingImage) SetHue ¶
func (o *ListingImage) SetHue(v int64)
SetHue gets a reference to the given NullableInt64 and assigns it to the Hue field.
func (*ListingImage) SetHueNil ¶
func (o *ListingImage) SetHueNil()
SetHueNil sets the value for Hue to be an explicit nil
func (*ListingImage) SetIsBlackAndWhite ¶
func (o *ListingImage) SetIsBlackAndWhite(v bool)
SetIsBlackAndWhite gets a reference to the given NullableBool and assigns it to the IsBlackAndWhite field.
func (*ListingImage) SetIsBlackAndWhiteNil ¶
func (o *ListingImage) SetIsBlackAndWhiteNil()
SetIsBlackAndWhiteNil sets the value for IsBlackAndWhite to be an explicit nil
func (*ListingImage) SetListingId ¶
func (o *ListingImage) SetListingId(v int64)
SetListingId gets a reference to the given int64 and assigns it to the ListingId field.
func (*ListingImage) SetListingImageId ¶
func (o *ListingImage) SetListingImageId(v int64)
SetListingImageId gets a reference to the given int64 and assigns it to the ListingImageId field.
func (*ListingImage) SetRank ¶
func (o *ListingImage) SetRank(v int64)
SetRank gets a reference to the given int64 and assigns it to the Rank field.
func (*ListingImage) SetRed ¶
func (o *ListingImage) SetRed(v int64)
SetRed gets a reference to the given NullableInt64 and assigns it to the Red field.
func (*ListingImage) SetRedNil ¶
func (o *ListingImage) SetRedNil()
SetRedNil sets the value for Red to be an explicit nil
func (*ListingImage) SetSaturation ¶
func (o *ListingImage) SetSaturation(v int64)
SetSaturation gets a reference to the given NullableInt64 and assigns it to the Saturation field.
func (*ListingImage) SetSaturationNil ¶
func (o *ListingImage) SetSaturationNil()
SetSaturationNil sets the value for Saturation to be an explicit nil
func (*ListingImage) SetUrl170x135 ¶
func (o *ListingImage) SetUrl170x135(v string)
SetUrl170x135 gets a reference to the given string and assigns it to the Url170x135 field.
func (*ListingImage) SetUrl570xN ¶
func (o *ListingImage) SetUrl570xN(v string)
SetUrl570xN gets a reference to the given string and assigns it to the Url570xN field.
func (*ListingImage) SetUrl75x75 ¶
func (o *ListingImage) SetUrl75x75(v string)
SetUrl75x75 gets a reference to the given string and assigns it to the Url75x75 field.
func (*ListingImage) SetUrlFullxfull ¶
func (o *ListingImage) SetUrlFullxfull(v string)
SetUrlFullxfull gets a reference to the given string and assigns it to the UrlFullxfull field.
func (ListingImage) ToMap ¶
func (o ListingImage) ToMap() (map[string]interface{}, error)
func (*ListingImage) UnsetAltText ¶
func (o *ListingImage) UnsetAltText()
UnsetAltText ensures that no value is present for AltText, not even an explicit nil
func (*ListingImage) UnsetBlue ¶
func (o *ListingImage) UnsetBlue()
UnsetBlue ensures that no value is present for Blue, not even an explicit nil
func (*ListingImage) UnsetBrightness ¶
func (o *ListingImage) UnsetBrightness()
UnsetBrightness ensures that no value is present for Brightness, not even an explicit nil
func (*ListingImage) UnsetFullHeight ¶
func (o *ListingImage) UnsetFullHeight()
UnsetFullHeight ensures that no value is present for FullHeight, not even an explicit nil
func (*ListingImage) UnsetFullWidth ¶
func (o *ListingImage) UnsetFullWidth()
UnsetFullWidth ensures that no value is present for FullWidth, not even an explicit nil
func (*ListingImage) UnsetGreen ¶
func (o *ListingImage) UnsetGreen()
UnsetGreen ensures that no value is present for Green, not even an explicit nil
func (*ListingImage) UnsetHexCode ¶
func (o *ListingImage) UnsetHexCode()
UnsetHexCode ensures that no value is present for HexCode, not even an explicit nil
func (*ListingImage) UnsetHue ¶
func (o *ListingImage) UnsetHue()
UnsetHue ensures that no value is present for Hue, not even an explicit nil
func (*ListingImage) UnsetIsBlackAndWhite ¶
func (o *ListingImage) UnsetIsBlackAndWhite()
UnsetIsBlackAndWhite ensures that no value is present for IsBlackAndWhite, not even an explicit nil
func (*ListingImage) UnsetRed ¶
func (o *ListingImage) UnsetRed()
UnsetRed ensures that no value is present for Red, not even an explicit nil
func (*ListingImage) UnsetSaturation ¶
func (o *ListingImage) UnsetSaturation()
UnsetSaturation ensures that no value is present for Saturation, not even an explicit nil
type ListingImages ¶
type ListingImages struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []ListingImage `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListingImages Represents a list of listing image resources, each of which contains the reference URLs and metadata for an image.
func NewListingImages ¶
func NewListingImages() *ListingImages
NewListingImages instantiates a new ListingImages 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
func NewListingImagesWithDefaults ¶
func NewListingImagesWithDefaults() *ListingImages
NewListingImagesWithDefaults instantiates a new ListingImages 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
func (*ListingImages) GetCount ¶
func (o *ListingImages) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ListingImages) GetCountOk ¶
func (o *ListingImages) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImages) GetResults ¶
func (o *ListingImages) GetResults() []ListingImage
GetResults returns the Results field value if set, zero value otherwise.
func (*ListingImages) GetResultsOk ¶
func (o *ListingImages) GetResultsOk() ([]ListingImage, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingImages) HasCount ¶
func (o *ListingImages) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ListingImages) HasResults ¶
func (o *ListingImages) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListingImages) MarshalJSON ¶
func (o ListingImages) MarshalJSON() ([]byte, error)
func (*ListingImages) SetCount ¶
func (o *ListingImages) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ListingImages) SetResults ¶
func (o *ListingImages) SetResults(v []ListingImage)
SetResults gets a reference to the given []ListingImage and assigns it to the Results field.
func (ListingImages) ToMap ¶
func (o ListingImages) ToMap() (map[string]interface{}, error)
type ListingInventory ¶
type ListingInventory struct { // A JSON array of products available in a listing, even if only one product. All field names in the JSON blobs are lowercase. Products []ListingInventoryProduct `json:"products,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change product prices, if any. For example, if you charge specific prices for different sized products in the same listing, then this array contains the property ID for size. PriceOnProperty []int64 `json:"price_on_property,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change the quantity of the products, if any. For example, if you stock specific quantities of different colored products in the same listing, then this array contains the property ID for color. QuantityOnProperty []int64 `json:"quantity_on_property,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change the product SKU, if any. For example, if you use specific skus for different colored products in the same listing, then this array contains the property ID for color. SkuOnProperty []int64 `json:"sku_on_property,omitempty"` AdditionalProperties map[string]interface{} }
ListingInventory A representation of a single listing's inventory record.
func NewListingInventory ¶
func NewListingInventory() *ListingInventory
NewListingInventory instantiates a new ListingInventory 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
func NewListingInventoryWithDefaults ¶
func NewListingInventoryWithDefaults() *ListingInventory
NewListingInventoryWithDefaults instantiates a new ListingInventory 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
func (*ListingInventory) GetPriceOnProperty ¶
func (o *ListingInventory) GetPriceOnProperty() []int64
GetPriceOnProperty returns the PriceOnProperty field value if set, zero value otherwise.
func (*ListingInventory) GetPriceOnPropertyOk ¶
func (o *ListingInventory) GetPriceOnPropertyOk() ([]int64, bool)
GetPriceOnPropertyOk returns a tuple with the PriceOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventory) GetProducts ¶
func (o *ListingInventory) GetProducts() []ListingInventoryProduct
GetProducts returns the Products field value if set, zero value otherwise.
func (*ListingInventory) GetProductsOk ¶
func (o *ListingInventory) GetProductsOk() ([]ListingInventoryProduct, bool)
GetProductsOk returns a tuple with the Products field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventory) GetQuantityOnProperty ¶
func (o *ListingInventory) GetQuantityOnProperty() []int64
GetQuantityOnProperty returns the QuantityOnProperty field value if set, zero value otherwise.
func (*ListingInventory) GetQuantityOnPropertyOk ¶
func (o *ListingInventory) GetQuantityOnPropertyOk() ([]int64, bool)
GetQuantityOnPropertyOk returns a tuple with the QuantityOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventory) GetSkuOnProperty ¶
func (o *ListingInventory) GetSkuOnProperty() []int64
GetSkuOnProperty returns the SkuOnProperty field value if set, zero value otherwise.
func (*ListingInventory) GetSkuOnPropertyOk ¶
func (o *ListingInventory) GetSkuOnPropertyOk() ([]int64, bool)
GetSkuOnPropertyOk returns a tuple with the SkuOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventory) HasPriceOnProperty ¶
func (o *ListingInventory) HasPriceOnProperty() bool
HasPriceOnProperty returns a boolean if a field has been set.
func (*ListingInventory) HasProducts ¶
func (o *ListingInventory) HasProducts() bool
HasProducts returns a boolean if a field has been set.
func (*ListingInventory) HasQuantityOnProperty ¶
func (o *ListingInventory) HasQuantityOnProperty() bool
HasQuantityOnProperty returns a boolean if a field has been set.
func (*ListingInventory) HasSkuOnProperty ¶
func (o *ListingInventory) HasSkuOnProperty() bool
HasSkuOnProperty returns a boolean if a field has been set.
func (ListingInventory) MarshalJSON ¶
func (o ListingInventory) MarshalJSON() ([]byte, error)
func (*ListingInventory) SetPriceOnProperty ¶
func (o *ListingInventory) SetPriceOnProperty(v []int64)
SetPriceOnProperty gets a reference to the given []int64 and assigns it to the PriceOnProperty field.
func (*ListingInventory) SetProducts ¶
func (o *ListingInventory) SetProducts(v []ListingInventoryProduct)
SetProducts gets a reference to the given []ListingInventoryProduct and assigns it to the Products field.
func (*ListingInventory) SetQuantityOnProperty ¶
func (o *ListingInventory) SetQuantityOnProperty(v []int64)
SetQuantityOnProperty gets a reference to the given []int64 and assigns it to the QuantityOnProperty field.
func (*ListingInventory) SetSkuOnProperty ¶
func (o *ListingInventory) SetSkuOnProperty(v []int64)
SetSkuOnProperty gets a reference to the given []int64 and assigns it to the SkuOnProperty field.
func (ListingInventory) ToMap ¶
func (o ListingInventory) ToMap() (map[string]interface{}, error)
type ListingInventoryProduct ¶
type ListingInventoryProduct struct { // The numeric ID for a specific [product](/documentation/reference#tag/ShopListing-Product) purchased from a listing. ProductId *int64 `json:"product_id,omitempty"` // The SKU string for the product Sku *string `json:"sku,omitempty"` // When true, someone deleted this product. IsDeleted *bool `json:"is_deleted,omitempty"` // A list of product offering entries for this product. Offerings []ListingInventoryProductOffering `json:"offerings,omitempty"` // A list of property value entries for this product. Note: parenthesis characters (`(` and `)`) are not allowed. PropertyValues []ListingPropertyValue `json:"property_values,omitempty"` AdditionalProperties map[string]interface{} }
ListingInventoryProduct A representation of a product for a listing.
func NewListingInventoryProduct ¶
func NewListingInventoryProduct() *ListingInventoryProduct
NewListingInventoryProduct instantiates a new ListingInventoryProduct 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
func NewListingInventoryProductWithDefaults ¶
func NewListingInventoryProductWithDefaults() *ListingInventoryProduct
NewListingInventoryProductWithDefaults instantiates a new ListingInventoryProduct 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
func (*ListingInventoryProduct) GetIsDeleted ¶
func (o *ListingInventoryProduct) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.
func (*ListingInventoryProduct) GetIsDeletedOk ¶
func (o *ListingInventoryProduct) GetIsDeletedOk() (*bool, bool)
GetIsDeletedOk returns a tuple with the IsDeleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProduct) GetOfferings ¶
func (o *ListingInventoryProduct) GetOfferings() []ListingInventoryProductOffering
GetOfferings returns the Offerings field value if set, zero value otherwise.
func (*ListingInventoryProduct) GetOfferingsOk ¶
func (o *ListingInventoryProduct) GetOfferingsOk() ([]ListingInventoryProductOffering, bool)
GetOfferingsOk returns a tuple with the Offerings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProduct) GetProductId ¶
func (o *ListingInventoryProduct) GetProductId() int64
GetProductId returns the ProductId field value if set, zero value otherwise.
func (*ListingInventoryProduct) GetProductIdOk ¶
func (o *ListingInventoryProduct) GetProductIdOk() (*int64, bool)
GetProductIdOk returns a tuple with the ProductId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProduct) GetPropertyValues ¶
func (o *ListingInventoryProduct) GetPropertyValues() []ListingPropertyValue
GetPropertyValues returns the PropertyValues field value if set, zero value otherwise.
func (*ListingInventoryProduct) GetPropertyValuesOk ¶
func (o *ListingInventoryProduct) GetPropertyValuesOk() ([]ListingPropertyValue, bool)
GetPropertyValuesOk returns a tuple with the PropertyValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProduct) GetSku ¶
func (o *ListingInventoryProduct) GetSku() string
GetSku returns the Sku field value if set, zero value otherwise.
func (*ListingInventoryProduct) GetSkuOk ¶
func (o *ListingInventoryProduct) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProduct) HasIsDeleted ¶
func (o *ListingInventoryProduct) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (*ListingInventoryProduct) HasOfferings ¶
func (o *ListingInventoryProduct) HasOfferings() bool
HasOfferings returns a boolean if a field has been set.
func (*ListingInventoryProduct) HasProductId ¶
func (o *ListingInventoryProduct) HasProductId() bool
HasProductId returns a boolean if a field has been set.
func (*ListingInventoryProduct) HasPropertyValues ¶
func (o *ListingInventoryProduct) HasPropertyValues() bool
HasPropertyValues returns a boolean if a field has been set.
func (*ListingInventoryProduct) HasSku ¶
func (o *ListingInventoryProduct) HasSku() bool
HasSku returns a boolean if a field has been set.
func (ListingInventoryProduct) MarshalJSON ¶
func (o ListingInventoryProduct) MarshalJSON() ([]byte, error)
func (*ListingInventoryProduct) SetIsDeleted ¶
func (o *ListingInventoryProduct) SetIsDeleted(v bool)
SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.
func (*ListingInventoryProduct) SetOfferings ¶
func (o *ListingInventoryProduct) SetOfferings(v []ListingInventoryProductOffering)
SetOfferings gets a reference to the given []ListingInventoryProductOffering and assigns it to the Offerings field.
func (*ListingInventoryProduct) SetProductId ¶
func (o *ListingInventoryProduct) SetProductId(v int64)
SetProductId gets a reference to the given int64 and assigns it to the ProductId field.
func (*ListingInventoryProduct) SetPropertyValues ¶
func (o *ListingInventoryProduct) SetPropertyValues(v []ListingPropertyValue)
SetPropertyValues gets a reference to the given []ListingPropertyValue and assigns it to the PropertyValues field.
func (*ListingInventoryProduct) SetSku ¶
func (o *ListingInventoryProduct) SetSku(v string)
SetSku gets a reference to the given string and assigns it to the Sku field.
func (ListingInventoryProduct) ToMap ¶
func (o ListingInventoryProduct) ToMap() (map[string]interface{}, error)
type ListingInventoryProductOffering ¶
type ListingInventoryProductOffering struct { // The ID for the ProductOffering OfferingId *int64 `json:"offering_id,omitempty"` // The quantity the ProductOffering Quantity *int64 `json:"quantity,omitempty"` // Whether or not the offering can be shown to buyers. IsEnabled *bool `json:"is_enabled,omitempty"` // Whether or not the offering has been deleted. IsDeleted *bool `json:"is_deleted,omitempty"` // Price data for this ProductOffering Price *Money `json:"price,omitempty"` AdditionalProperties map[string]interface{} }
ListingInventoryProductOffering A representation of an offering for a listing.
func NewListingInventoryProductOffering ¶
func NewListingInventoryProductOffering() *ListingInventoryProductOffering
NewListingInventoryProductOffering instantiates a new ListingInventoryProductOffering 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
func NewListingInventoryProductOfferingWithDefaults ¶
func NewListingInventoryProductOfferingWithDefaults() *ListingInventoryProductOffering
NewListingInventoryProductOfferingWithDefaults instantiates a new ListingInventoryProductOffering 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
func (*ListingInventoryProductOffering) GetIsDeleted ¶
func (o *ListingInventoryProductOffering) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.
func (*ListingInventoryProductOffering) GetIsDeletedOk ¶
func (o *ListingInventoryProductOffering) GetIsDeletedOk() (*bool, bool)
GetIsDeletedOk returns a tuple with the IsDeleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProductOffering) GetIsEnabled ¶
func (o *ListingInventoryProductOffering) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.
func (*ListingInventoryProductOffering) GetIsEnabledOk ¶
func (o *ListingInventoryProductOffering) GetIsEnabledOk() (*bool, bool)
GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProductOffering) GetOfferingId ¶
func (o *ListingInventoryProductOffering) GetOfferingId() int64
GetOfferingId returns the OfferingId field value if set, zero value otherwise.
func (*ListingInventoryProductOffering) GetOfferingIdOk ¶
func (o *ListingInventoryProductOffering) GetOfferingIdOk() (*int64, bool)
GetOfferingIdOk returns a tuple with the OfferingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProductOffering) GetPrice ¶
func (o *ListingInventoryProductOffering) GetPrice() Money
GetPrice returns the Price field value if set, zero value otherwise.
func (*ListingInventoryProductOffering) GetPriceOk ¶
func (o *ListingInventoryProductOffering) GetPriceOk() (*Money, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProductOffering) GetQuantity ¶
func (o *ListingInventoryProductOffering) GetQuantity() int64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*ListingInventoryProductOffering) GetQuantityOk ¶
func (o *ListingInventoryProductOffering) GetQuantityOk() (*int64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryProductOffering) HasIsDeleted ¶
func (o *ListingInventoryProductOffering) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (*ListingInventoryProductOffering) HasIsEnabled ¶
func (o *ListingInventoryProductOffering) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.
func (*ListingInventoryProductOffering) HasOfferingId ¶
func (o *ListingInventoryProductOffering) HasOfferingId() bool
HasOfferingId returns a boolean if a field has been set.
func (*ListingInventoryProductOffering) HasPrice ¶
func (o *ListingInventoryProductOffering) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ListingInventoryProductOffering) HasQuantity ¶
func (o *ListingInventoryProductOffering) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (ListingInventoryProductOffering) MarshalJSON ¶
func (o ListingInventoryProductOffering) MarshalJSON() ([]byte, error)
func (*ListingInventoryProductOffering) SetIsDeleted ¶
func (o *ListingInventoryProductOffering) SetIsDeleted(v bool)
SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.
func (*ListingInventoryProductOffering) SetIsEnabled ¶
func (o *ListingInventoryProductOffering) SetIsEnabled(v bool)
SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.
func (*ListingInventoryProductOffering) SetOfferingId ¶
func (o *ListingInventoryProductOffering) SetOfferingId(v int64)
SetOfferingId gets a reference to the given int64 and assigns it to the OfferingId field.
func (*ListingInventoryProductOffering) SetPrice ¶
func (o *ListingInventoryProductOffering) SetPrice(v Money)
SetPrice gets a reference to the given Money and assigns it to the Price field.
func (*ListingInventoryProductOffering) SetQuantity ¶
func (o *ListingInventoryProductOffering) SetQuantity(v int64)
SetQuantity gets a reference to the given int64 and assigns it to the Quantity field.
func (ListingInventoryProductOffering) ToMap ¶
func (o ListingInventoryProductOffering) ToMap() (map[string]interface{}, error)
type ListingInventoryWithAssociations ¶
type ListingInventoryWithAssociations struct { // A JSON array of products available in a listing, even if only one product. All field names in the JSON blobs are lowercase. Products []ListingInventoryProduct `json:"products,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change product prices, if any. For example, if you charge specific prices for different sized products in the same listing, then this array contains the property ID for size. PriceOnProperty []int64 `json:"price_on_property,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change the quantity of the products, if any. For example, if you stock specific quantities of different colored products in the same listing, then this array contains the property ID for color. QuantityOnProperty []int64 `json:"quantity_on_property,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change the product SKU, if any. For example, if you use specific skus for different colored products in the same listing, then this array contains the property ID for color. SkuOnProperty []int64 `json:"sku_on_property,omitempty"` // An enumerated string that attaches a valid association. Default value is null. Listing *ShopListing `json:"listing,omitempty"` AdditionalProperties map[string]interface{} }
ListingInventoryWithAssociations A representation of a single listing's inventory record with associations
func NewListingInventoryWithAssociations ¶
func NewListingInventoryWithAssociations() *ListingInventoryWithAssociations
NewListingInventoryWithAssociations instantiates a new ListingInventoryWithAssociations 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
func NewListingInventoryWithAssociationsWithDefaults ¶
func NewListingInventoryWithAssociationsWithDefaults() *ListingInventoryWithAssociations
NewListingInventoryWithAssociationsWithDefaults instantiates a new ListingInventoryWithAssociations 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
func (*ListingInventoryWithAssociations) GetListing ¶
func (o *ListingInventoryWithAssociations) GetListing() ShopListing
GetListing returns the Listing field value if set, zero value otherwise.
func (*ListingInventoryWithAssociations) GetListingOk ¶
func (o *ListingInventoryWithAssociations) GetListingOk() (*ShopListing, bool)
GetListingOk returns a tuple with the Listing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryWithAssociations) GetPriceOnProperty ¶
func (o *ListingInventoryWithAssociations) GetPriceOnProperty() []int64
GetPriceOnProperty returns the PriceOnProperty field value if set, zero value otherwise.
func (*ListingInventoryWithAssociations) GetPriceOnPropertyOk ¶
func (o *ListingInventoryWithAssociations) GetPriceOnPropertyOk() ([]int64, bool)
GetPriceOnPropertyOk returns a tuple with the PriceOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryWithAssociations) GetProducts ¶
func (o *ListingInventoryWithAssociations) GetProducts() []ListingInventoryProduct
GetProducts returns the Products field value if set, zero value otherwise.
func (*ListingInventoryWithAssociations) GetProductsOk ¶
func (o *ListingInventoryWithAssociations) GetProductsOk() ([]ListingInventoryProduct, bool)
GetProductsOk returns a tuple with the Products field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryWithAssociations) GetQuantityOnProperty ¶
func (o *ListingInventoryWithAssociations) GetQuantityOnProperty() []int64
GetQuantityOnProperty returns the QuantityOnProperty field value if set, zero value otherwise.
func (*ListingInventoryWithAssociations) GetQuantityOnPropertyOk ¶
func (o *ListingInventoryWithAssociations) GetQuantityOnPropertyOk() ([]int64, bool)
GetQuantityOnPropertyOk returns a tuple with the QuantityOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryWithAssociations) GetSkuOnProperty ¶
func (o *ListingInventoryWithAssociations) GetSkuOnProperty() []int64
GetSkuOnProperty returns the SkuOnProperty field value if set, zero value otherwise.
func (*ListingInventoryWithAssociations) GetSkuOnPropertyOk ¶
func (o *ListingInventoryWithAssociations) GetSkuOnPropertyOk() ([]int64, bool)
GetSkuOnPropertyOk returns a tuple with the SkuOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingInventoryWithAssociations) HasListing ¶
func (o *ListingInventoryWithAssociations) HasListing() bool
HasListing returns a boolean if a field has been set.
func (*ListingInventoryWithAssociations) HasPriceOnProperty ¶
func (o *ListingInventoryWithAssociations) HasPriceOnProperty() bool
HasPriceOnProperty returns a boolean if a field has been set.
func (*ListingInventoryWithAssociations) HasProducts ¶
func (o *ListingInventoryWithAssociations) HasProducts() bool
HasProducts returns a boolean if a field has been set.
func (*ListingInventoryWithAssociations) HasQuantityOnProperty ¶
func (o *ListingInventoryWithAssociations) HasQuantityOnProperty() bool
HasQuantityOnProperty returns a boolean if a field has been set.
func (*ListingInventoryWithAssociations) HasSkuOnProperty ¶
func (o *ListingInventoryWithAssociations) HasSkuOnProperty() bool
HasSkuOnProperty returns a boolean if a field has been set.
func (ListingInventoryWithAssociations) MarshalJSON ¶
func (o ListingInventoryWithAssociations) MarshalJSON() ([]byte, error)
func (*ListingInventoryWithAssociations) SetListing ¶
func (o *ListingInventoryWithAssociations) SetListing(v ShopListing)
SetListing gets a reference to the given ShopListing and assigns it to the Listing field.
func (*ListingInventoryWithAssociations) SetPriceOnProperty ¶
func (o *ListingInventoryWithAssociations) SetPriceOnProperty(v []int64)
SetPriceOnProperty gets a reference to the given []int64 and assigns it to the PriceOnProperty field.
func (*ListingInventoryWithAssociations) SetProducts ¶
func (o *ListingInventoryWithAssociations) SetProducts(v []ListingInventoryProduct)
SetProducts gets a reference to the given []ListingInventoryProduct and assigns it to the Products field.
func (*ListingInventoryWithAssociations) SetQuantityOnProperty ¶
func (o *ListingInventoryWithAssociations) SetQuantityOnProperty(v []int64)
SetQuantityOnProperty gets a reference to the given []int64 and assigns it to the QuantityOnProperty field.
func (*ListingInventoryWithAssociations) SetSkuOnProperty ¶
func (o *ListingInventoryWithAssociations) SetSkuOnProperty(v []int64)
SetSkuOnProperty gets a reference to the given []int64 and assigns it to the SkuOnProperty field.
func (ListingInventoryWithAssociations) ToMap ¶
func (o ListingInventoryWithAssociations) ToMap() (map[string]interface{}, error)
type ListingPropertyValue ¶
type ListingPropertyValue struct { // The numeric ID of the Property. PropertyId *int64 `json:"property_id,omitempty"` // The name of the Property. PropertyName NullableString `json:"property_name,omitempty"` // The numeric ID of the scale (if any). ScaleId NullableInt64 `json:"scale_id,omitempty"` // The label used to describe the chosen scale (if any). ScaleName NullableString `json:"scale_name,omitempty"` // The numeric IDs of the Property values ValueIds []int64 `json:"value_ids,omitempty"` // The Property values Values []string `json:"values,omitempty"` AdditionalProperties map[string]interface{} }
ListingPropertyValue A representation of structured data values.
func NewListingPropertyValue ¶
func NewListingPropertyValue() *ListingPropertyValue
NewListingPropertyValue instantiates a new ListingPropertyValue 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
func NewListingPropertyValueWithDefaults ¶
func NewListingPropertyValueWithDefaults() *ListingPropertyValue
NewListingPropertyValueWithDefaults instantiates a new ListingPropertyValue 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
func (*ListingPropertyValue) GetPropertyId ¶
func (o *ListingPropertyValue) GetPropertyId() int64
GetPropertyId returns the PropertyId field value if set, zero value otherwise.
func (*ListingPropertyValue) GetPropertyIdOk ¶
func (o *ListingPropertyValue) GetPropertyIdOk() (*int64, bool)
GetPropertyIdOk returns a tuple with the PropertyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingPropertyValue) GetPropertyName ¶
func (o *ListingPropertyValue) GetPropertyName() string
GetPropertyName returns the PropertyName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingPropertyValue) GetPropertyNameOk ¶
func (o *ListingPropertyValue) GetPropertyNameOk() (*string, bool)
GetPropertyNameOk returns a tuple with the PropertyName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingPropertyValue) GetScaleId ¶
func (o *ListingPropertyValue) GetScaleId() int64
GetScaleId returns the ScaleId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingPropertyValue) GetScaleIdOk ¶
func (o *ListingPropertyValue) GetScaleIdOk() (*int64, bool)
GetScaleIdOk returns a tuple with the ScaleId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingPropertyValue) GetScaleName ¶
func (o *ListingPropertyValue) GetScaleName() string
GetScaleName returns the ScaleName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingPropertyValue) GetScaleNameOk ¶
func (o *ListingPropertyValue) GetScaleNameOk() (*string, bool)
GetScaleNameOk returns a tuple with the ScaleName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingPropertyValue) GetValueIds ¶
func (o *ListingPropertyValue) GetValueIds() []int64
GetValueIds returns the ValueIds field value if set, zero value otherwise.
func (*ListingPropertyValue) GetValueIdsOk ¶
func (o *ListingPropertyValue) GetValueIdsOk() ([]int64, bool)
GetValueIdsOk returns a tuple with the ValueIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingPropertyValue) GetValues ¶
func (o *ListingPropertyValue) GetValues() []string
GetValues returns the Values field value if set, zero value otherwise.
func (*ListingPropertyValue) GetValuesOk ¶
func (o *ListingPropertyValue) GetValuesOk() ([]string, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingPropertyValue) HasPropertyId ¶
func (o *ListingPropertyValue) HasPropertyId() bool
HasPropertyId returns a boolean if a field has been set.
func (*ListingPropertyValue) HasPropertyName ¶
func (o *ListingPropertyValue) HasPropertyName() bool
HasPropertyName returns a boolean if a field has been set.
func (*ListingPropertyValue) HasScaleId ¶
func (o *ListingPropertyValue) HasScaleId() bool
HasScaleId returns a boolean if a field has been set.
func (*ListingPropertyValue) HasScaleName ¶
func (o *ListingPropertyValue) HasScaleName() bool
HasScaleName returns a boolean if a field has been set.
func (*ListingPropertyValue) HasValueIds ¶
func (o *ListingPropertyValue) HasValueIds() bool
HasValueIds returns a boolean if a field has been set.
func (*ListingPropertyValue) HasValues ¶
func (o *ListingPropertyValue) HasValues() bool
HasValues returns a boolean if a field has been set.
func (ListingPropertyValue) MarshalJSON ¶
func (o ListingPropertyValue) MarshalJSON() ([]byte, error)
func (*ListingPropertyValue) SetPropertyId ¶
func (o *ListingPropertyValue) SetPropertyId(v int64)
SetPropertyId gets a reference to the given int64 and assigns it to the PropertyId field.
func (*ListingPropertyValue) SetPropertyName ¶
func (o *ListingPropertyValue) SetPropertyName(v string)
SetPropertyName gets a reference to the given NullableString and assigns it to the PropertyName field.
func (*ListingPropertyValue) SetPropertyNameNil ¶
func (o *ListingPropertyValue) SetPropertyNameNil()
SetPropertyNameNil sets the value for PropertyName to be an explicit nil
func (*ListingPropertyValue) SetScaleId ¶
func (o *ListingPropertyValue) SetScaleId(v int64)
SetScaleId gets a reference to the given NullableInt64 and assigns it to the ScaleId field.
func (*ListingPropertyValue) SetScaleIdNil ¶
func (o *ListingPropertyValue) SetScaleIdNil()
SetScaleIdNil sets the value for ScaleId to be an explicit nil
func (*ListingPropertyValue) SetScaleName ¶
func (o *ListingPropertyValue) SetScaleName(v string)
SetScaleName gets a reference to the given NullableString and assigns it to the ScaleName field.
func (*ListingPropertyValue) SetScaleNameNil ¶
func (o *ListingPropertyValue) SetScaleNameNil()
SetScaleNameNil sets the value for ScaleName to be an explicit nil
func (*ListingPropertyValue) SetValueIds ¶
func (o *ListingPropertyValue) SetValueIds(v []int64)
SetValueIds gets a reference to the given []int64 and assigns it to the ValueIds field.
func (*ListingPropertyValue) SetValues ¶
func (o *ListingPropertyValue) SetValues(v []string)
SetValues gets a reference to the given []string and assigns it to the Values field.
func (ListingPropertyValue) ToMap ¶
func (o ListingPropertyValue) ToMap() (map[string]interface{}, error)
func (*ListingPropertyValue) UnsetPropertyName ¶
func (o *ListingPropertyValue) UnsetPropertyName()
UnsetPropertyName ensures that no value is present for PropertyName, not even an explicit nil
func (*ListingPropertyValue) UnsetScaleId ¶
func (o *ListingPropertyValue) UnsetScaleId()
UnsetScaleId ensures that no value is present for ScaleId, not even an explicit nil
func (*ListingPropertyValue) UnsetScaleName ¶
func (o *ListingPropertyValue) UnsetScaleName()
UnsetScaleName ensures that no value is present for ScaleName, not even an explicit nil
type ListingPropertyValues ¶
type ListingPropertyValues struct { Count *int64 `json:"count,omitempty"` Results []ListingPropertyValue `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListingPropertyValues Represents several ListingPropertyValues.
func NewListingPropertyValues ¶
func NewListingPropertyValues() *ListingPropertyValues
NewListingPropertyValues instantiates a new ListingPropertyValues 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
func NewListingPropertyValuesWithDefaults ¶
func NewListingPropertyValuesWithDefaults() *ListingPropertyValues
NewListingPropertyValuesWithDefaults instantiates a new ListingPropertyValues 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
func (*ListingPropertyValues) GetCount ¶
func (o *ListingPropertyValues) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ListingPropertyValues) GetCountOk ¶
func (o *ListingPropertyValues) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingPropertyValues) GetResults ¶
func (o *ListingPropertyValues) GetResults() []ListingPropertyValue
GetResults returns the Results field value if set, zero value otherwise.
func (*ListingPropertyValues) GetResultsOk ¶
func (o *ListingPropertyValues) GetResultsOk() ([]ListingPropertyValue, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingPropertyValues) HasCount ¶
func (o *ListingPropertyValues) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ListingPropertyValues) HasResults ¶
func (o *ListingPropertyValues) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListingPropertyValues) MarshalJSON ¶
func (o ListingPropertyValues) MarshalJSON() ([]byte, error)
func (*ListingPropertyValues) SetCount ¶
func (o *ListingPropertyValues) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ListingPropertyValues) SetResults ¶
func (o *ListingPropertyValues) SetResults(v []ListingPropertyValue)
SetResults gets a reference to the given []ListingPropertyValue and assigns it to the Results field.
func (ListingPropertyValues) ToMap ¶
func (o ListingPropertyValues) ToMap() (map[string]interface{}, error)
type ListingReview ¶
type ListingReview struct { // The shop's numeric ID. ShopId *int64 `json:"shop_id,omitempty"` // The ID of the ShopListing that the TransactionReview belongs to. ListingId *int64 `json:"listing_id,omitempty"` // Rating value on scale from 1 to 5 Rating *int64 `json:"rating,omitempty"` // A message left by the author, explaining the feedback, if provided. Review NullableString `json:"review,omitempty"` // The language of the TransactionReview Language *string `json:"language,omitempty"` // The url to a photo provided with the feedback, dimensions fullxfull. Note: This field may be absent, depending on the buyer's privacy settings. ImageUrlFullxfull NullableString `json:"image_url_fullxfull,omitempty"` // The date and time the TransactionReview was created in epoch seconds. CreateTimestamp *int64 `json:"create_timestamp,omitempty"` // The date and time the TransactionReview was created in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The date and time the TransactionReview was updated in epoch seconds. UpdateTimestamp *int64 `json:"update_timestamp,omitempty"` // The date and time the TransactionReview was updated in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` AdditionalProperties map[string]interface{} }
ListingReview A listing review record left by a User.
func NewListingReview ¶
func NewListingReview() *ListingReview
NewListingReview instantiates a new ListingReview 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
func NewListingReviewWithDefaults ¶
func NewListingReviewWithDefaults() *ListingReview
NewListingReviewWithDefaults instantiates a new ListingReview 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
func (*ListingReview) GetCreateTimestamp ¶
func (o *ListingReview) GetCreateTimestamp() int64
GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.
func (*ListingReview) GetCreateTimestampOk ¶
func (o *ListingReview) GetCreateTimestampOk() (*int64, bool)
GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) GetCreatedTimestamp ¶
func (o *ListingReview) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ListingReview) GetCreatedTimestampOk ¶
func (o *ListingReview) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) GetImageUrlFullxfull ¶
func (o *ListingReview) GetImageUrlFullxfull() string
GetImageUrlFullxfull returns the ImageUrlFullxfull field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingReview) GetImageUrlFullxfullOk ¶
func (o *ListingReview) GetImageUrlFullxfullOk() (*string, bool)
GetImageUrlFullxfullOk returns a tuple with the ImageUrlFullxfull field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingReview) GetLanguage ¶
func (o *ListingReview) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise.
func (*ListingReview) GetLanguageOk ¶
func (o *ListingReview) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) GetListingId ¶
func (o *ListingReview) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise.
func (*ListingReview) GetListingIdOk ¶
func (o *ListingReview) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) GetRating ¶
func (o *ListingReview) GetRating() int64
GetRating returns the Rating field value if set, zero value otherwise.
func (*ListingReview) GetRatingOk ¶
func (o *ListingReview) GetRatingOk() (*int64, bool)
GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) GetReview ¶
func (o *ListingReview) GetReview() string
GetReview returns the Review field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingReview) GetReviewOk ¶
func (o *ListingReview) GetReviewOk() (*string, bool)
GetReviewOk returns a tuple with the Review field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingReview) GetShopId ¶
func (o *ListingReview) GetShopId() int64
GetShopId returns the ShopId field value if set, zero value otherwise.
func (*ListingReview) GetShopIdOk ¶
func (o *ListingReview) GetShopIdOk() (*int64, bool)
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) GetUpdateTimestamp ¶
func (o *ListingReview) GetUpdateTimestamp() int64
GetUpdateTimestamp returns the UpdateTimestamp field value if set, zero value otherwise.
func (*ListingReview) GetUpdateTimestampOk ¶
func (o *ListingReview) GetUpdateTimestampOk() (*int64, bool)
GetUpdateTimestampOk returns a tuple with the UpdateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) GetUpdatedTimestamp ¶
func (o *ListingReview) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*ListingReview) GetUpdatedTimestampOk ¶
func (o *ListingReview) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReview) HasCreateTimestamp ¶
func (o *ListingReview) HasCreateTimestamp() bool
HasCreateTimestamp returns a boolean if a field has been set.
func (*ListingReview) HasCreatedTimestamp ¶
func (o *ListingReview) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ListingReview) HasImageUrlFullxfull ¶
func (o *ListingReview) HasImageUrlFullxfull() bool
HasImageUrlFullxfull returns a boolean if a field has been set.
func (*ListingReview) HasLanguage ¶
func (o *ListingReview) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*ListingReview) HasListingId ¶
func (o *ListingReview) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*ListingReview) HasRating ¶
func (o *ListingReview) HasRating() bool
HasRating returns a boolean if a field has been set.
func (*ListingReview) HasReview ¶
func (o *ListingReview) HasReview() bool
HasReview returns a boolean if a field has been set.
func (*ListingReview) HasShopId ¶
func (o *ListingReview) HasShopId() bool
HasShopId returns a boolean if a field has been set.
func (*ListingReview) HasUpdateTimestamp ¶
func (o *ListingReview) HasUpdateTimestamp() bool
HasUpdateTimestamp returns a boolean if a field has been set.
func (*ListingReview) HasUpdatedTimestamp ¶
func (o *ListingReview) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.
func (ListingReview) MarshalJSON ¶
func (o ListingReview) MarshalJSON() ([]byte, error)
func (*ListingReview) SetCreateTimestamp ¶
func (o *ListingReview) SetCreateTimestamp(v int64)
SetCreateTimestamp gets a reference to the given int64 and assigns it to the CreateTimestamp field.
func (*ListingReview) SetCreatedTimestamp ¶
func (o *ListingReview) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ListingReview) SetImageUrlFullxfull ¶
func (o *ListingReview) SetImageUrlFullxfull(v string)
SetImageUrlFullxfull gets a reference to the given NullableString and assigns it to the ImageUrlFullxfull field.
func (*ListingReview) SetImageUrlFullxfullNil ¶
func (o *ListingReview) SetImageUrlFullxfullNil()
SetImageUrlFullxfullNil sets the value for ImageUrlFullxfull to be an explicit nil
func (*ListingReview) SetLanguage ¶
func (o *ListingReview) SetLanguage(v string)
SetLanguage gets a reference to the given string and assigns it to the Language field.
func (*ListingReview) SetListingId ¶
func (o *ListingReview) SetListingId(v int64)
SetListingId gets a reference to the given int64 and assigns it to the ListingId field.
func (*ListingReview) SetRating ¶
func (o *ListingReview) SetRating(v int64)
SetRating gets a reference to the given int64 and assigns it to the Rating field.
func (*ListingReview) SetReview ¶
func (o *ListingReview) SetReview(v string)
SetReview gets a reference to the given NullableString and assigns it to the Review field.
func (*ListingReview) SetReviewNil ¶
func (o *ListingReview) SetReviewNil()
SetReviewNil sets the value for Review to be an explicit nil
func (*ListingReview) SetShopId ¶
func (o *ListingReview) SetShopId(v int64)
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (*ListingReview) SetUpdateTimestamp ¶
func (o *ListingReview) SetUpdateTimestamp(v int64)
SetUpdateTimestamp gets a reference to the given int64 and assigns it to the UpdateTimestamp field.
func (*ListingReview) SetUpdatedTimestamp ¶
func (o *ListingReview) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (ListingReview) ToMap ¶
func (o ListingReview) ToMap() (map[string]interface{}, error)
func (*ListingReview) UnsetImageUrlFullxfull ¶
func (o *ListingReview) UnsetImageUrlFullxfull()
UnsetImageUrlFullxfull ensures that no value is present for ImageUrlFullxfull, not even an explicit nil
func (*ListingReview) UnsetReview ¶
func (o *ListingReview) UnsetReview()
UnsetReview ensures that no value is present for Review, not even an explicit nil
type ListingReviews ¶
type ListingReviews struct { // The number of TransactionReview resources found. Count *int64 `json:"count,omitempty"` // The TransactionReview resources found. Results []ListingReview `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListingReviews A set of listing review records left by Users.
func NewListingReviews ¶
func NewListingReviews() *ListingReviews
NewListingReviews instantiates a new ListingReviews 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
func NewListingReviewsWithDefaults ¶
func NewListingReviewsWithDefaults() *ListingReviews
NewListingReviewsWithDefaults instantiates a new ListingReviews 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
func (*ListingReviews) GetCount ¶
func (o *ListingReviews) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ListingReviews) GetCountOk ¶
func (o *ListingReviews) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReviews) GetResults ¶
func (o *ListingReviews) GetResults() []ListingReview
GetResults returns the Results field value if set, zero value otherwise.
func (*ListingReviews) GetResultsOk ¶
func (o *ListingReviews) GetResultsOk() ([]ListingReview, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingReviews) HasCount ¶
func (o *ListingReviews) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ListingReviews) HasResults ¶
func (o *ListingReviews) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListingReviews) MarshalJSON ¶
func (o ListingReviews) MarshalJSON() ([]byte, error)
func (*ListingReviews) SetCount ¶
func (o *ListingReviews) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ListingReviews) SetResults ¶
func (o *ListingReviews) SetResults(v []ListingReview)
SetResults gets a reference to the given []ListingReview and assigns it to the Results field.
func (ListingReviews) ToMap ¶
func (o ListingReviews) ToMap() (map[string]interface{}, error)
type ListingTranslation ¶
type ListingTranslation struct { // The numeric ID for the Listing. ListingId *int64 `json:"listing_id,omitempty"` // The IETF language tag (e.g. 'fr') for the language of this translation. Language *string `json:"language,omitempty"` // The title of the Listing of this Translation. Title NullableString `json:"title,omitempty"` // The description of the Listing of this Translation. Description NullableString `json:"description,omitempty"` // The tags of the Listing of this Translation. Tags []string `json:"tags,omitempty"` AdditionalProperties map[string]interface{} }
ListingTranslation Represents the translation data for a Listing.
func NewListingTranslation ¶
func NewListingTranslation() *ListingTranslation
NewListingTranslation instantiates a new ListingTranslation 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
func NewListingTranslationWithDefaults ¶
func NewListingTranslationWithDefaults() *ListingTranslation
NewListingTranslationWithDefaults instantiates a new ListingTranslation 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
func (*ListingTranslation) GetDescription ¶
func (o *ListingTranslation) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslation) GetDescriptionOk ¶
func (o *ListingTranslation) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslation) GetLanguage ¶
func (o *ListingTranslation) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise.
func (*ListingTranslation) GetLanguageOk ¶
func (o *ListingTranslation) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingTranslation) GetListingId ¶
func (o *ListingTranslation) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise.
func (*ListingTranslation) GetListingIdOk ¶
func (o *ListingTranslation) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingTranslation) GetTags ¶
func (o *ListingTranslation) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*ListingTranslation) GetTagsOk ¶
func (o *ListingTranslation) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingTranslation) GetTitle ¶
func (o *ListingTranslation) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslation) GetTitleOk ¶
func (o *ListingTranslation) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslation) HasDescription ¶
func (o *ListingTranslation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ListingTranslation) HasLanguage ¶
func (o *ListingTranslation) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*ListingTranslation) HasListingId ¶
func (o *ListingTranslation) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*ListingTranslation) HasTags ¶
func (o *ListingTranslation) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*ListingTranslation) HasTitle ¶
func (o *ListingTranslation) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (ListingTranslation) MarshalJSON ¶
func (o ListingTranslation) MarshalJSON() ([]byte, error)
func (*ListingTranslation) SetDescription ¶
func (o *ListingTranslation) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ListingTranslation) SetDescriptionNil ¶
func (o *ListingTranslation) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ListingTranslation) SetLanguage ¶
func (o *ListingTranslation) SetLanguage(v string)
SetLanguage gets a reference to the given string and assigns it to the Language field.
func (*ListingTranslation) SetListingId ¶
func (o *ListingTranslation) SetListingId(v int64)
SetListingId gets a reference to the given int64 and assigns it to the ListingId field.
func (*ListingTranslation) SetTags ¶
func (o *ListingTranslation) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*ListingTranslation) SetTitle ¶
func (o *ListingTranslation) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*ListingTranslation) SetTitleNil ¶
func (o *ListingTranslation) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (ListingTranslation) ToMap ¶
func (o ListingTranslation) ToMap() (map[string]interface{}, error)
func (*ListingTranslation) UnsetDescription ¶
func (o *ListingTranslation) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ListingTranslation) UnsetTitle ¶
func (o *ListingTranslation) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
type ListingTranslations ¶
type ListingTranslations struct { De NullableListingTranslation `json:"de,omitempty"` EnGB NullableListingTranslation `json:"en-GB,omitempty"` EnIN NullableListingTranslation `json:"en-IN,omitempty"` EnUS NullableListingTranslation `json:"en-US,omitempty"` Es NullableListingTranslation `json:"es,omitempty"` Fr NullableListingTranslation `json:"fr,omitempty"` It NullableListingTranslation `json:"it,omitempty"` Ja NullableListingTranslation `json:"ja,omitempty"` Nl NullableListingTranslation `json:"nl,omitempty"` Pl NullableListingTranslation `json:"pl,omitempty"` Pt NullableListingTranslation `json:"pt,omitempty"` Ru NullableListingTranslation `json:"ru,omitempty"` AdditionalProperties map[string]interface{} }
ListingTranslations Container for all current supported translations of a listing. Note that Etsy periodically adds/removes languages, so this list may change in the future.
func NewListingTranslations ¶
func NewListingTranslations() *ListingTranslations
NewListingTranslations instantiates a new ListingTranslations 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
func NewListingTranslationsWithDefaults ¶
func NewListingTranslationsWithDefaults() *ListingTranslations
NewListingTranslationsWithDefaults instantiates a new ListingTranslations 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
func (*ListingTranslations) GetDe ¶
func (o *ListingTranslations) GetDe() ListingTranslation
GetDe returns the De field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetDeOk ¶
func (o *ListingTranslations) GetDeOk() (*ListingTranslation, bool)
GetDeOk returns a tuple with the De field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetEnGB ¶
func (o *ListingTranslations) GetEnGB() ListingTranslation
GetEnGB returns the EnGB field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetEnGBOk ¶
func (o *ListingTranslations) GetEnGBOk() (*ListingTranslation, bool)
GetEnGBOk returns a tuple with the EnGB field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetEnIN ¶
func (o *ListingTranslations) GetEnIN() ListingTranslation
GetEnIN returns the EnIN field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetEnINOk ¶
func (o *ListingTranslations) GetEnINOk() (*ListingTranslation, bool)
GetEnINOk returns a tuple with the EnIN field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetEnUS ¶
func (o *ListingTranslations) GetEnUS() ListingTranslation
GetEnUS returns the EnUS field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetEnUSOk ¶
func (o *ListingTranslations) GetEnUSOk() (*ListingTranslation, bool)
GetEnUSOk returns a tuple with the EnUS field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetEs ¶
func (o *ListingTranslations) GetEs() ListingTranslation
GetEs returns the Es field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetEsOk ¶
func (o *ListingTranslations) GetEsOk() (*ListingTranslation, bool)
GetEsOk returns a tuple with the Es field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetFr ¶
func (o *ListingTranslations) GetFr() ListingTranslation
GetFr returns the Fr field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetFrOk ¶
func (o *ListingTranslations) GetFrOk() (*ListingTranslation, bool)
GetFrOk returns a tuple with the Fr field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetIt ¶
func (o *ListingTranslations) GetIt() ListingTranslation
GetIt returns the It field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetItOk ¶
func (o *ListingTranslations) GetItOk() (*ListingTranslation, bool)
GetItOk returns a tuple with the It field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetJa ¶
func (o *ListingTranslations) GetJa() ListingTranslation
GetJa returns the Ja field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetJaOk ¶
func (o *ListingTranslations) GetJaOk() (*ListingTranslation, bool)
GetJaOk returns a tuple with the Ja field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetNl ¶
func (o *ListingTranslations) GetNl() ListingTranslation
GetNl returns the Nl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetNlOk ¶
func (o *ListingTranslations) GetNlOk() (*ListingTranslation, bool)
GetNlOk returns a tuple with the Nl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetPl ¶
func (o *ListingTranslations) GetPl() ListingTranslation
GetPl returns the Pl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetPlOk ¶
func (o *ListingTranslations) GetPlOk() (*ListingTranslation, bool)
GetPlOk returns a tuple with the Pl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetPt ¶
func (o *ListingTranslations) GetPt() ListingTranslation
GetPt returns the Pt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetPtOk ¶
func (o *ListingTranslations) GetPtOk() (*ListingTranslation, bool)
GetPtOk returns a tuple with the Pt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) GetRu ¶
func (o *ListingTranslations) GetRu() ListingTranslation
GetRu returns the Ru field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingTranslations) GetRuOk ¶
func (o *ListingTranslations) GetRuOk() (*ListingTranslation, bool)
GetRuOk returns a tuple with the Ru field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingTranslations) HasDe ¶
func (o *ListingTranslations) HasDe() bool
HasDe returns a boolean if a field has been set.
func (*ListingTranslations) HasEnGB ¶
func (o *ListingTranslations) HasEnGB() bool
HasEnGB returns a boolean if a field has been set.
func (*ListingTranslations) HasEnIN ¶
func (o *ListingTranslations) HasEnIN() bool
HasEnIN returns a boolean if a field has been set.
func (*ListingTranslations) HasEnUS ¶
func (o *ListingTranslations) HasEnUS() bool
HasEnUS returns a boolean if a field has been set.
func (*ListingTranslations) HasEs ¶
func (o *ListingTranslations) HasEs() bool
HasEs returns a boolean if a field has been set.
func (*ListingTranslations) HasFr ¶
func (o *ListingTranslations) HasFr() bool
HasFr returns a boolean if a field has been set.
func (*ListingTranslations) HasIt ¶
func (o *ListingTranslations) HasIt() bool
HasIt returns a boolean if a field has been set.
func (*ListingTranslations) HasJa ¶
func (o *ListingTranslations) HasJa() bool
HasJa returns a boolean if a field has been set.
func (*ListingTranslations) HasNl ¶
func (o *ListingTranslations) HasNl() bool
HasNl returns a boolean if a field has been set.
func (*ListingTranslations) HasPl ¶
func (o *ListingTranslations) HasPl() bool
HasPl returns a boolean if a field has been set.
func (*ListingTranslations) HasPt ¶
func (o *ListingTranslations) HasPt() bool
HasPt returns a boolean if a field has been set.
func (*ListingTranslations) HasRu ¶
func (o *ListingTranslations) HasRu() bool
HasRu returns a boolean if a field has been set.
func (ListingTranslations) MarshalJSON ¶
func (o ListingTranslations) MarshalJSON() ([]byte, error)
func (*ListingTranslations) SetDe ¶
func (o *ListingTranslations) SetDe(v ListingTranslation)
SetDe gets a reference to the given NullableListingTranslation and assigns it to the De field.
func (*ListingTranslations) SetDeNil ¶
func (o *ListingTranslations) SetDeNil()
SetDeNil sets the value for De to be an explicit nil
func (*ListingTranslations) SetEnGB ¶
func (o *ListingTranslations) SetEnGB(v ListingTranslation)
SetEnGB gets a reference to the given NullableListingTranslation and assigns it to the EnGB field.
func (*ListingTranslations) SetEnGBNil ¶
func (o *ListingTranslations) SetEnGBNil()
SetEnGBNil sets the value for EnGB to be an explicit nil
func (*ListingTranslations) SetEnIN ¶
func (o *ListingTranslations) SetEnIN(v ListingTranslation)
SetEnIN gets a reference to the given NullableListingTranslation and assigns it to the EnIN field.
func (*ListingTranslations) SetEnINNil ¶
func (o *ListingTranslations) SetEnINNil()
SetEnINNil sets the value for EnIN to be an explicit nil
func (*ListingTranslations) SetEnUS ¶
func (o *ListingTranslations) SetEnUS(v ListingTranslation)
SetEnUS gets a reference to the given NullableListingTranslation and assigns it to the EnUS field.
func (*ListingTranslations) SetEnUSNil ¶
func (o *ListingTranslations) SetEnUSNil()
SetEnUSNil sets the value for EnUS to be an explicit nil
func (*ListingTranslations) SetEs ¶
func (o *ListingTranslations) SetEs(v ListingTranslation)
SetEs gets a reference to the given NullableListingTranslation and assigns it to the Es field.
func (*ListingTranslations) SetEsNil ¶
func (o *ListingTranslations) SetEsNil()
SetEsNil sets the value for Es to be an explicit nil
func (*ListingTranslations) SetFr ¶
func (o *ListingTranslations) SetFr(v ListingTranslation)
SetFr gets a reference to the given NullableListingTranslation and assigns it to the Fr field.
func (*ListingTranslations) SetFrNil ¶
func (o *ListingTranslations) SetFrNil()
SetFrNil sets the value for Fr to be an explicit nil
func (*ListingTranslations) SetIt ¶
func (o *ListingTranslations) SetIt(v ListingTranslation)
SetIt gets a reference to the given NullableListingTranslation and assigns it to the It field.
func (*ListingTranslations) SetItNil ¶
func (o *ListingTranslations) SetItNil()
SetItNil sets the value for It to be an explicit nil
func (*ListingTranslations) SetJa ¶
func (o *ListingTranslations) SetJa(v ListingTranslation)
SetJa gets a reference to the given NullableListingTranslation and assigns it to the Ja field.
func (*ListingTranslations) SetJaNil ¶
func (o *ListingTranslations) SetJaNil()
SetJaNil sets the value for Ja to be an explicit nil
func (*ListingTranslations) SetNl ¶
func (o *ListingTranslations) SetNl(v ListingTranslation)
SetNl gets a reference to the given NullableListingTranslation and assigns it to the Nl field.
func (*ListingTranslations) SetNlNil ¶
func (o *ListingTranslations) SetNlNil()
SetNlNil sets the value for Nl to be an explicit nil
func (*ListingTranslations) SetPl ¶
func (o *ListingTranslations) SetPl(v ListingTranslation)
SetPl gets a reference to the given NullableListingTranslation and assigns it to the Pl field.
func (*ListingTranslations) SetPlNil ¶
func (o *ListingTranslations) SetPlNil()
SetPlNil sets the value for Pl to be an explicit nil
func (*ListingTranslations) SetPt ¶
func (o *ListingTranslations) SetPt(v ListingTranslation)
SetPt gets a reference to the given NullableListingTranslation and assigns it to the Pt field.
func (*ListingTranslations) SetPtNil ¶
func (o *ListingTranslations) SetPtNil()
SetPtNil sets the value for Pt to be an explicit nil
func (*ListingTranslations) SetRu ¶
func (o *ListingTranslations) SetRu(v ListingTranslation)
SetRu gets a reference to the given NullableListingTranslation and assigns it to the Ru field.
func (*ListingTranslations) SetRuNil ¶
func (o *ListingTranslations) SetRuNil()
SetRuNil sets the value for Ru to be an explicit nil
func (ListingTranslations) ToMap ¶
func (o ListingTranslations) ToMap() (map[string]interface{}, error)
func (*ListingTranslations) UnsetDe ¶
func (o *ListingTranslations) UnsetDe()
UnsetDe ensures that no value is present for De, not even an explicit nil
func (*ListingTranslations) UnsetEnGB ¶
func (o *ListingTranslations) UnsetEnGB()
UnsetEnGB ensures that no value is present for EnGB, not even an explicit nil
func (*ListingTranslations) UnsetEnIN ¶
func (o *ListingTranslations) UnsetEnIN()
UnsetEnIN ensures that no value is present for EnIN, not even an explicit nil
func (*ListingTranslations) UnsetEnUS ¶
func (o *ListingTranslations) UnsetEnUS()
UnsetEnUS ensures that no value is present for EnUS, not even an explicit nil
func (*ListingTranslations) UnsetEs ¶
func (o *ListingTranslations) UnsetEs()
UnsetEs ensures that no value is present for Es, not even an explicit nil
func (*ListingTranslations) UnsetFr ¶
func (o *ListingTranslations) UnsetFr()
UnsetFr ensures that no value is present for Fr, not even an explicit nil
func (*ListingTranslations) UnsetIt ¶
func (o *ListingTranslations) UnsetIt()
UnsetIt ensures that no value is present for It, not even an explicit nil
func (*ListingTranslations) UnsetJa ¶
func (o *ListingTranslations) UnsetJa()
UnsetJa ensures that no value is present for Ja, not even an explicit nil
func (*ListingTranslations) UnsetNl ¶
func (o *ListingTranslations) UnsetNl()
UnsetNl ensures that no value is present for Nl, not even an explicit nil
func (*ListingTranslations) UnsetPl ¶
func (o *ListingTranslations) UnsetPl()
UnsetPl ensures that no value is present for Pl, not even an explicit nil
func (*ListingTranslations) UnsetPt ¶
func (o *ListingTranslations) UnsetPt()
UnsetPt ensures that no value is present for Pt, not even an explicit nil
func (*ListingTranslations) UnsetRu ¶
func (o *ListingTranslations) UnsetRu()
UnsetRu ensures that no value is present for Ru, not even an explicit nil
type ListingVariationImage ¶
type ListingVariationImage struct { // The numeric ID of the Property. PropertyId *int64 `json:"property_id,omitempty"` // The numeric ID of the Value. ValueId *int64 `json:"value_id,omitempty"` // The string value of the property. Value NullableString `json:"value,omitempty"` // The numeric ID of the Image. ImageId *int64 `json:"image_id,omitempty"` AdditionalProperties map[string]interface{} }
ListingVariationImage A representation of the associations of variations and images on a listing.
func NewListingVariationImage ¶
func NewListingVariationImage() *ListingVariationImage
NewListingVariationImage instantiates a new ListingVariationImage 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
func NewListingVariationImageWithDefaults ¶
func NewListingVariationImageWithDefaults() *ListingVariationImage
NewListingVariationImageWithDefaults instantiates a new ListingVariationImage 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
func (*ListingVariationImage) GetImageId ¶
func (o *ListingVariationImage) GetImageId() int64
GetImageId returns the ImageId field value if set, zero value otherwise.
func (*ListingVariationImage) GetImageIdOk ¶
func (o *ListingVariationImage) GetImageIdOk() (*int64, bool)
GetImageIdOk returns a tuple with the ImageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVariationImage) GetPropertyId ¶
func (o *ListingVariationImage) GetPropertyId() int64
GetPropertyId returns the PropertyId field value if set, zero value otherwise.
func (*ListingVariationImage) GetPropertyIdOk ¶
func (o *ListingVariationImage) GetPropertyIdOk() (*int64, bool)
GetPropertyIdOk returns a tuple with the PropertyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVariationImage) GetValue ¶
func (o *ListingVariationImage) GetValue() string
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListingVariationImage) GetValueId ¶
func (o *ListingVariationImage) GetValueId() int64
GetValueId returns the ValueId field value if set, zero value otherwise.
func (*ListingVariationImage) GetValueIdOk ¶
func (o *ListingVariationImage) GetValueIdOk() (*int64, bool)
GetValueIdOk returns a tuple with the ValueId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVariationImage) GetValueOk ¶
func (o *ListingVariationImage) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListingVariationImage) HasImageId ¶
func (o *ListingVariationImage) HasImageId() bool
HasImageId returns a boolean if a field has been set.
func (*ListingVariationImage) HasPropertyId ¶
func (o *ListingVariationImage) HasPropertyId() bool
HasPropertyId returns a boolean if a field has been set.
func (*ListingVariationImage) HasValue ¶
func (o *ListingVariationImage) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*ListingVariationImage) HasValueId ¶
func (o *ListingVariationImage) HasValueId() bool
HasValueId returns a boolean if a field has been set.
func (ListingVariationImage) MarshalJSON ¶
func (o ListingVariationImage) MarshalJSON() ([]byte, error)
func (*ListingVariationImage) SetImageId ¶
func (o *ListingVariationImage) SetImageId(v int64)
SetImageId gets a reference to the given int64 and assigns it to the ImageId field.
func (*ListingVariationImage) SetPropertyId ¶
func (o *ListingVariationImage) SetPropertyId(v int64)
SetPropertyId gets a reference to the given int64 and assigns it to the PropertyId field.
func (*ListingVariationImage) SetValue ¶
func (o *ListingVariationImage) SetValue(v string)
SetValue gets a reference to the given NullableString and assigns it to the Value field.
func (*ListingVariationImage) SetValueId ¶
func (o *ListingVariationImage) SetValueId(v int64)
SetValueId gets a reference to the given int64 and assigns it to the ValueId field.
func (*ListingVariationImage) SetValueNil ¶
func (o *ListingVariationImage) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil
func (ListingVariationImage) ToMap ¶
func (o ListingVariationImage) ToMap() (map[string]interface{}, error)
func (*ListingVariationImage) UnsetValue ¶
func (o *ListingVariationImage) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
type ListingVariationImages ¶
type ListingVariationImages struct { Count *int64 `json:"count,omitempty"` Results []ListingVariationImage `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListingVariationImages Represents several ListingVariationImages.
func NewListingVariationImages ¶
func NewListingVariationImages() *ListingVariationImages
NewListingVariationImages instantiates a new ListingVariationImages 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
func NewListingVariationImagesWithDefaults ¶
func NewListingVariationImagesWithDefaults() *ListingVariationImages
NewListingVariationImagesWithDefaults instantiates a new ListingVariationImages 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
func (*ListingVariationImages) GetCount ¶
func (o *ListingVariationImages) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ListingVariationImages) GetCountOk ¶
func (o *ListingVariationImages) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVariationImages) GetResults ¶
func (o *ListingVariationImages) GetResults() []ListingVariationImage
GetResults returns the Results field value if set, zero value otherwise.
func (*ListingVariationImages) GetResultsOk ¶
func (o *ListingVariationImages) GetResultsOk() ([]ListingVariationImage, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVariationImages) HasCount ¶
func (o *ListingVariationImages) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ListingVariationImages) HasResults ¶
func (o *ListingVariationImages) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListingVariationImages) MarshalJSON ¶
func (o ListingVariationImages) MarshalJSON() ([]byte, error)
func (*ListingVariationImages) SetCount ¶
func (o *ListingVariationImages) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ListingVariationImages) SetResults ¶
func (o *ListingVariationImages) SetResults(v []ListingVariationImage)
SetResults gets a reference to the given []ListingVariationImage and assigns it to the Results field.
func (ListingVariationImages) ToMap ¶
func (o ListingVariationImages) ToMap() (map[string]interface{}, error)
type ListingVideo ¶
type ListingVideo struct { // The unique ID of a video associated with a listing. VideoId *int64 `json:"video_id,omitempty"` // The video height dimension in pixels. Height *int64 `json:"height,omitempty"` // The video width dimension in pixels. Width *int64 `json:"width,omitempty"` // The url of the video thumbnail. ThumbnailUrl *string `json:"thumbnail_url,omitempty"` // The url of the video file. VideoUrl *string `json:"video_url,omitempty"` VideoState *ListingVideoVideoState `json:"video_state,omitempty"` AdditionalProperties map[string]interface{} }
ListingVideo Reference urls and metadata for a video associated with a specific listing.
func NewListingVideo ¶
func NewListingVideo() *ListingVideo
NewListingVideo instantiates a new ListingVideo 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
func NewListingVideoWithDefaults ¶
func NewListingVideoWithDefaults() *ListingVideo
NewListingVideoWithDefaults instantiates a new ListingVideo 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
func (*ListingVideo) GetHeight ¶
func (o *ListingVideo) GetHeight() int64
GetHeight returns the Height field value if set, zero value otherwise.
func (*ListingVideo) GetHeightOk ¶
func (o *ListingVideo) GetHeightOk() (*int64, bool)
GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideo) GetThumbnailUrl ¶
func (o *ListingVideo) GetThumbnailUrl() string
GetThumbnailUrl returns the ThumbnailUrl field value if set, zero value otherwise.
func (*ListingVideo) GetThumbnailUrlOk ¶
func (o *ListingVideo) GetThumbnailUrlOk() (*string, bool)
GetThumbnailUrlOk returns a tuple with the ThumbnailUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideo) GetVideoId ¶
func (o *ListingVideo) GetVideoId() int64
GetVideoId returns the VideoId field value if set, zero value otherwise.
func (*ListingVideo) GetVideoIdOk ¶
func (o *ListingVideo) GetVideoIdOk() (*int64, bool)
GetVideoIdOk returns a tuple with the VideoId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideo) GetVideoState ¶
func (o *ListingVideo) GetVideoState() ListingVideoVideoState
GetVideoState returns the VideoState field value if set, zero value otherwise.
func (*ListingVideo) GetVideoStateOk ¶
func (o *ListingVideo) GetVideoStateOk() (*ListingVideoVideoState, bool)
GetVideoStateOk returns a tuple with the VideoState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideo) GetVideoUrl ¶
func (o *ListingVideo) GetVideoUrl() string
GetVideoUrl returns the VideoUrl field value if set, zero value otherwise.
func (*ListingVideo) GetVideoUrlOk ¶
func (o *ListingVideo) GetVideoUrlOk() (*string, bool)
GetVideoUrlOk returns a tuple with the VideoUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideo) GetWidth ¶
func (o *ListingVideo) GetWidth() int64
GetWidth returns the Width field value if set, zero value otherwise.
func (*ListingVideo) GetWidthOk ¶
func (o *ListingVideo) GetWidthOk() (*int64, bool)
GetWidthOk returns a tuple with the Width field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideo) HasHeight ¶
func (o *ListingVideo) HasHeight() bool
HasHeight returns a boolean if a field has been set.
func (*ListingVideo) HasThumbnailUrl ¶
func (o *ListingVideo) HasThumbnailUrl() bool
HasThumbnailUrl returns a boolean if a field has been set.
func (*ListingVideo) HasVideoId ¶
func (o *ListingVideo) HasVideoId() bool
HasVideoId returns a boolean if a field has been set.
func (*ListingVideo) HasVideoState ¶
func (o *ListingVideo) HasVideoState() bool
HasVideoState returns a boolean if a field has been set.
func (*ListingVideo) HasVideoUrl ¶
func (o *ListingVideo) HasVideoUrl() bool
HasVideoUrl returns a boolean if a field has been set.
func (*ListingVideo) HasWidth ¶
func (o *ListingVideo) HasWidth() bool
HasWidth returns a boolean if a field has been set.
func (ListingVideo) MarshalJSON ¶
func (o ListingVideo) MarshalJSON() ([]byte, error)
func (*ListingVideo) SetHeight ¶
func (o *ListingVideo) SetHeight(v int64)
SetHeight gets a reference to the given int64 and assigns it to the Height field.
func (*ListingVideo) SetThumbnailUrl ¶
func (o *ListingVideo) SetThumbnailUrl(v string)
SetThumbnailUrl gets a reference to the given string and assigns it to the ThumbnailUrl field.
func (*ListingVideo) SetVideoId ¶
func (o *ListingVideo) SetVideoId(v int64)
SetVideoId gets a reference to the given int64 and assigns it to the VideoId field.
func (*ListingVideo) SetVideoState ¶
func (o *ListingVideo) SetVideoState(v ListingVideoVideoState)
SetVideoState gets a reference to the given ListingVideoVideoState and assigns it to the VideoState field.
func (*ListingVideo) SetVideoUrl ¶
func (o *ListingVideo) SetVideoUrl(v string)
SetVideoUrl gets a reference to the given string and assigns it to the VideoUrl field.
func (*ListingVideo) SetWidth ¶
func (o *ListingVideo) SetWidth(v int64)
SetWidth gets a reference to the given int64 and assigns it to the Width field.
func (ListingVideo) ToMap ¶
func (o ListingVideo) ToMap() (map[string]interface{}, error)
type ListingVideoVideoState ¶
type ListingVideoVideoState string
ListingVideoVideoState The current state of a given video. Value is one of `active`, `inactive`, `deleted` or `flagged`.
const ( LISTINGVIDEOVIDEOSTATE_ACTIVE ListingVideoVideoState = "active" LISTINGVIDEOVIDEOSTATE_INACTIVE ListingVideoVideoState = "inactive" LISTINGVIDEOVIDEOSTATE_DELETED ListingVideoVideoState = "deleted" LISTINGVIDEOVIDEOSTATE_FLAGGED ListingVideoVideoState = "flagged" )
List of ListingVideo_video_state
func NewListingVideoVideoStateFromValue ¶
func NewListingVideoVideoStateFromValue(v string) (*ListingVideoVideoState, error)
NewListingVideoVideoStateFromValue returns a pointer to a valid ListingVideoVideoState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ListingVideoVideoState) IsValid ¶
func (v ListingVideoVideoState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ListingVideoVideoState) Ptr ¶
func (v ListingVideoVideoState) Ptr() *ListingVideoVideoState
Ptr returns reference to ListingVideo_video_state value
func (*ListingVideoVideoState) UnmarshalJSON ¶
func (v *ListingVideoVideoState) UnmarshalJSON(src []byte) error
type ListingVideos ¶
type ListingVideos struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []ListingVideo `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ListingVideos Represents a list of listing video resources, each of which contains the reference URLs for the videos.
func NewListingVideos ¶
func NewListingVideos() *ListingVideos
NewListingVideos instantiates a new ListingVideos 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
func NewListingVideosWithDefaults ¶
func NewListingVideosWithDefaults() *ListingVideos
NewListingVideosWithDefaults instantiates a new ListingVideos 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
func (*ListingVideos) GetCount ¶
func (o *ListingVideos) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ListingVideos) GetCountOk ¶
func (o *ListingVideos) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideos) GetResults ¶
func (o *ListingVideos) GetResults() []ListingVideo
GetResults returns the Results field value if set, zero value otherwise.
func (*ListingVideos) GetResultsOk ¶
func (o *ListingVideos) GetResultsOk() ([]ListingVideo, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListingVideos) HasCount ¶
func (o *ListingVideos) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ListingVideos) HasResults ¶
func (o *ListingVideos) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ListingVideos) MarshalJSON ¶
func (o ListingVideos) MarshalJSON() ([]byte, error)
func (*ListingVideos) SetCount ¶
func (o *ListingVideos) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ListingVideos) SetResults ¶
func (o *ListingVideos) SetResults(v []ListingVideo)
SetResults gets a reference to the given []ListingVideo and assigns it to the Results field.
func (ListingVideos) ToMap ¶
func (o ListingVideos) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Money ¶
type Money struct { // The amount of represented by this data. Amount *int64 `json:"amount,omitempty"` // The divisor to render the amount. Divisor *int64 `json:"divisor,omitempty"` // The ISO currency code for this data. CurrencyCode *string `json:"currency_code,omitempty"` AdditionalProperties map[string]interface{} }
Money A representation of an amount of money.
func NewMoney ¶
func NewMoney() *Money
NewMoney instantiates a new Money 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
func NewMoneyWithDefaults ¶
func NewMoneyWithDefaults() *Money
NewMoneyWithDefaults instantiates a new Money 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
func (*Money) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Money) GetCurrencyCode ¶
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*Money) GetCurrencyCodeOk ¶
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Money) GetDivisor ¶
GetDivisor returns the Divisor field value if set, zero value otherwise.
func (*Money) GetDivisorOk ¶
GetDivisorOk returns a tuple with the Divisor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Money) HasCurrencyCode ¶
HasCurrencyCode returns a boolean if a field has been set.
func (*Money) HasDivisor ¶
HasDivisor returns a boolean if a field has been set.
func (Money) MarshalJSON ¶
func (*Money) SetAmount ¶
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*Money) SetCurrencyCode ¶
SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.
func (*Money) SetDivisor ¶
SetDivisor gets a reference to the given int64 and assigns it to the Divisor field.
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBuyerTaxonomyNode ¶
type NullableBuyerTaxonomyNode struct {
// contains filtered or unexported fields
}
func NewNullableBuyerTaxonomyNode ¶
func NewNullableBuyerTaxonomyNode(val *BuyerTaxonomyNode) *NullableBuyerTaxonomyNode
func (NullableBuyerTaxonomyNode) Get ¶
func (v NullableBuyerTaxonomyNode) Get() *BuyerTaxonomyNode
func (NullableBuyerTaxonomyNode) IsSet ¶
func (v NullableBuyerTaxonomyNode) IsSet() bool
func (NullableBuyerTaxonomyNode) MarshalJSON ¶
func (v NullableBuyerTaxonomyNode) MarshalJSON() ([]byte, error)
func (*NullableBuyerTaxonomyNode) Set ¶
func (v *NullableBuyerTaxonomyNode) Set(val *BuyerTaxonomyNode)
func (*NullableBuyerTaxonomyNode) UnmarshalJSON ¶
func (v *NullableBuyerTaxonomyNode) UnmarshalJSON(src []byte) error
func (*NullableBuyerTaxonomyNode) Unset ¶
func (v *NullableBuyerTaxonomyNode) Unset()
type NullableBuyerTaxonomyNodeProperties ¶
type NullableBuyerTaxonomyNodeProperties struct {
// contains filtered or unexported fields
}
func NewNullableBuyerTaxonomyNodeProperties ¶
func NewNullableBuyerTaxonomyNodeProperties(val *BuyerTaxonomyNodeProperties) *NullableBuyerTaxonomyNodeProperties
func (NullableBuyerTaxonomyNodeProperties) Get ¶
func (v NullableBuyerTaxonomyNodeProperties) Get() *BuyerTaxonomyNodeProperties
func (NullableBuyerTaxonomyNodeProperties) IsSet ¶
func (v NullableBuyerTaxonomyNodeProperties) IsSet() bool
func (NullableBuyerTaxonomyNodeProperties) MarshalJSON ¶
func (v NullableBuyerTaxonomyNodeProperties) MarshalJSON() ([]byte, error)
func (*NullableBuyerTaxonomyNodeProperties) Set ¶
func (v *NullableBuyerTaxonomyNodeProperties) Set(val *BuyerTaxonomyNodeProperties)
func (*NullableBuyerTaxonomyNodeProperties) UnmarshalJSON ¶
func (v *NullableBuyerTaxonomyNodeProperties) UnmarshalJSON(src []byte) error
func (*NullableBuyerTaxonomyNodeProperties) Unset ¶
func (v *NullableBuyerTaxonomyNodeProperties) Unset()
type NullableBuyerTaxonomyNodeProperty ¶
type NullableBuyerTaxonomyNodeProperty struct {
// contains filtered or unexported fields
}
func NewNullableBuyerTaxonomyNodeProperty ¶
func NewNullableBuyerTaxonomyNodeProperty(val *BuyerTaxonomyNodeProperty) *NullableBuyerTaxonomyNodeProperty
func (NullableBuyerTaxonomyNodeProperty) Get ¶
func (v NullableBuyerTaxonomyNodeProperty) Get() *BuyerTaxonomyNodeProperty
func (NullableBuyerTaxonomyNodeProperty) IsSet ¶
func (v NullableBuyerTaxonomyNodeProperty) IsSet() bool
func (NullableBuyerTaxonomyNodeProperty) MarshalJSON ¶
func (v NullableBuyerTaxonomyNodeProperty) MarshalJSON() ([]byte, error)
func (*NullableBuyerTaxonomyNodeProperty) Set ¶
func (v *NullableBuyerTaxonomyNodeProperty) Set(val *BuyerTaxonomyNodeProperty)
func (*NullableBuyerTaxonomyNodeProperty) UnmarshalJSON ¶
func (v *NullableBuyerTaxonomyNodeProperty) UnmarshalJSON(src []byte) error
func (*NullableBuyerTaxonomyNodeProperty) Unset ¶
func (v *NullableBuyerTaxonomyNodeProperty) Unset()
type NullableBuyerTaxonomyNodes ¶
type NullableBuyerTaxonomyNodes struct {
// contains filtered or unexported fields
}
func NewNullableBuyerTaxonomyNodes ¶
func NewNullableBuyerTaxonomyNodes(val *BuyerTaxonomyNodes) *NullableBuyerTaxonomyNodes
func (NullableBuyerTaxonomyNodes) Get ¶
func (v NullableBuyerTaxonomyNodes) Get() *BuyerTaxonomyNodes
func (NullableBuyerTaxonomyNodes) IsSet ¶
func (v NullableBuyerTaxonomyNodes) IsSet() bool
func (NullableBuyerTaxonomyNodes) MarshalJSON ¶
func (v NullableBuyerTaxonomyNodes) MarshalJSON() ([]byte, error)
func (*NullableBuyerTaxonomyNodes) Set ¶
func (v *NullableBuyerTaxonomyNodes) Set(val *BuyerTaxonomyNodes)
func (*NullableBuyerTaxonomyNodes) UnmarshalJSON ¶
func (v *NullableBuyerTaxonomyNodes) UnmarshalJSON(src []byte) error
func (*NullableBuyerTaxonomyNodes) Unset ¶
func (v *NullableBuyerTaxonomyNodes) Unset()
type NullableBuyerTaxonomyPropertyScale ¶
type NullableBuyerTaxonomyPropertyScale struct {
// contains filtered or unexported fields
}
func NewNullableBuyerTaxonomyPropertyScale ¶
func NewNullableBuyerTaxonomyPropertyScale(val *BuyerTaxonomyPropertyScale) *NullableBuyerTaxonomyPropertyScale
func (NullableBuyerTaxonomyPropertyScale) Get ¶
func (v NullableBuyerTaxonomyPropertyScale) Get() *BuyerTaxonomyPropertyScale
func (NullableBuyerTaxonomyPropertyScale) IsSet ¶
func (v NullableBuyerTaxonomyPropertyScale) IsSet() bool
func (NullableBuyerTaxonomyPropertyScale) MarshalJSON ¶
func (v NullableBuyerTaxonomyPropertyScale) MarshalJSON() ([]byte, error)
func (*NullableBuyerTaxonomyPropertyScale) Set ¶
func (v *NullableBuyerTaxonomyPropertyScale) Set(val *BuyerTaxonomyPropertyScale)
func (*NullableBuyerTaxonomyPropertyScale) UnmarshalJSON ¶
func (v *NullableBuyerTaxonomyPropertyScale) UnmarshalJSON(src []byte) error
func (*NullableBuyerTaxonomyPropertyScale) Unset ¶
func (v *NullableBuyerTaxonomyPropertyScale) Unset()
type NullableBuyerTaxonomyPropertyValue ¶
type NullableBuyerTaxonomyPropertyValue struct {
// contains filtered or unexported fields
}
func NewNullableBuyerTaxonomyPropertyValue ¶
func NewNullableBuyerTaxonomyPropertyValue(val *BuyerTaxonomyPropertyValue) *NullableBuyerTaxonomyPropertyValue
func (NullableBuyerTaxonomyPropertyValue) Get ¶
func (v NullableBuyerTaxonomyPropertyValue) Get() *BuyerTaxonomyPropertyValue
func (NullableBuyerTaxonomyPropertyValue) IsSet ¶
func (v NullableBuyerTaxonomyPropertyValue) IsSet() bool
func (NullableBuyerTaxonomyPropertyValue) MarshalJSON ¶
func (v NullableBuyerTaxonomyPropertyValue) MarshalJSON() ([]byte, error)
func (*NullableBuyerTaxonomyPropertyValue) Set ¶
func (v *NullableBuyerTaxonomyPropertyValue) Set(val *BuyerTaxonomyPropertyValue)
func (*NullableBuyerTaxonomyPropertyValue) UnmarshalJSON ¶
func (v *NullableBuyerTaxonomyPropertyValue) UnmarshalJSON(src []byte) error
func (*NullableBuyerTaxonomyPropertyValue) Unset ¶
func (v *NullableBuyerTaxonomyPropertyValue) Unset()
type NullableCreateDraftListingRequestItemDimensionsUnit ¶
type NullableCreateDraftListingRequestItemDimensionsUnit struct {
// contains filtered or unexported fields
}
func NewNullableCreateDraftListingRequestItemDimensionsUnit ¶
func NewNullableCreateDraftListingRequestItemDimensionsUnit(val *CreateDraftListingRequestItemDimensionsUnit) *NullableCreateDraftListingRequestItemDimensionsUnit
func (NullableCreateDraftListingRequestItemDimensionsUnit) IsSet ¶
func (v NullableCreateDraftListingRequestItemDimensionsUnit) IsSet() bool
func (NullableCreateDraftListingRequestItemDimensionsUnit) MarshalJSON ¶
func (v NullableCreateDraftListingRequestItemDimensionsUnit) MarshalJSON() ([]byte, error)
func (*NullableCreateDraftListingRequestItemDimensionsUnit) UnmarshalJSON ¶
func (v *NullableCreateDraftListingRequestItemDimensionsUnit) UnmarshalJSON(src []byte) error
func (*NullableCreateDraftListingRequestItemDimensionsUnit) Unset ¶
func (v *NullableCreateDraftListingRequestItemDimensionsUnit) Unset()
type NullableCreateDraftListingRequestItemWeightUnit ¶
type NullableCreateDraftListingRequestItemWeightUnit struct {
// contains filtered or unexported fields
}
func NewNullableCreateDraftListingRequestItemWeightUnit ¶
func NewNullableCreateDraftListingRequestItemWeightUnit(val *CreateDraftListingRequestItemWeightUnit) *NullableCreateDraftListingRequestItemWeightUnit
func (NullableCreateDraftListingRequestItemWeightUnit) IsSet ¶
func (v NullableCreateDraftListingRequestItemWeightUnit) IsSet() bool
func (NullableCreateDraftListingRequestItemWeightUnit) MarshalJSON ¶
func (v NullableCreateDraftListingRequestItemWeightUnit) MarshalJSON() ([]byte, error)
func (*NullableCreateDraftListingRequestItemWeightUnit) UnmarshalJSON ¶
func (v *NullableCreateDraftListingRequestItemWeightUnit) UnmarshalJSON(src []byte) error
func (*NullableCreateDraftListingRequestItemWeightUnit) Unset ¶
func (v *NullableCreateDraftListingRequestItemWeightUnit) Unset()
type NullableCreateDraftListingRequestType ¶
type NullableCreateDraftListingRequestType struct {
// contains filtered or unexported fields
}
func NewNullableCreateDraftListingRequestType ¶
func NewNullableCreateDraftListingRequestType(val *CreateDraftListingRequestType) *NullableCreateDraftListingRequestType
func (NullableCreateDraftListingRequestType) Get ¶
func (v NullableCreateDraftListingRequestType) Get() *CreateDraftListingRequestType
func (NullableCreateDraftListingRequestType) IsSet ¶
func (v NullableCreateDraftListingRequestType) IsSet() bool
func (NullableCreateDraftListingRequestType) MarshalJSON ¶
func (v NullableCreateDraftListingRequestType) MarshalJSON() ([]byte, error)
func (*NullableCreateDraftListingRequestType) Set ¶
func (v *NullableCreateDraftListingRequestType) Set(val *CreateDraftListingRequestType)
func (*NullableCreateDraftListingRequestType) UnmarshalJSON ¶
func (v *NullableCreateDraftListingRequestType) UnmarshalJSON(src []byte) error
func (*NullableCreateDraftListingRequestType) Unset ¶
func (v *NullableCreateDraftListingRequestType) Unset()
type NullableCreateDraftListingRequestWhenMade ¶
type NullableCreateDraftListingRequestWhenMade struct {
// contains filtered or unexported fields
}
func NewNullableCreateDraftListingRequestWhenMade ¶
func NewNullableCreateDraftListingRequestWhenMade(val *CreateDraftListingRequestWhenMade) *NullableCreateDraftListingRequestWhenMade
func (NullableCreateDraftListingRequestWhenMade) IsSet ¶
func (v NullableCreateDraftListingRequestWhenMade) IsSet() bool
func (NullableCreateDraftListingRequestWhenMade) MarshalJSON ¶
func (v NullableCreateDraftListingRequestWhenMade) MarshalJSON() ([]byte, error)
func (*NullableCreateDraftListingRequestWhenMade) Set ¶
func (v *NullableCreateDraftListingRequestWhenMade) Set(val *CreateDraftListingRequestWhenMade)
func (*NullableCreateDraftListingRequestWhenMade) UnmarshalJSON ¶
func (v *NullableCreateDraftListingRequestWhenMade) UnmarshalJSON(src []byte) error
func (*NullableCreateDraftListingRequestWhenMade) Unset ¶
func (v *NullableCreateDraftListingRequestWhenMade) Unset()
type NullableCreateDraftListingRequestWhoMade ¶
type NullableCreateDraftListingRequestWhoMade struct {
// contains filtered or unexported fields
}
func NewNullableCreateDraftListingRequestWhoMade ¶
func NewNullableCreateDraftListingRequestWhoMade(val *CreateDraftListingRequestWhoMade) *NullableCreateDraftListingRequestWhoMade
func (NullableCreateDraftListingRequestWhoMade) IsSet ¶
func (v NullableCreateDraftListingRequestWhoMade) IsSet() bool
func (NullableCreateDraftListingRequestWhoMade) MarshalJSON ¶
func (v NullableCreateDraftListingRequestWhoMade) MarshalJSON() ([]byte, error)
func (*NullableCreateDraftListingRequestWhoMade) Set ¶
func (v *NullableCreateDraftListingRequestWhoMade) Set(val *CreateDraftListingRequestWhoMade)
func (*NullableCreateDraftListingRequestWhoMade) UnmarshalJSON ¶
func (v *NullableCreateDraftListingRequestWhoMade) UnmarshalJSON(src []byte) error
func (*NullableCreateDraftListingRequestWhoMade) Unset ¶
func (v *NullableCreateDraftListingRequestWhoMade) Unset()
type NullableCreateShopShippingProfileRequestDestinationRegion ¶
type NullableCreateShopShippingProfileRequestDestinationRegion struct {
// contains filtered or unexported fields
}
func NewNullableCreateShopShippingProfileRequestDestinationRegion ¶
func NewNullableCreateShopShippingProfileRequestDestinationRegion(val *CreateShopShippingProfileRequestDestinationRegion) *NullableCreateShopShippingProfileRequestDestinationRegion
func (NullableCreateShopShippingProfileRequestDestinationRegion) IsSet ¶
func (v NullableCreateShopShippingProfileRequestDestinationRegion) IsSet() bool
func (NullableCreateShopShippingProfileRequestDestinationRegion) MarshalJSON ¶
func (v NullableCreateShopShippingProfileRequestDestinationRegion) MarshalJSON() ([]byte, error)
func (*NullableCreateShopShippingProfileRequestDestinationRegion) UnmarshalJSON ¶
func (v *NullableCreateShopShippingProfileRequestDestinationRegion) UnmarshalJSON(src []byte) error
func (*NullableCreateShopShippingProfileRequestDestinationRegion) Unset ¶
func (v *NullableCreateShopShippingProfileRequestDestinationRegion) Unset()
type NullableCreateShopShippingProfileRequestProcessingTimeUnit ¶
type NullableCreateShopShippingProfileRequestProcessingTimeUnit struct {
// contains filtered or unexported fields
}
func NewNullableCreateShopShippingProfileRequestProcessingTimeUnit ¶
func NewNullableCreateShopShippingProfileRequestProcessingTimeUnit(val *CreateShopShippingProfileRequestProcessingTimeUnit) *NullableCreateShopShippingProfileRequestProcessingTimeUnit
func (NullableCreateShopShippingProfileRequestProcessingTimeUnit) IsSet ¶
func (v NullableCreateShopShippingProfileRequestProcessingTimeUnit) IsSet() bool
func (NullableCreateShopShippingProfileRequestProcessingTimeUnit) MarshalJSON ¶
func (v NullableCreateShopShippingProfileRequestProcessingTimeUnit) MarshalJSON() ([]byte, error)
func (*NullableCreateShopShippingProfileRequestProcessingTimeUnit) UnmarshalJSON ¶
func (v *NullableCreateShopShippingProfileRequestProcessingTimeUnit) UnmarshalJSON(src []byte) error
func (*NullableCreateShopShippingProfileRequestProcessingTimeUnit) Unset ¶
func (v *NullableCreateShopShippingProfileRequestProcessingTimeUnit) Unset()
type NullableCreateShopShippingProfileUpgradeRequestType ¶
type NullableCreateShopShippingProfileUpgradeRequestType struct {
// contains filtered or unexported fields
}
func NewNullableCreateShopShippingProfileUpgradeRequestType ¶
func NewNullableCreateShopShippingProfileUpgradeRequestType(val *CreateShopShippingProfileUpgradeRequestType) *NullableCreateShopShippingProfileUpgradeRequestType
func (NullableCreateShopShippingProfileUpgradeRequestType) IsSet ¶
func (v NullableCreateShopShippingProfileUpgradeRequestType) IsSet() bool
func (NullableCreateShopShippingProfileUpgradeRequestType) MarshalJSON ¶
func (v NullableCreateShopShippingProfileUpgradeRequestType) MarshalJSON() ([]byte, error)
func (*NullableCreateShopShippingProfileUpgradeRequestType) UnmarshalJSON ¶
func (v *NullableCreateShopShippingProfileUpgradeRequestType) UnmarshalJSON(src []byte) error
func (*NullableCreateShopShippingProfileUpgradeRequestType) Unset ¶
func (v *NullableCreateShopShippingProfileUpgradeRequestType) Unset()
type NullableErrorSchema ¶
type NullableErrorSchema struct {
// contains filtered or unexported fields
}
func NewNullableErrorSchema ¶
func NewNullableErrorSchema(val *ErrorSchema) *NullableErrorSchema
func (NullableErrorSchema) Get ¶
func (v NullableErrorSchema) Get() *ErrorSchema
func (NullableErrorSchema) IsSet ¶
func (v NullableErrorSchema) IsSet() bool
func (NullableErrorSchema) MarshalJSON ¶
func (v NullableErrorSchema) MarshalJSON() ([]byte, error)
func (*NullableErrorSchema) Set ¶
func (v *NullableErrorSchema) Set(val *ErrorSchema)
func (*NullableErrorSchema) UnmarshalJSON ¶
func (v *NullableErrorSchema) UnmarshalJSON(src []byte) error
func (*NullableErrorSchema) Unset ¶
func (v *NullableErrorSchema) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetListingInventoryIncludesParameter ¶
type NullableGetListingInventoryIncludesParameter struct {
// contains filtered or unexported fields
}
func NewNullableGetListingInventoryIncludesParameter ¶
func NewNullableGetListingInventoryIncludesParameter(val *GetListingInventoryIncludesParameter) *NullableGetListingInventoryIncludesParameter
func (NullableGetListingInventoryIncludesParameter) IsSet ¶
func (v NullableGetListingInventoryIncludesParameter) IsSet() bool
func (NullableGetListingInventoryIncludesParameter) MarshalJSON ¶
func (v NullableGetListingInventoryIncludesParameter) MarshalJSON() ([]byte, error)
func (*NullableGetListingInventoryIncludesParameter) Set ¶
func (v *NullableGetListingInventoryIncludesParameter) Set(val *GetListingInventoryIncludesParameter)
func (*NullableGetListingInventoryIncludesParameter) UnmarshalJSON ¶
func (v *NullableGetListingInventoryIncludesParameter) UnmarshalJSON(src []byte) error
func (*NullableGetListingInventoryIncludesParameter) Unset ¶
func (v *NullableGetListingInventoryIncludesParameter) Unset()
type NullableGetListingsByShopIncludesParameterInner ¶
type NullableGetListingsByShopIncludesParameterInner struct {
// contains filtered or unexported fields
}
func NewNullableGetListingsByShopIncludesParameterInner ¶
func NewNullableGetListingsByShopIncludesParameterInner(val *GetListingsByShopIncludesParameterInner) *NullableGetListingsByShopIncludesParameterInner
func (NullableGetListingsByShopIncludesParameterInner) IsSet ¶
func (v NullableGetListingsByShopIncludesParameterInner) IsSet() bool
func (NullableGetListingsByShopIncludesParameterInner) MarshalJSON ¶
func (v NullableGetListingsByShopIncludesParameterInner) MarshalJSON() ([]byte, error)
func (*NullableGetListingsByShopIncludesParameterInner) UnmarshalJSON ¶
func (v *NullableGetListingsByShopIncludesParameterInner) UnmarshalJSON(src []byte) error
func (*NullableGetListingsByShopIncludesParameterInner) Unset ¶
func (v *NullableGetListingsByShopIncludesParameterInner) Unset()
type NullableGetListingsByShopSortOnParameter ¶
type NullableGetListingsByShopSortOnParameter struct {
// contains filtered or unexported fields
}
func NewNullableGetListingsByShopSortOnParameter ¶
func NewNullableGetListingsByShopSortOnParameter(val *GetListingsByShopSortOnParameter) *NullableGetListingsByShopSortOnParameter
func (NullableGetListingsByShopSortOnParameter) IsSet ¶
func (v NullableGetListingsByShopSortOnParameter) IsSet() bool
func (NullableGetListingsByShopSortOnParameter) MarshalJSON ¶
func (v NullableGetListingsByShopSortOnParameter) MarshalJSON() ([]byte, error)
func (*NullableGetListingsByShopSortOnParameter) Set ¶
func (v *NullableGetListingsByShopSortOnParameter) Set(val *GetListingsByShopSortOnParameter)
func (*NullableGetListingsByShopSortOnParameter) UnmarshalJSON ¶
func (v *NullableGetListingsByShopSortOnParameter) UnmarshalJSON(src []byte) error
func (*NullableGetListingsByShopSortOnParameter) Unset ¶
func (v *NullableGetListingsByShopSortOnParameter) Unset()
type NullableGetListingsByShopSortOrderParameter ¶
type NullableGetListingsByShopSortOrderParameter struct {
// contains filtered or unexported fields
}
func NewNullableGetListingsByShopSortOrderParameter ¶
func NewNullableGetListingsByShopSortOrderParameter(val *GetListingsByShopSortOrderParameter) *NullableGetListingsByShopSortOrderParameter
func (NullableGetListingsByShopSortOrderParameter) IsSet ¶
func (v NullableGetListingsByShopSortOrderParameter) IsSet() bool
func (NullableGetListingsByShopSortOrderParameter) MarshalJSON ¶
func (v NullableGetListingsByShopSortOrderParameter) MarshalJSON() ([]byte, error)
func (*NullableGetListingsByShopSortOrderParameter) Set ¶
func (v *NullableGetListingsByShopSortOrderParameter) Set(val *GetListingsByShopSortOrderParameter)
func (*NullableGetListingsByShopSortOrderParameter) UnmarshalJSON ¶
func (v *NullableGetListingsByShopSortOrderParameter) UnmarshalJSON(src []byte) error
func (*NullableGetListingsByShopSortOrderParameter) Unset ¶
func (v *NullableGetListingsByShopSortOrderParameter) Unset()
type NullableGetListingsByShopStateParameter ¶
type NullableGetListingsByShopStateParameter struct {
// contains filtered or unexported fields
}
func NewNullableGetListingsByShopStateParameter ¶
func NewNullableGetListingsByShopStateParameter(val *GetListingsByShopStateParameter) *NullableGetListingsByShopStateParameter
func (NullableGetListingsByShopStateParameter) IsSet ¶
func (v NullableGetListingsByShopStateParameter) IsSet() bool
func (NullableGetListingsByShopStateParameter) MarshalJSON ¶
func (v NullableGetListingsByShopStateParameter) MarshalJSON() ([]byte, error)
func (*NullableGetListingsByShopStateParameter) Set ¶
func (v *NullableGetListingsByShopStateParameter) Set(val *GetListingsByShopStateParameter)
func (*NullableGetListingsByShopStateParameter) UnmarshalJSON ¶
func (v *NullableGetListingsByShopStateParameter) UnmarshalJSON(src []byte) error
func (*NullableGetListingsByShopStateParameter) Unset ¶
func (v *NullableGetListingsByShopStateParameter) Unset()
type NullableGetShopReceiptsSortOnParameter ¶
type NullableGetShopReceiptsSortOnParameter struct {
// contains filtered or unexported fields
}
func NewNullableGetShopReceiptsSortOnParameter ¶
func NewNullableGetShopReceiptsSortOnParameter(val *GetShopReceiptsSortOnParameter) *NullableGetShopReceiptsSortOnParameter
func (NullableGetShopReceiptsSortOnParameter) Get ¶
func (v NullableGetShopReceiptsSortOnParameter) Get() *GetShopReceiptsSortOnParameter
func (NullableGetShopReceiptsSortOnParameter) IsSet ¶
func (v NullableGetShopReceiptsSortOnParameter) IsSet() bool
func (NullableGetShopReceiptsSortOnParameter) MarshalJSON ¶
func (v NullableGetShopReceiptsSortOnParameter) MarshalJSON() ([]byte, error)
func (*NullableGetShopReceiptsSortOnParameter) Set ¶
func (v *NullableGetShopReceiptsSortOnParameter) Set(val *GetShopReceiptsSortOnParameter)
func (*NullableGetShopReceiptsSortOnParameter) UnmarshalJSON ¶
func (v *NullableGetShopReceiptsSortOnParameter) UnmarshalJSON(src []byte) error
func (*NullableGetShopReceiptsSortOnParameter) Unset ¶
func (v *NullableGetShopReceiptsSortOnParameter) Unset()
type NullableGetShopReceiptsSortOrderParameter ¶
type NullableGetShopReceiptsSortOrderParameter struct {
// contains filtered or unexported fields
}
func NewNullableGetShopReceiptsSortOrderParameter ¶
func NewNullableGetShopReceiptsSortOrderParameter(val *GetShopReceiptsSortOrderParameter) *NullableGetShopReceiptsSortOrderParameter
func (NullableGetShopReceiptsSortOrderParameter) IsSet ¶
func (v NullableGetShopReceiptsSortOrderParameter) IsSet() bool
func (NullableGetShopReceiptsSortOrderParameter) MarshalJSON ¶
func (v NullableGetShopReceiptsSortOrderParameter) MarshalJSON() ([]byte, error)
func (*NullableGetShopReceiptsSortOrderParameter) Set ¶
func (v *NullableGetShopReceiptsSortOrderParameter) Set(val *GetShopReceiptsSortOrderParameter)
func (*NullableGetShopReceiptsSortOrderParameter) UnmarshalJSON ¶
func (v *NullableGetShopReceiptsSortOrderParameter) UnmarshalJSON(src []byte) error
func (*NullableGetShopReceiptsSortOrderParameter) Unset ¶
func (v *NullableGetShopReceiptsSortOrderParameter) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListingImage ¶
type NullableListingImage struct {
// contains filtered or unexported fields
}
func NewNullableListingImage ¶
func NewNullableListingImage(val *ListingImage) *NullableListingImage
func (NullableListingImage) Get ¶
func (v NullableListingImage) Get() *ListingImage
func (NullableListingImage) IsSet ¶
func (v NullableListingImage) IsSet() bool
func (NullableListingImage) MarshalJSON ¶
func (v NullableListingImage) MarshalJSON() ([]byte, error)
func (*NullableListingImage) Set ¶
func (v *NullableListingImage) Set(val *ListingImage)
func (*NullableListingImage) UnmarshalJSON ¶
func (v *NullableListingImage) UnmarshalJSON(src []byte) error
func (*NullableListingImage) Unset ¶
func (v *NullableListingImage) Unset()
type NullableListingImages ¶
type NullableListingImages struct {
// contains filtered or unexported fields
}
func NewNullableListingImages ¶
func NewNullableListingImages(val *ListingImages) *NullableListingImages
func (NullableListingImages) Get ¶
func (v NullableListingImages) Get() *ListingImages
func (NullableListingImages) IsSet ¶
func (v NullableListingImages) IsSet() bool
func (NullableListingImages) MarshalJSON ¶
func (v NullableListingImages) MarshalJSON() ([]byte, error)
func (*NullableListingImages) Set ¶
func (v *NullableListingImages) Set(val *ListingImages)
func (*NullableListingImages) UnmarshalJSON ¶
func (v *NullableListingImages) UnmarshalJSON(src []byte) error
func (*NullableListingImages) Unset ¶
func (v *NullableListingImages) Unset()
type NullableListingInventory ¶
type NullableListingInventory struct {
// contains filtered or unexported fields
}
func NewNullableListingInventory ¶
func NewNullableListingInventory(val *ListingInventory) *NullableListingInventory
func (NullableListingInventory) Get ¶
func (v NullableListingInventory) Get() *ListingInventory
func (NullableListingInventory) IsSet ¶
func (v NullableListingInventory) IsSet() bool
func (NullableListingInventory) MarshalJSON ¶
func (v NullableListingInventory) MarshalJSON() ([]byte, error)
func (*NullableListingInventory) Set ¶
func (v *NullableListingInventory) Set(val *ListingInventory)
func (*NullableListingInventory) UnmarshalJSON ¶
func (v *NullableListingInventory) UnmarshalJSON(src []byte) error
func (*NullableListingInventory) Unset ¶
func (v *NullableListingInventory) Unset()
type NullableListingInventoryProduct ¶
type NullableListingInventoryProduct struct {
// contains filtered or unexported fields
}
func NewNullableListingInventoryProduct ¶
func NewNullableListingInventoryProduct(val *ListingInventoryProduct) *NullableListingInventoryProduct
func (NullableListingInventoryProduct) Get ¶
func (v NullableListingInventoryProduct) Get() *ListingInventoryProduct
func (NullableListingInventoryProduct) IsSet ¶
func (v NullableListingInventoryProduct) IsSet() bool
func (NullableListingInventoryProduct) MarshalJSON ¶
func (v NullableListingInventoryProduct) MarshalJSON() ([]byte, error)
func (*NullableListingInventoryProduct) Set ¶
func (v *NullableListingInventoryProduct) Set(val *ListingInventoryProduct)
func (*NullableListingInventoryProduct) UnmarshalJSON ¶
func (v *NullableListingInventoryProduct) UnmarshalJSON(src []byte) error
func (*NullableListingInventoryProduct) Unset ¶
func (v *NullableListingInventoryProduct) Unset()
type NullableListingInventoryProductOffering ¶
type NullableListingInventoryProductOffering struct {
// contains filtered or unexported fields
}
func NewNullableListingInventoryProductOffering ¶
func NewNullableListingInventoryProductOffering(val *ListingInventoryProductOffering) *NullableListingInventoryProductOffering
func (NullableListingInventoryProductOffering) IsSet ¶
func (v NullableListingInventoryProductOffering) IsSet() bool
func (NullableListingInventoryProductOffering) MarshalJSON ¶
func (v NullableListingInventoryProductOffering) MarshalJSON() ([]byte, error)
func (*NullableListingInventoryProductOffering) Set ¶
func (v *NullableListingInventoryProductOffering) Set(val *ListingInventoryProductOffering)
func (*NullableListingInventoryProductOffering) UnmarshalJSON ¶
func (v *NullableListingInventoryProductOffering) UnmarshalJSON(src []byte) error
func (*NullableListingInventoryProductOffering) Unset ¶
func (v *NullableListingInventoryProductOffering) Unset()
type NullableListingInventoryWithAssociations ¶
type NullableListingInventoryWithAssociations struct {
// contains filtered or unexported fields
}
func NewNullableListingInventoryWithAssociations ¶
func NewNullableListingInventoryWithAssociations(val *ListingInventoryWithAssociations) *NullableListingInventoryWithAssociations
func (NullableListingInventoryWithAssociations) IsSet ¶
func (v NullableListingInventoryWithAssociations) IsSet() bool
func (NullableListingInventoryWithAssociations) MarshalJSON ¶
func (v NullableListingInventoryWithAssociations) MarshalJSON() ([]byte, error)
func (*NullableListingInventoryWithAssociations) Set ¶
func (v *NullableListingInventoryWithAssociations) Set(val *ListingInventoryWithAssociations)
func (*NullableListingInventoryWithAssociations) UnmarshalJSON ¶
func (v *NullableListingInventoryWithAssociations) UnmarshalJSON(src []byte) error
func (*NullableListingInventoryWithAssociations) Unset ¶
func (v *NullableListingInventoryWithAssociations) Unset()
type NullableListingPropertyValue ¶
type NullableListingPropertyValue struct {
// contains filtered or unexported fields
}
func NewNullableListingPropertyValue ¶
func NewNullableListingPropertyValue(val *ListingPropertyValue) *NullableListingPropertyValue
func (NullableListingPropertyValue) Get ¶
func (v NullableListingPropertyValue) Get() *ListingPropertyValue
func (NullableListingPropertyValue) IsSet ¶
func (v NullableListingPropertyValue) IsSet() bool
func (NullableListingPropertyValue) MarshalJSON ¶
func (v NullableListingPropertyValue) MarshalJSON() ([]byte, error)
func (*NullableListingPropertyValue) Set ¶
func (v *NullableListingPropertyValue) Set(val *ListingPropertyValue)
func (*NullableListingPropertyValue) UnmarshalJSON ¶
func (v *NullableListingPropertyValue) UnmarshalJSON(src []byte) error
func (*NullableListingPropertyValue) Unset ¶
func (v *NullableListingPropertyValue) Unset()
type NullableListingPropertyValues ¶
type NullableListingPropertyValues struct {
// contains filtered or unexported fields
}
func NewNullableListingPropertyValues ¶
func NewNullableListingPropertyValues(val *ListingPropertyValues) *NullableListingPropertyValues
func (NullableListingPropertyValues) Get ¶
func (v NullableListingPropertyValues) Get() *ListingPropertyValues
func (NullableListingPropertyValues) IsSet ¶
func (v NullableListingPropertyValues) IsSet() bool
func (NullableListingPropertyValues) MarshalJSON ¶
func (v NullableListingPropertyValues) MarshalJSON() ([]byte, error)
func (*NullableListingPropertyValues) Set ¶
func (v *NullableListingPropertyValues) Set(val *ListingPropertyValues)
func (*NullableListingPropertyValues) UnmarshalJSON ¶
func (v *NullableListingPropertyValues) UnmarshalJSON(src []byte) error
func (*NullableListingPropertyValues) Unset ¶
func (v *NullableListingPropertyValues) Unset()
type NullableListingReview ¶
type NullableListingReview struct {
// contains filtered or unexported fields
}
func NewNullableListingReview ¶
func NewNullableListingReview(val *ListingReview) *NullableListingReview
func (NullableListingReview) Get ¶
func (v NullableListingReview) Get() *ListingReview
func (NullableListingReview) IsSet ¶
func (v NullableListingReview) IsSet() bool
func (NullableListingReview) MarshalJSON ¶
func (v NullableListingReview) MarshalJSON() ([]byte, error)
func (*NullableListingReview) Set ¶
func (v *NullableListingReview) Set(val *ListingReview)
func (*NullableListingReview) UnmarshalJSON ¶
func (v *NullableListingReview) UnmarshalJSON(src []byte) error
func (*NullableListingReview) Unset ¶
func (v *NullableListingReview) Unset()
type NullableListingReviews ¶
type NullableListingReviews struct {
// contains filtered or unexported fields
}
func NewNullableListingReviews ¶
func NewNullableListingReviews(val *ListingReviews) *NullableListingReviews
func (NullableListingReviews) Get ¶
func (v NullableListingReviews) Get() *ListingReviews
func (NullableListingReviews) IsSet ¶
func (v NullableListingReviews) IsSet() bool
func (NullableListingReviews) MarshalJSON ¶
func (v NullableListingReviews) MarshalJSON() ([]byte, error)
func (*NullableListingReviews) Set ¶
func (v *NullableListingReviews) Set(val *ListingReviews)
func (*NullableListingReviews) UnmarshalJSON ¶
func (v *NullableListingReviews) UnmarshalJSON(src []byte) error
func (*NullableListingReviews) Unset ¶
func (v *NullableListingReviews) Unset()
type NullableListingTranslation ¶
type NullableListingTranslation struct {
// contains filtered or unexported fields
}
func NewNullableListingTranslation ¶
func NewNullableListingTranslation(val *ListingTranslation) *NullableListingTranslation
func (NullableListingTranslation) Get ¶
func (v NullableListingTranslation) Get() *ListingTranslation
func (NullableListingTranslation) IsSet ¶
func (v NullableListingTranslation) IsSet() bool
func (NullableListingTranslation) MarshalJSON ¶
func (v NullableListingTranslation) MarshalJSON() ([]byte, error)
func (*NullableListingTranslation) Set ¶
func (v *NullableListingTranslation) Set(val *ListingTranslation)
func (*NullableListingTranslation) UnmarshalJSON ¶
func (v *NullableListingTranslation) UnmarshalJSON(src []byte) error
func (*NullableListingTranslation) Unset ¶
func (v *NullableListingTranslation) Unset()
type NullableListingTranslations ¶
type NullableListingTranslations struct {
// contains filtered or unexported fields
}
func NewNullableListingTranslations ¶
func NewNullableListingTranslations(val *ListingTranslations) *NullableListingTranslations
func (NullableListingTranslations) Get ¶
func (v NullableListingTranslations) Get() *ListingTranslations
func (NullableListingTranslations) IsSet ¶
func (v NullableListingTranslations) IsSet() bool
func (NullableListingTranslations) MarshalJSON ¶
func (v NullableListingTranslations) MarshalJSON() ([]byte, error)
func (*NullableListingTranslations) Set ¶
func (v *NullableListingTranslations) Set(val *ListingTranslations)
func (*NullableListingTranslations) UnmarshalJSON ¶
func (v *NullableListingTranslations) UnmarshalJSON(src []byte) error
func (*NullableListingTranslations) Unset ¶
func (v *NullableListingTranslations) Unset()
type NullableListingVariationImage ¶
type NullableListingVariationImage struct {
// contains filtered or unexported fields
}
func NewNullableListingVariationImage ¶
func NewNullableListingVariationImage(val *ListingVariationImage) *NullableListingVariationImage
func (NullableListingVariationImage) Get ¶
func (v NullableListingVariationImage) Get() *ListingVariationImage
func (NullableListingVariationImage) IsSet ¶
func (v NullableListingVariationImage) IsSet() bool
func (NullableListingVariationImage) MarshalJSON ¶
func (v NullableListingVariationImage) MarshalJSON() ([]byte, error)
func (*NullableListingVariationImage) Set ¶
func (v *NullableListingVariationImage) Set(val *ListingVariationImage)
func (*NullableListingVariationImage) UnmarshalJSON ¶
func (v *NullableListingVariationImage) UnmarshalJSON(src []byte) error
func (*NullableListingVariationImage) Unset ¶
func (v *NullableListingVariationImage) Unset()
type NullableListingVariationImages ¶
type NullableListingVariationImages struct {
// contains filtered or unexported fields
}
func NewNullableListingVariationImages ¶
func NewNullableListingVariationImages(val *ListingVariationImages) *NullableListingVariationImages
func (NullableListingVariationImages) Get ¶
func (v NullableListingVariationImages) Get() *ListingVariationImages
func (NullableListingVariationImages) IsSet ¶
func (v NullableListingVariationImages) IsSet() bool
func (NullableListingVariationImages) MarshalJSON ¶
func (v NullableListingVariationImages) MarshalJSON() ([]byte, error)
func (*NullableListingVariationImages) Set ¶
func (v *NullableListingVariationImages) Set(val *ListingVariationImages)
func (*NullableListingVariationImages) UnmarshalJSON ¶
func (v *NullableListingVariationImages) UnmarshalJSON(src []byte) error
func (*NullableListingVariationImages) Unset ¶
func (v *NullableListingVariationImages) Unset()
type NullableListingVideo ¶
type NullableListingVideo struct {
// contains filtered or unexported fields
}
func NewNullableListingVideo ¶
func NewNullableListingVideo(val *ListingVideo) *NullableListingVideo
func (NullableListingVideo) Get ¶
func (v NullableListingVideo) Get() *ListingVideo
func (NullableListingVideo) IsSet ¶
func (v NullableListingVideo) IsSet() bool
func (NullableListingVideo) MarshalJSON ¶
func (v NullableListingVideo) MarshalJSON() ([]byte, error)
func (*NullableListingVideo) Set ¶
func (v *NullableListingVideo) Set(val *ListingVideo)
func (*NullableListingVideo) UnmarshalJSON ¶
func (v *NullableListingVideo) UnmarshalJSON(src []byte) error
func (*NullableListingVideo) Unset ¶
func (v *NullableListingVideo) Unset()
type NullableListingVideoVideoState ¶
type NullableListingVideoVideoState struct {
// contains filtered or unexported fields
}
func NewNullableListingVideoVideoState ¶
func NewNullableListingVideoVideoState(val *ListingVideoVideoState) *NullableListingVideoVideoState
func (NullableListingVideoVideoState) Get ¶
func (v NullableListingVideoVideoState) Get() *ListingVideoVideoState
func (NullableListingVideoVideoState) IsSet ¶
func (v NullableListingVideoVideoState) IsSet() bool
func (NullableListingVideoVideoState) MarshalJSON ¶
func (v NullableListingVideoVideoState) MarshalJSON() ([]byte, error)
func (*NullableListingVideoVideoState) Set ¶
func (v *NullableListingVideoVideoState) Set(val *ListingVideoVideoState)
func (*NullableListingVideoVideoState) UnmarshalJSON ¶
func (v *NullableListingVideoVideoState) UnmarshalJSON(src []byte) error
func (*NullableListingVideoVideoState) Unset ¶
func (v *NullableListingVideoVideoState) Unset()
type NullableListingVideos ¶
type NullableListingVideos struct {
// contains filtered or unexported fields
}
func NewNullableListingVideos ¶
func NewNullableListingVideos(val *ListingVideos) *NullableListingVideos
func (NullableListingVideos) Get ¶
func (v NullableListingVideos) Get() *ListingVideos
func (NullableListingVideos) IsSet ¶
func (v NullableListingVideos) IsSet() bool
func (NullableListingVideos) MarshalJSON ¶
func (v NullableListingVideos) MarshalJSON() ([]byte, error)
func (*NullableListingVideos) Set ¶
func (v *NullableListingVideos) Set(val *ListingVideos)
func (*NullableListingVideos) UnmarshalJSON ¶
func (v *NullableListingVideos) UnmarshalJSON(src []byte) error
func (*NullableListingVideos) Unset ¶
func (v *NullableListingVideos) Unset()
type NullableMoney ¶
type NullableMoney struct {
// contains filtered or unexported fields
}
func NewNullableMoney ¶
func NewNullableMoney(val *Money) *NullableMoney
func (NullableMoney) Get ¶
func (v NullableMoney) Get() *Money
func (NullableMoney) IsSet ¶
func (v NullableMoney) IsSet() bool
func (NullableMoney) MarshalJSON ¶
func (v NullableMoney) MarshalJSON() ([]byte, error)
func (*NullableMoney) Set ¶
func (v *NullableMoney) Set(val *Money)
func (*NullableMoney) UnmarshalJSON ¶
func (v *NullableMoney) UnmarshalJSON(src []byte) error
func (*NullableMoney) Unset ¶
func (v *NullableMoney) Unset()
type NullablePayment ¶
type NullablePayment struct {
// contains filtered or unexported fields
}
func NewNullablePayment ¶
func NewNullablePayment(val *Payment) *NullablePayment
func (NullablePayment) Get ¶
func (v NullablePayment) Get() *Payment
func (NullablePayment) IsSet ¶
func (v NullablePayment) IsSet() bool
func (NullablePayment) MarshalJSON ¶
func (v NullablePayment) MarshalJSON() ([]byte, error)
func (*NullablePayment) Set ¶
func (v *NullablePayment) Set(val *Payment)
func (*NullablePayment) UnmarshalJSON ¶
func (v *NullablePayment) UnmarshalJSON(src []byte) error
func (*NullablePayment) Unset ¶
func (v *NullablePayment) Unset()
type NullablePaymentAccountLedgerEntries ¶
type NullablePaymentAccountLedgerEntries struct {
// contains filtered or unexported fields
}
func NewNullablePaymentAccountLedgerEntries ¶
func NewNullablePaymentAccountLedgerEntries(val *PaymentAccountLedgerEntries) *NullablePaymentAccountLedgerEntries
func (NullablePaymentAccountLedgerEntries) Get ¶
func (v NullablePaymentAccountLedgerEntries) Get() *PaymentAccountLedgerEntries
func (NullablePaymentAccountLedgerEntries) IsSet ¶
func (v NullablePaymentAccountLedgerEntries) IsSet() bool
func (NullablePaymentAccountLedgerEntries) MarshalJSON ¶
func (v NullablePaymentAccountLedgerEntries) MarshalJSON() ([]byte, error)
func (*NullablePaymentAccountLedgerEntries) Set ¶
func (v *NullablePaymentAccountLedgerEntries) Set(val *PaymentAccountLedgerEntries)
func (*NullablePaymentAccountLedgerEntries) UnmarshalJSON ¶
func (v *NullablePaymentAccountLedgerEntries) UnmarshalJSON(src []byte) error
func (*NullablePaymentAccountLedgerEntries) Unset ¶
func (v *NullablePaymentAccountLedgerEntries) Unset()
type NullablePaymentAccountLedgerEntry ¶
type NullablePaymentAccountLedgerEntry struct {
// contains filtered or unexported fields
}
func NewNullablePaymentAccountLedgerEntry ¶
func NewNullablePaymentAccountLedgerEntry(val *PaymentAccountLedgerEntry) *NullablePaymentAccountLedgerEntry
func (NullablePaymentAccountLedgerEntry) Get ¶
func (v NullablePaymentAccountLedgerEntry) Get() *PaymentAccountLedgerEntry
func (NullablePaymentAccountLedgerEntry) IsSet ¶
func (v NullablePaymentAccountLedgerEntry) IsSet() bool
func (NullablePaymentAccountLedgerEntry) MarshalJSON ¶
func (v NullablePaymentAccountLedgerEntry) MarshalJSON() ([]byte, error)
func (*NullablePaymentAccountLedgerEntry) Set ¶
func (v *NullablePaymentAccountLedgerEntry) Set(val *PaymentAccountLedgerEntry)
func (*NullablePaymentAccountLedgerEntry) UnmarshalJSON ¶
func (v *NullablePaymentAccountLedgerEntry) UnmarshalJSON(src []byte) error
func (*NullablePaymentAccountLedgerEntry) Unset ¶
func (v *NullablePaymentAccountLedgerEntry) Unset()
type NullablePaymentAdjustment ¶
type NullablePaymentAdjustment struct {
// contains filtered or unexported fields
}
func NewNullablePaymentAdjustment ¶
func NewNullablePaymentAdjustment(val *PaymentAdjustment) *NullablePaymentAdjustment
func (NullablePaymentAdjustment) Get ¶
func (v NullablePaymentAdjustment) Get() *PaymentAdjustment
func (NullablePaymentAdjustment) IsSet ¶
func (v NullablePaymentAdjustment) IsSet() bool
func (NullablePaymentAdjustment) MarshalJSON ¶
func (v NullablePaymentAdjustment) MarshalJSON() ([]byte, error)
func (*NullablePaymentAdjustment) Set ¶
func (v *NullablePaymentAdjustment) Set(val *PaymentAdjustment)
func (*NullablePaymentAdjustment) UnmarshalJSON ¶
func (v *NullablePaymentAdjustment) UnmarshalJSON(src []byte) error
func (*NullablePaymentAdjustment) Unset ¶
func (v *NullablePaymentAdjustment) Unset()
type NullablePaymentAdjustmentItem ¶
type NullablePaymentAdjustmentItem struct {
// contains filtered or unexported fields
}
func NewNullablePaymentAdjustmentItem ¶
func NewNullablePaymentAdjustmentItem(val *PaymentAdjustmentItem) *NullablePaymentAdjustmentItem
func (NullablePaymentAdjustmentItem) Get ¶
func (v NullablePaymentAdjustmentItem) Get() *PaymentAdjustmentItem
func (NullablePaymentAdjustmentItem) IsSet ¶
func (v NullablePaymentAdjustmentItem) IsSet() bool
func (NullablePaymentAdjustmentItem) MarshalJSON ¶
func (v NullablePaymentAdjustmentItem) MarshalJSON() ([]byte, error)
func (*NullablePaymentAdjustmentItem) Set ¶
func (v *NullablePaymentAdjustmentItem) Set(val *PaymentAdjustmentItem)
func (*NullablePaymentAdjustmentItem) UnmarshalJSON ¶
func (v *NullablePaymentAdjustmentItem) UnmarshalJSON(src []byte) error
func (*NullablePaymentAdjustmentItem) Unset ¶
func (v *NullablePaymentAdjustmentItem) Unset()
type NullablePayments ¶
type NullablePayments struct {
// contains filtered or unexported fields
}
func NewNullablePayments ¶
func NewNullablePayments(val *Payments) *NullablePayments
func (NullablePayments) Get ¶
func (v NullablePayments) Get() *Payments
func (NullablePayments) IsSet ¶
func (v NullablePayments) IsSet() bool
func (NullablePayments) MarshalJSON ¶
func (v NullablePayments) MarshalJSON() ([]byte, error)
func (*NullablePayments) Set ¶
func (v *NullablePayments) Set(val *Payments)
func (*NullablePayments) UnmarshalJSON ¶
func (v *NullablePayments) UnmarshalJSON(src []byte) error
func (*NullablePayments) Unset ¶
func (v *NullablePayments) Unset()
type NullablePong ¶
type NullablePong struct {
// contains filtered or unexported fields
}
func NewNullablePong ¶
func NewNullablePong(val *Pong) *NullablePong
func (NullablePong) Get ¶
func (v NullablePong) Get() *Pong
func (NullablePong) IsSet ¶
func (v NullablePong) IsSet() bool
func (NullablePong) MarshalJSON ¶
func (v NullablePong) MarshalJSON() ([]byte, error)
func (*NullablePong) Set ¶
func (v *NullablePong) Set(val *Pong)
func (*NullablePong) UnmarshalJSON ¶
func (v *NullablePong) UnmarshalJSON(src []byte) error
func (*NullablePong) Unset ¶
func (v *NullablePong) Unset()
type NullableSelf ¶
type NullableSelf struct {
// contains filtered or unexported fields
}
func NewNullableSelf ¶
func NewNullableSelf(val *Self) *NullableSelf
func (NullableSelf) Get ¶
func (v NullableSelf) Get() *Self
func (NullableSelf) IsSet ¶
func (v NullableSelf) IsSet() bool
func (NullableSelf) MarshalJSON ¶
func (v NullableSelf) MarshalJSON() ([]byte, error)
func (*NullableSelf) Set ¶
func (v *NullableSelf) Set(val *Self)
func (*NullableSelf) UnmarshalJSON ¶
func (v *NullableSelf) UnmarshalJSON(src []byte) error
func (*NullableSelf) Unset ¶
func (v *NullableSelf) Unset()
type NullableSellerTaxonomyNode ¶
type NullableSellerTaxonomyNode struct {
// contains filtered or unexported fields
}
func NewNullableSellerTaxonomyNode ¶
func NewNullableSellerTaxonomyNode(val *SellerTaxonomyNode) *NullableSellerTaxonomyNode
func (NullableSellerTaxonomyNode) Get ¶
func (v NullableSellerTaxonomyNode) Get() *SellerTaxonomyNode
func (NullableSellerTaxonomyNode) IsSet ¶
func (v NullableSellerTaxonomyNode) IsSet() bool
func (NullableSellerTaxonomyNode) MarshalJSON ¶
func (v NullableSellerTaxonomyNode) MarshalJSON() ([]byte, error)
func (*NullableSellerTaxonomyNode) Set ¶
func (v *NullableSellerTaxonomyNode) Set(val *SellerTaxonomyNode)
func (*NullableSellerTaxonomyNode) UnmarshalJSON ¶
func (v *NullableSellerTaxonomyNode) UnmarshalJSON(src []byte) error
func (*NullableSellerTaxonomyNode) Unset ¶
func (v *NullableSellerTaxonomyNode) Unset()
type NullableSellerTaxonomyNodes ¶
type NullableSellerTaxonomyNodes struct {
// contains filtered or unexported fields
}
func NewNullableSellerTaxonomyNodes ¶
func NewNullableSellerTaxonomyNodes(val *SellerTaxonomyNodes) *NullableSellerTaxonomyNodes
func (NullableSellerTaxonomyNodes) Get ¶
func (v NullableSellerTaxonomyNodes) Get() *SellerTaxonomyNodes
func (NullableSellerTaxonomyNodes) IsSet ¶
func (v NullableSellerTaxonomyNodes) IsSet() bool
func (NullableSellerTaxonomyNodes) MarshalJSON ¶
func (v NullableSellerTaxonomyNodes) MarshalJSON() ([]byte, error)
func (*NullableSellerTaxonomyNodes) Set ¶
func (v *NullableSellerTaxonomyNodes) Set(val *SellerTaxonomyNodes)
func (*NullableSellerTaxonomyNodes) UnmarshalJSON ¶
func (v *NullableSellerTaxonomyNodes) UnmarshalJSON(src []byte) error
func (*NullableSellerTaxonomyNodes) Unset ¶
func (v *NullableSellerTaxonomyNodes) Unset()
type NullableShippingCarrier ¶
type NullableShippingCarrier struct {
// contains filtered or unexported fields
}
func NewNullableShippingCarrier ¶
func NewNullableShippingCarrier(val *ShippingCarrier) *NullableShippingCarrier
func (NullableShippingCarrier) Get ¶
func (v NullableShippingCarrier) Get() *ShippingCarrier
func (NullableShippingCarrier) IsSet ¶
func (v NullableShippingCarrier) IsSet() bool
func (NullableShippingCarrier) MarshalJSON ¶
func (v NullableShippingCarrier) MarshalJSON() ([]byte, error)
func (*NullableShippingCarrier) Set ¶
func (v *NullableShippingCarrier) Set(val *ShippingCarrier)
func (*NullableShippingCarrier) UnmarshalJSON ¶
func (v *NullableShippingCarrier) UnmarshalJSON(src []byte) error
func (*NullableShippingCarrier) Unset ¶
func (v *NullableShippingCarrier) Unset()
type NullableShippingCarrierMailClass ¶
type NullableShippingCarrierMailClass struct {
// contains filtered or unexported fields
}
func NewNullableShippingCarrierMailClass ¶
func NewNullableShippingCarrierMailClass(val *ShippingCarrierMailClass) *NullableShippingCarrierMailClass
func (NullableShippingCarrierMailClass) Get ¶
func (v NullableShippingCarrierMailClass) Get() *ShippingCarrierMailClass
func (NullableShippingCarrierMailClass) IsSet ¶
func (v NullableShippingCarrierMailClass) IsSet() bool
func (NullableShippingCarrierMailClass) MarshalJSON ¶
func (v NullableShippingCarrierMailClass) MarshalJSON() ([]byte, error)
func (*NullableShippingCarrierMailClass) Set ¶
func (v *NullableShippingCarrierMailClass) Set(val *ShippingCarrierMailClass)
func (*NullableShippingCarrierMailClass) UnmarshalJSON ¶
func (v *NullableShippingCarrierMailClass) UnmarshalJSON(src []byte) error
func (*NullableShippingCarrierMailClass) Unset ¶
func (v *NullableShippingCarrierMailClass) Unset()
type NullableShippingCarriers ¶
type NullableShippingCarriers struct {
// contains filtered or unexported fields
}
func NewNullableShippingCarriers ¶
func NewNullableShippingCarriers(val *ShippingCarriers) *NullableShippingCarriers
func (NullableShippingCarriers) Get ¶
func (v NullableShippingCarriers) Get() *ShippingCarriers
func (NullableShippingCarriers) IsSet ¶
func (v NullableShippingCarriers) IsSet() bool
func (NullableShippingCarriers) MarshalJSON ¶
func (v NullableShippingCarriers) MarshalJSON() ([]byte, error)
func (*NullableShippingCarriers) Set ¶
func (v *NullableShippingCarriers) Set(val *ShippingCarriers)
func (*NullableShippingCarriers) UnmarshalJSON ¶
func (v *NullableShippingCarriers) UnmarshalJSON(src []byte) error
func (*NullableShippingCarriers) Unset ¶
func (v *NullableShippingCarriers) Unset()
type NullableShop ¶
type NullableShop struct {
// contains filtered or unexported fields
}
func NewNullableShop ¶
func NewNullableShop(val *Shop) *NullableShop
func (NullableShop) Get ¶
func (v NullableShop) Get() *Shop
func (NullableShop) IsSet ¶
func (v NullableShop) IsSet() bool
func (NullableShop) MarshalJSON ¶
func (v NullableShop) MarshalJSON() ([]byte, error)
func (*NullableShop) Set ¶
func (v *NullableShop) Set(val *Shop)
func (*NullableShop) UnmarshalJSON ¶
func (v *NullableShop) UnmarshalJSON(src []byte) error
func (*NullableShop) Unset ¶
func (v *NullableShop) Unset()
type NullableShopHolidayPreference ¶
type NullableShopHolidayPreference struct {
// contains filtered or unexported fields
}
func NewNullableShopHolidayPreference ¶
func NewNullableShopHolidayPreference(val *ShopHolidayPreference) *NullableShopHolidayPreference
func (NullableShopHolidayPreference) Get ¶
func (v NullableShopHolidayPreference) Get() *ShopHolidayPreference
func (NullableShopHolidayPreference) IsSet ¶
func (v NullableShopHolidayPreference) IsSet() bool
func (NullableShopHolidayPreference) MarshalJSON ¶
func (v NullableShopHolidayPreference) MarshalJSON() ([]byte, error)
func (*NullableShopHolidayPreference) Set ¶
func (v *NullableShopHolidayPreference) Set(val *ShopHolidayPreference)
func (*NullableShopHolidayPreference) UnmarshalJSON ¶
func (v *NullableShopHolidayPreference) UnmarshalJSON(src []byte) error
func (*NullableShopHolidayPreference) Unset ¶
func (v *NullableShopHolidayPreference) Unset()
type NullableShopListing ¶
type NullableShopListing struct {
// contains filtered or unexported fields
}
func NewNullableShopListing ¶
func NewNullableShopListing(val *ShopListing) *NullableShopListing
func (NullableShopListing) Get ¶
func (v NullableShopListing) Get() *ShopListing
func (NullableShopListing) IsSet ¶
func (v NullableShopListing) IsSet() bool
func (NullableShopListing) MarshalJSON ¶
func (v NullableShopListing) MarshalJSON() ([]byte, error)
func (*NullableShopListing) Set ¶
func (v *NullableShopListing) Set(val *ShopListing)
func (*NullableShopListing) UnmarshalJSON ¶
func (v *NullableShopListing) UnmarshalJSON(src []byte) error
func (*NullableShopListing) Unset ¶
func (v *NullableShopListing) Unset()
type NullableShopListingFile ¶
type NullableShopListingFile struct {
// contains filtered or unexported fields
}
func NewNullableShopListingFile ¶
func NewNullableShopListingFile(val *ShopListingFile) *NullableShopListingFile
func (NullableShopListingFile) Get ¶
func (v NullableShopListingFile) Get() *ShopListingFile
func (NullableShopListingFile) IsSet ¶
func (v NullableShopListingFile) IsSet() bool
func (NullableShopListingFile) MarshalJSON ¶
func (v NullableShopListingFile) MarshalJSON() ([]byte, error)
func (*NullableShopListingFile) Set ¶
func (v *NullableShopListingFile) Set(val *ShopListingFile)
func (*NullableShopListingFile) UnmarshalJSON ¶
func (v *NullableShopListingFile) UnmarshalJSON(src []byte) error
func (*NullableShopListingFile) Unset ¶
func (v *NullableShopListingFile) Unset()
type NullableShopListingFiles ¶
type NullableShopListingFiles struct {
// contains filtered or unexported fields
}
func NewNullableShopListingFiles ¶
func NewNullableShopListingFiles(val *ShopListingFiles) *NullableShopListingFiles
func (NullableShopListingFiles) Get ¶
func (v NullableShopListingFiles) Get() *ShopListingFiles
func (NullableShopListingFiles) IsSet ¶
func (v NullableShopListingFiles) IsSet() bool
func (NullableShopListingFiles) MarshalJSON ¶
func (v NullableShopListingFiles) MarshalJSON() ([]byte, error)
func (*NullableShopListingFiles) Set ¶
func (v *NullableShopListingFiles) Set(val *ShopListingFiles)
func (*NullableShopListingFiles) UnmarshalJSON ¶
func (v *NullableShopListingFiles) UnmarshalJSON(src []byte) error
func (*NullableShopListingFiles) Unset ¶
func (v *NullableShopListingFiles) Unset()
type NullableShopListingState ¶
type NullableShopListingState struct {
// contains filtered or unexported fields
}
func NewNullableShopListingState ¶
func NewNullableShopListingState(val *ShopListingState) *NullableShopListingState
func (NullableShopListingState) Get ¶
func (v NullableShopListingState) Get() *ShopListingState
func (NullableShopListingState) IsSet ¶
func (v NullableShopListingState) IsSet() bool
func (NullableShopListingState) MarshalJSON ¶
func (v NullableShopListingState) MarshalJSON() ([]byte, error)
func (*NullableShopListingState) Set ¶
func (v *NullableShopListingState) Set(val *ShopListingState)
func (*NullableShopListingState) UnmarshalJSON ¶
func (v *NullableShopListingState) UnmarshalJSON(src []byte) error
func (*NullableShopListingState) Unset ¶
func (v *NullableShopListingState) Unset()
type NullableShopListingWhenMade ¶
type NullableShopListingWhenMade struct {
// contains filtered or unexported fields
}
func NewNullableShopListingWhenMade ¶
func NewNullableShopListingWhenMade(val *ShopListingWhenMade) *NullableShopListingWhenMade
func (NullableShopListingWhenMade) Get ¶
func (v NullableShopListingWhenMade) Get() *ShopListingWhenMade
func (NullableShopListingWhenMade) IsSet ¶
func (v NullableShopListingWhenMade) IsSet() bool
func (NullableShopListingWhenMade) MarshalJSON ¶
func (v NullableShopListingWhenMade) MarshalJSON() ([]byte, error)
func (*NullableShopListingWhenMade) Set ¶
func (v *NullableShopListingWhenMade) Set(val *ShopListingWhenMade)
func (*NullableShopListingWhenMade) UnmarshalJSON ¶
func (v *NullableShopListingWhenMade) UnmarshalJSON(src []byte) error
func (*NullableShopListingWhenMade) Unset ¶
func (v *NullableShopListingWhenMade) Unset()
type NullableShopListingWhoMade ¶
type NullableShopListingWhoMade struct {
// contains filtered or unexported fields
}
func NewNullableShopListingWhoMade ¶
func NewNullableShopListingWhoMade(val *ShopListingWhoMade) *NullableShopListingWhoMade
func (NullableShopListingWhoMade) Get ¶
func (v NullableShopListingWhoMade) Get() *ShopListingWhoMade
func (NullableShopListingWhoMade) IsSet ¶
func (v NullableShopListingWhoMade) IsSet() bool
func (NullableShopListingWhoMade) MarshalJSON ¶
func (v NullableShopListingWhoMade) MarshalJSON() ([]byte, error)
func (*NullableShopListingWhoMade) Set ¶
func (v *NullableShopListingWhoMade) Set(val *ShopListingWhoMade)
func (*NullableShopListingWhoMade) UnmarshalJSON ¶
func (v *NullableShopListingWhoMade) UnmarshalJSON(src []byte) error
func (*NullableShopListingWhoMade) Unset ¶
func (v *NullableShopListingWhoMade) Unset()
type NullableShopListingWithAssociations ¶
type NullableShopListingWithAssociations struct {
// contains filtered or unexported fields
}
func NewNullableShopListingWithAssociations ¶
func NewNullableShopListingWithAssociations(val *ShopListingWithAssociations) *NullableShopListingWithAssociations
func (NullableShopListingWithAssociations) Get ¶
func (v NullableShopListingWithAssociations) Get() *ShopListingWithAssociations
func (NullableShopListingWithAssociations) IsSet ¶
func (v NullableShopListingWithAssociations) IsSet() bool
func (NullableShopListingWithAssociations) MarshalJSON ¶
func (v NullableShopListingWithAssociations) MarshalJSON() ([]byte, error)
func (*NullableShopListingWithAssociations) Set ¶
func (v *NullableShopListingWithAssociations) Set(val *ShopListingWithAssociations)
func (*NullableShopListingWithAssociations) UnmarshalJSON ¶
func (v *NullableShopListingWithAssociations) UnmarshalJSON(src []byte) error
func (*NullableShopListingWithAssociations) Unset ¶
func (v *NullableShopListingWithAssociations) Unset()
type NullableShopListings ¶
type NullableShopListings struct {
// contains filtered or unexported fields
}
func NewNullableShopListings ¶
func NewNullableShopListings(val *ShopListings) *NullableShopListings
func (NullableShopListings) Get ¶
func (v NullableShopListings) Get() *ShopListings
func (NullableShopListings) IsSet ¶
func (v NullableShopListings) IsSet() bool
func (NullableShopListings) MarshalJSON ¶
func (v NullableShopListings) MarshalJSON() ([]byte, error)
func (*NullableShopListings) Set ¶
func (v *NullableShopListings) Set(val *ShopListings)
func (*NullableShopListings) UnmarshalJSON ¶
func (v *NullableShopListings) UnmarshalJSON(src []byte) error
func (*NullableShopListings) Unset ¶
func (v *NullableShopListings) Unset()
type NullableShopListingsWithAssociations ¶
type NullableShopListingsWithAssociations struct {
// contains filtered or unexported fields
}
func NewNullableShopListingsWithAssociations ¶
func NewNullableShopListingsWithAssociations(val *ShopListingsWithAssociations) *NullableShopListingsWithAssociations
func (NullableShopListingsWithAssociations) Get ¶
func (v NullableShopListingsWithAssociations) Get() *ShopListingsWithAssociations
func (NullableShopListingsWithAssociations) IsSet ¶
func (v NullableShopListingsWithAssociations) IsSet() bool
func (NullableShopListingsWithAssociations) MarshalJSON ¶
func (v NullableShopListingsWithAssociations) MarshalJSON() ([]byte, error)
func (*NullableShopListingsWithAssociations) Set ¶
func (v *NullableShopListingsWithAssociations) Set(val *ShopListingsWithAssociations)
func (*NullableShopListingsWithAssociations) UnmarshalJSON ¶
func (v *NullableShopListingsWithAssociations) UnmarshalJSON(src []byte) error
func (*NullableShopListingsWithAssociations) Unset ¶
func (v *NullableShopListingsWithAssociations) Unset()
type NullableShopProductionPartner ¶
type NullableShopProductionPartner struct {
// contains filtered or unexported fields
}
func NewNullableShopProductionPartner ¶
func NewNullableShopProductionPartner(val *ShopProductionPartner) *NullableShopProductionPartner
func (NullableShopProductionPartner) Get ¶
func (v NullableShopProductionPartner) Get() *ShopProductionPartner
func (NullableShopProductionPartner) IsSet ¶
func (v NullableShopProductionPartner) IsSet() bool
func (NullableShopProductionPartner) MarshalJSON ¶
func (v NullableShopProductionPartner) MarshalJSON() ([]byte, error)
func (*NullableShopProductionPartner) Set ¶
func (v *NullableShopProductionPartner) Set(val *ShopProductionPartner)
func (*NullableShopProductionPartner) UnmarshalJSON ¶
func (v *NullableShopProductionPartner) UnmarshalJSON(src []byte) error
func (*NullableShopProductionPartner) Unset ¶
func (v *NullableShopProductionPartner) Unset()
type NullableShopProductionPartners ¶
type NullableShopProductionPartners struct {
// contains filtered or unexported fields
}
func NewNullableShopProductionPartners ¶
func NewNullableShopProductionPartners(val *ShopProductionPartners) *NullableShopProductionPartners
func (NullableShopProductionPartners) Get ¶
func (v NullableShopProductionPartners) Get() *ShopProductionPartners
func (NullableShopProductionPartners) IsSet ¶
func (v NullableShopProductionPartners) IsSet() bool
func (NullableShopProductionPartners) MarshalJSON ¶
func (v NullableShopProductionPartners) MarshalJSON() ([]byte, error)
func (*NullableShopProductionPartners) Set ¶
func (v *NullableShopProductionPartners) Set(val *ShopProductionPartners)
func (*NullableShopProductionPartners) UnmarshalJSON ¶
func (v *NullableShopProductionPartners) UnmarshalJSON(src []byte) error
func (*NullableShopProductionPartners) Unset ¶
func (v *NullableShopProductionPartners) Unset()
type NullableShopReceipt ¶
type NullableShopReceipt struct {
// contains filtered or unexported fields
}
func NewNullableShopReceipt ¶
func NewNullableShopReceipt(val *ShopReceipt) *NullableShopReceipt
func (NullableShopReceipt) Get ¶
func (v NullableShopReceipt) Get() *ShopReceipt
func (NullableShopReceipt) IsSet ¶
func (v NullableShopReceipt) IsSet() bool
func (NullableShopReceipt) MarshalJSON ¶
func (v NullableShopReceipt) MarshalJSON() ([]byte, error)
func (*NullableShopReceipt) Set ¶
func (v *NullableShopReceipt) Set(val *ShopReceipt)
func (*NullableShopReceipt) UnmarshalJSON ¶
func (v *NullableShopReceipt) UnmarshalJSON(src []byte) error
func (*NullableShopReceipt) Unset ¶
func (v *NullableShopReceipt) Unset()
type NullableShopReceiptShipment ¶
type NullableShopReceiptShipment struct {
// contains filtered or unexported fields
}
func NewNullableShopReceiptShipment ¶
func NewNullableShopReceiptShipment(val *ShopReceiptShipment) *NullableShopReceiptShipment
func (NullableShopReceiptShipment) Get ¶
func (v NullableShopReceiptShipment) Get() *ShopReceiptShipment
func (NullableShopReceiptShipment) IsSet ¶
func (v NullableShopReceiptShipment) IsSet() bool
func (NullableShopReceiptShipment) MarshalJSON ¶
func (v NullableShopReceiptShipment) MarshalJSON() ([]byte, error)
func (*NullableShopReceiptShipment) Set ¶
func (v *NullableShopReceiptShipment) Set(val *ShopReceiptShipment)
func (*NullableShopReceiptShipment) UnmarshalJSON ¶
func (v *NullableShopReceiptShipment) UnmarshalJSON(src []byte) error
func (*NullableShopReceiptShipment) Unset ¶
func (v *NullableShopReceiptShipment) Unset()
type NullableShopReceiptStatus ¶
type NullableShopReceiptStatus struct {
// contains filtered or unexported fields
}
func NewNullableShopReceiptStatus ¶
func NewNullableShopReceiptStatus(val *ShopReceiptStatus) *NullableShopReceiptStatus
func (NullableShopReceiptStatus) Get ¶
func (v NullableShopReceiptStatus) Get() *ShopReceiptStatus
func (NullableShopReceiptStatus) IsSet ¶
func (v NullableShopReceiptStatus) IsSet() bool
func (NullableShopReceiptStatus) MarshalJSON ¶
func (v NullableShopReceiptStatus) MarshalJSON() ([]byte, error)
func (*NullableShopReceiptStatus) Set ¶
func (v *NullableShopReceiptStatus) Set(val *ShopReceiptStatus)
func (*NullableShopReceiptStatus) UnmarshalJSON ¶
func (v *NullableShopReceiptStatus) UnmarshalJSON(src []byte) error
func (*NullableShopReceiptStatus) Unset ¶
func (v *NullableShopReceiptStatus) Unset()
type NullableShopReceiptTransaction ¶
type NullableShopReceiptTransaction struct {
// contains filtered or unexported fields
}
func NewNullableShopReceiptTransaction ¶
func NewNullableShopReceiptTransaction(val *ShopReceiptTransaction) *NullableShopReceiptTransaction
func (NullableShopReceiptTransaction) Get ¶
func (v NullableShopReceiptTransaction) Get() *ShopReceiptTransaction
func (NullableShopReceiptTransaction) IsSet ¶
func (v NullableShopReceiptTransaction) IsSet() bool
func (NullableShopReceiptTransaction) MarshalJSON ¶
func (v NullableShopReceiptTransaction) MarshalJSON() ([]byte, error)
func (*NullableShopReceiptTransaction) Set ¶
func (v *NullableShopReceiptTransaction) Set(val *ShopReceiptTransaction)
func (*NullableShopReceiptTransaction) UnmarshalJSON ¶
func (v *NullableShopReceiptTransaction) UnmarshalJSON(src []byte) error
func (*NullableShopReceiptTransaction) Unset ¶
func (v *NullableShopReceiptTransaction) Unset()
type NullableShopReceiptTransactions ¶
type NullableShopReceiptTransactions struct {
// contains filtered or unexported fields
}
func NewNullableShopReceiptTransactions ¶
func NewNullableShopReceiptTransactions(val *ShopReceiptTransactions) *NullableShopReceiptTransactions
func (NullableShopReceiptTransactions) Get ¶
func (v NullableShopReceiptTransactions) Get() *ShopReceiptTransactions
func (NullableShopReceiptTransactions) IsSet ¶
func (v NullableShopReceiptTransactions) IsSet() bool
func (NullableShopReceiptTransactions) MarshalJSON ¶
func (v NullableShopReceiptTransactions) MarshalJSON() ([]byte, error)
func (*NullableShopReceiptTransactions) Set ¶
func (v *NullableShopReceiptTransactions) Set(val *ShopReceiptTransactions)
func (*NullableShopReceiptTransactions) UnmarshalJSON ¶
func (v *NullableShopReceiptTransactions) UnmarshalJSON(src []byte) error
func (*NullableShopReceiptTransactions) Unset ¶
func (v *NullableShopReceiptTransactions) Unset()
type NullableShopReceipts ¶
type NullableShopReceipts struct {
// contains filtered or unexported fields
}
func NewNullableShopReceipts ¶
func NewNullableShopReceipts(val *ShopReceipts) *NullableShopReceipts
func (NullableShopReceipts) Get ¶
func (v NullableShopReceipts) Get() *ShopReceipts
func (NullableShopReceipts) IsSet ¶
func (v NullableShopReceipts) IsSet() bool
func (NullableShopReceipts) MarshalJSON ¶
func (v NullableShopReceipts) MarshalJSON() ([]byte, error)
func (*NullableShopReceipts) Set ¶
func (v *NullableShopReceipts) Set(val *ShopReceipts)
func (*NullableShopReceipts) UnmarshalJSON ¶
func (v *NullableShopReceipts) UnmarshalJSON(src []byte) error
func (*NullableShopReceipts) Unset ¶
func (v *NullableShopReceipts) Unset()
type NullableShopRefund ¶
type NullableShopRefund struct {
// contains filtered or unexported fields
}
func NewNullableShopRefund ¶
func NewNullableShopRefund(val *ShopRefund) *NullableShopRefund
func (NullableShopRefund) Get ¶
func (v NullableShopRefund) Get() *ShopRefund
func (NullableShopRefund) IsSet ¶
func (v NullableShopRefund) IsSet() bool
func (NullableShopRefund) MarshalJSON ¶
func (v NullableShopRefund) MarshalJSON() ([]byte, error)
func (*NullableShopRefund) Set ¶
func (v *NullableShopRefund) Set(val *ShopRefund)
func (*NullableShopRefund) UnmarshalJSON ¶
func (v *NullableShopRefund) UnmarshalJSON(src []byte) error
func (*NullableShopRefund) Unset ¶
func (v *NullableShopRefund) Unset()
type NullableShopReturnPolicies ¶
type NullableShopReturnPolicies struct {
// contains filtered or unexported fields
}
func NewNullableShopReturnPolicies ¶
func NewNullableShopReturnPolicies(val *ShopReturnPolicies) *NullableShopReturnPolicies
func (NullableShopReturnPolicies) Get ¶
func (v NullableShopReturnPolicies) Get() *ShopReturnPolicies
func (NullableShopReturnPolicies) IsSet ¶
func (v NullableShopReturnPolicies) IsSet() bool
func (NullableShopReturnPolicies) MarshalJSON ¶
func (v NullableShopReturnPolicies) MarshalJSON() ([]byte, error)
func (*NullableShopReturnPolicies) Set ¶
func (v *NullableShopReturnPolicies) Set(val *ShopReturnPolicies)
func (*NullableShopReturnPolicies) UnmarshalJSON ¶
func (v *NullableShopReturnPolicies) UnmarshalJSON(src []byte) error
func (*NullableShopReturnPolicies) Unset ¶
func (v *NullableShopReturnPolicies) Unset()
type NullableShopReturnPolicy ¶
type NullableShopReturnPolicy struct {
// contains filtered or unexported fields
}
func NewNullableShopReturnPolicy ¶
func NewNullableShopReturnPolicy(val *ShopReturnPolicy) *NullableShopReturnPolicy
func (NullableShopReturnPolicy) Get ¶
func (v NullableShopReturnPolicy) Get() *ShopReturnPolicy
func (NullableShopReturnPolicy) IsSet ¶
func (v NullableShopReturnPolicy) IsSet() bool
func (NullableShopReturnPolicy) MarshalJSON ¶
func (v NullableShopReturnPolicy) MarshalJSON() ([]byte, error)
func (*NullableShopReturnPolicy) Set ¶
func (v *NullableShopReturnPolicy) Set(val *ShopReturnPolicy)
func (*NullableShopReturnPolicy) UnmarshalJSON ¶
func (v *NullableShopReturnPolicy) UnmarshalJSON(src []byte) error
func (*NullableShopReturnPolicy) Unset ¶
func (v *NullableShopReturnPolicy) Unset()
type NullableShopSection ¶
type NullableShopSection struct {
// contains filtered or unexported fields
}
func NewNullableShopSection ¶
func NewNullableShopSection(val *ShopSection) *NullableShopSection
func (NullableShopSection) Get ¶
func (v NullableShopSection) Get() *ShopSection
func (NullableShopSection) IsSet ¶
func (v NullableShopSection) IsSet() bool
func (NullableShopSection) MarshalJSON ¶
func (v NullableShopSection) MarshalJSON() ([]byte, error)
func (*NullableShopSection) Set ¶
func (v *NullableShopSection) Set(val *ShopSection)
func (*NullableShopSection) UnmarshalJSON ¶
func (v *NullableShopSection) UnmarshalJSON(src []byte) error
func (*NullableShopSection) Unset ¶
func (v *NullableShopSection) Unset()
type NullableShopSections ¶
type NullableShopSections struct {
// contains filtered or unexported fields
}
func NewNullableShopSections ¶
func NewNullableShopSections(val *ShopSections) *NullableShopSections
func (NullableShopSections) Get ¶
func (v NullableShopSections) Get() *ShopSections
func (NullableShopSections) IsSet ¶
func (v NullableShopSections) IsSet() bool
func (NullableShopSections) MarshalJSON ¶
func (v NullableShopSections) MarshalJSON() ([]byte, error)
func (*NullableShopSections) Set ¶
func (v *NullableShopSections) Set(val *ShopSections)
func (*NullableShopSections) UnmarshalJSON ¶
func (v *NullableShopSections) UnmarshalJSON(src []byte) error
func (*NullableShopSections) Unset ¶
func (v *NullableShopSections) Unset()
type NullableShopShippingProfile ¶
type NullableShopShippingProfile struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfile ¶
func NewNullableShopShippingProfile(val *ShopShippingProfile) *NullableShopShippingProfile
func (NullableShopShippingProfile) Get ¶
func (v NullableShopShippingProfile) Get() *ShopShippingProfile
func (NullableShopShippingProfile) IsSet ¶
func (v NullableShopShippingProfile) IsSet() bool
func (NullableShopShippingProfile) MarshalJSON ¶
func (v NullableShopShippingProfile) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfile) Set ¶
func (v *NullableShopShippingProfile) Set(val *ShopShippingProfile)
func (*NullableShopShippingProfile) UnmarshalJSON ¶
func (v *NullableShopShippingProfile) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfile) Unset ¶
func (v *NullableShopShippingProfile) Unset()
type NullableShopShippingProfileDestination ¶
type NullableShopShippingProfileDestination struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfileDestination ¶
func NewNullableShopShippingProfileDestination(val *ShopShippingProfileDestination) *NullableShopShippingProfileDestination
func (NullableShopShippingProfileDestination) Get ¶
func (v NullableShopShippingProfileDestination) Get() *ShopShippingProfileDestination
func (NullableShopShippingProfileDestination) IsSet ¶
func (v NullableShopShippingProfileDestination) IsSet() bool
func (NullableShopShippingProfileDestination) MarshalJSON ¶
func (v NullableShopShippingProfileDestination) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfileDestination) Set ¶
func (v *NullableShopShippingProfileDestination) Set(val *ShopShippingProfileDestination)
func (*NullableShopShippingProfileDestination) UnmarshalJSON ¶
func (v *NullableShopShippingProfileDestination) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfileDestination) Unset ¶
func (v *NullableShopShippingProfileDestination) Unset()
type NullableShopShippingProfileDestinationDestinationRegion ¶
type NullableShopShippingProfileDestinationDestinationRegion struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfileDestinationDestinationRegion ¶
func NewNullableShopShippingProfileDestinationDestinationRegion(val *ShopShippingProfileDestinationDestinationRegion) *NullableShopShippingProfileDestinationDestinationRegion
func (NullableShopShippingProfileDestinationDestinationRegion) IsSet ¶
func (v NullableShopShippingProfileDestinationDestinationRegion) IsSet() bool
func (NullableShopShippingProfileDestinationDestinationRegion) MarshalJSON ¶
func (v NullableShopShippingProfileDestinationDestinationRegion) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfileDestinationDestinationRegion) UnmarshalJSON ¶
func (v *NullableShopShippingProfileDestinationDestinationRegion) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfileDestinationDestinationRegion) Unset ¶
func (v *NullableShopShippingProfileDestinationDestinationRegion) Unset()
type NullableShopShippingProfileDestinations ¶
type NullableShopShippingProfileDestinations struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfileDestinations ¶
func NewNullableShopShippingProfileDestinations(val *ShopShippingProfileDestinations) *NullableShopShippingProfileDestinations
func (NullableShopShippingProfileDestinations) IsSet ¶
func (v NullableShopShippingProfileDestinations) IsSet() bool
func (NullableShopShippingProfileDestinations) MarshalJSON ¶
func (v NullableShopShippingProfileDestinations) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfileDestinations) Set ¶
func (v *NullableShopShippingProfileDestinations) Set(val *ShopShippingProfileDestinations)
func (*NullableShopShippingProfileDestinations) UnmarshalJSON ¶
func (v *NullableShopShippingProfileDestinations) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfileDestinations) Unset ¶
func (v *NullableShopShippingProfileDestinations) Unset()
type NullableShopShippingProfileProfileType ¶
type NullableShopShippingProfileProfileType struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfileProfileType ¶
func NewNullableShopShippingProfileProfileType(val *ShopShippingProfileProfileType) *NullableShopShippingProfileProfileType
func (NullableShopShippingProfileProfileType) Get ¶
func (v NullableShopShippingProfileProfileType) Get() *ShopShippingProfileProfileType
func (NullableShopShippingProfileProfileType) IsSet ¶
func (v NullableShopShippingProfileProfileType) IsSet() bool
func (NullableShopShippingProfileProfileType) MarshalJSON ¶
func (v NullableShopShippingProfileProfileType) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfileProfileType) Set ¶
func (v *NullableShopShippingProfileProfileType) Set(val *ShopShippingProfileProfileType)
func (*NullableShopShippingProfileProfileType) UnmarshalJSON ¶
func (v *NullableShopShippingProfileProfileType) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfileProfileType) Unset ¶
func (v *NullableShopShippingProfileProfileType) Unset()
type NullableShopShippingProfileUpgrade ¶
type NullableShopShippingProfileUpgrade struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfileUpgrade ¶
func NewNullableShopShippingProfileUpgrade(val *ShopShippingProfileUpgrade) *NullableShopShippingProfileUpgrade
func (NullableShopShippingProfileUpgrade) Get ¶
func (v NullableShopShippingProfileUpgrade) Get() *ShopShippingProfileUpgrade
func (NullableShopShippingProfileUpgrade) IsSet ¶
func (v NullableShopShippingProfileUpgrade) IsSet() bool
func (NullableShopShippingProfileUpgrade) MarshalJSON ¶
func (v NullableShopShippingProfileUpgrade) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfileUpgrade) Set ¶
func (v *NullableShopShippingProfileUpgrade) Set(val *ShopShippingProfileUpgrade)
func (*NullableShopShippingProfileUpgrade) UnmarshalJSON ¶
func (v *NullableShopShippingProfileUpgrade) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfileUpgrade) Unset ¶
func (v *NullableShopShippingProfileUpgrade) Unset()
type NullableShopShippingProfileUpgrades ¶
type NullableShopShippingProfileUpgrades struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfileUpgrades ¶
func NewNullableShopShippingProfileUpgrades(val *ShopShippingProfileUpgrades) *NullableShopShippingProfileUpgrades
func (NullableShopShippingProfileUpgrades) Get ¶
func (v NullableShopShippingProfileUpgrades) Get() *ShopShippingProfileUpgrades
func (NullableShopShippingProfileUpgrades) IsSet ¶
func (v NullableShopShippingProfileUpgrades) IsSet() bool
func (NullableShopShippingProfileUpgrades) MarshalJSON ¶
func (v NullableShopShippingProfileUpgrades) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfileUpgrades) Set ¶
func (v *NullableShopShippingProfileUpgrades) Set(val *ShopShippingProfileUpgrades)
func (*NullableShopShippingProfileUpgrades) UnmarshalJSON ¶
func (v *NullableShopShippingProfileUpgrades) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfileUpgrades) Unset ¶
func (v *NullableShopShippingProfileUpgrades) Unset()
type NullableShopShippingProfiles ¶
type NullableShopShippingProfiles struct {
// contains filtered or unexported fields
}
func NewNullableShopShippingProfiles ¶
func NewNullableShopShippingProfiles(val *ShopShippingProfiles) *NullableShopShippingProfiles
func (NullableShopShippingProfiles) Get ¶
func (v NullableShopShippingProfiles) Get() *ShopShippingProfiles
func (NullableShopShippingProfiles) IsSet ¶
func (v NullableShopShippingProfiles) IsSet() bool
func (NullableShopShippingProfiles) MarshalJSON ¶
func (v NullableShopShippingProfiles) MarshalJSON() ([]byte, error)
func (*NullableShopShippingProfiles) Set ¶
func (v *NullableShopShippingProfiles) Set(val *ShopShippingProfiles)
func (*NullableShopShippingProfiles) UnmarshalJSON ¶
func (v *NullableShopShippingProfiles) UnmarshalJSON(src []byte) error
func (*NullableShopShippingProfiles) Unset ¶
func (v *NullableShopShippingProfiles) Unset()
type NullableShops ¶
type NullableShops struct {
// contains filtered or unexported fields
}
func NewNullableShops ¶
func NewNullableShops(val *Shops) *NullableShops
func (NullableShops) Get ¶
func (v NullableShops) Get() *Shops
func (NullableShops) IsSet ¶
func (v NullableShops) IsSet() bool
func (NullableShops) MarshalJSON ¶
func (v NullableShops) MarshalJSON() ([]byte, error)
func (*NullableShops) Set ¶
func (v *NullableShops) Set(val *Shops)
func (*NullableShops) UnmarshalJSON ¶
func (v *NullableShops) UnmarshalJSON(src []byte) error
func (*NullableShops) Unset ¶
func (v *NullableShops) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTaxonomyNodeProperties ¶
type NullableTaxonomyNodeProperties struct {
// contains filtered or unexported fields
}
func NewNullableTaxonomyNodeProperties ¶
func NewNullableTaxonomyNodeProperties(val *TaxonomyNodeProperties) *NullableTaxonomyNodeProperties
func (NullableTaxonomyNodeProperties) Get ¶
func (v NullableTaxonomyNodeProperties) Get() *TaxonomyNodeProperties
func (NullableTaxonomyNodeProperties) IsSet ¶
func (v NullableTaxonomyNodeProperties) IsSet() bool
func (NullableTaxonomyNodeProperties) MarshalJSON ¶
func (v NullableTaxonomyNodeProperties) MarshalJSON() ([]byte, error)
func (*NullableTaxonomyNodeProperties) Set ¶
func (v *NullableTaxonomyNodeProperties) Set(val *TaxonomyNodeProperties)
func (*NullableTaxonomyNodeProperties) UnmarshalJSON ¶
func (v *NullableTaxonomyNodeProperties) UnmarshalJSON(src []byte) error
func (*NullableTaxonomyNodeProperties) Unset ¶
func (v *NullableTaxonomyNodeProperties) Unset()
type NullableTaxonomyNodeProperty ¶
type NullableTaxonomyNodeProperty struct {
// contains filtered or unexported fields
}
func NewNullableTaxonomyNodeProperty ¶
func NewNullableTaxonomyNodeProperty(val *TaxonomyNodeProperty) *NullableTaxonomyNodeProperty
func (NullableTaxonomyNodeProperty) Get ¶
func (v NullableTaxonomyNodeProperty) Get() *TaxonomyNodeProperty
func (NullableTaxonomyNodeProperty) IsSet ¶
func (v NullableTaxonomyNodeProperty) IsSet() bool
func (NullableTaxonomyNodeProperty) MarshalJSON ¶
func (v NullableTaxonomyNodeProperty) MarshalJSON() ([]byte, error)
func (*NullableTaxonomyNodeProperty) Set ¶
func (v *NullableTaxonomyNodeProperty) Set(val *TaxonomyNodeProperty)
func (*NullableTaxonomyNodeProperty) UnmarshalJSON ¶
func (v *NullableTaxonomyNodeProperty) UnmarshalJSON(src []byte) error
func (*NullableTaxonomyNodeProperty) Unset ¶
func (v *NullableTaxonomyNodeProperty) Unset()
type NullableTaxonomyPropertyScale ¶
type NullableTaxonomyPropertyScale struct {
// contains filtered or unexported fields
}
func NewNullableTaxonomyPropertyScale ¶
func NewNullableTaxonomyPropertyScale(val *TaxonomyPropertyScale) *NullableTaxonomyPropertyScale
func (NullableTaxonomyPropertyScale) Get ¶
func (v NullableTaxonomyPropertyScale) Get() *TaxonomyPropertyScale
func (NullableTaxonomyPropertyScale) IsSet ¶
func (v NullableTaxonomyPropertyScale) IsSet() bool
func (NullableTaxonomyPropertyScale) MarshalJSON ¶
func (v NullableTaxonomyPropertyScale) MarshalJSON() ([]byte, error)
func (*NullableTaxonomyPropertyScale) Set ¶
func (v *NullableTaxonomyPropertyScale) Set(val *TaxonomyPropertyScale)
func (*NullableTaxonomyPropertyScale) UnmarshalJSON ¶
func (v *NullableTaxonomyPropertyScale) UnmarshalJSON(src []byte) error
func (*NullableTaxonomyPropertyScale) Unset ¶
func (v *NullableTaxonomyPropertyScale) Unset()
type NullableTaxonomyPropertyValue ¶
type NullableTaxonomyPropertyValue struct {
// contains filtered or unexported fields
}
func NewNullableTaxonomyPropertyValue ¶
func NewNullableTaxonomyPropertyValue(val *TaxonomyPropertyValue) *NullableTaxonomyPropertyValue
func (NullableTaxonomyPropertyValue) Get ¶
func (v NullableTaxonomyPropertyValue) Get() *TaxonomyPropertyValue
func (NullableTaxonomyPropertyValue) IsSet ¶
func (v NullableTaxonomyPropertyValue) IsSet() bool
func (NullableTaxonomyPropertyValue) MarshalJSON ¶
func (v NullableTaxonomyPropertyValue) MarshalJSON() ([]byte, error)
func (*NullableTaxonomyPropertyValue) Set ¶
func (v *NullableTaxonomyPropertyValue) Set(val *TaxonomyPropertyValue)
func (*NullableTaxonomyPropertyValue) UnmarshalJSON ¶
func (v *NullableTaxonomyPropertyValue) UnmarshalJSON(src []byte) error
func (*NullableTaxonomyPropertyValue) Unset ¶
func (v *NullableTaxonomyPropertyValue) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTransactionReview ¶
type NullableTransactionReview struct {
// contains filtered or unexported fields
}
func NewNullableTransactionReview ¶
func NewNullableTransactionReview(val *TransactionReview) *NullableTransactionReview
func (NullableTransactionReview) Get ¶
func (v NullableTransactionReview) Get() *TransactionReview
func (NullableTransactionReview) IsSet ¶
func (v NullableTransactionReview) IsSet() bool
func (NullableTransactionReview) MarshalJSON ¶
func (v NullableTransactionReview) MarshalJSON() ([]byte, error)
func (*NullableTransactionReview) Set ¶
func (v *NullableTransactionReview) Set(val *TransactionReview)
func (*NullableTransactionReview) UnmarshalJSON ¶
func (v *NullableTransactionReview) UnmarshalJSON(src []byte) error
func (*NullableTransactionReview) Unset ¶
func (v *NullableTransactionReview) Unset()
type NullableTransactionReviews ¶
type NullableTransactionReviews struct {
// contains filtered or unexported fields
}
func NewNullableTransactionReviews ¶
func NewNullableTransactionReviews(val *TransactionReviews) *NullableTransactionReviews
func (NullableTransactionReviews) Get ¶
func (v NullableTransactionReviews) Get() *TransactionReviews
func (NullableTransactionReviews) IsSet ¶
func (v NullableTransactionReviews) IsSet() bool
func (NullableTransactionReviews) MarshalJSON ¶
func (v NullableTransactionReviews) MarshalJSON() ([]byte, error)
func (*NullableTransactionReviews) Set ¶
func (v *NullableTransactionReviews) Set(val *TransactionReviews)
func (*NullableTransactionReviews) UnmarshalJSON ¶
func (v *NullableTransactionReviews) UnmarshalJSON(src []byte) error
func (*NullableTransactionReviews) Unset ¶
func (v *NullableTransactionReviews) Unset()
type NullableTransactionVariations ¶
type NullableTransactionVariations struct {
// contains filtered or unexported fields
}
func NewNullableTransactionVariations ¶
func NewNullableTransactionVariations(val *TransactionVariations) *NullableTransactionVariations
func (NullableTransactionVariations) Get ¶
func (v NullableTransactionVariations) Get() *TransactionVariations
func (NullableTransactionVariations) IsSet ¶
func (v NullableTransactionVariations) IsSet() bool
func (NullableTransactionVariations) MarshalJSON ¶
func (v NullableTransactionVariations) MarshalJSON() ([]byte, error)
func (*NullableTransactionVariations) Set ¶
func (v *NullableTransactionVariations) Set(val *TransactionVariations)
func (*NullableTransactionVariations) UnmarshalJSON ¶
func (v *NullableTransactionVariations) UnmarshalJSON(src []byte) error
func (*NullableTransactionVariations) Unset ¶
func (v *NullableTransactionVariations) Unset()
type NullableTypeDiscriminator ¶
type NullableTypeDiscriminator struct {
// contains filtered or unexported fields
}
func NewNullableTypeDiscriminator ¶
func NewNullableTypeDiscriminator(val *TypeDiscriminator) *NullableTypeDiscriminator
func (NullableTypeDiscriminator) Get ¶
func (v NullableTypeDiscriminator) Get() *TypeDiscriminator
func (NullableTypeDiscriminator) IsSet ¶
func (v NullableTypeDiscriminator) IsSet() bool
func (NullableTypeDiscriminator) MarshalJSON ¶
func (v NullableTypeDiscriminator) MarshalJSON() ([]byte, error)
func (*NullableTypeDiscriminator) Set ¶
func (v *NullableTypeDiscriminator) Set(val *TypeDiscriminator)
func (*NullableTypeDiscriminator) UnmarshalJSON ¶
func (v *NullableTypeDiscriminator) UnmarshalJSON(src []byte) error
func (*NullableTypeDiscriminator) Unset ¶
func (v *NullableTypeDiscriminator) Unset()
type NullableUpdateHolidayPreferencesHolidayIdParameter ¶
type NullableUpdateHolidayPreferencesHolidayIdParameter struct {
// contains filtered or unexported fields
}
func NewNullableUpdateHolidayPreferencesHolidayIdParameter ¶
func NewNullableUpdateHolidayPreferencesHolidayIdParameter(val *UpdateHolidayPreferencesHolidayIdParameter) *NullableUpdateHolidayPreferencesHolidayIdParameter
func (NullableUpdateHolidayPreferencesHolidayIdParameter) IsSet ¶
func (v NullableUpdateHolidayPreferencesHolidayIdParameter) IsSet() bool
func (NullableUpdateHolidayPreferencesHolidayIdParameter) MarshalJSON ¶
func (v NullableUpdateHolidayPreferencesHolidayIdParameter) MarshalJSON() ([]byte, error)
func (*NullableUpdateHolidayPreferencesHolidayIdParameter) UnmarshalJSON ¶
func (v *NullableUpdateHolidayPreferencesHolidayIdParameter) UnmarshalJSON(src []byte) error
func (*NullableUpdateHolidayPreferencesHolidayIdParameter) Unset ¶
func (v *NullableUpdateHolidayPreferencesHolidayIdParameter) Unset()
type NullableUpdateListingDeprecatedRequestState ¶
type NullableUpdateListingDeprecatedRequestState struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingDeprecatedRequestState ¶
func NewNullableUpdateListingDeprecatedRequestState(val *UpdateListingDeprecatedRequestState) *NullableUpdateListingDeprecatedRequestState
func (NullableUpdateListingDeprecatedRequestState) IsSet ¶
func (v NullableUpdateListingDeprecatedRequestState) IsSet() bool
func (NullableUpdateListingDeprecatedRequestState) MarshalJSON ¶
func (v NullableUpdateListingDeprecatedRequestState) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingDeprecatedRequestState) Set ¶
func (v *NullableUpdateListingDeprecatedRequestState) Set(val *UpdateListingDeprecatedRequestState)
func (*NullableUpdateListingDeprecatedRequestState) UnmarshalJSON ¶
func (v *NullableUpdateListingDeprecatedRequestState) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingDeprecatedRequestState) Unset ¶
func (v *NullableUpdateListingDeprecatedRequestState) Unset()
type NullableUpdateListingDeprecatedRequestType ¶
type NullableUpdateListingDeprecatedRequestType struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingDeprecatedRequestType ¶
func NewNullableUpdateListingDeprecatedRequestType(val *UpdateListingDeprecatedRequestType) *NullableUpdateListingDeprecatedRequestType
func (NullableUpdateListingDeprecatedRequestType) IsSet ¶
func (v NullableUpdateListingDeprecatedRequestType) IsSet() bool
func (NullableUpdateListingDeprecatedRequestType) MarshalJSON ¶
func (v NullableUpdateListingDeprecatedRequestType) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingDeprecatedRequestType) Set ¶
func (v *NullableUpdateListingDeprecatedRequestType) Set(val *UpdateListingDeprecatedRequestType)
func (*NullableUpdateListingDeprecatedRequestType) UnmarshalJSON ¶
func (v *NullableUpdateListingDeprecatedRequestType) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingDeprecatedRequestType) Unset ¶
func (v *NullableUpdateListingDeprecatedRequestType) Unset()
type NullableUpdateListingInventoryRequest ¶
type NullableUpdateListingInventoryRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingInventoryRequest ¶
func NewNullableUpdateListingInventoryRequest(val *UpdateListingInventoryRequest) *NullableUpdateListingInventoryRequest
func (NullableUpdateListingInventoryRequest) Get ¶
func (v NullableUpdateListingInventoryRequest) Get() *UpdateListingInventoryRequest
func (NullableUpdateListingInventoryRequest) IsSet ¶
func (v NullableUpdateListingInventoryRequest) IsSet() bool
func (NullableUpdateListingInventoryRequest) MarshalJSON ¶
func (v NullableUpdateListingInventoryRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingInventoryRequest) Set ¶
func (v *NullableUpdateListingInventoryRequest) Set(val *UpdateListingInventoryRequest)
func (*NullableUpdateListingInventoryRequest) UnmarshalJSON ¶
func (v *NullableUpdateListingInventoryRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingInventoryRequest) Unset ¶
func (v *NullableUpdateListingInventoryRequest) Unset()
type NullableUpdateListingInventoryRequestProductsInner ¶
type NullableUpdateListingInventoryRequestProductsInner struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingInventoryRequestProductsInner ¶
func NewNullableUpdateListingInventoryRequestProductsInner(val *UpdateListingInventoryRequestProductsInner) *NullableUpdateListingInventoryRequestProductsInner
func (NullableUpdateListingInventoryRequestProductsInner) IsSet ¶
func (v NullableUpdateListingInventoryRequestProductsInner) IsSet() bool
func (NullableUpdateListingInventoryRequestProductsInner) MarshalJSON ¶
func (v NullableUpdateListingInventoryRequestProductsInner) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingInventoryRequestProductsInner) UnmarshalJSON ¶
func (v *NullableUpdateListingInventoryRequestProductsInner) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingInventoryRequestProductsInner) Unset ¶
func (v *NullableUpdateListingInventoryRequestProductsInner) Unset()
type NullableUpdateListingInventoryRequestProductsInnerOfferingsInner ¶
type NullableUpdateListingInventoryRequestProductsInnerOfferingsInner struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingInventoryRequestProductsInnerOfferingsInner ¶
func NewNullableUpdateListingInventoryRequestProductsInnerOfferingsInner(val *UpdateListingInventoryRequestProductsInnerOfferingsInner) *NullableUpdateListingInventoryRequestProductsInnerOfferingsInner
func (NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) IsSet ¶
func (v NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) IsSet() bool
func (NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) MarshalJSON ¶
func (v NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) UnmarshalJSON ¶
func (v *NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) Unset ¶
func (v *NullableUpdateListingInventoryRequestProductsInnerOfferingsInner) Unset()
type NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner ¶
type NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner ¶
func NewNullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner(val *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) *NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner
func (NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) MarshalJSON ¶
func (v NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) UnmarshalJSON ¶
func (v *NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) Unset ¶
func (v *NullableUpdateListingInventoryRequestProductsInnerPropertyValuesInner) Unset()
type NullableUpdateListingRequestItemDimensionsUnit ¶
type NullableUpdateListingRequestItemDimensionsUnit struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingRequestItemDimensionsUnit ¶
func NewNullableUpdateListingRequestItemDimensionsUnit(val *UpdateListingRequestItemDimensionsUnit) *NullableUpdateListingRequestItemDimensionsUnit
func (NullableUpdateListingRequestItemDimensionsUnit) IsSet ¶
func (v NullableUpdateListingRequestItemDimensionsUnit) IsSet() bool
func (NullableUpdateListingRequestItemDimensionsUnit) MarshalJSON ¶
func (v NullableUpdateListingRequestItemDimensionsUnit) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingRequestItemDimensionsUnit) Set ¶
func (v *NullableUpdateListingRequestItemDimensionsUnit) Set(val *UpdateListingRequestItemDimensionsUnit)
func (*NullableUpdateListingRequestItemDimensionsUnit) UnmarshalJSON ¶
func (v *NullableUpdateListingRequestItemDimensionsUnit) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingRequestItemDimensionsUnit) Unset ¶
func (v *NullableUpdateListingRequestItemDimensionsUnit) Unset()
type NullableUpdateListingRequestItemWeightUnit ¶
type NullableUpdateListingRequestItemWeightUnit struct {
// contains filtered or unexported fields
}
func NewNullableUpdateListingRequestItemWeightUnit ¶
func NewNullableUpdateListingRequestItemWeightUnit(val *UpdateListingRequestItemWeightUnit) *NullableUpdateListingRequestItemWeightUnit
func (NullableUpdateListingRequestItemWeightUnit) IsSet ¶
func (v NullableUpdateListingRequestItemWeightUnit) IsSet() bool
func (NullableUpdateListingRequestItemWeightUnit) MarshalJSON ¶
func (v NullableUpdateListingRequestItemWeightUnit) MarshalJSON() ([]byte, error)
func (*NullableUpdateListingRequestItemWeightUnit) Set ¶
func (v *NullableUpdateListingRequestItemWeightUnit) Set(val *UpdateListingRequestItemWeightUnit)
func (*NullableUpdateListingRequestItemWeightUnit) UnmarshalJSON ¶
func (v *NullableUpdateListingRequestItemWeightUnit) UnmarshalJSON(src []byte) error
func (*NullableUpdateListingRequestItemWeightUnit) Unset ¶
func (v *NullableUpdateListingRequestItemWeightUnit) Unset()
type NullableUpdateVariationImagesRequest ¶
type NullableUpdateVariationImagesRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVariationImagesRequest ¶
func NewNullableUpdateVariationImagesRequest(val *UpdateVariationImagesRequest) *NullableUpdateVariationImagesRequest
func (NullableUpdateVariationImagesRequest) Get ¶
func (v NullableUpdateVariationImagesRequest) Get() *UpdateVariationImagesRequest
func (NullableUpdateVariationImagesRequest) IsSet ¶
func (v NullableUpdateVariationImagesRequest) IsSet() bool
func (NullableUpdateVariationImagesRequest) MarshalJSON ¶
func (v NullableUpdateVariationImagesRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateVariationImagesRequest) Set ¶
func (v *NullableUpdateVariationImagesRequest) Set(val *UpdateVariationImagesRequest)
func (*NullableUpdateVariationImagesRequest) UnmarshalJSON ¶
func (v *NullableUpdateVariationImagesRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateVariationImagesRequest) Unset ¶
func (v *NullableUpdateVariationImagesRequest) Unset()
type NullableUpdateVariationImagesRequestVariationImagesInner ¶
type NullableUpdateVariationImagesRequestVariationImagesInner struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVariationImagesRequestVariationImagesInner ¶
func NewNullableUpdateVariationImagesRequestVariationImagesInner(val *UpdateVariationImagesRequestVariationImagesInner) *NullableUpdateVariationImagesRequestVariationImagesInner
func (NullableUpdateVariationImagesRequestVariationImagesInner) IsSet ¶
func (v NullableUpdateVariationImagesRequestVariationImagesInner) IsSet() bool
func (NullableUpdateVariationImagesRequestVariationImagesInner) MarshalJSON ¶
func (v NullableUpdateVariationImagesRequestVariationImagesInner) MarshalJSON() ([]byte, error)
func (*NullableUpdateVariationImagesRequestVariationImagesInner) UnmarshalJSON ¶
func (v *NullableUpdateVariationImagesRequestVariationImagesInner) UnmarshalJSON(src []byte) error
func (*NullableUpdateVariationImagesRequestVariationImagesInner) Unset ¶
func (v *NullableUpdateVariationImagesRequestVariationImagesInner) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserAddress ¶
type NullableUserAddress struct {
// contains filtered or unexported fields
}
func NewNullableUserAddress ¶
func NewNullableUserAddress(val *UserAddress) *NullableUserAddress
func (NullableUserAddress) Get ¶
func (v NullableUserAddress) Get() *UserAddress
func (NullableUserAddress) IsSet ¶
func (v NullableUserAddress) IsSet() bool
func (NullableUserAddress) MarshalJSON ¶
func (v NullableUserAddress) MarshalJSON() ([]byte, error)
func (*NullableUserAddress) Set ¶
func (v *NullableUserAddress) Set(val *UserAddress)
func (*NullableUserAddress) UnmarshalJSON ¶
func (v *NullableUserAddress) UnmarshalJSON(src []byte) error
func (*NullableUserAddress) Unset ¶
func (v *NullableUserAddress) Unset()
type NullableUserAddresses ¶
type NullableUserAddresses struct {
// contains filtered or unexported fields
}
func NewNullableUserAddresses ¶
func NewNullableUserAddresses(val *UserAddresses) *NullableUserAddresses
func (NullableUserAddresses) Get ¶
func (v NullableUserAddresses) Get() *UserAddresses
func (NullableUserAddresses) IsSet ¶
func (v NullableUserAddresses) IsSet() bool
func (NullableUserAddresses) MarshalJSON ¶
func (v NullableUserAddresses) MarshalJSON() ([]byte, error)
func (*NullableUserAddresses) Set ¶
func (v *NullableUserAddresses) Set(val *UserAddresses)
func (*NullableUserAddresses) UnmarshalJSON ¶
func (v *NullableUserAddresses) UnmarshalJSON(src []byte) error
func (*NullableUserAddresses) Unset ¶
func (v *NullableUserAddresses) Unset()
type OtherAPI ¶
type OtherAPI interface { /* Ping Method for Ping <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Check to confirm connectivity to the Etsy API with an application @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OtherAPIPingRequest */ Ping(ctx context.Context) OtherAPIPingRequest // PingExecute executes the request // @return Pong PingExecute(r OtherAPIPingRequest) (*Pong, *http.Response, error) /* TokenScopes Method for TokenScopes <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Check the scopes of the provided token @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OtherAPITokenScopesRequest */ TokenScopes(ctx context.Context) OtherAPITokenScopesRequest // TokenScopesExecute executes the request // @return map[string]interface{} TokenScopesExecute(r OtherAPITokenScopesRequest) (map[string]interface{}, *http.Response, error) }
type OtherAPIPingRequest ¶
type OtherAPIPingRequest struct { ApiService OtherAPI // contains filtered or unexported fields }
type OtherAPIService ¶
type OtherAPIService service
OtherAPIService OtherAPI service
func (*OtherAPIService) Ping ¶
func (a *OtherAPIService) Ping(ctx context.Context) OtherAPIPingRequest
Ping Method for Ping
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Check to confirm connectivity to the Etsy API with an application
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OtherAPIPingRequest
func (*OtherAPIService) PingExecute ¶
func (a *OtherAPIService) PingExecute(r OtherAPIPingRequest) (*Pong, *http.Response, error)
Execute executes the request
@return Pong
func (*OtherAPIService) TokenScopes ¶
func (a *OtherAPIService) TokenScopes(ctx context.Context) OtherAPITokenScopesRequest
TokenScopes Method for TokenScopes
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Check the scopes of the provided token
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OtherAPITokenScopesRequest
func (*OtherAPIService) TokenScopesExecute ¶
func (a *OtherAPIService) TokenScopesExecute(r OtherAPITokenScopesRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
type OtherAPITokenScopesRequest ¶
type OtherAPITokenScopesRequest struct { ApiService OtherAPI // contains filtered or unexported fields }
func (OtherAPITokenScopesRequest) Execute ¶
func (r OtherAPITokenScopesRequest) Execute() (map[string]interface{}, *http.Response, error)
func (OtherAPITokenScopesRequest) Token ¶
func (r OtherAPITokenScopesRequest) Token(token string) OtherAPITokenScopesRequest
type Payment ¶
type Payment struct { // A unique numeric ID for a payment to a specific Etsy [shop](/documentation/reference#tag/Shop). PaymentId *int64 `json:"payment_id,omitempty"` // The numeric ID for the [user](/documentation/reference#tag/User) who paid the purchase. BuyerUserId *int64 `json:"buyer_user_id,omitempty"` // The unique positive non-zero numeric ID for an Etsy Shop. ShopId *int64 `json:"shop_id,omitempty"` // The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. ReceiptId *int64 `json:"receipt_id,omitempty"` // An integer equal to gross amount of the order, in pennies, including shipping and taxes. AmountGross *Money `json:"amount_gross,omitempty"` // An integer equal to the original card processing fee of the order in pennies. AmountFees *Money `json:"amount_fees,omitempty"` // An integer equal to the payment value, in pennies, less fees (`amount_gross` - `amount_fees`). AmountNet *Money `json:"amount_net,omitempty"` // The total gross value of the payment posted once the purchase ships. This is equal to the `amount_gross` UNLESS the seller issues a refund prior to shipping. We consider \"shipping\" to be the event which \"posts\" to the ledger. Therefore, if the seller refunds first, we reduce the `amount_gross` first and post then that amount. The seller never sees the refunded amount in their ledger. This is equal to the \"Credit\" amount in the ledger entry. PostedGross NullableMoney `json:"posted_gross,omitempty"` // The total value of the fees posted once the purchase ships. Etsy refunds a proportional amount of the fees when a seller refunds a buyer. When the seller issues a refund prior to shipping, the posted amount is less then the original. PostedFees NullableMoney `json:"posted_fees,omitempty"` // The total value of the payment at the time of posting, less fees. (`posted_gross` - `posted_fees`) PostedNet NullableMoney `json:"posted_net,omitempty"` // The gross payment amount after the seller refunds a payment, partially or fully. AdjustedGross NullableMoney `json:"adjusted_gross,omitempty"` // The new fee amount after a seller refunds a payment, partially or fully. AdjustedFees NullableMoney `json:"adjusted_fees,omitempty"` // The total value of the payment after refunds, less fees (`adjusted_gross` - `adjusted_fees`). AdjustedNet NullableMoney `json:"adjusted_net,omitempty"` // The ISO (alphabetic) code string for the payment's currency. Currency *string `json:"currency,omitempty"` // The ISO (alphabetic) code for the shop's currency. The shop displays all prices in this currency by default. ShopCurrency NullableString `json:"shop_currency,omitempty"` // The currency string of the buyer. BuyerCurrency NullableString `json:"buyer_currency,omitempty"` // The numeric ID of the user to which the seller ships the order. ShippingUserId NullableInt64 `json:"shipping_user_id,omitempty"` // The numeric id identifying the shipping address. ShippingAddressId *int64 `json:"shipping_address_id,omitempty"` // The numeric ID identifying the billing address of the buyer. BillingAddressId *int64 `json:"billing_address_id,omitempty"` // A string indicating the current status of the payment, most commonly \"settled\" or \"authed\". Status *string `json:"status,omitempty"` // The transaction\\'s shipping date and time, in epoch seconds. ShippedTimestamp NullableInt64 `json:"shipped_timestamp,omitempty"` // The transaction\\'s creation date and time, in epoch seconds. CreateTimestamp *int64 `json:"create_timestamp,omitempty"` // The transaction\\'s creation date and time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The date and time of the last change to the payment adjustment in epoch seconds. UpdateTimestamp *int64 `json:"update_timestamp,omitempty"` // The date and time of the last change to the payment adjustment in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` // List of refund objects on an Etsy Payments transaction. All monetary amounts are in USD pennies unless otherwise specified. PaymentAdjustments []PaymentAdjustment `json:"payment_adjustments,omitempty"` AdditionalProperties map[string]interface{} }
Payment Represents a payment made with Etsy Payments. All monetary amounts are in USD pennies unless otherwise specified.
func NewPayment ¶
func NewPayment() *Payment
NewPayment instantiates a new Payment 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
func NewPaymentWithDefaults ¶
func NewPaymentWithDefaults() *Payment
NewPaymentWithDefaults instantiates a new Payment 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
func (*Payment) GetAdjustedFees ¶
GetAdjustedFees returns the AdjustedFees field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetAdjustedFeesOk ¶
GetAdjustedFeesOk returns a tuple with the AdjustedFees field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetAdjustedGross ¶
GetAdjustedGross returns the AdjustedGross field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetAdjustedGrossOk ¶
GetAdjustedGrossOk returns a tuple with the AdjustedGross field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetAdjustedNet ¶
GetAdjustedNet returns the AdjustedNet field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetAdjustedNetOk ¶
GetAdjustedNetOk returns a tuple with the AdjustedNet field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetAmountFees ¶
GetAmountFees returns the AmountFees field value if set, zero value otherwise.
func (*Payment) GetAmountFeesOk ¶
GetAmountFeesOk returns a tuple with the AmountFees field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetAmountGross ¶
GetAmountGross returns the AmountGross field value if set, zero value otherwise.
func (*Payment) GetAmountGrossOk ¶
GetAmountGrossOk returns a tuple with the AmountGross field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetAmountNet ¶
GetAmountNet returns the AmountNet field value if set, zero value otherwise.
func (*Payment) GetAmountNetOk ¶
GetAmountNetOk returns a tuple with the AmountNet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetBillingAddressId ¶
GetBillingAddressId returns the BillingAddressId field value if set, zero value otherwise.
func (*Payment) GetBillingAddressIdOk ¶
GetBillingAddressIdOk returns a tuple with the BillingAddressId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetBuyerCurrency ¶
GetBuyerCurrency returns the BuyerCurrency field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetBuyerCurrencyOk ¶
GetBuyerCurrencyOk returns a tuple with the BuyerCurrency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetBuyerUserId ¶
GetBuyerUserId returns the BuyerUserId field value if set, zero value otherwise.
func (*Payment) GetBuyerUserIdOk ¶
GetBuyerUserIdOk returns a tuple with the BuyerUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetCreateTimestamp ¶
GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.
func (*Payment) GetCreateTimestampOk ¶
GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetCreatedTimestamp ¶
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*Payment) GetCreatedTimestampOk ¶
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetCurrency ¶
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*Payment) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetPaymentAdjustments ¶
func (o *Payment) GetPaymentAdjustments() []PaymentAdjustment
GetPaymentAdjustments returns the PaymentAdjustments field value if set, zero value otherwise.
func (*Payment) GetPaymentAdjustmentsOk ¶
func (o *Payment) GetPaymentAdjustmentsOk() ([]PaymentAdjustment, bool)
GetPaymentAdjustmentsOk returns a tuple with the PaymentAdjustments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetPaymentId ¶
GetPaymentId returns the PaymentId field value if set, zero value otherwise.
func (*Payment) GetPaymentIdOk ¶
GetPaymentIdOk returns a tuple with the PaymentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetPostedFees ¶
GetPostedFees returns the PostedFees field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetPostedFeesOk ¶
GetPostedFeesOk returns a tuple with the PostedFees field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetPostedGross ¶
GetPostedGross returns the PostedGross field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetPostedGrossOk ¶
GetPostedGrossOk returns a tuple with the PostedGross field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetPostedNet ¶
GetPostedNet returns the PostedNet field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetPostedNetOk ¶
GetPostedNetOk returns a tuple with the PostedNet field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetReceiptId ¶
GetReceiptId returns the ReceiptId field value if set, zero value otherwise.
func (*Payment) GetReceiptIdOk ¶
GetReceiptIdOk returns a tuple with the ReceiptId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetShippedTimestamp ¶
GetShippedTimestamp returns the ShippedTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetShippedTimestampOk ¶
GetShippedTimestampOk returns a tuple with the ShippedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetShippingAddressId ¶
GetShippingAddressId returns the ShippingAddressId field value if set, zero value otherwise.
func (*Payment) GetShippingAddressIdOk ¶
GetShippingAddressIdOk returns a tuple with the ShippingAddressId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetShippingUserId ¶
GetShippingUserId returns the ShippingUserId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetShippingUserIdOk ¶
GetShippingUserIdOk returns a tuple with the ShippingUserId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetShopCurrency ¶
GetShopCurrency returns the ShopCurrency field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Payment) GetShopCurrencyOk ¶
GetShopCurrencyOk returns a tuple with the ShopCurrency field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Payment) GetShopIdOk ¶
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetUpdateTimestamp ¶
GetUpdateTimestamp returns the UpdateTimestamp field value if set, zero value otherwise.
func (*Payment) GetUpdateTimestampOk ¶
GetUpdateTimestampOk returns a tuple with the UpdateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) GetUpdatedTimestamp ¶
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*Payment) GetUpdatedTimestampOk ¶
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payment) HasAdjustedFees ¶
HasAdjustedFees returns a boolean if a field has been set.
func (*Payment) HasAdjustedGross ¶
HasAdjustedGross returns a boolean if a field has been set.
func (*Payment) HasAdjustedNet ¶
HasAdjustedNet returns a boolean if a field has been set.
func (*Payment) HasAmountFees ¶
HasAmountFees returns a boolean if a field has been set.
func (*Payment) HasAmountGross ¶
HasAmountGross returns a boolean if a field has been set.
func (*Payment) HasAmountNet ¶
HasAmountNet returns a boolean if a field has been set.
func (*Payment) HasBillingAddressId ¶
HasBillingAddressId returns a boolean if a field has been set.
func (*Payment) HasBuyerCurrency ¶
HasBuyerCurrency returns a boolean if a field has been set.
func (*Payment) HasBuyerUserId ¶
HasBuyerUserId returns a boolean if a field has been set.
func (*Payment) HasCreateTimestamp ¶
HasCreateTimestamp returns a boolean if a field has been set.
func (*Payment) HasCreatedTimestamp ¶
HasCreatedTimestamp returns a boolean if a field has been set.
func (*Payment) HasCurrency ¶
HasCurrency returns a boolean if a field has been set.
func (*Payment) HasPaymentAdjustments ¶
HasPaymentAdjustments returns a boolean if a field has been set.
func (*Payment) HasPaymentId ¶
HasPaymentId returns a boolean if a field has been set.
func (*Payment) HasPostedFees ¶
HasPostedFees returns a boolean if a field has been set.
func (*Payment) HasPostedGross ¶
HasPostedGross returns a boolean if a field has been set.
func (*Payment) HasPostedNet ¶
HasPostedNet returns a boolean if a field has been set.
func (*Payment) HasReceiptId ¶
HasReceiptId returns a boolean if a field has been set.
func (*Payment) HasShippedTimestamp ¶
HasShippedTimestamp returns a boolean if a field has been set.
func (*Payment) HasShippingAddressId ¶
HasShippingAddressId returns a boolean if a field has been set.
func (*Payment) HasShippingUserId ¶
HasShippingUserId returns a boolean if a field has been set.
func (*Payment) HasShopCurrency ¶
HasShopCurrency returns a boolean if a field has been set.
func (*Payment) HasUpdateTimestamp ¶
HasUpdateTimestamp returns a boolean if a field has been set.
func (*Payment) HasUpdatedTimestamp ¶
HasUpdatedTimestamp returns a boolean if a field has been set.
func (Payment) MarshalJSON ¶
func (*Payment) SetAdjustedFees ¶
SetAdjustedFees gets a reference to the given NullableMoney and assigns it to the AdjustedFees field.
func (*Payment) SetAdjustedFeesNil ¶
func (o *Payment) SetAdjustedFeesNil()
SetAdjustedFeesNil sets the value for AdjustedFees to be an explicit nil
func (*Payment) SetAdjustedGross ¶
SetAdjustedGross gets a reference to the given NullableMoney and assigns it to the AdjustedGross field.
func (*Payment) SetAdjustedGrossNil ¶
func (o *Payment) SetAdjustedGrossNil()
SetAdjustedGrossNil sets the value for AdjustedGross to be an explicit nil
func (*Payment) SetAdjustedNet ¶
SetAdjustedNet gets a reference to the given NullableMoney and assigns it to the AdjustedNet field.
func (*Payment) SetAdjustedNetNil ¶
func (o *Payment) SetAdjustedNetNil()
SetAdjustedNetNil sets the value for AdjustedNet to be an explicit nil
func (*Payment) SetAmountFees ¶
SetAmountFees gets a reference to the given Money and assigns it to the AmountFees field.
func (*Payment) SetAmountGross ¶
SetAmountGross gets a reference to the given Money and assigns it to the AmountGross field.
func (*Payment) SetAmountNet ¶
SetAmountNet gets a reference to the given Money and assigns it to the AmountNet field.
func (*Payment) SetBillingAddressId ¶
SetBillingAddressId gets a reference to the given int64 and assigns it to the BillingAddressId field.
func (*Payment) SetBuyerCurrency ¶
SetBuyerCurrency gets a reference to the given NullableString and assigns it to the BuyerCurrency field.
func (*Payment) SetBuyerCurrencyNil ¶
func (o *Payment) SetBuyerCurrencyNil()
SetBuyerCurrencyNil sets the value for BuyerCurrency to be an explicit nil
func (*Payment) SetBuyerUserId ¶
SetBuyerUserId gets a reference to the given int64 and assigns it to the BuyerUserId field.
func (*Payment) SetCreateTimestamp ¶
SetCreateTimestamp gets a reference to the given int64 and assigns it to the CreateTimestamp field.
func (*Payment) SetCreatedTimestamp ¶
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*Payment) SetCurrency ¶
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*Payment) SetPaymentAdjustments ¶
func (o *Payment) SetPaymentAdjustments(v []PaymentAdjustment)
SetPaymentAdjustments gets a reference to the given []PaymentAdjustment and assigns it to the PaymentAdjustments field.
func (*Payment) SetPaymentId ¶
SetPaymentId gets a reference to the given int64 and assigns it to the PaymentId field.
func (*Payment) SetPostedFees ¶
SetPostedFees gets a reference to the given NullableMoney and assigns it to the PostedFees field.
func (*Payment) SetPostedFeesNil ¶
func (o *Payment) SetPostedFeesNil()
SetPostedFeesNil sets the value for PostedFees to be an explicit nil
func (*Payment) SetPostedGross ¶
SetPostedGross gets a reference to the given NullableMoney and assigns it to the PostedGross field.
func (*Payment) SetPostedGrossNil ¶
func (o *Payment) SetPostedGrossNil()
SetPostedGrossNil sets the value for PostedGross to be an explicit nil
func (*Payment) SetPostedNet ¶
SetPostedNet gets a reference to the given NullableMoney and assigns it to the PostedNet field.
func (*Payment) SetPostedNetNil ¶
func (o *Payment) SetPostedNetNil()
SetPostedNetNil sets the value for PostedNet to be an explicit nil
func (*Payment) SetReceiptId ¶
SetReceiptId gets a reference to the given int64 and assigns it to the ReceiptId field.
func (*Payment) SetShippedTimestamp ¶
SetShippedTimestamp gets a reference to the given NullableInt64 and assigns it to the ShippedTimestamp field.
func (*Payment) SetShippedTimestampNil ¶
func (o *Payment) SetShippedTimestampNil()
SetShippedTimestampNil sets the value for ShippedTimestamp to be an explicit nil
func (*Payment) SetShippingAddressId ¶
SetShippingAddressId gets a reference to the given int64 and assigns it to the ShippingAddressId field.
func (*Payment) SetShippingUserId ¶
SetShippingUserId gets a reference to the given NullableInt64 and assigns it to the ShippingUserId field.
func (*Payment) SetShippingUserIdNil ¶
func (o *Payment) SetShippingUserIdNil()
SetShippingUserIdNil sets the value for ShippingUserId to be an explicit nil
func (*Payment) SetShopCurrency ¶
SetShopCurrency gets a reference to the given NullableString and assigns it to the ShopCurrency field.
func (*Payment) SetShopCurrencyNil ¶
func (o *Payment) SetShopCurrencyNil()
SetShopCurrencyNil sets the value for ShopCurrency to be an explicit nil
func (*Payment) SetShopId ¶
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (*Payment) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Payment) SetUpdateTimestamp ¶
SetUpdateTimestamp gets a reference to the given int64 and assigns it to the UpdateTimestamp field.
func (*Payment) SetUpdatedTimestamp ¶
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (*Payment) UnsetAdjustedFees ¶
func (o *Payment) UnsetAdjustedFees()
UnsetAdjustedFees ensures that no value is present for AdjustedFees, not even an explicit nil
func (*Payment) UnsetAdjustedGross ¶
func (o *Payment) UnsetAdjustedGross()
UnsetAdjustedGross ensures that no value is present for AdjustedGross, not even an explicit nil
func (*Payment) UnsetAdjustedNet ¶
func (o *Payment) UnsetAdjustedNet()
UnsetAdjustedNet ensures that no value is present for AdjustedNet, not even an explicit nil
func (*Payment) UnsetBuyerCurrency ¶
func (o *Payment) UnsetBuyerCurrency()
UnsetBuyerCurrency ensures that no value is present for BuyerCurrency, not even an explicit nil
func (*Payment) UnsetPostedFees ¶
func (o *Payment) UnsetPostedFees()
UnsetPostedFees ensures that no value is present for PostedFees, not even an explicit nil
func (*Payment) UnsetPostedGross ¶
func (o *Payment) UnsetPostedGross()
UnsetPostedGross ensures that no value is present for PostedGross, not even an explicit nil
func (*Payment) UnsetPostedNet ¶
func (o *Payment) UnsetPostedNet()
UnsetPostedNet ensures that no value is present for PostedNet, not even an explicit nil
func (*Payment) UnsetShippedTimestamp ¶
func (o *Payment) UnsetShippedTimestamp()
UnsetShippedTimestamp ensures that no value is present for ShippedTimestamp, not even an explicit nil
func (*Payment) UnsetShippingUserId ¶
func (o *Payment) UnsetShippingUserId()
UnsetShippingUserId ensures that no value is present for ShippingUserId, not even an explicit nil
func (*Payment) UnsetShopCurrency ¶
func (o *Payment) UnsetShopCurrency()
UnsetShopCurrency ensures that no value is present for ShopCurrency, not even an explicit nil
type PaymentAPI ¶
type PaymentAPI interface { /* GetPaymentAccountLedgerEntryPayments Method for GetPaymentAccountLedgerEntryPayments <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Get a Payment from a PaymentAccount Ledger Entry ID, if applicable @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest */ GetPaymentAccountLedgerEntryPayments(ctx context.Context, shopId int64) PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest // GetPaymentAccountLedgerEntryPaymentsExecute executes the request // @return Payments GetPaymentAccountLedgerEntryPaymentsExecute(r PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest) (*Payments, *http.Response, error) /* GetPayments Method for GetPayments <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of payments from a shop identified by `shop_id`. You can also filter results using a list of payment IDs. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return PaymentAPIGetPaymentsRequest */ GetPayments(ctx context.Context, shopId int64) PaymentAPIGetPaymentsRequest // GetPaymentsExecute executes the request // @return Payments GetPaymentsExecute(r PaymentAPIGetPaymentsRequest) (*Payments, *http.Response, error) /* GetShopPaymentByReceiptId Method for GetShopPaymentByReceiptId <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a payment from a specific receipt, identified by `receipt_id`, from a specific shop, identified by `shop_id` @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return PaymentAPIGetShopPaymentByReceiptIdRequest */ GetShopPaymentByReceiptId(ctx context.Context, shopId int64, receiptId int64) PaymentAPIGetShopPaymentByReceiptIdRequest // GetShopPaymentByReceiptIdExecute executes the request // @return Payments GetShopPaymentByReceiptIdExecute(r PaymentAPIGetShopPaymentByReceiptIdRequest) (*Payments, *http.Response, error) }
type PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest ¶
type PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest struct { ApiService PaymentAPI // contains filtered or unexported fields }
func (PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest) Execute ¶
func (r PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest) Execute() (*Payments, *http.Response, error)
func (PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest) LedgerEntryIds ¶
func (r PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest) LedgerEntryIds(ledgerEntryIds []int64) PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest
type PaymentAPIGetPaymentsRequest ¶
type PaymentAPIGetPaymentsRequest struct { ApiService PaymentAPI // contains filtered or unexported fields }
func (PaymentAPIGetPaymentsRequest) Execute ¶
func (r PaymentAPIGetPaymentsRequest) Execute() (*Payments, *http.Response, error)
func (PaymentAPIGetPaymentsRequest) PaymentIds ¶
func (r PaymentAPIGetPaymentsRequest) PaymentIds(paymentIds []int64) PaymentAPIGetPaymentsRequest
A comma-separated array of Payment IDs numbers.
type PaymentAPIGetShopPaymentByReceiptIdRequest ¶
type PaymentAPIGetShopPaymentByReceiptIdRequest struct { ApiService PaymentAPI // contains filtered or unexported fields }
type PaymentAPIService ¶
type PaymentAPIService service
PaymentAPIService PaymentAPI service
func (*PaymentAPIService) GetPaymentAccountLedgerEntryPayments ¶
func (a *PaymentAPIService) GetPaymentAccountLedgerEntryPayments(ctx context.Context, shopId int64) PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest
GetPaymentAccountLedgerEntryPayments Method for GetPaymentAccountLedgerEntryPayments
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Get a Payment from a PaymentAccount Ledger Entry ID, if applicable
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest
func (*PaymentAPIService) GetPaymentAccountLedgerEntryPaymentsExecute ¶
func (a *PaymentAPIService) GetPaymentAccountLedgerEntryPaymentsExecute(r PaymentAPIGetPaymentAccountLedgerEntryPaymentsRequest) (*Payments, *http.Response, error)
Execute executes the request
@return Payments
func (*PaymentAPIService) GetPayments ¶
func (a *PaymentAPIService) GetPayments(ctx context.Context, shopId int64) PaymentAPIGetPaymentsRequest
GetPayments Method for GetPayments
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of payments from a shop identified by `shop_id`. You can also filter results using a list of payment IDs.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return PaymentAPIGetPaymentsRequest
func (*PaymentAPIService) GetPaymentsExecute ¶
func (a *PaymentAPIService) GetPaymentsExecute(r PaymentAPIGetPaymentsRequest) (*Payments, *http.Response, error)
Execute executes the request
@return Payments
func (*PaymentAPIService) GetShopPaymentByReceiptId ¶
func (a *PaymentAPIService) GetShopPaymentByReceiptId(ctx context.Context, shopId int64, receiptId int64) PaymentAPIGetShopPaymentByReceiptIdRequest
GetShopPaymentByReceiptId Method for GetShopPaymentByReceiptId
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a payment from a specific receipt, identified by `receipt_id`, from a specific shop, identified by `shop_id`
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return PaymentAPIGetShopPaymentByReceiptIdRequest
func (*PaymentAPIService) GetShopPaymentByReceiptIdExecute ¶
func (a *PaymentAPIService) GetShopPaymentByReceiptIdExecute(r PaymentAPIGetShopPaymentByReceiptIdRequest) (*Payments, *http.Response, error)
Execute executes the request
@return Payments
type PaymentAccountLedgerEntries ¶
type PaymentAccountLedgerEntries struct { // The number of PaymentAccountLedgerEntry resources found. Count *int64 `json:"count,omitempty"` // The PaymentAccountLedgerEntry resources found. Results []PaymentAccountLedgerEntry `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
PaymentAccountLedgerEntries A set of PaymentAccountLedgerEntry resources
func NewPaymentAccountLedgerEntries ¶
func NewPaymentAccountLedgerEntries() *PaymentAccountLedgerEntries
NewPaymentAccountLedgerEntries instantiates a new PaymentAccountLedgerEntries 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
func NewPaymentAccountLedgerEntriesWithDefaults ¶
func NewPaymentAccountLedgerEntriesWithDefaults() *PaymentAccountLedgerEntries
NewPaymentAccountLedgerEntriesWithDefaults instantiates a new PaymentAccountLedgerEntries 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
func (*PaymentAccountLedgerEntries) GetCount ¶
func (o *PaymentAccountLedgerEntries) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntries) GetCountOk ¶
func (o *PaymentAccountLedgerEntries) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntries) GetResults ¶
func (o *PaymentAccountLedgerEntries) GetResults() []PaymentAccountLedgerEntry
GetResults returns the Results field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntries) GetResultsOk ¶
func (o *PaymentAccountLedgerEntries) GetResultsOk() ([]PaymentAccountLedgerEntry, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntries) HasCount ¶
func (o *PaymentAccountLedgerEntries) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntries) HasResults ¶
func (o *PaymentAccountLedgerEntries) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaymentAccountLedgerEntries) MarshalJSON ¶
func (o PaymentAccountLedgerEntries) MarshalJSON() ([]byte, error)
func (*PaymentAccountLedgerEntries) SetCount ¶
func (o *PaymentAccountLedgerEntries) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*PaymentAccountLedgerEntries) SetResults ¶
func (o *PaymentAccountLedgerEntries) SetResults(v []PaymentAccountLedgerEntry)
SetResults gets a reference to the given []PaymentAccountLedgerEntry and assigns it to the Results field.
func (PaymentAccountLedgerEntries) ToMap ¶
func (o PaymentAccountLedgerEntries) ToMap() (map[string]interface{}, error)
type PaymentAccountLedgerEntry ¶
type PaymentAccountLedgerEntry struct { // The ledger entry's numeric ID. EntryId *int64 `json:"entry_id,omitempty"` // The ledger's numeric ID. LedgerId *int64 `json:"ledger_id,omitempty"` // The sequence allows ledger entries to be sorted chronologically. The higher the sequence, the more recent the entry. SequenceNumber *int64 `json:"sequence_number,omitempty"` // The amount of money credited to the ledger. Amount *int64 `json:"amount,omitempty"` // The currency of the entry on the ledger. Currency *string `json:"currency,omitempty"` // Details what kind of ledger entry this is: a payment, refund, reversal of a failed refund, disbursement, returned disbursement, recoupment, miscellaneous credit, miscellaneous debit, or bill payment. Description *string `json:"description,omitempty"` // The amount of money in the shop's ledger the moment after this entry was applied. Balance *int64 `json:"balance,omitempty"` // The date and time the ledger entry was created in Epoch seconds. CreateDate *int64 `json:"create_date,omitempty"` // The date and time the ledger entry was created in Epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The original reference type for the ledger entry. LedgerType *string `json:"ledger_type,omitempty"` // The object type the ledger entry refers to. ReferenceType *string `json:"reference_type,omitempty"` // The object id the ledger entry refers to. ReferenceId NullableString `json:"reference_id,omitempty"` // List of refund objects on an Etsy Payments transaction. All monetary amounts are in USD pennies unless otherwise specified. PaymentAdjustments []PaymentAdjustment `json:"payment_adjustments,omitempty"` AdditionalProperties map[string]interface{} }
PaymentAccountLedgerEntry Represents an entry in a shop's ledger.
func NewPaymentAccountLedgerEntry ¶
func NewPaymentAccountLedgerEntry() *PaymentAccountLedgerEntry
NewPaymentAccountLedgerEntry instantiates a new PaymentAccountLedgerEntry 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
func NewPaymentAccountLedgerEntryWithDefaults ¶
func NewPaymentAccountLedgerEntryWithDefaults() *PaymentAccountLedgerEntry
NewPaymentAccountLedgerEntryWithDefaults instantiates a new PaymentAccountLedgerEntry 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
func (*PaymentAccountLedgerEntry) GetAmount ¶
func (o *PaymentAccountLedgerEntry) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetAmountOk ¶
func (o *PaymentAccountLedgerEntry) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetBalance ¶
func (o *PaymentAccountLedgerEntry) GetBalance() int64
GetBalance returns the Balance field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetBalanceOk ¶
func (o *PaymentAccountLedgerEntry) GetBalanceOk() (*int64, bool)
GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetCreateDate ¶
func (o *PaymentAccountLedgerEntry) GetCreateDate() int64
GetCreateDate returns the CreateDate field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetCreateDateOk ¶
func (o *PaymentAccountLedgerEntry) GetCreateDateOk() (*int64, bool)
GetCreateDateOk returns a tuple with the CreateDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetCreatedTimestamp ¶
func (o *PaymentAccountLedgerEntry) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetCreatedTimestampOk ¶
func (o *PaymentAccountLedgerEntry) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetCurrency ¶
func (o *PaymentAccountLedgerEntry) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetCurrencyOk ¶
func (o *PaymentAccountLedgerEntry) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetDescription ¶
func (o *PaymentAccountLedgerEntry) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetDescriptionOk ¶
func (o *PaymentAccountLedgerEntry) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetEntryId ¶
func (o *PaymentAccountLedgerEntry) GetEntryId() int64
GetEntryId returns the EntryId field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetEntryIdOk ¶
func (o *PaymentAccountLedgerEntry) GetEntryIdOk() (*int64, bool)
GetEntryIdOk returns a tuple with the EntryId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetLedgerId ¶
func (o *PaymentAccountLedgerEntry) GetLedgerId() int64
GetLedgerId returns the LedgerId field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetLedgerIdOk ¶
func (o *PaymentAccountLedgerEntry) GetLedgerIdOk() (*int64, bool)
GetLedgerIdOk returns a tuple with the LedgerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetLedgerType ¶
func (o *PaymentAccountLedgerEntry) GetLedgerType() string
GetLedgerType returns the LedgerType field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetLedgerTypeOk ¶
func (o *PaymentAccountLedgerEntry) GetLedgerTypeOk() (*string, bool)
GetLedgerTypeOk returns a tuple with the LedgerType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetPaymentAdjustments ¶
func (o *PaymentAccountLedgerEntry) GetPaymentAdjustments() []PaymentAdjustment
GetPaymentAdjustments returns the PaymentAdjustments field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetPaymentAdjustmentsOk ¶
func (o *PaymentAccountLedgerEntry) GetPaymentAdjustmentsOk() ([]PaymentAdjustment, bool)
GetPaymentAdjustmentsOk returns a tuple with the PaymentAdjustments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetReferenceId ¶
func (o *PaymentAccountLedgerEntry) GetReferenceId() string
GetReferenceId returns the ReferenceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAccountLedgerEntry) GetReferenceIdOk ¶
func (o *PaymentAccountLedgerEntry) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAccountLedgerEntry) GetReferenceType ¶
func (o *PaymentAccountLedgerEntry) GetReferenceType() string
GetReferenceType returns the ReferenceType field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetReferenceTypeOk ¶
func (o *PaymentAccountLedgerEntry) GetReferenceTypeOk() (*string, bool)
GetReferenceTypeOk returns a tuple with the ReferenceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) GetSequenceNumber ¶
func (o *PaymentAccountLedgerEntry) GetSequenceNumber() int64
GetSequenceNumber returns the SequenceNumber field value if set, zero value otherwise.
func (*PaymentAccountLedgerEntry) GetSequenceNumberOk ¶
func (o *PaymentAccountLedgerEntry) GetSequenceNumberOk() (*int64, bool)
GetSequenceNumberOk returns a tuple with the SequenceNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAccountLedgerEntry) HasAmount ¶
func (o *PaymentAccountLedgerEntry) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasBalance ¶
func (o *PaymentAccountLedgerEntry) HasBalance() bool
HasBalance returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasCreateDate ¶
func (o *PaymentAccountLedgerEntry) HasCreateDate() bool
HasCreateDate returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasCreatedTimestamp ¶
func (o *PaymentAccountLedgerEntry) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasCurrency ¶
func (o *PaymentAccountLedgerEntry) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasDescription ¶
func (o *PaymentAccountLedgerEntry) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasEntryId ¶
func (o *PaymentAccountLedgerEntry) HasEntryId() bool
HasEntryId returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasLedgerId ¶
func (o *PaymentAccountLedgerEntry) HasLedgerId() bool
HasLedgerId returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasLedgerType ¶
func (o *PaymentAccountLedgerEntry) HasLedgerType() bool
HasLedgerType returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasPaymentAdjustments ¶
func (o *PaymentAccountLedgerEntry) HasPaymentAdjustments() bool
HasPaymentAdjustments returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasReferenceId ¶
func (o *PaymentAccountLedgerEntry) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasReferenceType ¶
func (o *PaymentAccountLedgerEntry) HasReferenceType() bool
HasReferenceType returns a boolean if a field has been set.
func (*PaymentAccountLedgerEntry) HasSequenceNumber ¶
func (o *PaymentAccountLedgerEntry) HasSequenceNumber() bool
HasSequenceNumber returns a boolean if a field has been set.
func (PaymentAccountLedgerEntry) MarshalJSON ¶
func (o PaymentAccountLedgerEntry) MarshalJSON() ([]byte, error)
func (*PaymentAccountLedgerEntry) SetAmount ¶
func (o *PaymentAccountLedgerEntry) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*PaymentAccountLedgerEntry) SetBalance ¶
func (o *PaymentAccountLedgerEntry) SetBalance(v int64)
SetBalance gets a reference to the given int64 and assigns it to the Balance field.
func (*PaymentAccountLedgerEntry) SetCreateDate ¶
func (o *PaymentAccountLedgerEntry) SetCreateDate(v int64)
SetCreateDate gets a reference to the given int64 and assigns it to the CreateDate field.
func (*PaymentAccountLedgerEntry) SetCreatedTimestamp ¶
func (o *PaymentAccountLedgerEntry) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*PaymentAccountLedgerEntry) SetCurrency ¶
func (o *PaymentAccountLedgerEntry) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*PaymentAccountLedgerEntry) SetDescription ¶
func (o *PaymentAccountLedgerEntry) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PaymentAccountLedgerEntry) SetEntryId ¶
func (o *PaymentAccountLedgerEntry) SetEntryId(v int64)
SetEntryId gets a reference to the given int64 and assigns it to the EntryId field.
func (*PaymentAccountLedgerEntry) SetLedgerId ¶
func (o *PaymentAccountLedgerEntry) SetLedgerId(v int64)
SetLedgerId gets a reference to the given int64 and assigns it to the LedgerId field.
func (*PaymentAccountLedgerEntry) SetLedgerType ¶
func (o *PaymentAccountLedgerEntry) SetLedgerType(v string)
SetLedgerType gets a reference to the given string and assigns it to the LedgerType field.
func (*PaymentAccountLedgerEntry) SetPaymentAdjustments ¶
func (o *PaymentAccountLedgerEntry) SetPaymentAdjustments(v []PaymentAdjustment)
SetPaymentAdjustments gets a reference to the given []PaymentAdjustment and assigns it to the PaymentAdjustments field.
func (*PaymentAccountLedgerEntry) SetReferenceId ¶
func (o *PaymentAccountLedgerEntry) SetReferenceId(v string)
SetReferenceId gets a reference to the given NullableString and assigns it to the ReferenceId field.
func (*PaymentAccountLedgerEntry) SetReferenceIdNil ¶
func (o *PaymentAccountLedgerEntry) SetReferenceIdNil()
SetReferenceIdNil sets the value for ReferenceId to be an explicit nil
func (*PaymentAccountLedgerEntry) SetReferenceType ¶
func (o *PaymentAccountLedgerEntry) SetReferenceType(v string)
SetReferenceType gets a reference to the given string and assigns it to the ReferenceType field.
func (*PaymentAccountLedgerEntry) SetSequenceNumber ¶
func (o *PaymentAccountLedgerEntry) SetSequenceNumber(v int64)
SetSequenceNumber gets a reference to the given int64 and assigns it to the SequenceNumber field.
func (PaymentAccountLedgerEntry) ToMap ¶
func (o PaymentAccountLedgerEntry) ToMap() (map[string]interface{}, error)
func (*PaymentAccountLedgerEntry) UnsetReferenceId ¶
func (o *PaymentAccountLedgerEntry) UnsetReferenceId()
UnsetReferenceId ensures that no value is present for ReferenceId, not even an explicit nil
type PaymentAdjustment ¶
type PaymentAdjustment struct { // The numeric ID for a payment adjustment. PaymentAdjustmentId *int64 `json:"payment_adjustment_id,omitempty"` // A unique numeric ID for a payment to a specific Etsy [shop](/documentation/reference#tag/Shop). PaymentId *int64 `json:"payment_id,omitempty"` // The status string of the payment adjustment. Status *string `json:"status,omitempty"` // When true, the payment adjustment was or is likely to complete successfully. IsSuccess *bool `json:"is_success,omitempty"` // The numeric ID for the [user](/documentation/reference#tag/User) (seller) fulfilling the purchase. UserId *int64 `json:"user_id,omitempty"` // A human-readable string describing the reason for the refund. ReasonCode *string `json:"reason_code,omitempty"` // The total numeric amount of the refund in the payment currency. TotalAdjustmentAmount NullableInt64 `json:"total_adjustment_amount,omitempty"` // The numeric amount of the refund in the shop currency. ShopTotalAdjustmentAmount NullableInt64 `json:"shop_total_adjustment_amount,omitempty"` // The numeric amount of the refund in the buyer currency. BuyerTotalAdjustmentAmount NullableInt64 `json:"buyer_total_adjustment_amount,omitempty"` // The numeric amount of card processing fees associated with a payment adjustment. TotalFeeAdjustmentAmount NullableInt64 `json:"total_fee_adjustment_amount,omitempty"` // The transaction\\'s creation date and time, in epoch seconds. CreateTimestamp *int64 `json:"create_timestamp,omitempty"` // The transaction\\'s creation date and time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The date and time of the last change to the payment adjustment in epoch seconds. UpdateTimestamp *int64 `json:"update_timestamp,omitempty"` // The date and time of the last change to the payment adjustment in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` // List of payment adjustment line items. PaymentAdjustmentItems []PaymentAdjustmentItem `json:"payment_adjustment_items,omitempty"` AdditionalProperties map[string]interface{} }
PaymentAdjustment Represents a refund, which applies to a prior Etsy payment. All monetary amounts are in USD pennies unless otherwise specified.
func NewPaymentAdjustment ¶
func NewPaymentAdjustment() *PaymentAdjustment
NewPaymentAdjustment instantiates a new PaymentAdjustment 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
func NewPaymentAdjustmentWithDefaults ¶
func NewPaymentAdjustmentWithDefaults() *PaymentAdjustment
NewPaymentAdjustmentWithDefaults instantiates a new PaymentAdjustment 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
func (*PaymentAdjustment) GetBuyerTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) GetBuyerTotalAdjustmentAmount() int64
GetBuyerTotalAdjustmentAmount returns the BuyerTotalAdjustmentAmount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAdjustment) GetBuyerTotalAdjustmentAmountOk ¶
func (o *PaymentAdjustment) GetBuyerTotalAdjustmentAmountOk() (*int64, bool)
GetBuyerTotalAdjustmentAmountOk returns a tuple with the BuyerTotalAdjustmentAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAdjustment) GetCreateTimestamp ¶
func (o *PaymentAdjustment) GetCreateTimestamp() int64
GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.
func (*PaymentAdjustment) GetCreateTimestampOk ¶
func (o *PaymentAdjustment) GetCreateTimestampOk() (*int64, bool)
GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetCreatedTimestamp ¶
func (o *PaymentAdjustment) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*PaymentAdjustment) GetCreatedTimestampOk ¶
func (o *PaymentAdjustment) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetIsSuccess ¶
func (o *PaymentAdjustment) GetIsSuccess() bool
GetIsSuccess returns the IsSuccess field value if set, zero value otherwise.
func (*PaymentAdjustment) GetIsSuccessOk ¶
func (o *PaymentAdjustment) GetIsSuccessOk() (*bool, bool)
GetIsSuccessOk returns a tuple with the IsSuccess field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetPaymentAdjustmentId ¶
func (o *PaymentAdjustment) GetPaymentAdjustmentId() int64
GetPaymentAdjustmentId returns the PaymentAdjustmentId field value if set, zero value otherwise.
func (*PaymentAdjustment) GetPaymentAdjustmentIdOk ¶
func (o *PaymentAdjustment) GetPaymentAdjustmentIdOk() (*int64, bool)
GetPaymentAdjustmentIdOk returns a tuple with the PaymentAdjustmentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetPaymentAdjustmentItems ¶
func (o *PaymentAdjustment) GetPaymentAdjustmentItems() []PaymentAdjustmentItem
GetPaymentAdjustmentItems returns the PaymentAdjustmentItems field value if set, zero value otherwise.
func (*PaymentAdjustment) GetPaymentAdjustmentItemsOk ¶
func (o *PaymentAdjustment) GetPaymentAdjustmentItemsOk() ([]PaymentAdjustmentItem, bool)
GetPaymentAdjustmentItemsOk returns a tuple with the PaymentAdjustmentItems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetPaymentId ¶
func (o *PaymentAdjustment) GetPaymentId() int64
GetPaymentId returns the PaymentId field value if set, zero value otherwise.
func (*PaymentAdjustment) GetPaymentIdOk ¶
func (o *PaymentAdjustment) GetPaymentIdOk() (*int64, bool)
GetPaymentIdOk returns a tuple with the PaymentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetReasonCode ¶
func (o *PaymentAdjustment) GetReasonCode() string
GetReasonCode returns the ReasonCode field value if set, zero value otherwise.
func (*PaymentAdjustment) GetReasonCodeOk ¶
func (o *PaymentAdjustment) GetReasonCodeOk() (*string, bool)
GetReasonCodeOk returns a tuple with the ReasonCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetShopTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) GetShopTotalAdjustmentAmount() int64
GetShopTotalAdjustmentAmount returns the ShopTotalAdjustmentAmount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAdjustment) GetShopTotalAdjustmentAmountOk ¶
func (o *PaymentAdjustment) GetShopTotalAdjustmentAmountOk() (*int64, bool)
GetShopTotalAdjustmentAmountOk returns a tuple with the ShopTotalAdjustmentAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAdjustment) GetStatus ¶
func (o *PaymentAdjustment) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*PaymentAdjustment) GetStatusOk ¶
func (o *PaymentAdjustment) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) GetTotalAdjustmentAmount() int64
GetTotalAdjustmentAmount returns the TotalAdjustmentAmount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAdjustment) GetTotalAdjustmentAmountOk ¶
func (o *PaymentAdjustment) GetTotalAdjustmentAmountOk() (*int64, bool)
GetTotalAdjustmentAmountOk returns a tuple with the TotalAdjustmentAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAdjustment) GetTotalFeeAdjustmentAmount ¶
func (o *PaymentAdjustment) GetTotalFeeAdjustmentAmount() int64
GetTotalFeeAdjustmentAmount returns the TotalFeeAdjustmentAmount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAdjustment) GetTotalFeeAdjustmentAmountOk ¶
func (o *PaymentAdjustment) GetTotalFeeAdjustmentAmountOk() (*int64, bool)
GetTotalFeeAdjustmentAmountOk returns a tuple with the TotalFeeAdjustmentAmount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAdjustment) GetUpdateTimestamp ¶
func (o *PaymentAdjustment) GetUpdateTimestamp() int64
GetUpdateTimestamp returns the UpdateTimestamp field value if set, zero value otherwise.
func (*PaymentAdjustment) GetUpdateTimestampOk ¶
func (o *PaymentAdjustment) GetUpdateTimestampOk() (*int64, bool)
GetUpdateTimestampOk returns a tuple with the UpdateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetUpdatedTimestamp ¶
func (o *PaymentAdjustment) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*PaymentAdjustment) GetUpdatedTimestampOk ¶
func (o *PaymentAdjustment) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) GetUserId ¶
func (o *PaymentAdjustment) GetUserId() int64
GetUserId returns the UserId field value if set, zero value otherwise.
func (*PaymentAdjustment) GetUserIdOk ¶
func (o *PaymentAdjustment) GetUserIdOk() (*int64, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustment) HasBuyerTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) HasBuyerTotalAdjustmentAmount() bool
HasBuyerTotalAdjustmentAmount returns a boolean if a field has been set.
func (*PaymentAdjustment) HasCreateTimestamp ¶
func (o *PaymentAdjustment) HasCreateTimestamp() bool
HasCreateTimestamp returns a boolean if a field has been set.
func (*PaymentAdjustment) HasCreatedTimestamp ¶
func (o *PaymentAdjustment) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*PaymentAdjustment) HasIsSuccess ¶
func (o *PaymentAdjustment) HasIsSuccess() bool
HasIsSuccess returns a boolean if a field has been set.
func (*PaymentAdjustment) HasPaymentAdjustmentId ¶
func (o *PaymentAdjustment) HasPaymentAdjustmentId() bool
HasPaymentAdjustmentId returns a boolean if a field has been set.
func (*PaymentAdjustment) HasPaymentAdjustmentItems ¶
func (o *PaymentAdjustment) HasPaymentAdjustmentItems() bool
HasPaymentAdjustmentItems returns a boolean if a field has been set.
func (*PaymentAdjustment) HasPaymentId ¶
func (o *PaymentAdjustment) HasPaymentId() bool
HasPaymentId returns a boolean if a field has been set.
func (*PaymentAdjustment) HasReasonCode ¶
func (o *PaymentAdjustment) HasReasonCode() bool
HasReasonCode returns a boolean if a field has been set.
func (*PaymentAdjustment) HasShopTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) HasShopTotalAdjustmentAmount() bool
HasShopTotalAdjustmentAmount returns a boolean if a field has been set.
func (*PaymentAdjustment) HasStatus ¶
func (o *PaymentAdjustment) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*PaymentAdjustment) HasTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) HasTotalAdjustmentAmount() bool
HasTotalAdjustmentAmount returns a boolean if a field has been set.
func (*PaymentAdjustment) HasTotalFeeAdjustmentAmount ¶
func (o *PaymentAdjustment) HasTotalFeeAdjustmentAmount() bool
HasTotalFeeAdjustmentAmount returns a boolean if a field has been set.
func (*PaymentAdjustment) HasUpdateTimestamp ¶
func (o *PaymentAdjustment) HasUpdateTimestamp() bool
HasUpdateTimestamp returns a boolean if a field has been set.
func (*PaymentAdjustment) HasUpdatedTimestamp ¶
func (o *PaymentAdjustment) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.
func (*PaymentAdjustment) HasUserId ¶
func (o *PaymentAdjustment) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (PaymentAdjustment) MarshalJSON ¶
func (o PaymentAdjustment) MarshalJSON() ([]byte, error)
func (*PaymentAdjustment) SetBuyerTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) SetBuyerTotalAdjustmentAmount(v int64)
SetBuyerTotalAdjustmentAmount gets a reference to the given NullableInt64 and assigns it to the BuyerTotalAdjustmentAmount field.
func (*PaymentAdjustment) SetBuyerTotalAdjustmentAmountNil ¶
func (o *PaymentAdjustment) SetBuyerTotalAdjustmentAmountNil()
SetBuyerTotalAdjustmentAmountNil sets the value for BuyerTotalAdjustmentAmount to be an explicit nil
func (*PaymentAdjustment) SetCreateTimestamp ¶
func (o *PaymentAdjustment) SetCreateTimestamp(v int64)
SetCreateTimestamp gets a reference to the given int64 and assigns it to the CreateTimestamp field.
func (*PaymentAdjustment) SetCreatedTimestamp ¶
func (o *PaymentAdjustment) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*PaymentAdjustment) SetIsSuccess ¶
func (o *PaymentAdjustment) SetIsSuccess(v bool)
SetIsSuccess gets a reference to the given bool and assigns it to the IsSuccess field.
func (*PaymentAdjustment) SetPaymentAdjustmentId ¶
func (o *PaymentAdjustment) SetPaymentAdjustmentId(v int64)
SetPaymentAdjustmentId gets a reference to the given int64 and assigns it to the PaymentAdjustmentId field.
func (*PaymentAdjustment) SetPaymentAdjustmentItems ¶
func (o *PaymentAdjustment) SetPaymentAdjustmentItems(v []PaymentAdjustmentItem)
SetPaymentAdjustmentItems gets a reference to the given []PaymentAdjustmentItem and assigns it to the PaymentAdjustmentItems field.
func (*PaymentAdjustment) SetPaymentId ¶
func (o *PaymentAdjustment) SetPaymentId(v int64)
SetPaymentId gets a reference to the given int64 and assigns it to the PaymentId field.
func (*PaymentAdjustment) SetReasonCode ¶
func (o *PaymentAdjustment) SetReasonCode(v string)
SetReasonCode gets a reference to the given string and assigns it to the ReasonCode field.
func (*PaymentAdjustment) SetShopTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) SetShopTotalAdjustmentAmount(v int64)
SetShopTotalAdjustmentAmount gets a reference to the given NullableInt64 and assigns it to the ShopTotalAdjustmentAmount field.
func (*PaymentAdjustment) SetShopTotalAdjustmentAmountNil ¶
func (o *PaymentAdjustment) SetShopTotalAdjustmentAmountNil()
SetShopTotalAdjustmentAmountNil sets the value for ShopTotalAdjustmentAmount to be an explicit nil
func (*PaymentAdjustment) SetStatus ¶
func (o *PaymentAdjustment) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*PaymentAdjustment) SetTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) SetTotalAdjustmentAmount(v int64)
SetTotalAdjustmentAmount gets a reference to the given NullableInt64 and assigns it to the TotalAdjustmentAmount field.
func (*PaymentAdjustment) SetTotalAdjustmentAmountNil ¶
func (o *PaymentAdjustment) SetTotalAdjustmentAmountNil()
SetTotalAdjustmentAmountNil sets the value for TotalAdjustmentAmount to be an explicit nil
func (*PaymentAdjustment) SetTotalFeeAdjustmentAmount ¶
func (o *PaymentAdjustment) SetTotalFeeAdjustmentAmount(v int64)
SetTotalFeeAdjustmentAmount gets a reference to the given NullableInt64 and assigns it to the TotalFeeAdjustmentAmount field.
func (*PaymentAdjustment) SetTotalFeeAdjustmentAmountNil ¶
func (o *PaymentAdjustment) SetTotalFeeAdjustmentAmountNil()
SetTotalFeeAdjustmentAmountNil sets the value for TotalFeeAdjustmentAmount to be an explicit nil
func (*PaymentAdjustment) SetUpdateTimestamp ¶
func (o *PaymentAdjustment) SetUpdateTimestamp(v int64)
SetUpdateTimestamp gets a reference to the given int64 and assigns it to the UpdateTimestamp field.
func (*PaymentAdjustment) SetUpdatedTimestamp ¶
func (o *PaymentAdjustment) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (*PaymentAdjustment) SetUserId ¶
func (o *PaymentAdjustment) SetUserId(v int64)
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (PaymentAdjustment) ToMap ¶
func (o PaymentAdjustment) ToMap() (map[string]interface{}, error)
func (*PaymentAdjustment) UnsetBuyerTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) UnsetBuyerTotalAdjustmentAmount()
UnsetBuyerTotalAdjustmentAmount ensures that no value is present for BuyerTotalAdjustmentAmount, not even an explicit nil
func (*PaymentAdjustment) UnsetShopTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) UnsetShopTotalAdjustmentAmount()
UnsetShopTotalAdjustmentAmount ensures that no value is present for ShopTotalAdjustmentAmount, not even an explicit nil
func (*PaymentAdjustment) UnsetTotalAdjustmentAmount ¶
func (o *PaymentAdjustment) UnsetTotalAdjustmentAmount()
UnsetTotalAdjustmentAmount ensures that no value is present for TotalAdjustmentAmount, not even an explicit nil
func (*PaymentAdjustment) UnsetTotalFeeAdjustmentAmount ¶
func (o *PaymentAdjustment) UnsetTotalFeeAdjustmentAmount()
UnsetTotalFeeAdjustmentAmount ensures that no value is present for TotalFeeAdjustmentAmount, not even an explicit nil
type PaymentAdjustmentItem ¶
type PaymentAdjustmentItem struct { // The numeric ID for a payment adjustment. PaymentAdjustmentId *int64 `json:"payment_adjustment_id,omitempty"` // Unique ID for the adjustment line item. PaymentAdjustmentItemId *int64 `json:"payment_adjustment_item_id,omitempty"` // String indicating the type of adjustment for this line item. AdjustmentType NullableString `json:"adjustment_type,omitempty"` // Integer value for the amount of the adjustment in original currency. Amount *int64 `json:"amount,omitempty"` // Integer value for the amount of the adjustment in currency for the shop. ShopAmount *int64 `json:"shop_amount,omitempty"` // The unique numeric ID for a transaction. TransactionId NullableInt64 `json:"transaction_id,omitempty"` // Unique ID for the bill payment adjustment. BillPaymentId NullableInt64 `json:"bill_payment_id,omitempty"` // The transaction\\'s creation date and time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The update date and time the payment adjustment in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` AdditionalProperties map[string]interface{} }
PaymentAdjustmentItem A payemnt adjustment line item for a payment adjustment.
func NewPaymentAdjustmentItem ¶
func NewPaymentAdjustmentItem() *PaymentAdjustmentItem
NewPaymentAdjustmentItem instantiates a new PaymentAdjustmentItem 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
func NewPaymentAdjustmentItemWithDefaults ¶
func NewPaymentAdjustmentItemWithDefaults() *PaymentAdjustmentItem
NewPaymentAdjustmentItemWithDefaults instantiates a new PaymentAdjustmentItem 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
func (*PaymentAdjustmentItem) GetAdjustmentType ¶
func (o *PaymentAdjustmentItem) GetAdjustmentType() string
GetAdjustmentType returns the AdjustmentType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAdjustmentItem) GetAdjustmentTypeOk ¶
func (o *PaymentAdjustmentItem) GetAdjustmentTypeOk() (*string, bool)
GetAdjustmentTypeOk returns a tuple with the AdjustmentType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAdjustmentItem) GetAmount ¶
func (o *PaymentAdjustmentItem) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*PaymentAdjustmentItem) GetAmountOk ¶
func (o *PaymentAdjustmentItem) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustmentItem) GetBillPaymentId ¶
func (o *PaymentAdjustmentItem) GetBillPaymentId() int64
GetBillPaymentId returns the BillPaymentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAdjustmentItem) GetBillPaymentIdOk ¶
func (o *PaymentAdjustmentItem) GetBillPaymentIdOk() (*int64, bool)
GetBillPaymentIdOk returns a tuple with the BillPaymentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAdjustmentItem) GetCreatedTimestamp ¶
func (o *PaymentAdjustmentItem) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*PaymentAdjustmentItem) GetCreatedTimestampOk ¶
func (o *PaymentAdjustmentItem) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustmentItem) GetPaymentAdjustmentId ¶
func (o *PaymentAdjustmentItem) GetPaymentAdjustmentId() int64
GetPaymentAdjustmentId returns the PaymentAdjustmentId field value if set, zero value otherwise.
func (*PaymentAdjustmentItem) GetPaymentAdjustmentIdOk ¶
func (o *PaymentAdjustmentItem) GetPaymentAdjustmentIdOk() (*int64, bool)
GetPaymentAdjustmentIdOk returns a tuple with the PaymentAdjustmentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustmentItem) GetPaymentAdjustmentItemId ¶
func (o *PaymentAdjustmentItem) GetPaymentAdjustmentItemId() int64
GetPaymentAdjustmentItemId returns the PaymentAdjustmentItemId field value if set, zero value otherwise.
func (*PaymentAdjustmentItem) GetPaymentAdjustmentItemIdOk ¶
func (o *PaymentAdjustmentItem) GetPaymentAdjustmentItemIdOk() (*int64, bool)
GetPaymentAdjustmentItemIdOk returns a tuple with the PaymentAdjustmentItemId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustmentItem) GetShopAmount ¶
func (o *PaymentAdjustmentItem) GetShopAmount() int64
GetShopAmount returns the ShopAmount field value if set, zero value otherwise.
func (*PaymentAdjustmentItem) GetShopAmountOk ¶
func (o *PaymentAdjustmentItem) GetShopAmountOk() (*int64, bool)
GetShopAmountOk returns a tuple with the ShopAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustmentItem) GetTransactionId ¶
func (o *PaymentAdjustmentItem) GetTransactionId() int64
GetTransactionId returns the TransactionId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaymentAdjustmentItem) GetTransactionIdOk ¶
func (o *PaymentAdjustmentItem) GetTransactionIdOk() (*int64, bool)
GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaymentAdjustmentItem) GetUpdatedTimestamp ¶
func (o *PaymentAdjustmentItem) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*PaymentAdjustmentItem) GetUpdatedTimestampOk ¶
func (o *PaymentAdjustmentItem) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaymentAdjustmentItem) HasAdjustmentType ¶
func (o *PaymentAdjustmentItem) HasAdjustmentType() bool
HasAdjustmentType returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasAmount ¶
func (o *PaymentAdjustmentItem) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasBillPaymentId ¶
func (o *PaymentAdjustmentItem) HasBillPaymentId() bool
HasBillPaymentId returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasCreatedTimestamp ¶
func (o *PaymentAdjustmentItem) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasPaymentAdjustmentId ¶
func (o *PaymentAdjustmentItem) HasPaymentAdjustmentId() bool
HasPaymentAdjustmentId returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasPaymentAdjustmentItemId ¶
func (o *PaymentAdjustmentItem) HasPaymentAdjustmentItemId() bool
HasPaymentAdjustmentItemId returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasShopAmount ¶
func (o *PaymentAdjustmentItem) HasShopAmount() bool
HasShopAmount returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasTransactionId ¶
func (o *PaymentAdjustmentItem) HasTransactionId() bool
HasTransactionId returns a boolean if a field has been set.
func (*PaymentAdjustmentItem) HasUpdatedTimestamp ¶
func (o *PaymentAdjustmentItem) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.
func (PaymentAdjustmentItem) MarshalJSON ¶
func (o PaymentAdjustmentItem) MarshalJSON() ([]byte, error)
func (*PaymentAdjustmentItem) SetAdjustmentType ¶
func (o *PaymentAdjustmentItem) SetAdjustmentType(v string)
SetAdjustmentType gets a reference to the given NullableString and assigns it to the AdjustmentType field.
func (*PaymentAdjustmentItem) SetAdjustmentTypeNil ¶
func (o *PaymentAdjustmentItem) SetAdjustmentTypeNil()
SetAdjustmentTypeNil sets the value for AdjustmentType to be an explicit nil
func (*PaymentAdjustmentItem) SetAmount ¶
func (o *PaymentAdjustmentItem) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*PaymentAdjustmentItem) SetBillPaymentId ¶
func (o *PaymentAdjustmentItem) SetBillPaymentId(v int64)
SetBillPaymentId gets a reference to the given NullableInt64 and assigns it to the BillPaymentId field.
func (*PaymentAdjustmentItem) SetBillPaymentIdNil ¶
func (o *PaymentAdjustmentItem) SetBillPaymentIdNil()
SetBillPaymentIdNil sets the value for BillPaymentId to be an explicit nil
func (*PaymentAdjustmentItem) SetCreatedTimestamp ¶
func (o *PaymentAdjustmentItem) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*PaymentAdjustmentItem) SetPaymentAdjustmentId ¶
func (o *PaymentAdjustmentItem) SetPaymentAdjustmentId(v int64)
SetPaymentAdjustmentId gets a reference to the given int64 and assigns it to the PaymentAdjustmentId field.
func (*PaymentAdjustmentItem) SetPaymentAdjustmentItemId ¶
func (o *PaymentAdjustmentItem) SetPaymentAdjustmentItemId(v int64)
SetPaymentAdjustmentItemId gets a reference to the given int64 and assigns it to the PaymentAdjustmentItemId field.
func (*PaymentAdjustmentItem) SetShopAmount ¶
func (o *PaymentAdjustmentItem) SetShopAmount(v int64)
SetShopAmount gets a reference to the given int64 and assigns it to the ShopAmount field.
func (*PaymentAdjustmentItem) SetTransactionId ¶
func (o *PaymentAdjustmentItem) SetTransactionId(v int64)
SetTransactionId gets a reference to the given NullableInt64 and assigns it to the TransactionId field.
func (*PaymentAdjustmentItem) SetTransactionIdNil ¶
func (o *PaymentAdjustmentItem) SetTransactionIdNil()
SetTransactionIdNil sets the value for TransactionId to be an explicit nil
func (*PaymentAdjustmentItem) SetUpdatedTimestamp ¶
func (o *PaymentAdjustmentItem) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (PaymentAdjustmentItem) ToMap ¶
func (o PaymentAdjustmentItem) ToMap() (map[string]interface{}, error)
func (*PaymentAdjustmentItem) UnsetAdjustmentType ¶
func (o *PaymentAdjustmentItem) UnsetAdjustmentType()
UnsetAdjustmentType ensures that no value is present for AdjustmentType, not even an explicit nil
func (*PaymentAdjustmentItem) UnsetBillPaymentId ¶
func (o *PaymentAdjustmentItem) UnsetBillPaymentId()
UnsetBillPaymentId ensures that no value is present for BillPaymentId, not even an explicit nil
func (*PaymentAdjustmentItem) UnsetTransactionId ¶
func (o *PaymentAdjustmentItem) UnsetTransactionId()
UnsetTransactionId ensures that no value is present for TransactionId, not even an explicit nil
type Payments ¶
type Payments struct { // The number of payments in the response. Count *int64 `json:"count,omitempty"` // A list of payments. Results []Payment `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
Payments Represents several payments made with Etsy Payments. All monetary amounts are in USD pennies unless otherwise specified.
func NewPayments ¶
func NewPayments() *Payments
NewPayments instantiates a new Payments 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
func NewPaymentsWithDefaults ¶
func NewPaymentsWithDefaults() *Payments
NewPaymentsWithDefaults instantiates a new Payments 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
func (*Payments) GetCountOk ¶
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payments) GetResults ¶
GetResults returns the Results field value if set, zero value otherwise.
func (*Payments) GetResultsOk ¶
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Payments) HasResults ¶
HasResults returns a boolean if a field has been set.
func (Payments) MarshalJSON ¶
func (*Payments) SetCount ¶
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*Payments) SetResults ¶
SetResults gets a reference to the given []Payment and assigns it to the Results field.
type Pong ¶
type Pong struct { // The authenticated application's ID ApplicationId *int64 `json:"application_id,omitempty"` AdditionalProperties map[string]interface{} }
Pong A confirmation that the current application has access to the Open API
func NewPong ¶
func NewPong() *Pong
NewPong instantiates a new Pong 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
func NewPongWithDefaults ¶
func NewPongWithDefaults() *Pong
NewPongWithDefaults instantiates a new Pong 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
func (*Pong) GetApplicationId ¶
GetApplicationId returns the ApplicationId field value if set, zero value otherwise.
func (*Pong) GetApplicationIdOk ¶
GetApplicationIdOk returns a tuple with the ApplicationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pong) HasApplicationId ¶
HasApplicationId returns a boolean if a field has been set.
func (Pong) MarshalJSON ¶
func (*Pong) SetApplicationId ¶
SetApplicationId gets a reference to the given int64 and assigns it to the ApplicationId field.
type ReviewAPI ¶
type ReviewAPI interface { /* GetReviewsByListing Method for GetReviewsByListing <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 to retrieve the reviews for a listing given its ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ReviewAPIGetReviewsByListingRequest */ GetReviewsByListing(ctx context.Context, listingId int64) ReviewAPIGetReviewsByListingRequest // GetReviewsByListingExecute executes the request // @return ListingReviews GetReviewsByListingExecute(r ReviewAPIGetReviewsByListingRequest) (*ListingReviews, *http.Response, error) /* GetReviewsByShop Method for GetReviewsByShop <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 to retrieve the reviews from a shop given its ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ReviewAPIGetReviewsByShopRequest */ GetReviewsByShop(ctx context.Context, shopId int64) ReviewAPIGetReviewsByShopRequest // GetReviewsByShopExecute executes the request // @return TransactionReviews GetReviewsByShopExecute(r ReviewAPIGetReviewsByShopRequest) (*TransactionReviews, *http.Response, error) }
type ReviewAPIGetReviewsByListingRequest ¶
type ReviewAPIGetReviewsByListingRequest struct { ApiService ReviewAPI // contains filtered or unexported fields }
func (ReviewAPIGetReviewsByListingRequest) Execute ¶
func (r ReviewAPIGetReviewsByListingRequest) Execute() (*ListingReviews, *http.Response, error)
func (ReviewAPIGetReviewsByListingRequest) Limit ¶
func (r ReviewAPIGetReviewsByListingRequest) Limit(limit int64) ReviewAPIGetReviewsByListingRequest
The maximum number of results to return.
func (ReviewAPIGetReviewsByListingRequest) MaxCreated ¶
func (r ReviewAPIGetReviewsByListingRequest) MaxCreated(maxCreated int64) ReviewAPIGetReviewsByListingRequest
The latest unix timestamp for when a record was created.
func (ReviewAPIGetReviewsByListingRequest) MinCreated ¶
func (r ReviewAPIGetReviewsByListingRequest) MinCreated(minCreated int64) ReviewAPIGetReviewsByListingRequest
The earliest unix timestamp for when a record was created.
func (ReviewAPIGetReviewsByListingRequest) Offset ¶
func (r ReviewAPIGetReviewsByListingRequest) Offset(offset int64) ReviewAPIGetReviewsByListingRequest
The number of records to skip before selecting the first result.
type ReviewAPIGetReviewsByShopRequest ¶
type ReviewAPIGetReviewsByShopRequest struct { ApiService ReviewAPI // contains filtered or unexported fields }
func (ReviewAPIGetReviewsByShopRequest) Execute ¶
func (r ReviewAPIGetReviewsByShopRequest) Execute() (*TransactionReviews, *http.Response, error)
func (ReviewAPIGetReviewsByShopRequest) Limit ¶
func (r ReviewAPIGetReviewsByShopRequest) Limit(limit int64) ReviewAPIGetReviewsByShopRequest
The maximum number of results to return.
func (ReviewAPIGetReviewsByShopRequest) MaxCreated ¶
func (r ReviewAPIGetReviewsByShopRequest) MaxCreated(maxCreated int64) ReviewAPIGetReviewsByShopRequest
The latest unix timestamp for when a record was created.
func (ReviewAPIGetReviewsByShopRequest) MinCreated ¶
func (r ReviewAPIGetReviewsByShopRequest) MinCreated(minCreated int64) ReviewAPIGetReviewsByShopRequest
The earliest unix timestamp for when a record was created.
func (ReviewAPIGetReviewsByShopRequest) Offset ¶
func (r ReviewAPIGetReviewsByShopRequest) Offset(offset int64) ReviewAPIGetReviewsByShopRequest
The number of records to skip before selecting the first result.
type ReviewAPIService ¶
type ReviewAPIService service
ReviewAPIService ReviewAPI service
func (*ReviewAPIService) GetReviewsByListing ¶
func (a *ReviewAPIService) GetReviewsByListing(ctx context.Context, listingId int64) ReviewAPIGetReviewsByListingRequest
GetReviewsByListing Method for GetReviewsByListing
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 to retrieve the reviews for a listing given its ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ReviewAPIGetReviewsByListingRequest
func (*ReviewAPIService) GetReviewsByListingExecute ¶
func (a *ReviewAPIService) GetReviewsByListingExecute(r ReviewAPIGetReviewsByListingRequest) (*ListingReviews, *http.Response, error)
Execute executes the request
@return ListingReviews
func (*ReviewAPIService) GetReviewsByShop ¶
func (a *ReviewAPIService) GetReviewsByShop(ctx context.Context, shopId int64) ReviewAPIGetReviewsByShopRequest
GetReviewsByShop Method for GetReviewsByShop
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 to retrieve the reviews from a shop given its ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ReviewAPIGetReviewsByShopRequest
func (*ReviewAPIService) GetReviewsByShopExecute ¶
func (a *ReviewAPIService) GetReviewsByShopExecute(r ReviewAPIGetReviewsByShopRequest) (*TransactionReviews, *http.Response, error)
Execute executes the request
@return TransactionReviews
type Self ¶
type Self struct { // The numeric ID of a user. This number is also a valid shop ID for the user\\'s shop. UserId *int64 `json:"user_id,omitempty"` // The unique positive non-zero numeric ID for an Etsy Shop. ShopId *int64 `json:"shop_id,omitempty"` AdditionalProperties map[string]interface{} }
Self Represents a single user of the site
func NewSelf ¶
func NewSelf() *Self
NewSelf instantiates a new Self 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
func NewSelfWithDefaults ¶
func NewSelfWithDefaults() *Self
NewSelfWithDefaults instantiates a new Self 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
func (*Self) GetShopIdOk ¶
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Self) GetUserIdOk ¶
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (Self) MarshalJSON ¶
func (*Self) SetShopId ¶
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
type SellerTaxonomyAPI ¶
type SellerTaxonomyAPI interface { /* GetPropertiesByTaxonomyId Method for GetPropertiesByTaxonomyId <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of product properties, with applicable scales and values, supported for a specific seller taxonomy ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param taxonomyId The unique numeric ID of an Etsy taxonomy node, which is a metadata category for listings organized into the seller taxonomy hierarchy tree. For example, the \"shoes\" taxonomy node (ID: 1429, level: 1) is higher in the hierarchy than \"girls' shoes\" (ID: 1440, level: 2). The taxonomy nodes assigned to a listing support access to specific standardized product scales and properties. For example, listings assigned the taxonomy nodes \"shoes\" or \"girls' shoes\" support access to the \"EU\" shoe size scale with its associated property names and IDs for EU shoe sizes, such as property `value_id`:\"1394\", and `name`:\"38\". @return SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest */ GetPropertiesByTaxonomyId(ctx context.Context, taxonomyId int64) SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest // GetPropertiesByTaxonomyIdExecute executes the request // @return TaxonomyNodeProperties GetPropertiesByTaxonomyIdExecute(r SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest) (*TaxonomyNodeProperties, *http.Response, error) /* GetSellerTaxonomyNodes Method for GetSellerTaxonomyNodes <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the full hierarchy tree of seller taxonomy nodes. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return SellerTaxonomyAPIGetSellerTaxonomyNodesRequest */ GetSellerTaxonomyNodes(ctx context.Context) SellerTaxonomyAPIGetSellerTaxonomyNodesRequest // GetSellerTaxonomyNodesExecute executes the request // @return SellerTaxonomyNodes GetSellerTaxonomyNodesExecute(r SellerTaxonomyAPIGetSellerTaxonomyNodesRequest) (*SellerTaxonomyNodes, *http.Response, error) }
type SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest ¶
type SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest struct { ApiService SellerTaxonomyAPI // contains filtered or unexported fields }
func (SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest) Execute ¶
func (r SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest) Execute() (*TaxonomyNodeProperties, *http.Response, error)
type SellerTaxonomyAPIGetSellerTaxonomyNodesRequest ¶
type SellerTaxonomyAPIGetSellerTaxonomyNodesRequest struct { ApiService SellerTaxonomyAPI // contains filtered or unexported fields }
func (SellerTaxonomyAPIGetSellerTaxonomyNodesRequest) Execute ¶
func (r SellerTaxonomyAPIGetSellerTaxonomyNodesRequest) Execute() (*SellerTaxonomyNodes, *http.Response, error)
type SellerTaxonomyAPIService ¶
type SellerTaxonomyAPIService service
SellerTaxonomyAPIService SellerTaxonomyAPI service
func (*SellerTaxonomyAPIService) GetPropertiesByTaxonomyId ¶
func (a *SellerTaxonomyAPIService) GetPropertiesByTaxonomyId(ctx context.Context, taxonomyId int64) SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest
GetPropertiesByTaxonomyId Method for GetPropertiesByTaxonomyId
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of product properties, with applicable scales and values, supported for a specific seller taxonomy ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param taxonomyId The unique numeric ID of an Etsy taxonomy node, which is a metadata category for listings organized into the seller taxonomy hierarchy tree. For example, the \"shoes\" taxonomy node (ID: 1429, level: 1) is higher in the hierarchy than \"girls' shoes\" (ID: 1440, level: 2). The taxonomy nodes assigned to a listing support access to specific standardized product scales and properties. For example, listings assigned the taxonomy nodes \"shoes\" or \"girls' shoes\" support access to the \"EU\" shoe size scale with its associated property names and IDs for EU shoe sizes, such as property `value_id`:\"1394\", and `name`:\"38\". @return SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest
func (*SellerTaxonomyAPIService) GetPropertiesByTaxonomyIdExecute ¶
func (a *SellerTaxonomyAPIService) GetPropertiesByTaxonomyIdExecute(r SellerTaxonomyAPIGetPropertiesByTaxonomyIdRequest) (*TaxonomyNodeProperties, *http.Response, error)
Execute executes the request
@return TaxonomyNodeProperties
func (*SellerTaxonomyAPIService) GetSellerTaxonomyNodes ¶
func (a *SellerTaxonomyAPIService) GetSellerTaxonomyNodes(ctx context.Context) SellerTaxonomyAPIGetSellerTaxonomyNodesRequest
GetSellerTaxonomyNodes Method for GetSellerTaxonomyNodes
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the full hierarchy tree of seller taxonomy nodes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return SellerTaxonomyAPIGetSellerTaxonomyNodesRequest
func (*SellerTaxonomyAPIService) GetSellerTaxonomyNodesExecute ¶
func (a *SellerTaxonomyAPIService) GetSellerTaxonomyNodesExecute(r SellerTaxonomyAPIGetSellerTaxonomyNodesRequest) (*SellerTaxonomyNodes, *http.Response, error)
Execute executes the request
@return SellerTaxonomyNodes
type SellerTaxonomyNode ¶
type SellerTaxonomyNode struct { // The unique numeric ID of an Etsy taxonomy node, which is a metadata category for listings organized into the seller taxonomy hierarchy tree. For example, the \\\"shoes\\\" taxonomy node (ID: 1429, level: 1) is higher in the hierarchy than \\\"girls' shoes\\\" (ID: 1440, level: 2). The taxonomy nodes assigned to a listing support access to specific standardized product scales and properties. For example, listings assigned the taxonomy nodes \\\"shoes\\\" or \\\"girls' shoes\\\" support access to the \\\"EU\\\" shoe size scale with its associated property names and IDs for EU shoe sizes, such as property `value_id`:\\\"1394\\\", and `name`:\\\"38\\\". Id *int64 `json:"id,omitempty"` // The integer depth of this taxonomy node in the seller taxonomy tree, with roots at level 0. Level *int64 `json:"level,omitempty"` // The name string for this taxonomy node. Name *string `json:"name,omitempty"` // The numeric taxonomy ID of the parent of this node. ParentId NullableInt64 `json:"parent_id,omitempty"` // An array of taxonomy nodes for all the direct children of this taxonomy node in the seller taxonomy tree. Children []SellerTaxonomyNode `json:"children,omitempty"` // An array of `taxonomy_id`s including this node and all of its direct parents in the seller taxonomy tree up to a root node. They are listed in order from root to leaf. FullPathTaxonomyIds []int64 `json:"full_path_taxonomy_ids,omitempty"` AdditionalProperties map[string]interface{} }
SellerTaxonomyNode A taxonomy node in the seller taxonomy tree.
func NewSellerTaxonomyNode ¶
func NewSellerTaxonomyNode() *SellerTaxonomyNode
NewSellerTaxonomyNode instantiates a new SellerTaxonomyNode 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
func NewSellerTaxonomyNodeWithDefaults ¶
func NewSellerTaxonomyNodeWithDefaults() *SellerTaxonomyNode
NewSellerTaxonomyNodeWithDefaults instantiates a new SellerTaxonomyNode 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
func (*SellerTaxonomyNode) GetChildren ¶
func (o *SellerTaxonomyNode) GetChildren() []SellerTaxonomyNode
GetChildren returns the Children field value if set, zero value otherwise.
func (*SellerTaxonomyNode) GetChildrenOk ¶
func (o *SellerTaxonomyNode) GetChildrenOk() ([]SellerTaxonomyNode, bool)
GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellerTaxonomyNode) GetFullPathTaxonomyIds ¶
func (o *SellerTaxonomyNode) GetFullPathTaxonomyIds() []int64
GetFullPathTaxonomyIds returns the FullPathTaxonomyIds field value if set, zero value otherwise.
func (*SellerTaxonomyNode) GetFullPathTaxonomyIdsOk ¶
func (o *SellerTaxonomyNode) GetFullPathTaxonomyIdsOk() ([]int64, bool)
GetFullPathTaxonomyIdsOk returns a tuple with the FullPathTaxonomyIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellerTaxonomyNode) GetId ¶
func (o *SellerTaxonomyNode) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SellerTaxonomyNode) GetIdOk ¶
func (o *SellerTaxonomyNode) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellerTaxonomyNode) GetLevel ¶
func (o *SellerTaxonomyNode) GetLevel() int64
GetLevel returns the Level field value if set, zero value otherwise.
func (*SellerTaxonomyNode) GetLevelOk ¶
func (o *SellerTaxonomyNode) GetLevelOk() (*int64, bool)
GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellerTaxonomyNode) GetName ¶
func (o *SellerTaxonomyNode) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SellerTaxonomyNode) GetNameOk ¶
func (o *SellerTaxonomyNode) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellerTaxonomyNode) GetParentId ¶
func (o *SellerTaxonomyNode) GetParentId() int64
GetParentId returns the ParentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SellerTaxonomyNode) GetParentIdOk ¶
func (o *SellerTaxonomyNode) GetParentIdOk() (*int64, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*SellerTaxonomyNode) HasChildren ¶
func (o *SellerTaxonomyNode) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (*SellerTaxonomyNode) HasFullPathTaxonomyIds ¶
func (o *SellerTaxonomyNode) HasFullPathTaxonomyIds() bool
HasFullPathTaxonomyIds returns a boolean if a field has been set.
func (*SellerTaxonomyNode) HasId ¶
func (o *SellerTaxonomyNode) HasId() bool
HasId returns a boolean if a field has been set.
func (*SellerTaxonomyNode) HasLevel ¶
func (o *SellerTaxonomyNode) HasLevel() bool
HasLevel returns a boolean if a field has been set.
func (*SellerTaxonomyNode) HasName ¶
func (o *SellerTaxonomyNode) HasName() bool
HasName returns a boolean if a field has been set.
func (*SellerTaxonomyNode) HasParentId ¶
func (o *SellerTaxonomyNode) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (SellerTaxonomyNode) MarshalJSON ¶
func (o SellerTaxonomyNode) MarshalJSON() ([]byte, error)
func (*SellerTaxonomyNode) SetChildren ¶
func (o *SellerTaxonomyNode) SetChildren(v []SellerTaxonomyNode)
SetChildren gets a reference to the given []SellerTaxonomyNode and assigns it to the Children field.
func (*SellerTaxonomyNode) SetFullPathTaxonomyIds ¶
func (o *SellerTaxonomyNode) SetFullPathTaxonomyIds(v []int64)
SetFullPathTaxonomyIds gets a reference to the given []int64 and assigns it to the FullPathTaxonomyIds field.
func (*SellerTaxonomyNode) SetId ¶
func (o *SellerTaxonomyNode) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SellerTaxonomyNode) SetLevel ¶
func (o *SellerTaxonomyNode) SetLevel(v int64)
SetLevel gets a reference to the given int64 and assigns it to the Level field.
func (*SellerTaxonomyNode) SetName ¶
func (o *SellerTaxonomyNode) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SellerTaxonomyNode) SetParentId ¶
func (o *SellerTaxonomyNode) SetParentId(v int64)
SetParentId gets a reference to the given NullableInt64 and assigns it to the ParentId field.
func (*SellerTaxonomyNode) SetParentIdNil ¶
func (o *SellerTaxonomyNode) SetParentIdNil()
SetParentIdNil sets the value for ParentId to be an explicit nil
func (SellerTaxonomyNode) ToMap ¶
func (o SellerTaxonomyNode) ToMap() (map[string]interface{}, error)
func (*SellerTaxonomyNode) UnsetParentId ¶
func (o *SellerTaxonomyNode) UnsetParentId()
UnsetParentId ensures that no value is present for ParentId, not even an explicit nil
type SellerTaxonomyNodes ¶
type SellerTaxonomyNodes struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []SellerTaxonomyNode `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
SellerTaxonomyNodes A list of taxonomy nodes from the seller taxonomy tree.
func NewSellerTaxonomyNodes ¶
func NewSellerTaxonomyNodes() *SellerTaxonomyNodes
NewSellerTaxonomyNodes instantiates a new SellerTaxonomyNodes 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
func NewSellerTaxonomyNodesWithDefaults ¶
func NewSellerTaxonomyNodesWithDefaults() *SellerTaxonomyNodes
NewSellerTaxonomyNodesWithDefaults instantiates a new SellerTaxonomyNodes 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
func (*SellerTaxonomyNodes) GetCount ¶
func (o *SellerTaxonomyNodes) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*SellerTaxonomyNodes) GetCountOk ¶
func (o *SellerTaxonomyNodes) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellerTaxonomyNodes) GetResults ¶
func (o *SellerTaxonomyNodes) GetResults() []SellerTaxonomyNode
GetResults returns the Results field value if set, zero value otherwise.
func (*SellerTaxonomyNodes) GetResultsOk ¶
func (o *SellerTaxonomyNodes) GetResultsOk() ([]SellerTaxonomyNode, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SellerTaxonomyNodes) HasCount ¶
func (o *SellerTaxonomyNodes) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*SellerTaxonomyNodes) HasResults ¶
func (o *SellerTaxonomyNodes) HasResults() bool
HasResults returns a boolean if a field has been set.
func (SellerTaxonomyNodes) MarshalJSON ¶
func (o SellerTaxonomyNodes) MarshalJSON() ([]byte, error)
func (*SellerTaxonomyNodes) SetCount ¶
func (o *SellerTaxonomyNodes) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*SellerTaxonomyNodes) SetResults ¶
func (o *SellerTaxonomyNodes) SetResults(v []SellerTaxonomyNode)
SetResults gets a reference to the given []SellerTaxonomyNode and assigns it to the Results field.
func (SellerTaxonomyNodes) ToMap ¶
func (o SellerTaxonomyNodes) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ShippingCarrier ¶
type ShippingCarrier struct { // The numeric ID of this shipping carrier. ShippingCarrierId *int64 `json:"shipping_carrier_id,omitempty"` // The name of this shipping carrier. Name *string `json:"name,omitempty"` // Set of domestic mail classes of this shipping carrier. DomesticClasses []ShippingCarrierMailClass `json:"domestic_classes,omitempty"` // Set of international mail classes of this shipping carrier. InternationalClasses []ShippingCarrierMailClass `json:"international_classes,omitempty"` AdditionalProperties map[string]interface{} }
ShippingCarrier A supported shipping carrier, which is used to calculate an Estimated Delivery Date.
func NewShippingCarrier ¶
func NewShippingCarrier() *ShippingCarrier
NewShippingCarrier instantiates a new ShippingCarrier 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
func NewShippingCarrierWithDefaults ¶
func NewShippingCarrierWithDefaults() *ShippingCarrier
NewShippingCarrierWithDefaults instantiates a new ShippingCarrier 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
func (*ShippingCarrier) GetDomesticClasses ¶
func (o *ShippingCarrier) GetDomesticClasses() []ShippingCarrierMailClass
GetDomesticClasses returns the DomesticClasses field value if set, zero value otherwise.
func (*ShippingCarrier) GetDomesticClassesOk ¶
func (o *ShippingCarrier) GetDomesticClassesOk() ([]ShippingCarrierMailClass, bool)
GetDomesticClassesOk returns a tuple with the DomesticClasses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarrier) GetInternationalClasses ¶
func (o *ShippingCarrier) GetInternationalClasses() []ShippingCarrierMailClass
GetInternationalClasses returns the InternationalClasses field value if set, zero value otherwise.
func (*ShippingCarrier) GetInternationalClassesOk ¶
func (o *ShippingCarrier) GetInternationalClassesOk() ([]ShippingCarrierMailClass, bool)
GetInternationalClassesOk returns a tuple with the InternationalClasses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarrier) GetName ¶
func (o *ShippingCarrier) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ShippingCarrier) GetNameOk ¶
func (o *ShippingCarrier) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarrier) GetShippingCarrierId ¶
func (o *ShippingCarrier) GetShippingCarrierId() int64
GetShippingCarrierId returns the ShippingCarrierId field value if set, zero value otherwise.
func (*ShippingCarrier) GetShippingCarrierIdOk ¶
func (o *ShippingCarrier) GetShippingCarrierIdOk() (*int64, bool)
GetShippingCarrierIdOk returns a tuple with the ShippingCarrierId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarrier) HasDomesticClasses ¶
func (o *ShippingCarrier) HasDomesticClasses() bool
HasDomesticClasses returns a boolean if a field has been set.
func (*ShippingCarrier) HasInternationalClasses ¶
func (o *ShippingCarrier) HasInternationalClasses() bool
HasInternationalClasses returns a boolean if a field has been set.
func (*ShippingCarrier) HasName ¶
func (o *ShippingCarrier) HasName() bool
HasName returns a boolean if a field has been set.
func (*ShippingCarrier) HasShippingCarrierId ¶
func (o *ShippingCarrier) HasShippingCarrierId() bool
HasShippingCarrierId returns a boolean if a field has been set.
func (ShippingCarrier) MarshalJSON ¶
func (o ShippingCarrier) MarshalJSON() ([]byte, error)
func (*ShippingCarrier) SetDomesticClasses ¶
func (o *ShippingCarrier) SetDomesticClasses(v []ShippingCarrierMailClass)
SetDomesticClasses gets a reference to the given []ShippingCarrierMailClass and assigns it to the DomesticClasses field.
func (*ShippingCarrier) SetInternationalClasses ¶
func (o *ShippingCarrier) SetInternationalClasses(v []ShippingCarrierMailClass)
SetInternationalClasses gets a reference to the given []ShippingCarrierMailClass and assigns it to the InternationalClasses field.
func (*ShippingCarrier) SetName ¶
func (o *ShippingCarrier) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ShippingCarrier) SetShippingCarrierId ¶
func (o *ShippingCarrier) SetShippingCarrierId(v int64)
SetShippingCarrierId gets a reference to the given int64 and assigns it to the ShippingCarrierId field.
func (ShippingCarrier) ToMap ¶
func (o ShippingCarrier) ToMap() (map[string]interface{}, error)
type ShippingCarrierMailClass ¶
type ShippingCarrierMailClass struct { // The unique identifier of this mail class. MailClassKey *string `json:"mail_class_key,omitempty"` // The name of this mail class. Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} }
ShippingCarrierMailClass A shipping carrier's mail class, which is used to calculate an Estimated Delivery Date.
func NewShippingCarrierMailClass ¶
func NewShippingCarrierMailClass() *ShippingCarrierMailClass
NewShippingCarrierMailClass instantiates a new ShippingCarrierMailClass 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
func NewShippingCarrierMailClassWithDefaults ¶
func NewShippingCarrierMailClassWithDefaults() *ShippingCarrierMailClass
NewShippingCarrierMailClassWithDefaults instantiates a new ShippingCarrierMailClass 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
func (*ShippingCarrierMailClass) GetMailClassKey ¶
func (o *ShippingCarrierMailClass) GetMailClassKey() string
GetMailClassKey returns the MailClassKey field value if set, zero value otherwise.
func (*ShippingCarrierMailClass) GetMailClassKeyOk ¶
func (o *ShippingCarrierMailClass) GetMailClassKeyOk() (*string, bool)
GetMailClassKeyOk returns a tuple with the MailClassKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarrierMailClass) GetName ¶
func (o *ShippingCarrierMailClass) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ShippingCarrierMailClass) GetNameOk ¶
func (o *ShippingCarrierMailClass) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarrierMailClass) HasMailClassKey ¶
func (o *ShippingCarrierMailClass) HasMailClassKey() bool
HasMailClassKey returns a boolean if a field has been set.
func (*ShippingCarrierMailClass) HasName ¶
func (o *ShippingCarrierMailClass) HasName() bool
HasName returns a boolean if a field has been set.
func (ShippingCarrierMailClass) MarshalJSON ¶
func (o ShippingCarrierMailClass) MarshalJSON() ([]byte, error)
func (*ShippingCarrierMailClass) SetMailClassKey ¶
func (o *ShippingCarrierMailClass) SetMailClassKey(v string)
SetMailClassKey gets a reference to the given string and assigns it to the MailClassKey field.
func (*ShippingCarrierMailClass) SetName ¶
func (o *ShippingCarrierMailClass) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (ShippingCarrierMailClass) ToMap ¶
func (o ShippingCarrierMailClass) ToMap() (map[string]interface{}, error)
type ShippingCarriers ¶
type ShippingCarriers struct { Count *int64 `json:"count,omitempty"` Results []ShippingCarrier `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShippingCarriers Represents several ShippingCarriers.
func NewShippingCarriers ¶
func NewShippingCarriers() *ShippingCarriers
NewShippingCarriers instantiates a new ShippingCarriers 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
func NewShippingCarriersWithDefaults ¶
func NewShippingCarriersWithDefaults() *ShippingCarriers
NewShippingCarriersWithDefaults instantiates a new ShippingCarriers 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
func (*ShippingCarriers) GetCount ¶
func (o *ShippingCarriers) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShippingCarriers) GetCountOk ¶
func (o *ShippingCarriers) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarriers) GetResults ¶
func (o *ShippingCarriers) GetResults() []ShippingCarrier
GetResults returns the Results field value if set, zero value otherwise.
func (*ShippingCarriers) GetResultsOk ¶
func (o *ShippingCarriers) GetResultsOk() ([]ShippingCarrier, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShippingCarriers) HasCount ¶
func (o *ShippingCarriers) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShippingCarriers) HasResults ¶
func (o *ShippingCarriers) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShippingCarriers) MarshalJSON ¶
func (o ShippingCarriers) MarshalJSON() ([]byte, error)
func (*ShippingCarriers) SetCount ¶
func (o *ShippingCarriers) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShippingCarriers) SetResults ¶
func (o *ShippingCarriers) SetResults(v []ShippingCarrier)
SetResults gets a reference to the given []ShippingCarrier and assigns it to the Results field.
func (ShippingCarriers) ToMap ¶
func (o ShippingCarriers) ToMap() (map[string]interface{}, error)
type Shop ¶
type Shop struct { // The unique positive non-zero numeric ID for an Etsy Shop. ShopId *int64 `json:"shop_id,omitempty"` // The numeric user ID of the [user](/documentation/reference#tag/User) who owns this shop. UserId *int64 `json:"user_id,omitempty"` // The shop's name string. ShopName *string `json:"shop_name,omitempty"` // The date and time this shop was created, in epoch seconds. CreateDate *int64 `json:"create_date,omitempty"` // The date and time this shop was created, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // A brief heading string for the shop\\'s main page. Title NullableString `json:"title,omitempty"` // An announcement string to buyers that displays on the shop's homepage. Announcement NullableString `json:"announcement,omitempty"` // The ISO (alphabetic) code for the shop's currency. The shop displays all prices in this currency by default. CurrencyCode *string `json:"currency_code,omitempty"` // When true, this shop is not accepting purchases. IsVacation *bool `json:"is_vacation,omitempty"` // The shop's message string displayed when `is_vacation` is true. VacationMessage NullableString `json:"vacation_message,omitempty"` // A message string sent to users who complete a purchase from this shop. SaleMessage NullableString `json:"sale_message,omitempty"` // A message string sent to users who purchase a digital item from this shop. DigitalSaleMessage NullableString `json:"digital_sale_message,omitempty"` // The date and time of the last update to the shop, in epoch seconds. UpdateDate *int64 `json:"update_date,omitempty"` // The date and time of the last update to the shop, in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` // The number of active listings in the shop. ListingActiveCount *int64 `json:"listing_active_count,omitempty"` // The number of digital listings in the shop. DigitalListingCount *int64 `json:"digital_listing_count,omitempty"` // The shop owner\\'s login name string. LoginName *string `json:"login_name,omitempty"` // When true, the shop accepts customization requests. AcceptsCustomRequests *bool `json:"accepts_custom_requests,omitempty"` // The shop's policy welcome string (may be blank). PolicyWelcome NullableString `json:"policy_welcome,omitempty"` // The shop's payment policy string (may be blank). PolicyPayment NullableString `json:"policy_payment,omitempty"` // The shop's shipping policy string (may be blank). PolicyShipping NullableString `json:"policy_shipping,omitempty"` // The shop's refund policy string (may be blank). PolicyRefunds NullableString `json:"policy_refunds,omitempty"` // The shop's additional policies string (may be blank). PolicyAdditional NullableString `json:"policy_additional,omitempty"` // The shop's seller information string (may be blank). PolicySellerInfo NullableString `json:"policy_seller_info,omitempty"` // The date and time of the last update to the shop's policies, in epoch seconds. PolicyUpdateDate *int64 `json:"policy_update_date,omitempty"` // When true, EU receipts display private info. PolicyHasPrivateReceiptInfo *bool `json:"policy_has_private_receipt_info,omitempty"` // When true, the shop displays additional unstructured policy fields. HasUnstructuredPolicies *bool `json:"has_unstructured_policies,omitempty"` // The shop's privacy policy string (may be blank). PolicyPrivacy NullableString `json:"policy_privacy,omitempty"` // The shop's automatic reply string displayed in new conversations when `is_vacation` is true. VacationAutoreply NullableString `json:"vacation_autoreply,omitempty"` // The URL string for this shop. Url *string `json:"url,omitempty"` // The URL string for this shop's banner image. ImageUrl760x100 NullableString `json:"image_url_760x100,omitempty"` // The number of users who marked this shop a favorite. NumFavorers *int64 `json:"num_favorers,omitempty"` // A list of language strings for the shop's enrolled languages where the default shop language is the first element in the array. Languages []string `json:"languages,omitempty"` // The URL string for this shop's icon image. IconUrlFullxfull NullableString `json:"icon_url_fullxfull,omitempty"` // When true, the shop accepted using structured policies. IsUsingStructuredPolicies *bool `json:"is_using_structured_policies,omitempty"` // When true, the shop accepted OR declined after viewing structured policies onboarding. HasOnboardedStructuredPolicies *bool `json:"has_onboarded_structured_policies,omitempty"` // When true, this shop\\'s policies include a link to an EU online dispute form. IncludeDisputeFormLink *bool `json:"include_dispute_form_link,omitempty"` // (**DEPRECATED: Replaced by _is_etsy_payments_onboarded_.) When true, the shop has onboarded onto Etsy Payments. IsDirectCheckoutOnboarded *bool `json:"is_direct_checkout_onboarded,omitempty"` // When true, the shop has onboarded onto Etsy Payments. IsEtsyPaymentsOnboarded *bool `json:"is_etsy_payments_onboarded,omitempty"` // When true, the shop is eligible for calculated shipping profiles. (Only available in the US and Canada) IsCalculatedEligible *bool `json:"is_calculated_eligible,omitempty"` // When true, the shop opted in to buyer promise. IsOptedInToBuyerPromise *bool `json:"is_opted_in_to_buyer_promise,omitempty"` // When true, the shop is based in the US. IsShopUsBased *bool `json:"is_shop_us_based,omitempty"` // The total number of sales ([transactions](/documentation/reference#tag/Shop-Receipt-Transactions)) for this shop. TransactionSoldCount *int64 `json:"transaction_sold_count,omitempty"` // The country iso the shop is shipping from. ShippingFromCountryIso NullableString `json:"shipping_from_country_iso,omitempty"` // The country iso where the shop is located. ShopLocationCountryIso NullableString `json:"shop_location_country_iso,omitempty"` // Number of reviews of shop listings in the past year. ReviewCount NullableInt64 `json:"review_count,omitempty"` // Average rating based on reviews of shop listings in the past year. ReviewAverage NullableFloat32 `json:"review_average,omitempty"` AdditionalProperties map[string]interface{} }
Shop A shop created by an Etsy user.
func NewShop ¶
func NewShop() *Shop
NewShop instantiates a new Shop 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
func NewShopWithDefaults ¶
func NewShopWithDefaults() *Shop
NewShopWithDefaults instantiates a new Shop 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
func (*Shop) GetAcceptsCustomRequests ¶
GetAcceptsCustomRequests returns the AcceptsCustomRequests field value if set, zero value otherwise.
func (*Shop) GetAcceptsCustomRequestsOk ¶
GetAcceptsCustomRequestsOk returns a tuple with the AcceptsCustomRequests field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetAnnouncement ¶
GetAnnouncement returns the Announcement field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetAnnouncementOk ¶
GetAnnouncementOk returns a tuple with the Announcement field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetCreateDate ¶
GetCreateDate returns the CreateDate field value if set, zero value otherwise.
func (*Shop) GetCreateDateOk ¶
GetCreateDateOk returns a tuple with the CreateDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetCreatedTimestamp ¶
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*Shop) GetCreatedTimestampOk ¶
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetCurrencyCode ¶
GetCurrencyCode returns the CurrencyCode field value if set, zero value otherwise.
func (*Shop) GetCurrencyCodeOk ¶
GetCurrencyCodeOk returns a tuple with the CurrencyCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetDigitalListingCount ¶
GetDigitalListingCount returns the DigitalListingCount field value if set, zero value otherwise.
func (*Shop) GetDigitalListingCountOk ¶
GetDigitalListingCountOk returns a tuple with the DigitalListingCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetDigitalSaleMessage ¶
GetDigitalSaleMessage returns the DigitalSaleMessage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetDigitalSaleMessageOk ¶
GetDigitalSaleMessageOk returns a tuple with the DigitalSaleMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetHasOnboardedStructuredPolicies ¶
GetHasOnboardedStructuredPolicies returns the HasOnboardedStructuredPolicies field value if set, zero value otherwise.
func (*Shop) GetHasOnboardedStructuredPoliciesOk ¶
GetHasOnboardedStructuredPoliciesOk returns a tuple with the HasOnboardedStructuredPolicies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetHasUnstructuredPolicies ¶
GetHasUnstructuredPolicies returns the HasUnstructuredPolicies field value if set, zero value otherwise.
func (*Shop) GetHasUnstructuredPoliciesOk ¶
GetHasUnstructuredPoliciesOk returns a tuple with the HasUnstructuredPolicies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIconUrlFullxfull ¶
GetIconUrlFullxfull returns the IconUrlFullxfull field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetIconUrlFullxfullOk ¶
GetIconUrlFullxfullOk returns a tuple with the IconUrlFullxfull field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetImageUrl760x100 ¶
GetImageUrl760x100 returns the ImageUrl760x100 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetImageUrl760x100Ok ¶
GetImageUrl760x100Ok returns a tuple with the ImageUrl760x100 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetIncludeDisputeFormLink ¶
GetIncludeDisputeFormLink returns the IncludeDisputeFormLink field value if set, zero value otherwise.
func (*Shop) GetIncludeDisputeFormLinkOk ¶
GetIncludeDisputeFormLinkOk returns a tuple with the IncludeDisputeFormLink field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIsCalculatedEligible ¶
GetIsCalculatedEligible returns the IsCalculatedEligible field value if set, zero value otherwise.
func (*Shop) GetIsCalculatedEligibleOk ¶
GetIsCalculatedEligibleOk returns a tuple with the IsCalculatedEligible field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIsDirectCheckoutOnboarded ¶
GetIsDirectCheckoutOnboarded returns the IsDirectCheckoutOnboarded field value if set, zero value otherwise.
func (*Shop) GetIsDirectCheckoutOnboardedOk ¶
GetIsDirectCheckoutOnboardedOk returns a tuple with the IsDirectCheckoutOnboarded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIsEtsyPaymentsOnboarded ¶
GetIsEtsyPaymentsOnboarded returns the IsEtsyPaymentsOnboarded field value if set, zero value otherwise.
func (*Shop) GetIsEtsyPaymentsOnboardedOk ¶
GetIsEtsyPaymentsOnboardedOk returns a tuple with the IsEtsyPaymentsOnboarded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIsOptedInToBuyerPromise ¶
GetIsOptedInToBuyerPromise returns the IsOptedInToBuyerPromise field value if set, zero value otherwise.
func (*Shop) GetIsOptedInToBuyerPromiseOk ¶
GetIsOptedInToBuyerPromiseOk returns a tuple with the IsOptedInToBuyerPromise field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIsShopUsBased ¶
GetIsShopUsBased returns the IsShopUsBased field value if set, zero value otherwise.
func (*Shop) GetIsShopUsBasedOk ¶
GetIsShopUsBasedOk returns a tuple with the IsShopUsBased field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIsUsingStructuredPolicies ¶
GetIsUsingStructuredPolicies returns the IsUsingStructuredPolicies field value if set, zero value otherwise.
func (*Shop) GetIsUsingStructuredPoliciesOk ¶
GetIsUsingStructuredPoliciesOk returns a tuple with the IsUsingStructuredPolicies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetIsVacation ¶
GetIsVacation returns the IsVacation field value if set, zero value otherwise.
func (*Shop) GetIsVacationOk ¶
GetIsVacationOk returns a tuple with the IsVacation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetLanguages ¶
GetLanguages returns the Languages field value if set, zero value otherwise.
func (*Shop) GetLanguagesOk ¶
GetLanguagesOk returns a tuple with the Languages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetListingActiveCount ¶
GetListingActiveCount returns the ListingActiveCount field value if set, zero value otherwise.
func (*Shop) GetListingActiveCountOk ¶
GetListingActiveCountOk returns a tuple with the ListingActiveCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetLoginName ¶
GetLoginName returns the LoginName field value if set, zero value otherwise.
func (*Shop) GetLoginNameOk ¶
GetLoginNameOk returns a tuple with the LoginName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetNumFavorers ¶
GetNumFavorers returns the NumFavorers field value if set, zero value otherwise.
func (*Shop) GetNumFavorersOk ¶
GetNumFavorersOk returns a tuple with the NumFavorers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetPolicyAdditional ¶
GetPolicyAdditional returns the PolicyAdditional field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetPolicyAdditionalOk ¶
GetPolicyAdditionalOk returns a tuple with the PolicyAdditional field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetPolicyHasPrivateReceiptInfo ¶
GetPolicyHasPrivateReceiptInfo returns the PolicyHasPrivateReceiptInfo field value if set, zero value otherwise.
func (*Shop) GetPolicyHasPrivateReceiptInfoOk ¶
GetPolicyHasPrivateReceiptInfoOk returns a tuple with the PolicyHasPrivateReceiptInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetPolicyPayment ¶
GetPolicyPayment returns the PolicyPayment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetPolicyPaymentOk ¶
GetPolicyPaymentOk returns a tuple with the PolicyPayment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetPolicyPrivacy ¶
GetPolicyPrivacy returns the PolicyPrivacy field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetPolicyPrivacyOk ¶
GetPolicyPrivacyOk returns a tuple with the PolicyPrivacy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetPolicyRefunds ¶
GetPolicyRefunds returns the PolicyRefunds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetPolicyRefundsOk ¶
GetPolicyRefundsOk returns a tuple with the PolicyRefunds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetPolicySellerInfo ¶
GetPolicySellerInfo returns the PolicySellerInfo field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetPolicySellerInfoOk ¶
GetPolicySellerInfoOk returns a tuple with the PolicySellerInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetPolicyShipping ¶
GetPolicyShipping returns the PolicyShipping field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetPolicyShippingOk ¶
GetPolicyShippingOk returns a tuple with the PolicyShipping field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetPolicyUpdateDate ¶
GetPolicyUpdateDate returns the PolicyUpdateDate field value if set, zero value otherwise.
func (*Shop) GetPolicyUpdateDateOk ¶
GetPolicyUpdateDateOk returns a tuple with the PolicyUpdateDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetPolicyWelcome ¶
GetPolicyWelcome returns the PolicyWelcome field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetPolicyWelcomeOk ¶
GetPolicyWelcomeOk returns a tuple with the PolicyWelcome field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetReviewAverage ¶
GetReviewAverage returns the ReviewAverage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetReviewAverageOk ¶
GetReviewAverageOk returns a tuple with the ReviewAverage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetReviewCount ¶
GetReviewCount returns the ReviewCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetReviewCountOk ¶
GetReviewCountOk returns a tuple with the ReviewCount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetSaleMessage ¶
GetSaleMessage returns the SaleMessage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetSaleMessageOk ¶
GetSaleMessageOk returns a tuple with the SaleMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetShippingFromCountryIso ¶
GetShippingFromCountryIso returns the ShippingFromCountryIso field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetShippingFromCountryIsoOk ¶
GetShippingFromCountryIsoOk returns a tuple with the ShippingFromCountryIso field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetShopIdOk ¶
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetShopLocationCountryIso ¶
GetShopLocationCountryIso returns the ShopLocationCountryIso field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetShopLocationCountryIsoOk ¶
GetShopLocationCountryIsoOk returns a tuple with the ShopLocationCountryIso field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetShopName ¶
GetShopName returns the ShopName field value if set, zero value otherwise.
func (*Shop) GetShopNameOk ¶
GetShopNameOk returns a tuple with the ShopName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetTitle ¶
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetTransactionSoldCount ¶
GetTransactionSoldCount returns the TransactionSoldCount field value if set, zero value otherwise.
func (*Shop) GetTransactionSoldCountOk ¶
GetTransactionSoldCountOk returns a tuple with the TransactionSoldCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetUpdateDate ¶
GetUpdateDate returns the UpdateDate field value if set, zero value otherwise.
func (*Shop) GetUpdateDateOk ¶
GetUpdateDateOk returns a tuple with the UpdateDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetUpdatedTimestamp ¶
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*Shop) GetUpdatedTimestampOk ¶
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetUserIdOk ¶
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shop) GetVacationAutoreply ¶
GetVacationAutoreply returns the VacationAutoreply field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetVacationAutoreplyOk ¶
GetVacationAutoreplyOk returns a tuple with the VacationAutoreply field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) GetVacationMessage ¶
GetVacationMessage returns the VacationMessage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Shop) GetVacationMessageOk ¶
GetVacationMessageOk returns a tuple with the VacationMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Shop) HasAcceptsCustomRequests ¶
HasAcceptsCustomRequests returns a boolean if a field has been set.
func (*Shop) HasAnnouncement ¶
HasAnnouncement returns a boolean if a field has been set.
func (*Shop) HasCreateDate ¶
HasCreateDate returns a boolean if a field has been set.
func (*Shop) HasCreatedTimestamp ¶
HasCreatedTimestamp returns a boolean if a field has been set.
func (*Shop) HasCurrencyCode ¶
HasCurrencyCode returns a boolean if a field has been set.
func (*Shop) HasDigitalListingCount ¶
HasDigitalListingCount returns a boolean if a field has been set.
func (*Shop) HasDigitalSaleMessage ¶
HasDigitalSaleMessage returns a boolean if a field has been set.
func (*Shop) HasHasOnboardedStructuredPolicies ¶
HasHasOnboardedStructuredPolicies returns a boolean if a field has been set.
func (*Shop) HasHasUnstructuredPolicies ¶
HasHasUnstructuredPolicies returns a boolean if a field has been set.
func (*Shop) HasIconUrlFullxfull ¶
HasIconUrlFullxfull returns a boolean if a field has been set.
func (*Shop) HasImageUrl760x100 ¶
HasImageUrl760x100 returns a boolean if a field has been set.
func (*Shop) HasIncludeDisputeFormLink ¶
HasIncludeDisputeFormLink returns a boolean if a field has been set.
func (*Shop) HasIsCalculatedEligible ¶
HasIsCalculatedEligible returns a boolean if a field has been set.
func (*Shop) HasIsDirectCheckoutOnboarded ¶
HasIsDirectCheckoutOnboarded returns a boolean if a field has been set.
func (*Shop) HasIsEtsyPaymentsOnboarded ¶
HasIsEtsyPaymentsOnboarded returns a boolean if a field has been set.
func (*Shop) HasIsOptedInToBuyerPromise ¶
HasIsOptedInToBuyerPromise returns a boolean if a field has been set.
func (*Shop) HasIsShopUsBased ¶
HasIsShopUsBased returns a boolean if a field has been set.
func (*Shop) HasIsUsingStructuredPolicies ¶
HasIsUsingStructuredPolicies returns a boolean if a field has been set.
func (*Shop) HasIsVacation ¶
HasIsVacation returns a boolean if a field has been set.
func (*Shop) HasLanguages ¶
HasLanguages returns a boolean if a field has been set.
func (*Shop) HasListingActiveCount ¶
HasListingActiveCount returns a boolean if a field has been set.
func (*Shop) HasLoginName ¶
HasLoginName returns a boolean if a field has been set.
func (*Shop) HasNumFavorers ¶
HasNumFavorers returns a boolean if a field has been set.
func (*Shop) HasPolicyAdditional ¶
HasPolicyAdditional returns a boolean if a field has been set.
func (*Shop) HasPolicyHasPrivateReceiptInfo ¶
HasPolicyHasPrivateReceiptInfo returns a boolean if a field has been set.
func (*Shop) HasPolicyPayment ¶
HasPolicyPayment returns a boolean if a field has been set.
func (*Shop) HasPolicyPrivacy ¶
HasPolicyPrivacy returns a boolean if a field has been set.
func (*Shop) HasPolicyRefunds ¶
HasPolicyRefunds returns a boolean if a field has been set.
func (*Shop) HasPolicySellerInfo ¶
HasPolicySellerInfo returns a boolean if a field has been set.
func (*Shop) HasPolicyShipping ¶
HasPolicyShipping returns a boolean if a field has been set.
func (*Shop) HasPolicyUpdateDate ¶
HasPolicyUpdateDate returns a boolean if a field has been set.
func (*Shop) HasPolicyWelcome ¶
HasPolicyWelcome returns a boolean if a field has been set.
func (*Shop) HasReviewAverage ¶
HasReviewAverage returns a boolean if a field has been set.
func (*Shop) HasReviewCount ¶
HasReviewCount returns a boolean if a field has been set.
func (*Shop) HasSaleMessage ¶
HasSaleMessage returns a boolean if a field has been set.
func (*Shop) HasShippingFromCountryIso ¶
HasShippingFromCountryIso returns a boolean if a field has been set.
func (*Shop) HasShopLocationCountryIso ¶
HasShopLocationCountryIso returns a boolean if a field has been set.
func (*Shop) HasShopName ¶
HasShopName returns a boolean if a field has been set.
func (*Shop) HasTransactionSoldCount ¶
HasTransactionSoldCount returns a boolean if a field has been set.
func (*Shop) HasUpdateDate ¶
HasUpdateDate returns a boolean if a field has been set.
func (*Shop) HasUpdatedTimestamp ¶
HasUpdatedTimestamp returns a boolean if a field has been set.
func (*Shop) HasVacationAutoreply ¶
HasVacationAutoreply returns a boolean if a field has been set.
func (*Shop) HasVacationMessage ¶
HasVacationMessage returns a boolean if a field has been set.
func (Shop) MarshalJSON ¶
func (*Shop) SetAcceptsCustomRequests ¶
SetAcceptsCustomRequests gets a reference to the given bool and assigns it to the AcceptsCustomRequests field.
func (*Shop) SetAnnouncement ¶
SetAnnouncement gets a reference to the given NullableString and assigns it to the Announcement field.
func (*Shop) SetAnnouncementNil ¶
func (o *Shop) SetAnnouncementNil()
SetAnnouncementNil sets the value for Announcement to be an explicit nil
func (*Shop) SetCreateDate ¶
SetCreateDate gets a reference to the given int64 and assigns it to the CreateDate field.
func (*Shop) SetCreatedTimestamp ¶
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*Shop) SetCurrencyCode ¶
SetCurrencyCode gets a reference to the given string and assigns it to the CurrencyCode field.
func (*Shop) SetDigitalListingCount ¶
SetDigitalListingCount gets a reference to the given int64 and assigns it to the DigitalListingCount field.
func (*Shop) SetDigitalSaleMessage ¶
SetDigitalSaleMessage gets a reference to the given NullableString and assigns it to the DigitalSaleMessage field.
func (*Shop) SetDigitalSaleMessageNil ¶
func (o *Shop) SetDigitalSaleMessageNil()
SetDigitalSaleMessageNil sets the value for DigitalSaleMessage to be an explicit nil
func (*Shop) SetHasOnboardedStructuredPolicies ¶
SetHasOnboardedStructuredPolicies gets a reference to the given bool and assigns it to the HasOnboardedStructuredPolicies field.
func (*Shop) SetHasUnstructuredPolicies ¶
SetHasUnstructuredPolicies gets a reference to the given bool and assigns it to the HasUnstructuredPolicies field.
func (*Shop) SetIconUrlFullxfull ¶
SetIconUrlFullxfull gets a reference to the given NullableString and assigns it to the IconUrlFullxfull field.
func (*Shop) SetIconUrlFullxfullNil ¶
func (o *Shop) SetIconUrlFullxfullNil()
SetIconUrlFullxfullNil sets the value for IconUrlFullxfull to be an explicit nil
func (*Shop) SetImageUrl760x100 ¶
SetImageUrl760x100 gets a reference to the given NullableString and assigns it to the ImageUrl760x100 field.
func (*Shop) SetImageUrl760x100Nil ¶
func (o *Shop) SetImageUrl760x100Nil()
SetImageUrl760x100Nil sets the value for ImageUrl760x100 to be an explicit nil
func (*Shop) SetIncludeDisputeFormLink ¶
SetIncludeDisputeFormLink gets a reference to the given bool and assigns it to the IncludeDisputeFormLink field.
func (*Shop) SetIsCalculatedEligible ¶
SetIsCalculatedEligible gets a reference to the given bool and assigns it to the IsCalculatedEligible field.
func (*Shop) SetIsDirectCheckoutOnboarded ¶
SetIsDirectCheckoutOnboarded gets a reference to the given bool and assigns it to the IsDirectCheckoutOnboarded field.
func (*Shop) SetIsEtsyPaymentsOnboarded ¶
SetIsEtsyPaymentsOnboarded gets a reference to the given bool and assigns it to the IsEtsyPaymentsOnboarded field.
func (*Shop) SetIsOptedInToBuyerPromise ¶
SetIsOptedInToBuyerPromise gets a reference to the given bool and assigns it to the IsOptedInToBuyerPromise field.
func (*Shop) SetIsShopUsBased ¶
SetIsShopUsBased gets a reference to the given bool and assigns it to the IsShopUsBased field.
func (*Shop) SetIsUsingStructuredPolicies ¶
SetIsUsingStructuredPolicies gets a reference to the given bool and assigns it to the IsUsingStructuredPolicies field.
func (*Shop) SetIsVacation ¶
SetIsVacation gets a reference to the given bool and assigns it to the IsVacation field.
func (*Shop) SetLanguages ¶
SetLanguages gets a reference to the given []string and assigns it to the Languages field.
func (*Shop) SetListingActiveCount ¶
SetListingActiveCount gets a reference to the given int64 and assigns it to the ListingActiveCount field.
func (*Shop) SetLoginName ¶
SetLoginName gets a reference to the given string and assigns it to the LoginName field.
func (*Shop) SetNumFavorers ¶
SetNumFavorers gets a reference to the given int64 and assigns it to the NumFavorers field.
func (*Shop) SetPolicyAdditional ¶
SetPolicyAdditional gets a reference to the given NullableString and assigns it to the PolicyAdditional field.
func (*Shop) SetPolicyAdditionalNil ¶
func (o *Shop) SetPolicyAdditionalNil()
SetPolicyAdditionalNil sets the value for PolicyAdditional to be an explicit nil
func (*Shop) SetPolicyHasPrivateReceiptInfo ¶
SetPolicyHasPrivateReceiptInfo gets a reference to the given bool and assigns it to the PolicyHasPrivateReceiptInfo field.
func (*Shop) SetPolicyPayment ¶
SetPolicyPayment gets a reference to the given NullableString and assigns it to the PolicyPayment field.
func (*Shop) SetPolicyPaymentNil ¶
func (o *Shop) SetPolicyPaymentNil()
SetPolicyPaymentNil sets the value for PolicyPayment to be an explicit nil
func (*Shop) SetPolicyPrivacy ¶
SetPolicyPrivacy gets a reference to the given NullableString and assigns it to the PolicyPrivacy field.
func (*Shop) SetPolicyPrivacyNil ¶
func (o *Shop) SetPolicyPrivacyNil()
SetPolicyPrivacyNil sets the value for PolicyPrivacy to be an explicit nil
func (*Shop) SetPolicyRefunds ¶
SetPolicyRefunds gets a reference to the given NullableString and assigns it to the PolicyRefunds field.
func (*Shop) SetPolicyRefundsNil ¶
func (o *Shop) SetPolicyRefundsNil()
SetPolicyRefundsNil sets the value for PolicyRefunds to be an explicit nil
func (*Shop) SetPolicySellerInfo ¶
SetPolicySellerInfo gets a reference to the given NullableString and assigns it to the PolicySellerInfo field.
func (*Shop) SetPolicySellerInfoNil ¶
func (o *Shop) SetPolicySellerInfoNil()
SetPolicySellerInfoNil sets the value for PolicySellerInfo to be an explicit nil
func (*Shop) SetPolicyShipping ¶
SetPolicyShipping gets a reference to the given NullableString and assigns it to the PolicyShipping field.
func (*Shop) SetPolicyShippingNil ¶
func (o *Shop) SetPolicyShippingNil()
SetPolicyShippingNil sets the value for PolicyShipping to be an explicit nil
func (*Shop) SetPolicyUpdateDate ¶
SetPolicyUpdateDate gets a reference to the given int64 and assigns it to the PolicyUpdateDate field.
func (*Shop) SetPolicyWelcome ¶
SetPolicyWelcome gets a reference to the given NullableString and assigns it to the PolicyWelcome field.
func (*Shop) SetPolicyWelcomeNil ¶
func (o *Shop) SetPolicyWelcomeNil()
SetPolicyWelcomeNil sets the value for PolicyWelcome to be an explicit nil
func (*Shop) SetReviewAverage ¶
SetReviewAverage gets a reference to the given NullableFloat32 and assigns it to the ReviewAverage field.
func (*Shop) SetReviewAverageNil ¶
func (o *Shop) SetReviewAverageNil()
SetReviewAverageNil sets the value for ReviewAverage to be an explicit nil
func (*Shop) SetReviewCount ¶
SetReviewCount gets a reference to the given NullableInt64 and assigns it to the ReviewCount field.
func (*Shop) SetReviewCountNil ¶
func (o *Shop) SetReviewCountNil()
SetReviewCountNil sets the value for ReviewCount to be an explicit nil
func (*Shop) SetSaleMessage ¶
SetSaleMessage gets a reference to the given NullableString and assigns it to the SaleMessage field.
func (*Shop) SetSaleMessageNil ¶
func (o *Shop) SetSaleMessageNil()
SetSaleMessageNil sets the value for SaleMessage to be an explicit nil
func (*Shop) SetShippingFromCountryIso ¶
SetShippingFromCountryIso gets a reference to the given NullableString and assigns it to the ShippingFromCountryIso field.
func (*Shop) SetShippingFromCountryIsoNil ¶
func (o *Shop) SetShippingFromCountryIsoNil()
SetShippingFromCountryIsoNil sets the value for ShippingFromCountryIso to be an explicit nil
func (*Shop) SetShopId ¶
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (*Shop) SetShopLocationCountryIso ¶
SetShopLocationCountryIso gets a reference to the given NullableString and assigns it to the ShopLocationCountryIso field.
func (*Shop) SetShopLocationCountryIsoNil ¶
func (o *Shop) SetShopLocationCountryIsoNil()
SetShopLocationCountryIsoNil sets the value for ShopLocationCountryIso to be an explicit nil
func (*Shop) SetShopName ¶
SetShopName gets a reference to the given string and assigns it to the ShopName field.
func (*Shop) SetTitle ¶
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*Shop) SetTitleNil ¶
func (o *Shop) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*Shop) SetTransactionSoldCount ¶
SetTransactionSoldCount gets a reference to the given int64 and assigns it to the TransactionSoldCount field.
func (*Shop) SetUpdateDate ¶
SetUpdateDate gets a reference to the given int64 and assigns it to the UpdateDate field.
func (*Shop) SetUpdatedTimestamp ¶
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (*Shop) SetUserId ¶
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (*Shop) SetVacationAutoreply ¶
SetVacationAutoreply gets a reference to the given NullableString and assigns it to the VacationAutoreply field.
func (*Shop) SetVacationAutoreplyNil ¶
func (o *Shop) SetVacationAutoreplyNil()
SetVacationAutoreplyNil sets the value for VacationAutoreply to be an explicit nil
func (*Shop) SetVacationMessage ¶
SetVacationMessage gets a reference to the given NullableString and assigns it to the VacationMessage field.
func (*Shop) SetVacationMessageNil ¶
func (o *Shop) SetVacationMessageNil()
SetVacationMessageNil sets the value for VacationMessage to be an explicit nil
func (*Shop) UnsetAnnouncement ¶
func (o *Shop) UnsetAnnouncement()
UnsetAnnouncement ensures that no value is present for Announcement, not even an explicit nil
func (*Shop) UnsetDigitalSaleMessage ¶
func (o *Shop) UnsetDigitalSaleMessage()
UnsetDigitalSaleMessage ensures that no value is present for DigitalSaleMessage, not even an explicit nil
func (*Shop) UnsetIconUrlFullxfull ¶
func (o *Shop) UnsetIconUrlFullxfull()
UnsetIconUrlFullxfull ensures that no value is present for IconUrlFullxfull, not even an explicit nil
func (*Shop) UnsetImageUrl760x100 ¶
func (o *Shop) UnsetImageUrl760x100()
UnsetImageUrl760x100 ensures that no value is present for ImageUrl760x100, not even an explicit nil
func (*Shop) UnsetPolicyAdditional ¶
func (o *Shop) UnsetPolicyAdditional()
UnsetPolicyAdditional ensures that no value is present for PolicyAdditional, not even an explicit nil
func (*Shop) UnsetPolicyPayment ¶
func (o *Shop) UnsetPolicyPayment()
UnsetPolicyPayment ensures that no value is present for PolicyPayment, not even an explicit nil
func (*Shop) UnsetPolicyPrivacy ¶
func (o *Shop) UnsetPolicyPrivacy()
UnsetPolicyPrivacy ensures that no value is present for PolicyPrivacy, not even an explicit nil
func (*Shop) UnsetPolicyRefunds ¶
func (o *Shop) UnsetPolicyRefunds()
UnsetPolicyRefunds ensures that no value is present for PolicyRefunds, not even an explicit nil
func (*Shop) UnsetPolicySellerInfo ¶
func (o *Shop) UnsetPolicySellerInfo()
UnsetPolicySellerInfo ensures that no value is present for PolicySellerInfo, not even an explicit nil
func (*Shop) UnsetPolicyShipping ¶
func (o *Shop) UnsetPolicyShipping()
UnsetPolicyShipping ensures that no value is present for PolicyShipping, not even an explicit nil
func (*Shop) UnsetPolicyWelcome ¶
func (o *Shop) UnsetPolicyWelcome()
UnsetPolicyWelcome ensures that no value is present for PolicyWelcome, not even an explicit nil
func (*Shop) UnsetReviewAverage ¶
func (o *Shop) UnsetReviewAverage()
UnsetReviewAverage ensures that no value is present for ReviewAverage, not even an explicit nil
func (*Shop) UnsetReviewCount ¶
func (o *Shop) UnsetReviewCount()
UnsetReviewCount ensures that no value is present for ReviewCount, not even an explicit nil
func (*Shop) UnsetSaleMessage ¶
func (o *Shop) UnsetSaleMessage()
UnsetSaleMessage ensures that no value is present for SaleMessage, not even an explicit nil
func (*Shop) UnsetShippingFromCountryIso ¶
func (o *Shop) UnsetShippingFromCountryIso()
UnsetShippingFromCountryIso ensures that no value is present for ShippingFromCountryIso, not even an explicit nil
func (*Shop) UnsetShopLocationCountryIso ¶
func (o *Shop) UnsetShopLocationCountryIso()
UnsetShopLocationCountryIso ensures that no value is present for ShopLocationCountryIso, not even an explicit nil
func (*Shop) UnsetTitle ¶
func (o *Shop) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
func (*Shop) UnsetVacationAutoreply ¶
func (o *Shop) UnsetVacationAutoreply()
UnsetVacationAutoreply ensures that no value is present for VacationAutoreply, not even an explicit nil
func (*Shop) UnsetVacationMessage ¶
func (o *Shop) UnsetVacationMessage()
UnsetVacationMessage ensures that no value is present for VacationMessage, not even an explicit nil
type ShopAPI ¶
type ShopAPI interface { /* FindShops Method for FindShops <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 endpoint for searching shops by name. Note: We make every effort to ensure that frozen or removed shops are not included in the search results. However, rarely, due to timing issues, they may appear. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopAPIFindShopsRequest */ FindShops(ctx context.Context) ShopAPIFindShopsRequest // FindShopsExecute executes the request // @return Shops FindShopsExecute(r ShopAPIFindShopsRequest) (*Shops, *http.Response, error) /* GetShop Method for GetShop <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the shop identified by a specific shop ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopAPIGetShopRequest */ GetShop(ctx context.Context, shopId int64) ShopAPIGetShopRequest // GetShopExecute executes the request // @return Shop GetShopExecute(r ShopAPIGetShopRequest) (*Shop, *http.Response, error) /* GetShopByOwnerUserId Method for GetShopByOwnerUserId <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the shop identified by the shop owner's user ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The numeric user ID of the [user](/documentation/reference#tag/User) who owns this shop. @return ShopAPIGetShopByOwnerUserIdRequest */ GetShopByOwnerUserId(ctx context.Context, userId int64) ShopAPIGetShopByOwnerUserIdRequest // GetShopByOwnerUserIdExecute executes the request // @return Shop GetShopByOwnerUserIdExecute(r ShopAPIGetShopByOwnerUserIdRequest) (*Shop, *http.Response, error) /* UpdateShop Method for UpdateShop <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates a shop. Assumes that all string parameters are provided in the shop's primary language. Please note that the policy_additional field should only be set for shops located in the EU. Passing a value for this field for shops outside of the EU, will result in an error. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopAPIUpdateShopRequest */ UpdateShop(ctx context.Context, shopId int64) ShopAPIUpdateShopRequest // UpdateShopExecute executes the request // @return Shop UpdateShopExecute(r ShopAPIUpdateShopRequest) (*Shop, *http.Response, error) }
type ShopAPIFindShopsRequest ¶
type ShopAPIFindShopsRequest struct { ApiService ShopAPI // contains filtered or unexported fields }
func (ShopAPIFindShopsRequest) Execute ¶
func (r ShopAPIFindShopsRequest) Execute() (*Shops, *http.Response, error)
func (ShopAPIFindShopsRequest) Limit ¶
func (r ShopAPIFindShopsRequest) Limit(limit int64) ShopAPIFindShopsRequest
The maximum number of results to return.
func (ShopAPIFindShopsRequest) Offset ¶
func (r ShopAPIFindShopsRequest) Offset(offset int64) ShopAPIFindShopsRequest
The number of records to skip before selecting the first result.
func (ShopAPIFindShopsRequest) ShopName ¶
func (r ShopAPIFindShopsRequest) ShopName(shopName string) ShopAPIFindShopsRequest
The shop's name string.
type ShopAPIGetShopByOwnerUserIdRequest ¶
type ShopAPIGetShopByOwnerUserIdRequest struct { ApiService ShopAPI // contains filtered or unexported fields }
type ShopAPIGetShopRequest ¶
type ShopAPIGetShopRequest struct { ApiService ShopAPI // contains filtered or unexported fields }
type ShopAPIService ¶
type ShopAPIService service
ShopAPIService ShopAPI service
func (*ShopAPIService) FindShops ¶
func (a *ShopAPIService) FindShops(ctx context.Context) ShopAPIFindShopsRequest
FindShops Method for FindShops
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 endpoint for searching shops by name. Note: We make every effort to ensure that frozen or removed shops are not included in the search results. However, rarely, due to timing issues, they may appear.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopAPIFindShopsRequest
func (*ShopAPIService) FindShopsExecute ¶
func (a *ShopAPIService) FindShopsExecute(r ShopAPIFindShopsRequest) (*Shops, *http.Response, error)
Execute executes the request
@return Shops
func (*ShopAPIService) GetShop ¶
func (a *ShopAPIService) GetShop(ctx context.Context, shopId int64) ShopAPIGetShopRequest
GetShop Method for GetShop
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the shop identified by a specific shop ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopAPIGetShopRequest
func (*ShopAPIService) GetShopByOwnerUserId ¶
func (a *ShopAPIService) GetShopByOwnerUserId(ctx context.Context, userId int64) ShopAPIGetShopByOwnerUserIdRequest
GetShopByOwnerUserId Method for GetShopByOwnerUserId
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the shop identified by the shop owner's user ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId The numeric user ID of the [user](/documentation/reference#tag/User) who owns this shop. @return ShopAPIGetShopByOwnerUserIdRequest
func (*ShopAPIService) GetShopByOwnerUserIdExecute ¶
func (a *ShopAPIService) GetShopByOwnerUserIdExecute(r ShopAPIGetShopByOwnerUserIdRequest) (*Shop, *http.Response, error)
Execute executes the request
@return Shop
func (*ShopAPIService) GetShopExecute ¶
func (a *ShopAPIService) GetShopExecute(r ShopAPIGetShopRequest) (*Shop, *http.Response, error)
Execute executes the request
@return Shop
func (*ShopAPIService) UpdateShop ¶
func (a *ShopAPIService) UpdateShop(ctx context.Context, shopId int64) ShopAPIUpdateShopRequest
UpdateShop Method for UpdateShop
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates a shop. Assumes that all string parameters are provided in the shop's primary language. Please note that the policy_additional field should only be set for shops located in the EU. Passing a value for this field for shops outside of the EU, will result in an error.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopAPIUpdateShopRequest
func (*ShopAPIService) UpdateShopExecute ¶
func (a *ShopAPIService) UpdateShopExecute(r ShopAPIUpdateShopRequest) (*Shop, *http.Response, error)
Execute executes the request
@return Shop
type ShopAPIUpdateShopRequest ¶
type ShopAPIUpdateShopRequest struct { ApiService ShopAPI // contains filtered or unexported fields }
func (ShopAPIUpdateShopRequest) Announcement ¶
func (r ShopAPIUpdateShopRequest) Announcement(announcement string) ShopAPIUpdateShopRequest
An announcement string to buyers that displays on the shop's homepage.
func (ShopAPIUpdateShopRequest) DigitalSaleMessage ¶
func (r ShopAPIUpdateShopRequest) DigitalSaleMessage(digitalSaleMessage string) ShopAPIUpdateShopRequest
A message string sent to users who purchase a digital item from this shop.
func (ShopAPIUpdateShopRequest) Execute ¶
func (r ShopAPIUpdateShopRequest) Execute() (*Shop, *http.Response, error)
func (ShopAPIUpdateShopRequest) PolicyAdditional ¶
func (r ShopAPIUpdateShopRequest) PolicyAdditional(policyAdditional string) ShopAPIUpdateShopRequest
The shop's additional policies string (may be blank).
func (ShopAPIUpdateShopRequest) SaleMessage ¶
func (r ShopAPIUpdateShopRequest) SaleMessage(saleMessage string) ShopAPIUpdateShopRequest
A message string sent to users who complete a purchase from this shop.
func (ShopAPIUpdateShopRequest) Title ¶
func (r ShopAPIUpdateShopRequest) Title(title string) ShopAPIUpdateShopRequest
A brief heading string for the shop's main page.
type ShopHolidayPreference ¶
type ShopHolidayPreference struct { // The unique positive non-zero numeric ID for an Etsy Shop. ShopId *int64 `json:"shop_id,omitempty"` HolidayId *UpdateHolidayPreferencesHolidayIdParameter `json:"holiday_id,omitempty"` // The country iso where the shop is located. CountryIso *string `json:"country_iso,omitempty"` // A boolean value for whether the shop will process orders on a particular holiday. IsWorking *bool `json:"is_working,omitempty"` // The name of the holiday that a country observes. HolidayName *string `json:"holiday_name,omitempty"` AdditionalProperties map[string]interface{} }
ShopHolidayPreference Represents a shop's holiday preference
func NewShopHolidayPreference ¶
func NewShopHolidayPreference() *ShopHolidayPreference
NewShopHolidayPreference instantiates a new ShopHolidayPreference 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
func NewShopHolidayPreferenceWithDefaults ¶
func NewShopHolidayPreferenceWithDefaults() *ShopHolidayPreference
NewShopHolidayPreferenceWithDefaults instantiates a new ShopHolidayPreference 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
func (*ShopHolidayPreference) GetCountryIso ¶
func (o *ShopHolidayPreference) GetCountryIso() string
GetCountryIso returns the CountryIso field value if set, zero value otherwise.
func (*ShopHolidayPreference) GetCountryIsoOk ¶
func (o *ShopHolidayPreference) GetCountryIsoOk() (*string, bool)
GetCountryIsoOk returns a tuple with the CountryIso field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopHolidayPreference) GetHolidayId ¶
func (o *ShopHolidayPreference) GetHolidayId() UpdateHolidayPreferencesHolidayIdParameter
GetHolidayId returns the HolidayId field value if set, zero value otherwise.
func (*ShopHolidayPreference) GetHolidayIdOk ¶
func (o *ShopHolidayPreference) GetHolidayIdOk() (*UpdateHolidayPreferencesHolidayIdParameter, bool)
GetHolidayIdOk returns a tuple with the HolidayId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopHolidayPreference) GetHolidayName ¶
func (o *ShopHolidayPreference) GetHolidayName() string
GetHolidayName returns the HolidayName field value if set, zero value otherwise.
func (*ShopHolidayPreference) GetHolidayNameOk ¶
func (o *ShopHolidayPreference) GetHolidayNameOk() (*string, bool)
GetHolidayNameOk returns a tuple with the HolidayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopHolidayPreference) GetIsWorking ¶
func (o *ShopHolidayPreference) GetIsWorking() bool
GetIsWorking returns the IsWorking field value if set, zero value otherwise.
func (*ShopHolidayPreference) GetIsWorkingOk ¶
func (o *ShopHolidayPreference) GetIsWorkingOk() (*bool, bool)
GetIsWorkingOk returns a tuple with the IsWorking field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopHolidayPreference) GetShopId ¶
func (o *ShopHolidayPreference) GetShopId() int64
GetShopId returns the ShopId field value if set, zero value otherwise.
func (*ShopHolidayPreference) GetShopIdOk ¶
func (o *ShopHolidayPreference) GetShopIdOk() (*int64, bool)
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopHolidayPreference) HasCountryIso ¶
func (o *ShopHolidayPreference) HasCountryIso() bool
HasCountryIso returns a boolean if a field has been set.
func (*ShopHolidayPreference) HasHolidayId ¶
func (o *ShopHolidayPreference) HasHolidayId() bool
HasHolidayId returns a boolean if a field has been set.
func (*ShopHolidayPreference) HasHolidayName ¶
func (o *ShopHolidayPreference) HasHolidayName() bool
HasHolidayName returns a boolean if a field has been set.
func (*ShopHolidayPreference) HasIsWorking ¶
func (o *ShopHolidayPreference) HasIsWorking() bool
HasIsWorking returns a boolean if a field has been set.
func (*ShopHolidayPreference) HasShopId ¶
func (o *ShopHolidayPreference) HasShopId() bool
HasShopId returns a boolean if a field has been set.
func (ShopHolidayPreference) MarshalJSON ¶
func (o ShopHolidayPreference) MarshalJSON() ([]byte, error)
func (*ShopHolidayPreference) SetCountryIso ¶
func (o *ShopHolidayPreference) SetCountryIso(v string)
SetCountryIso gets a reference to the given string and assigns it to the CountryIso field.
func (*ShopHolidayPreference) SetHolidayId ¶
func (o *ShopHolidayPreference) SetHolidayId(v UpdateHolidayPreferencesHolidayIdParameter)
SetHolidayId gets a reference to the given UpdateHolidayPreferencesHolidayIdParameter and assigns it to the HolidayId field.
func (*ShopHolidayPreference) SetHolidayName ¶
func (o *ShopHolidayPreference) SetHolidayName(v string)
SetHolidayName gets a reference to the given string and assigns it to the HolidayName field.
func (*ShopHolidayPreference) SetIsWorking ¶
func (o *ShopHolidayPreference) SetIsWorking(v bool)
SetIsWorking gets a reference to the given bool and assigns it to the IsWorking field.
func (*ShopHolidayPreference) SetShopId ¶
func (o *ShopHolidayPreference) SetShopId(v int64)
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (ShopHolidayPreference) ToMap ¶
func (o ShopHolidayPreference) ToMap() (map[string]interface{}, error)
type ShopHolidayPreferencesAPI ¶
type ShopHolidayPreferencesAPI interface { /* GetHolidayPreferences Method for GetHolidayPreferences <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of holidays that are available to a shop to set a preference for. Currently only supported in the US and CA @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopHolidayPreferencesAPIGetHolidayPreferencesRequest */ GetHolidayPreferences(ctx context.Context, shopId int64) ShopHolidayPreferencesAPIGetHolidayPreferencesRequest // GetHolidayPreferencesExecute executes the request // @return []ShopHolidayPreference GetHolidayPreferencesExecute(r ShopHolidayPreferencesAPIGetHolidayPreferencesRequest) ([]ShopHolidayPreference, *http.Response, error) /* UpdateHolidayPreferences Method for UpdateHolidayPreferences <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates the preference for whether the seller will process orders or not on the holiday. "Currently only supported in the US and CA" @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param holidayId The unique id that maps to the holiday a country observes. See the [Fulfillment Tutorial docs](https://developer.etsy.com/documentation/tutorials/fulfillment/#country-holidays) for more info @return ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest */ UpdateHolidayPreferences(ctx context.Context, shopId int64, holidayId UpdateHolidayPreferencesHolidayIdParameter) ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest // UpdateHolidayPreferencesExecute executes the request // @return ShopHolidayPreference UpdateHolidayPreferencesExecute(r ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest) (*ShopHolidayPreference, *http.Response, error) }
type ShopHolidayPreferencesAPIGetHolidayPreferencesRequest ¶
type ShopHolidayPreferencesAPIGetHolidayPreferencesRequest struct { ApiService ShopHolidayPreferencesAPI // contains filtered or unexported fields }
func (ShopHolidayPreferencesAPIGetHolidayPreferencesRequest) Execute ¶
func (r ShopHolidayPreferencesAPIGetHolidayPreferencesRequest) Execute() ([]ShopHolidayPreference, *http.Response, error)
type ShopHolidayPreferencesAPIService ¶
type ShopHolidayPreferencesAPIService service
ShopHolidayPreferencesAPIService ShopHolidayPreferencesAPI service
func (*ShopHolidayPreferencesAPIService) GetHolidayPreferences ¶
func (a *ShopHolidayPreferencesAPIService) GetHolidayPreferences(ctx context.Context, shopId int64) ShopHolidayPreferencesAPIGetHolidayPreferencesRequest
GetHolidayPreferences Method for GetHolidayPreferences
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of holidays that are available to a shop to set a preference for. Currently only supported in the US and CA
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopHolidayPreferencesAPIGetHolidayPreferencesRequest
func (*ShopHolidayPreferencesAPIService) GetHolidayPreferencesExecute ¶
func (a *ShopHolidayPreferencesAPIService) GetHolidayPreferencesExecute(r ShopHolidayPreferencesAPIGetHolidayPreferencesRequest) ([]ShopHolidayPreference, *http.Response, error)
Execute executes the request
@return []ShopHolidayPreference
func (*ShopHolidayPreferencesAPIService) UpdateHolidayPreferences ¶
func (a *ShopHolidayPreferencesAPIService) UpdateHolidayPreferences(ctx context.Context, shopId int64, holidayId UpdateHolidayPreferencesHolidayIdParameter) ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest
UpdateHolidayPreferences Method for UpdateHolidayPreferences
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates the preference for whether the seller will process orders or not on the holiday. "Currently only supported in the US and CA" @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param holidayId The unique id that maps to the holiday a country observes. See the [Fulfillment Tutorial docs](https://developer.etsy.com/documentation/tutorials/fulfillment/#country-holidays) for more info @return ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest
func (*ShopHolidayPreferencesAPIService) UpdateHolidayPreferencesExecute ¶
func (a *ShopHolidayPreferencesAPIService) UpdateHolidayPreferencesExecute(r ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest) (*ShopHolidayPreference, *http.Response, error)
Execute executes the request
@return ShopHolidayPreference
type ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest ¶
type ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest struct { ApiService ShopHolidayPreferencesAPI // contains filtered or unexported fields }
func (ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest) Execute ¶
func (r ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest) Execute() (*ShopHolidayPreference, *http.Response, error)
func (ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest) IsWorking ¶
func (r ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest) IsWorking(isWorking bool) ShopHolidayPreferencesAPIUpdateHolidayPreferencesRequest
A boolean value for whether the shop will process orders on a particular holiday.
type ShopListing ¶
type ShopListing struct { // The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. ListingId *int64 `json:"listing_id,omitempty"` // The numeric ID for the [user](/documentation/reference#tag/User) posting the listing. UserId *int64 `json:"user_id,omitempty"` // The unique positive non-zero numeric ID for an Etsy Shop. ShopId *int64 `json:"shop_id,omitempty"` // The listing's title string. When creating or updating a listing, valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{P}\\\\p{Sm}\\\\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each. Title *string `json:"title,omitempty"` // A description string of the product for sale in the listing. Description *string `json:"description,omitempty"` State *ShopListingState `json:"state,omitempty"` // The listing\\'s creation time, in epoch seconds. CreationTimestamp *int64 `json:"creation_timestamp,omitempty"` // The listing\\'s creation time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The listing\\'s expiration time, in epoch seconds. EndingTimestamp *int64 `json:"ending_timestamp,omitempty"` // The listing\\'s creation time, in epoch seconds. OriginalCreationTimestamp *int64 `json:"original_creation_timestamp,omitempty"` // The time of the last update to the listing, in epoch seconds. LastModifiedTimestamp *int64 `json:"last_modified_timestamp,omitempty"` // The time of the last update to the listing, in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` // The date and time of the last state change of this listing. StateTimestamp NullableInt64 `json:"state_timestamp,omitempty"` // The positive non-zero number of products available for purchase in the listing. Note: The listing quantity is the sum of available offering quantities. You can request the quantities for individual offerings from the ListingInventory resource using the [getListingInventory](/documentation/reference#operation/getListingInventory) endpoint. Quantity *int64 `json:"quantity,omitempty"` // The numeric ID of a section in a specific Etsy shop. ShopSectionId NullableInt64 `json:"shop_section_id,omitempty"` // The positive non-zero numeric position in the featured listings of the shop, with rank 1 listings appearing in the left-most position in featured listing on a shop’s home page. FeaturedRank *int64 `json:"featured_rank,omitempty"` // The full URL to the listing's page on Etsy. Url *string `json:"url,omitempty"` // The number of users who marked this Listing a favorite. NumFavorers *int64 `json:"num_favorers,omitempty"` // When true, applicable [shop](/documentation/reference#tag/Shop) tax rates do not apply to this listing at checkout. NonTaxable *bool `json:"non_taxable,omitempty"` // When true, applicable [shop](/documentation/reference#tag/Shop) tax rates apply to this listing at checkout. IsTaxable *bool `json:"is_taxable,omitempty"` // When true, a buyer may contact the seller for a customized order. The default value is true when a shop accepts custom orders. Does not apply to shops that do not accept custom orders. IsCustomizable *bool `json:"is_customizable,omitempty"` // When true, this listing is personalizable. The default value is null. IsPersonalizable *bool `json:"is_personalizable,omitempty"` // When true, this listing requires personalization. The default value is null. Will only change if is_personalizable is 'true'. PersonalizationIsRequired *bool `json:"personalization_is_required,omitempty"` // This is an integer value representing the maximum length for the personalization message entered by the buyer. Will only change if is_personalizable is 'true'. PersonalizationCharCountMax NullableInt64 `json:"personalization_char_count_max,omitempty"` // When true, this listing requires personalization. The default value is null. Will only change if is_personalizable is 'true'. PersonalizationInstructions NullableString `json:"personalization_instructions,omitempty"` ListingType *CreateDraftListingRequestType `json:"listing_type,omitempty"` // A comma-separated list of tag strings for the listing. When creating or updating a listing, valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}\\\\-'™©®]/u) Default value is null. Tags []string `json:"tags,omitempty"` // A list of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null. Materials []string `json:"materials,omitempty"` // The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. ShippingProfileId NullableInt64 `json:"shipping_profile_id,omitempty"` // The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). ReturnPolicyId NullableInt64 `json:"return_policy_id,omitempty"` // The minimum number of days required to process this listing. Default value is null. ProcessingMin NullableInt64 `json:"processing_min,omitempty"` // The maximum number of days required to process this listing. Default value is null. ProcessingMax NullableInt64 `json:"processing_max,omitempty"` WhoMade NullableShopListingWhoMade `json:"who_made,omitempty"` WhenMade NullableShopListingWhenMade `json:"when_made,omitempty"` // When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who_made' and 'when_made'. IsSupply NullableBool `json:"is_supply,omitempty"` // The numeric weight of the product measured in units set in \\'item_weight_unit\\'. Default value is null. If set, the value must be greater than 0. ItemWeight NullableFloat32 `json:"item_weight,omitempty"` ItemWeightUnit NullableCreateDraftListingRequestItemWeightUnit `json:"item_weight_unit,omitempty"` // The numeric length of the product measured in units set in \\'item_dimensions_unit\\'. Default value is null. If set, the value must be greater than 0. ItemLength NullableFloat32 `json:"item_length,omitempty"` // The numeric width of the product measured in units set in \\'item_dimensions_unit\\'. Default value is null. If set, the value must be greater than 0. ItemWidth NullableFloat32 `json:"item_width,omitempty"` // The numeric length of the product measured in units set in \\'item_dimensions_unit\\'. Default value is null. If set, the value must be greater than 0. ItemHeight NullableFloat32 `json:"item_height,omitempty"` ItemDimensionsUnit NullableCreateDraftListingRequestItemDimensionsUnit `json:"item_dimensions_unit,omitempty"` // When true, this is a private listing intended for a specific buyer and hidden from shop view. IsPrivate *bool `json:"is_private,omitempty"` // An array of style strings for this listing, each of which is free-form text string such as \\\"Formal\\\", or \\\"Steampunk\\\". When creating or updating a listing, the listing may have up to two styles. Valid style strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null. Style []string `json:"style,omitempty"` // A string describing the files attached to a digital listing. FileData *string `json:"file_data,omitempty"` // When true, the listing has variations. HasVariations *bool `json:"has_variations,omitempty"` // When true, renews a listing for four months upon expiration. ShouldAutoRenew *bool `json:"should_auto_renew,omitempty"` // The IETF language tag for the default language of the listing. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`, `ru`. Language NullableString `json:"language,omitempty"` // The positive non-zero price of the product. (Sold product listings are private) Note: The price is the minimum possible price. The [`getListingInventory`](/documentation/reference/#operation/getListingInventory) method requests exact prices for available offerings. Price *Money `json:"price,omitempty"` // The numerical taxonomy ID of the listing. See [SellerTaxonomy](/documentation/reference#tag/SellerTaxonomy) and [BuyerTaxonomy](/documentation/reference#tag/BuyerTaxonomy) for more information. TaxonomyId NullableInt64 `json:"taxonomy_id,omitempty"` AdditionalProperties map[string]interface{} }
ShopListing A listing from a shop, which contains a product quantity, title, description, price, etc.
func NewShopListing ¶
func NewShopListing() *ShopListing
NewShopListing instantiates a new ShopListing 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
func NewShopListingWithDefaults ¶
func NewShopListingWithDefaults() *ShopListing
NewShopListingWithDefaults instantiates a new ShopListing 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
func (*ShopListing) GetCreatedTimestamp ¶
func (o *ShopListing) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ShopListing) GetCreatedTimestampOk ¶
func (o *ShopListing) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetCreationTimestamp ¶
func (o *ShopListing) GetCreationTimestamp() int64
GetCreationTimestamp returns the CreationTimestamp field value if set, zero value otherwise.
func (*ShopListing) GetCreationTimestampOk ¶
func (o *ShopListing) GetCreationTimestampOk() (*int64, bool)
GetCreationTimestampOk returns a tuple with the CreationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetDescription ¶
func (o *ShopListing) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ShopListing) GetDescriptionOk ¶
func (o *ShopListing) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetEndingTimestamp ¶
func (o *ShopListing) GetEndingTimestamp() int64
GetEndingTimestamp returns the EndingTimestamp field value if set, zero value otherwise.
func (*ShopListing) GetEndingTimestampOk ¶
func (o *ShopListing) GetEndingTimestampOk() (*int64, bool)
GetEndingTimestampOk returns a tuple with the EndingTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetFeaturedRank ¶
func (o *ShopListing) GetFeaturedRank() int64
GetFeaturedRank returns the FeaturedRank field value if set, zero value otherwise.
func (*ShopListing) GetFeaturedRankOk ¶
func (o *ShopListing) GetFeaturedRankOk() (*int64, bool)
GetFeaturedRankOk returns a tuple with the FeaturedRank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetFileData ¶
func (o *ShopListing) GetFileData() string
GetFileData returns the FileData field value if set, zero value otherwise.
func (*ShopListing) GetFileDataOk ¶
func (o *ShopListing) GetFileDataOk() (*string, bool)
GetFileDataOk returns a tuple with the FileData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetHasVariations ¶
func (o *ShopListing) GetHasVariations() bool
GetHasVariations returns the HasVariations field value if set, zero value otherwise.
func (*ShopListing) GetHasVariationsOk ¶
func (o *ShopListing) GetHasVariationsOk() (*bool, bool)
GetHasVariationsOk returns a tuple with the HasVariations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetIsCustomizable ¶
func (o *ShopListing) GetIsCustomizable() bool
GetIsCustomizable returns the IsCustomizable field value if set, zero value otherwise.
func (*ShopListing) GetIsCustomizableOk ¶
func (o *ShopListing) GetIsCustomizableOk() (*bool, bool)
GetIsCustomizableOk returns a tuple with the IsCustomizable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetIsPersonalizable ¶
func (o *ShopListing) GetIsPersonalizable() bool
GetIsPersonalizable returns the IsPersonalizable field value if set, zero value otherwise.
func (*ShopListing) GetIsPersonalizableOk ¶
func (o *ShopListing) GetIsPersonalizableOk() (*bool, bool)
GetIsPersonalizableOk returns a tuple with the IsPersonalizable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetIsPrivate ¶
func (o *ShopListing) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*ShopListing) GetIsPrivateOk ¶
func (o *ShopListing) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetIsSupply ¶
func (o *ShopListing) GetIsSupply() bool
GetIsSupply returns the IsSupply field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetIsSupplyOk ¶
func (o *ShopListing) GetIsSupplyOk() (*bool, bool)
GetIsSupplyOk returns a tuple with the IsSupply field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetIsTaxable ¶
func (o *ShopListing) GetIsTaxable() bool
GetIsTaxable returns the IsTaxable field value if set, zero value otherwise.
func (*ShopListing) GetIsTaxableOk ¶
func (o *ShopListing) GetIsTaxableOk() (*bool, bool)
GetIsTaxableOk returns a tuple with the IsTaxable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetItemDimensionsUnit ¶
func (o *ShopListing) GetItemDimensionsUnit() CreateDraftListingRequestItemDimensionsUnit
GetItemDimensionsUnit returns the ItemDimensionsUnit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetItemDimensionsUnitOk ¶
func (o *ShopListing) GetItemDimensionsUnitOk() (*CreateDraftListingRequestItemDimensionsUnit, bool)
GetItemDimensionsUnitOk returns a tuple with the ItemDimensionsUnit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetItemHeight ¶
func (o *ShopListing) GetItemHeight() float32
GetItemHeight returns the ItemHeight field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetItemHeightOk ¶
func (o *ShopListing) GetItemHeightOk() (*float32, bool)
GetItemHeightOk returns a tuple with the ItemHeight field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetItemLength ¶
func (o *ShopListing) GetItemLength() float32
GetItemLength returns the ItemLength field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetItemLengthOk ¶
func (o *ShopListing) GetItemLengthOk() (*float32, bool)
GetItemLengthOk returns a tuple with the ItemLength field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetItemWeight ¶
func (o *ShopListing) GetItemWeight() float32
GetItemWeight returns the ItemWeight field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetItemWeightOk ¶
func (o *ShopListing) GetItemWeightOk() (*float32, bool)
GetItemWeightOk returns a tuple with the ItemWeight field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetItemWeightUnit ¶
func (o *ShopListing) GetItemWeightUnit() CreateDraftListingRequestItemWeightUnit
GetItemWeightUnit returns the ItemWeightUnit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetItemWeightUnitOk ¶
func (o *ShopListing) GetItemWeightUnitOk() (*CreateDraftListingRequestItemWeightUnit, bool)
GetItemWeightUnitOk returns a tuple with the ItemWeightUnit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetItemWidth ¶
func (o *ShopListing) GetItemWidth() float32
GetItemWidth returns the ItemWidth field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetItemWidthOk ¶
func (o *ShopListing) GetItemWidthOk() (*float32, bool)
GetItemWidthOk returns a tuple with the ItemWidth field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetLanguage ¶
func (o *ShopListing) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetLanguageOk ¶
func (o *ShopListing) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetLastModifiedTimestamp ¶
func (o *ShopListing) GetLastModifiedTimestamp() int64
GetLastModifiedTimestamp returns the LastModifiedTimestamp field value if set, zero value otherwise.
func (*ShopListing) GetLastModifiedTimestampOk ¶
func (o *ShopListing) GetLastModifiedTimestampOk() (*int64, bool)
GetLastModifiedTimestampOk returns a tuple with the LastModifiedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetListingId ¶
func (o *ShopListing) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise.
func (*ShopListing) GetListingIdOk ¶
func (o *ShopListing) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetListingType ¶
func (o *ShopListing) GetListingType() CreateDraftListingRequestType
GetListingType returns the ListingType field value if set, zero value otherwise.
func (*ShopListing) GetListingTypeOk ¶
func (o *ShopListing) GetListingTypeOk() (*CreateDraftListingRequestType, bool)
GetListingTypeOk returns a tuple with the ListingType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetMaterials ¶
func (o *ShopListing) GetMaterials() []string
GetMaterials returns the Materials field value if set, zero value otherwise.
func (*ShopListing) GetMaterialsOk ¶
func (o *ShopListing) GetMaterialsOk() ([]string, bool)
GetMaterialsOk returns a tuple with the Materials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetNonTaxable ¶
func (o *ShopListing) GetNonTaxable() bool
GetNonTaxable returns the NonTaxable field value if set, zero value otherwise.
func (*ShopListing) GetNonTaxableOk ¶
func (o *ShopListing) GetNonTaxableOk() (*bool, bool)
GetNonTaxableOk returns a tuple with the NonTaxable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetNumFavorers ¶
func (o *ShopListing) GetNumFavorers() int64
GetNumFavorers returns the NumFavorers field value if set, zero value otherwise.
func (*ShopListing) GetNumFavorersOk ¶
func (o *ShopListing) GetNumFavorersOk() (*int64, bool)
GetNumFavorersOk returns a tuple with the NumFavorers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetOriginalCreationTimestamp ¶
func (o *ShopListing) GetOriginalCreationTimestamp() int64
GetOriginalCreationTimestamp returns the OriginalCreationTimestamp field value if set, zero value otherwise.
func (*ShopListing) GetOriginalCreationTimestampOk ¶
func (o *ShopListing) GetOriginalCreationTimestampOk() (*int64, bool)
GetOriginalCreationTimestampOk returns a tuple with the OriginalCreationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetPersonalizationCharCountMax ¶
func (o *ShopListing) GetPersonalizationCharCountMax() int64
GetPersonalizationCharCountMax returns the PersonalizationCharCountMax field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetPersonalizationCharCountMaxOk ¶
func (o *ShopListing) GetPersonalizationCharCountMaxOk() (*int64, bool)
GetPersonalizationCharCountMaxOk returns a tuple with the PersonalizationCharCountMax field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetPersonalizationInstructions ¶
func (o *ShopListing) GetPersonalizationInstructions() string
GetPersonalizationInstructions returns the PersonalizationInstructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetPersonalizationInstructionsOk ¶
func (o *ShopListing) GetPersonalizationInstructionsOk() (*string, bool)
GetPersonalizationInstructionsOk returns a tuple with the PersonalizationInstructions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetPersonalizationIsRequired ¶
func (o *ShopListing) GetPersonalizationIsRequired() bool
GetPersonalizationIsRequired returns the PersonalizationIsRequired field value if set, zero value otherwise.
func (*ShopListing) GetPersonalizationIsRequiredOk ¶
func (o *ShopListing) GetPersonalizationIsRequiredOk() (*bool, bool)
GetPersonalizationIsRequiredOk returns a tuple with the PersonalizationIsRequired field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetPrice ¶
func (o *ShopListing) GetPrice() Money
GetPrice returns the Price field value if set, zero value otherwise.
func (*ShopListing) GetPriceOk ¶
func (o *ShopListing) GetPriceOk() (*Money, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetProcessingMax ¶
func (o *ShopListing) GetProcessingMax() int64
GetProcessingMax returns the ProcessingMax field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetProcessingMaxOk ¶
func (o *ShopListing) GetProcessingMaxOk() (*int64, bool)
GetProcessingMaxOk returns a tuple with the ProcessingMax field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetProcessingMin ¶
func (o *ShopListing) GetProcessingMin() int64
GetProcessingMin returns the ProcessingMin field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetProcessingMinOk ¶
func (o *ShopListing) GetProcessingMinOk() (*int64, bool)
GetProcessingMinOk returns a tuple with the ProcessingMin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetQuantity ¶
func (o *ShopListing) GetQuantity() int64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*ShopListing) GetQuantityOk ¶
func (o *ShopListing) GetQuantityOk() (*int64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetReturnPolicyId ¶
func (o *ShopListing) GetReturnPolicyId() int64
GetReturnPolicyId returns the ReturnPolicyId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetReturnPolicyIdOk ¶
func (o *ShopListing) GetReturnPolicyIdOk() (*int64, bool)
GetReturnPolicyIdOk returns a tuple with the ReturnPolicyId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetShippingProfileId ¶
func (o *ShopListing) GetShippingProfileId() int64
GetShippingProfileId returns the ShippingProfileId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetShippingProfileIdOk ¶
func (o *ShopListing) GetShippingProfileIdOk() (*int64, bool)
GetShippingProfileIdOk returns a tuple with the ShippingProfileId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetShopId ¶
func (o *ShopListing) GetShopId() int64
GetShopId returns the ShopId field value if set, zero value otherwise.
func (*ShopListing) GetShopIdOk ¶
func (o *ShopListing) GetShopIdOk() (*int64, bool)
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetShopSectionId ¶
func (o *ShopListing) GetShopSectionId() int64
GetShopSectionId returns the ShopSectionId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetShopSectionIdOk ¶
func (o *ShopListing) GetShopSectionIdOk() (*int64, bool)
GetShopSectionIdOk returns a tuple with the ShopSectionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetShouldAutoRenew ¶
func (o *ShopListing) GetShouldAutoRenew() bool
GetShouldAutoRenew returns the ShouldAutoRenew field value if set, zero value otherwise.
func (*ShopListing) GetShouldAutoRenewOk ¶
func (o *ShopListing) GetShouldAutoRenewOk() (*bool, bool)
GetShouldAutoRenewOk returns a tuple with the ShouldAutoRenew field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetState ¶
func (o *ShopListing) GetState() ShopListingState
GetState returns the State field value if set, zero value otherwise.
func (*ShopListing) GetStateOk ¶
func (o *ShopListing) GetStateOk() (*ShopListingState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetStateTimestamp ¶
func (o *ShopListing) GetStateTimestamp() int64
GetStateTimestamp returns the StateTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetStateTimestampOk ¶
func (o *ShopListing) GetStateTimestampOk() (*int64, bool)
GetStateTimestampOk returns a tuple with the StateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetStyle ¶
func (o *ShopListing) GetStyle() []string
GetStyle returns the Style field value if set, zero value otherwise.
func (*ShopListing) GetStyleOk ¶
func (o *ShopListing) GetStyleOk() ([]string, bool)
GetStyleOk returns a tuple with the Style field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetTags ¶
func (o *ShopListing) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*ShopListing) GetTagsOk ¶
func (o *ShopListing) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetTaxonomyId ¶
func (o *ShopListing) GetTaxonomyId() int64
GetTaxonomyId returns the TaxonomyId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetTaxonomyIdOk ¶
func (o *ShopListing) GetTaxonomyIdOk() (*int64, bool)
GetTaxonomyIdOk returns a tuple with the TaxonomyId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetTitle ¶
func (o *ShopListing) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ShopListing) GetTitleOk ¶
func (o *ShopListing) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetUpdatedTimestamp ¶
func (o *ShopListing) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*ShopListing) GetUpdatedTimestampOk ¶
func (o *ShopListing) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetUrl ¶
func (o *ShopListing) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ShopListing) GetUrlOk ¶
func (o *ShopListing) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetUserId ¶
func (o *ShopListing) GetUserId() int64
GetUserId returns the UserId field value if set, zero value otherwise.
func (*ShopListing) GetUserIdOk ¶
func (o *ShopListing) GetUserIdOk() (*int64, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListing) GetWhenMade ¶
func (o *ShopListing) GetWhenMade() ShopListingWhenMade
GetWhenMade returns the WhenMade field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetWhenMadeOk ¶
func (o *ShopListing) GetWhenMadeOk() (*ShopListingWhenMade, bool)
GetWhenMadeOk returns a tuple with the WhenMade field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) GetWhoMade ¶
func (o *ShopListing) GetWhoMade() ShopListingWhoMade
GetWhoMade returns the WhoMade field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListing) GetWhoMadeOk ¶
func (o *ShopListing) GetWhoMadeOk() (*ShopListingWhoMade, bool)
GetWhoMadeOk returns a tuple with the WhoMade field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListing) HasCreatedTimestamp ¶
func (o *ShopListing) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ShopListing) HasCreationTimestamp ¶
func (o *ShopListing) HasCreationTimestamp() bool
HasCreationTimestamp returns a boolean if a field has been set.
func (*ShopListing) HasDescription ¶
func (o *ShopListing) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ShopListing) HasEndingTimestamp ¶
func (o *ShopListing) HasEndingTimestamp() bool
HasEndingTimestamp returns a boolean if a field has been set.
func (*ShopListing) HasFeaturedRank ¶
func (o *ShopListing) HasFeaturedRank() bool
HasFeaturedRank returns a boolean if a field has been set.
func (*ShopListing) HasFileData ¶
func (o *ShopListing) HasFileData() bool
HasFileData returns a boolean if a field has been set.
func (*ShopListing) HasHasVariations ¶
func (o *ShopListing) HasHasVariations() bool
HasHasVariations returns a boolean if a field has been set.
func (*ShopListing) HasIsCustomizable ¶
func (o *ShopListing) HasIsCustomizable() bool
HasIsCustomizable returns a boolean if a field has been set.
func (*ShopListing) HasIsPersonalizable ¶
func (o *ShopListing) HasIsPersonalizable() bool
HasIsPersonalizable returns a boolean if a field has been set.
func (*ShopListing) HasIsPrivate ¶
func (o *ShopListing) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*ShopListing) HasIsSupply ¶
func (o *ShopListing) HasIsSupply() bool
HasIsSupply returns a boolean if a field has been set.
func (*ShopListing) HasIsTaxable ¶
func (o *ShopListing) HasIsTaxable() bool
HasIsTaxable returns a boolean if a field has been set.
func (*ShopListing) HasItemDimensionsUnit ¶
func (o *ShopListing) HasItemDimensionsUnit() bool
HasItemDimensionsUnit returns a boolean if a field has been set.
func (*ShopListing) HasItemHeight ¶
func (o *ShopListing) HasItemHeight() bool
HasItemHeight returns a boolean if a field has been set.
func (*ShopListing) HasItemLength ¶
func (o *ShopListing) HasItemLength() bool
HasItemLength returns a boolean if a field has been set.
func (*ShopListing) HasItemWeight ¶
func (o *ShopListing) HasItemWeight() bool
HasItemWeight returns a boolean if a field has been set.
func (*ShopListing) HasItemWeightUnit ¶
func (o *ShopListing) HasItemWeightUnit() bool
HasItemWeightUnit returns a boolean if a field has been set.
func (*ShopListing) HasItemWidth ¶
func (o *ShopListing) HasItemWidth() bool
HasItemWidth returns a boolean if a field has been set.
func (*ShopListing) HasLanguage ¶
func (o *ShopListing) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*ShopListing) HasLastModifiedTimestamp ¶
func (o *ShopListing) HasLastModifiedTimestamp() bool
HasLastModifiedTimestamp returns a boolean if a field has been set.
func (*ShopListing) HasListingId ¶
func (o *ShopListing) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*ShopListing) HasListingType ¶
func (o *ShopListing) HasListingType() bool
HasListingType returns a boolean if a field has been set.
func (*ShopListing) HasMaterials ¶
func (o *ShopListing) HasMaterials() bool
HasMaterials returns a boolean if a field has been set.
func (*ShopListing) HasNonTaxable ¶
func (o *ShopListing) HasNonTaxable() bool
HasNonTaxable returns a boolean if a field has been set.
func (*ShopListing) HasNumFavorers ¶
func (o *ShopListing) HasNumFavorers() bool
HasNumFavorers returns a boolean if a field has been set.
func (*ShopListing) HasOriginalCreationTimestamp ¶
func (o *ShopListing) HasOriginalCreationTimestamp() bool
HasOriginalCreationTimestamp returns a boolean if a field has been set.
func (*ShopListing) HasPersonalizationCharCountMax ¶
func (o *ShopListing) HasPersonalizationCharCountMax() bool
HasPersonalizationCharCountMax returns a boolean if a field has been set.
func (*ShopListing) HasPersonalizationInstructions ¶
func (o *ShopListing) HasPersonalizationInstructions() bool
HasPersonalizationInstructions returns a boolean if a field has been set.
func (*ShopListing) HasPersonalizationIsRequired ¶
func (o *ShopListing) HasPersonalizationIsRequired() bool
HasPersonalizationIsRequired returns a boolean if a field has been set.
func (*ShopListing) HasPrice ¶
func (o *ShopListing) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ShopListing) HasProcessingMax ¶
func (o *ShopListing) HasProcessingMax() bool
HasProcessingMax returns a boolean if a field has been set.
func (*ShopListing) HasProcessingMin ¶
func (o *ShopListing) HasProcessingMin() bool
HasProcessingMin returns a boolean if a field has been set.
func (*ShopListing) HasQuantity ¶
func (o *ShopListing) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*ShopListing) HasReturnPolicyId ¶
func (o *ShopListing) HasReturnPolicyId() bool
HasReturnPolicyId returns a boolean if a field has been set.
func (*ShopListing) HasShippingProfileId ¶
func (o *ShopListing) HasShippingProfileId() bool
HasShippingProfileId returns a boolean if a field has been set.
func (*ShopListing) HasShopId ¶
func (o *ShopListing) HasShopId() bool
HasShopId returns a boolean if a field has been set.
func (*ShopListing) HasShopSectionId ¶
func (o *ShopListing) HasShopSectionId() bool
HasShopSectionId returns a boolean if a field has been set.
func (*ShopListing) HasShouldAutoRenew ¶
func (o *ShopListing) HasShouldAutoRenew() bool
HasShouldAutoRenew returns a boolean if a field has been set.
func (*ShopListing) HasState ¶
func (o *ShopListing) HasState() bool
HasState returns a boolean if a field has been set.
func (*ShopListing) HasStateTimestamp ¶
func (o *ShopListing) HasStateTimestamp() bool
HasStateTimestamp returns a boolean if a field has been set.
func (*ShopListing) HasStyle ¶
func (o *ShopListing) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*ShopListing) HasTags ¶
func (o *ShopListing) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*ShopListing) HasTaxonomyId ¶
func (o *ShopListing) HasTaxonomyId() bool
HasTaxonomyId returns a boolean if a field has been set.
func (*ShopListing) HasTitle ¶
func (o *ShopListing) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ShopListing) HasUpdatedTimestamp ¶
func (o *ShopListing) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.
func (*ShopListing) HasUrl ¶
func (o *ShopListing) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*ShopListing) HasUserId ¶
func (o *ShopListing) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (*ShopListing) HasWhenMade ¶
func (o *ShopListing) HasWhenMade() bool
HasWhenMade returns a boolean if a field has been set.
func (*ShopListing) HasWhoMade ¶
func (o *ShopListing) HasWhoMade() bool
HasWhoMade returns a boolean if a field has been set.
func (ShopListing) MarshalJSON ¶
func (o ShopListing) MarshalJSON() ([]byte, error)
func (*ShopListing) SetCreatedTimestamp ¶
func (o *ShopListing) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ShopListing) SetCreationTimestamp ¶
func (o *ShopListing) SetCreationTimestamp(v int64)
SetCreationTimestamp gets a reference to the given int64 and assigns it to the CreationTimestamp field.
func (*ShopListing) SetDescription ¶
func (o *ShopListing) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ShopListing) SetEndingTimestamp ¶
func (o *ShopListing) SetEndingTimestamp(v int64)
SetEndingTimestamp gets a reference to the given int64 and assigns it to the EndingTimestamp field.
func (*ShopListing) SetFeaturedRank ¶
func (o *ShopListing) SetFeaturedRank(v int64)
SetFeaturedRank gets a reference to the given int64 and assigns it to the FeaturedRank field.
func (*ShopListing) SetFileData ¶
func (o *ShopListing) SetFileData(v string)
SetFileData gets a reference to the given string and assigns it to the FileData field.
func (*ShopListing) SetHasVariations ¶
func (o *ShopListing) SetHasVariations(v bool)
SetHasVariations gets a reference to the given bool and assigns it to the HasVariations field.
func (*ShopListing) SetIsCustomizable ¶
func (o *ShopListing) SetIsCustomizable(v bool)
SetIsCustomizable gets a reference to the given bool and assigns it to the IsCustomizable field.
func (*ShopListing) SetIsPersonalizable ¶
func (o *ShopListing) SetIsPersonalizable(v bool)
SetIsPersonalizable gets a reference to the given bool and assigns it to the IsPersonalizable field.
func (*ShopListing) SetIsPrivate ¶
func (o *ShopListing) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*ShopListing) SetIsSupply ¶
func (o *ShopListing) SetIsSupply(v bool)
SetIsSupply gets a reference to the given NullableBool and assigns it to the IsSupply field.
func (*ShopListing) SetIsSupplyNil ¶
func (o *ShopListing) SetIsSupplyNil()
SetIsSupplyNil sets the value for IsSupply to be an explicit nil
func (*ShopListing) SetIsTaxable ¶
func (o *ShopListing) SetIsTaxable(v bool)
SetIsTaxable gets a reference to the given bool and assigns it to the IsTaxable field.
func (*ShopListing) SetItemDimensionsUnit ¶
func (o *ShopListing) SetItemDimensionsUnit(v CreateDraftListingRequestItemDimensionsUnit)
SetItemDimensionsUnit gets a reference to the given NullableCreateDraftListingRequestItemDimensionsUnit and assigns it to the ItemDimensionsUnit field.
func (*ShopListing) SetItemDimensionsUnitNil ¶
func (o *ShopListing) SetItemDimensionsUnitNil()
SetItemDimensionsUnitNil sets the value for ItemDimensionsUnit to be an explicit nil
func (*ShopListing) SetItemHeight ¶
func (o *ShopListing) SetItemHeight(v float32)
SetItemHeight gets a reference to the given NullableFloat32 and assigns it to the ItemHeight field.
func (*ShopListing) SetItemHeightNil ¶
func (o *ShopListing) SetItemHeightNil()
SetItemHeightNil sets the value for ItemHeight to be an explicit nil
func (*ShopListing) SetItemLength ¶
func (o *ShopListing) SetItemLength(v float32)
SetItemLength gets a reference to the given NullableFloat32 and assigns it to the ItemLength field.
func (*ShopListing) SetItemLengthNil ¶
func (o *ShopListing) SetItemLengthNil()
SetItemLengthNil sets the value for ItemLength to be an explicit nil
func (*ShopListing) SetItemWeight ¶
func (o *ShopListing) SetItemWeight(v float32)
SetItemWeight gets a reference to the given NullableFloat32 and assigns it to the ItemWeight field.
func (*ShopListing) SetItemWeightNil ¶
func (o *ShopListing) SetItemWeightNil()
SetItemWeightNil sets the value for ItemWeight to be an explicit nil
func (*ShopListing) SetItemWeightUnit ¶
func (o *ShopListing) SetItemWeightUnit(v CreateDraftListingRequestItemWeightUnit)
SetItemWeightUnit gets a reference to the given NullableCreateDraftListingRequestItemWeightUnit and assigns it to the ItemWeightUnit field.
func (*ShopListing) SetItemWeightUnitNil ¶
func (o *ShopListing) SetItemWeightUnitNil()
SetItemWeightUnitNil sets the value for ItemWeightUnit to be an explicit nil
func (*ShopListing) SetItemWidth ¶
func (o *ShopListing) SetItemWidth(v float32)
SetItemWidth gets a reference to the given NullableFloat32 and assigns it to the ItemWidth field.
func (*ShopListing) SetItemWidthNil ¶
func (o *ShopListing) SetItemWidthNil()
SetItemWidthNil sets the value for ItemWidth to be an explicit nil
func (*ShopListing) SetLanguage ¶
func (o *ShopListing) SetLanguage(v string)
SetLanguage gets a reference to the given NullableString and assigns it to the Language field.
func (*ShopListing) SetLanguageNil ¶
func (o *ShopListing) SetLanguageNil()
SetLanguageNil sets the value for Language to be an explicit nil
func (*ShopListing) SetLastModifiedTimestamp ¶
func (o *ShopListing) SetLastModifiedTimestamp(v int64)
SetLastModifiedTimestamp gets a reference to the given int64 and assigns it to the LastModifiedTimestamp field.
func (*ShopListing) SetListingId ¶
func (o *ShopListing) SetListingId(v int64)
SetListingId gets a reference to the given int64 and assigns it to the ListingId field.
func (*ShopListing) SetListingType ¶
func (o *ShopListing) SetListingType(v CreateDraftListingRequestType)
SetListingType gets a reference to the given CreateDraftListingRequestType and assigns it to the ListingType field.
func (*ShopListing) SetMaterials ¶
func (o *ShopListing) SetMaterials(v []string)
SetMaterials gets a reference to the given []string and assigns it to the Materials field.
func (*ShopListing) SetNonTaxable ¶
func (o *ShopListing) SetNonTaxable(v bool)
SetNonTaxable gets a reference to the given bool and assigns it to the NonTaxable field.
func (*ShopListing) SetNumFavorers ¶
func (o *ShopListing) SetNumFavorers(v int64)
SetNumFavorers gets a reference to the given int64 and assigns it to the NumFavorers field.
func (*ShopListing) SetOriginalCreationTimestamp ¶
func (o *ShopListing) SetOriginalCreationTimestamp(v int64)
SetOriginalCreationTimestamp gets a reference to the given int64 and assigns it to the OriginalCreationTimestamp field.
func (*ShopListing) SetPersonalizationCharCountMax ¶
func (o *ShopListing) SetPersonalizationCharCountMax(v int64)
SetPersonalizationCharCountMax gets a reference to the given NullableInt64 and assigns it to the PersonalizationCharCountMax field.
func (*ShopListing) SetPersonalizationCharCountMaxNil ¶
func (o *ShopListing) SetPersonalizationCharCountMaxNil()
SetPersonalizationCharCountMaxNil sets the value for PersonalizationCharCountMax to be an explicit nil
func (*ShopListing) SetPersonalizationInstructions ¶
func (o *ShopListing) SetPersonalizationInstructions(v string)
SetPersonalizationInstructions gets a reference to the given NullableString and assigns it to the PersonalizationInstructions field.
func (*ShopListing) SetPersonalizationInstructionsNil ¶
func (o *ShopListing) SetPersonalizationInstructionsNil()
SetPersonalizationInstructionsNil sets the value for PersonalizationInstructions to be an explicit nil
func (*ShopListing) SetPersonalizationIsRequired ¶
func (o *ShopListing) SetPersonalizationIsRequired(v bool)
SetPersonalizationIsRequired gets a reference to the given bool and assigns it to the PersonalizationIsRequired field.
func (*ShopListing) SetPrice ¶
func (o *ShopListing) SetPrice(v Money)
SetPrice gets a reference to the given Money and assigns it to the Price field.
func (*ShopListing) SetProcessingMax ¶
func (o *ShopListing) SetProcessingMax(v int64)
SetProcessingMax gets a reference to the given NullableInt64 and assigns it to the ProcessingMax field.
func (*ShopListing) SetProcessingMaxNil ¶
func (o *ShopListing) SetProcessingMaxNil()
SetProcessingMaxNil sets the value for ProcessingMax to be an explicit nil
func (*ShopListing) SetProcessingMin ¶
func (o *ShopListing) SetProcessingMin(v int64)
SetProcessingMin gets a reference to the given NullableInt64 and assigns it to the ProcessingMin field.
func (*ShopListing) SetProcessingMinNil ¶
func (o *ShopListing) SetProcessingMinNil()
SetProcessingMinNil sets the value for ProcessingMin to be an explicit nil
func (*ShopListing) SetQuantity ¶
func (o *ShopListing) SetQuantity(v int64)
SetQuantity gets a reference to the given int64 and assigns it to the Quantity field.
func (*ShopListing) SetReturnPolicyId ¶
func (o *ShopListing) SetReturnPolicyId(v int64)
SetReturnPolicyId gets a reference to the given NullableInt64 and assigns it to the ReturnPolicyId field.
func (*ShopListing) SetReturnPolicyIdNil ¶
func (o *ShopListing) SetReturnPolicyIdNil()
SetReturnPolicyIdNil sets the value for ReturnPolicyId to be an explicit nil
func (*ShopListing) SetShippingProfileId ¶
func (o *ShopListing) SetShippingProfileId(v int64)
SetShippingProfileId gets a reference to the given NullableInt64 and assigns it to the ShippingProfileId field.
func (*ShopListing) SetShippingProfileIdNil ¶
func (o *ShopListing) SetShippingProfileIdNil()
SetShippingProfileIdNil sets the value for ShippingProfileId to be an explicit nil
func (*ShopListing) SetShopId ¶
func (o *ShopListing) SetShopId(v int64)
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (*ShopListing) SetShopSectionId ¶
func (o *ShopListing) SetShopSectionId(v int64)
SetShopSectionId gets a reference to the given NullableInt64 and assigns it to the ShopSectionId field.
func (*ShopListing) SetShopSectionIdNil ¶
func (o *ShopListing) SetShopSectionIdNil()
SetShopSectionIdNil sets the value for ShopSectionId to be an explicit nil
func (*ShopListing) SetShouldAutoRenew ¶
func (o *ShopListing) SetShouldAutoRenew(v bool)
SetShouldAutoRenew gets a reference to the given bool and assigns it to the ShouldAutoRenew field.
func (*ShopListing) SetState ¶
func (o *ShopListing) SetState(v ShopListingState)
SetState gets a reference to the given ShopListingState and assigns it to the State field.
func (*ShopListing) SetStateTimestamp ¶
func (o *ShopListing) SetStateTimestamp(v int64)
SetStateTimestamp gets a reference to the given NullableInt64 and assigns it to the StateTimestamp field.
func (*ShopListing) SetStateTimestampNil ¶
func (o *ShopListing) SetStateTimestampNil()
SetStateTimestampNil sets the value for StateTimestamp to be an explicit nil
func (*ShopListing) SetStyle ¶
func (o *ShopListing) SetStyle(v []string)
SetStyle gets a reference to the given []string and assigns it to the Style field.
func (*ShopListing) SetTags ¶
func (o *ShopListing) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*ShopListing) SetTaxonomyId ¶
func (o *ShopListing) SetTaxonomyId(v int64)
SetTaxonomyId gets a reference to the given NullableInt64 and assigns it to the TaxonomyId field.
func (*ShopListing) SetTaxonomyIdNil ¶
func (o *ShopListing) SetTaxonomyIdNil()
SetTaxonomyIdNil sets the value for TaxonomyId to be an explicit nil
func (*ShopListing) SetTitle ¶
func (o *ShopListing) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ShopListing) SetUpdatedTimestamp ¶
func (o *ShopListing) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (*ShopListing) SetUrl ¶
func (o *ShopListing) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*ShopListing) SetUserId ¶
func (o *ShopListing) SetUserId(v int64)
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (*ShopListing) SetWhenMade ¶
func (o *ShopListing) SetWhenMade(v ShopListingWhenMade)
SetWhenMade gets a reference to the given NullableShopListingWhenMade and assigns it to the WhenMade field.
func (*ShopListing) SetWhenMadeNil ¶
func (o *ShopListing) SetWhenMadeNil()
SetWhenMadeNil sets the value for WhenMade to be an explicit nil
func (*ShopListing) SetWhoMade ¶
func (o *ShopListing) SetWhoMade(v ShopListingWhoMade)
SetWhoMade gets a reference to the given NullableShopListingWhoMade and assigns it to the WhoMade field.
func (*ShopListing) SetWhoMadeNil ¶
func (o *ShopListing) SetWhoMadeNil()
SetWhoMadeNil sets the value for WhoMade to be an explicit nil
func (ShopListing) ToMap ¶
func (o ShopListing) ToMap() (map[string]interface{}, error)
func (*ShopListing) UnsetIsSupply ¶
func (o *ShopListing) UnsetIsSupply()
UnsetIsSupply ensures that no value is present for IsSupply, not even an explicit nil
func (*ShopListing) UnsetItemDimensionsUnit ¶
func (o *ShopListing) UnsetItemDimensionsUnit()
UnsetItemDimensionsUnit ensures that no value is present for ItemDimensionsUnit, not even an explicit nil
func (*ShopListing) UnsetItemHeight ¶
func (o *ShopListing) UnsetItemHeight()
UnsetItemHeight ensures that no value is present for ItemHeight, not even an explicit nil
func (*ShopListing) UnsetItemLength ¶
func (o *ShopListing) UnsetItemLength()
UnsetItemLength ensures that no value is present for ItemLength, not even an explicit nil
func (*ShopListing) UnsetItemWeight ¶
func (o *ShopListing) UnsetItemWeight()
UnsetItemWeight ensures that no value is present for ItemWeight, not even an explicit nil
func (*ShopListing) UnsetItemWeightUnit ¶
func (o *ShopListing) UnsetItemWeightUnit()
UnsetItemWeightUnit ensures that no value is present for ItemWeightUnit, not even an explicit nil
func (*ShopListing) UnsetItemWidth ¶
func (o *ShopListing) UnsetItemWidth()
UnsetItemWidth ensures that no value is present for ItemWidth, not even an explicit nil
func (*ShopListing) UnsetLanguage ¶
func (o *ShopListing) UnsetLanguage()
UnsetLanguage ensures that no value is present for Language, not even an explicit nil
func (*ShopListing) UnsetPersonalizationCharCountMax ¶
func (o *ShopListing) UnsetPersonalizationCharCountMax()
UnsetPersonalizationCharCountMax ensures that no value is present for PersonalizationCharCountMax, not even an explicit nil
func (*ShopListing) UnsetPersonalizationInstructions ¶
func (o *ShopListing) UnsetPersonalizationInstructions()
UnsetPersonalizationInstructions ensures that no value is present for PersonalizationInstructions, not even an explicit nil
func (*ShopListing) UnsetProcessingMax ¶
func (o *ShopListing) UnsetProcessingMax()
UnsetProcessingMax ensures that no value is present for ProcessingMax, not even an explicit nil
func (*ShopListing) UnsetProcessingMin ¶
func (o *ShopListing) UnsetProcessingMin()
UnsetProcessingMin ensures that no value is present for ProcessingMin, not even an explicit nil
func (*ShopListing) UnsetReturnPolicyId ¶
func (o *ShopListing) UnsetReturnPolicyId()
UnsetReturnPolicyId ensures that no value is present for ReturnPolicyId, not even an explicit nil
func (*ShopListing) UnsetShippingProfileId ¶
func (o *ShopListing) UnsetShippingProfileId()
UnsetShippingProfileId ensures that no value is present for ShippingProfileId, not even an explicit nil
func (*ShopListing) UnsetShopSectionId ¶
func (o *ShopListing) UnsetShopSectionId()
UnsetShopSectionId ensures that no value is present for ShopSectionId, not even an explicit nil
func (*ShopListing) UnsetStateTimestamp ¶
func (o *ShopListing) UnsetStateTimestamp()
UnsetStateTimestamp ensures that no value is present for StateTimestamp, not even an explicit nil
func (*ShopListing) UnsetTaxonomyId ¶
func (o *ShopListing) UnsetTaxonomyId()
UnsetTaxonomyId ensures that no value is present for TaxonomyId, not even an explicit nil
func (*ShopListing) UnsetWhenMade ¶
func (o *ShopListing) UnsetWhenMade()
UnsetWhenMade ensures that no value is present for WhenMade, not even an explicit nil
func (*ShopListing) UnsetWhoMade ¶
func (o *ShopListing) UnsetWhoMade()
UnsetWhoMade ensures that no value is present for WhoMade, not even an explicit nil
type ShopListingAPI ¶
type ShopListingAPI interface { /* CreateDraftListing Method for CreateDraftListing <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates a physical draft [listing](/documentation/reference#tag/ShopListing) product in a shop on the Etsy channel. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPICreateDraftListingRequest */ CreateDraftListing(ctx context.Context, shopId int64) ShopListingAPICreateDraftListingRequest // CreateDraftListingExecute executes the request // @return ShopListing CreateDraftListingExecute(r ShopListingAPICreateDraftListingRequest) (*ShopListing, *http.Response, error) /* DeleteListing Method for DeleteListing <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 endpoint to delete a ShopListing. A ShopListing can be deleted only if the state is one of the following: SOLD_OUT, DRAFT, EXPIRED, INACTIVE, ACTIVE and is_available or ACTIVE and has seller flags: SUPRESSED (frozen), VACATION, CUSTOM_SHOPS (pattern), SELL_ON_FACEBOOK @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIDeleteListingRequest */ DeleteListing(ctx context.Context, listingId int64) ShopListingAPIDeleteListingRequest // DeleteListingExecute executes the request DeleteListingExecute(r ShopListingAPIDeleteListingRequest) (*http.Response, error) /* DeleteListingProperty Method for DeleteListingProperty <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Deletes a property for a Listing. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param propertyId The unique ID of an Etsy [listing property](/documentation/reference#operation/getListingProperties). @return ShopListingAPIDeleteListingPropertyRequest */ DeleteListingProperty(ctx context.Context, shopId int64, listingId int64, propertyId int64) ShopListingAPIDeleteListingPropertyRequest // DeleteListingPropertyExecute executes the request DeleteListingPropertyExecute(r ShopListingAPIDeleteListingPropertyRequest) (*http.Response, error) /* FindAllActiveListingsByShop Method for FindAllActiveListingsByShop <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of all active listings on Etsy in a specific shop, paginated by listing creation date. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIFindAllActiveListingsByShopRequest */ FindAllActiveListingsByShop(ctx context.Context, shopId int64) ShopListingAPIFindAllActiveListingsByShopRequest // FindAllActiveListingsByShopExecute executes the request // @return ShopListings FindAllActiveListingsByShopExecute(r ShopListingAPIFindAllActiveListingsByShopRequest) (*ShopListings, *http.Response, error) /* FindAllListingsActive Method for FindAllListingsActive <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> A list of all active listings on Etsy paginated by their creation date. Without sort_order listings will be returned newest-first by default. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopListingAPIFindAllListingsActiveRequest */ FindAllListingsActive(ctx context.Context) ShopListingAPIFindAllListingsActiveRequest // FindAllListingsActiveExecute executes the request // @return ShopListings FindAllListingsActiveExecute(r ShopListingAPIFindAllListingsActiveRequest) (*ShopListings, *http.Response, error) /* GetFeaturedListingsByShop Method for GetFeaturedListingsByShop <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves Listings associated to a Shop that are featured. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetFeaturedListingsByShopRequest */ GetFeaturedListingsByShop(ctx context.Context, shopId int64) ShopListingAPIGetFeaturedListingsByShopRequest // GetFeaturedListingsByShopExecute executes the request // @return ShopListings GetFeaturedListingsByShopExecute(r ShopListingAPIGetFeaturedListingsByShopRequest) (*ShopListings, *http.Response, error) /* GetListing Method for GetListing <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a listing record by listing ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIGetListingRequest */ GetListing(ctx context.Context, listingId int64) ShopListingAPIGetListingRequest // GetListingExecute executes the request // @return ShopListingWithAssociations GetListingExecute(r ShopListingAPIGetListingRequest) (*ShopListingWithAssociations, *http.Response, error) /* GetListingProperties Method for GetListingProperties <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Get a listing's properties @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIGetListingPropertiesRequest */ GetListingProperties(ctx context.Context, shopId int64, listingId int64) ShopListingAPIGetListingPropertiesRequest // GetListingPropertiesExecute executes the request // @return ListingPropertyValues GetListingPropertiesExecute(r ShopListingAPIGetListingPropertiesRequest) (*ListingPropertyValues, *http.Response, error) /* GetListingProperty Method for GetListingProperty <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationTertiary wt-mr-xs-2"> Feedback only </span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Give feedback</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">Development for this endpoint is in progress. It will only return a 501 response.</p></div> Retrieves a listing's property @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param propertyId The unique ID of an Etsy [listing property](/documentation/reference#operation/getListingProperties). @return ShopListingAPIGetListingPropertyRequest */ GetListingProperty(ctx context.Context, listingId int64, propertyId int64) ShopListingAPIGetListingPropertyRequest // GetListingPropertyExecute executes the request // @return ListingPropertyValue GetListingPropertyExecute(r ShopListingAPIGetListingPropertyRequest) (*ListingPropertyValue, *http.Response, error) /* GetListingsByListingIds Method for GetListingsByListingIds <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Allows to query multiple listing ids at once. Limit 100 ids maximum per query. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopListingAPIGetListingsByListingIdsRequest */ GetListingsByListingIds(ctx context.Context) ShopListingAPIGetListingsByListingIdsRequest // GetListingsByListingIdsExecute executes the request // @return ShopListingsWithAssociations GetListingsByListingIdsExecute(r ShopListingAPIGetListingsByListingIdsRequest) (*ShopListingsWithAssociations, *http.Response, error) /* GetListingsByShop Method for GetListingsByShop <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Endpoint to list Listings that belong to a Shop. Listings can be filtered using the 'state' param. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopRequest */ GetListingsByShop(ctx context.Context, shopId int64) ShopListingAPIGetListingsByShopRequest // GetListingsByShopExecute executes the request // @return ShopListingsWithAssociations GetListingsByShopExecute(r ShopListingAPIGetListingsByShopRequest) (*ShopListingsWithAssociations, *http.Response, error) /* GetListingsByShopReceipt Method for GetListingsByShopReceipt <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Gets all listings associated with a receipt. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopReceiptRequest */ GetListingsByShopReceipt(ctx context.Context, receiptId int64, shopId int64) ShopListingAPIGetListingsByShopReceiptRequest // GetListingsByShopReceiptExecute executes the request // @return ShopListings GetListingsByShopReceiptExecute(r ShopListingAPIGetListingsByShopReceiptRequest) (*ShopListings, *http.Response, error) /* GetListingsByShopReturnPolicy Method for GetListingsByShopReturnPolicy <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Gets all listings associated with a Return Policy. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopReturnPolicyRequest */ GetListingsByShopReturnPolicy(ctx context.Context, returnPolicyId int64, shopId int64) ShopListingAPIGetListingsByShopReturnPolicyRequest // GetListingsByShopReturnPolicyExecute executes the request // @return ShopListings GetListingsByShopReturnPolicyExecute(r ShopListingAPIGetListingsByShopReturnPolicyRequest) (*ShopListings, *http.Response, error) /* GetListingsByShopSectionId Method for GetListingsByShopSectionId <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves all the listings from the section of a specific shop. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopSectionIdRequest */ GetListingsByShopSectionId(ctx context.Context, shopId int64) ShopListingAPIGetListingsByShopSectionIdRequest // GetListingsByShopSectionIdExecute executes the request // @return ShopListings GetListingsByShopSectionIdExecute(r ShopListingAPIGetListingsByShopSectionIdRequest) (*ShopListings, *http.Response, error) /* UpdateListing Method for UpdateListing <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates a listing, identified by a listing ID, for a specific shop identified by a shop ID. Note that this is a PATCH method type. When activating, or manually renewing a physical listing, the shipping profile referenced by the `shipping_profile_id`, and all of its fields, along with its entries and upgrades must be complete and valid. If the shipping profile is not complete and valid, we will throw an exception with an error message that guides the request sender to update whatever data is bad. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIUpdateListingRequest */ UpdateListing(ctx context.Context, shopId int64, listingId int64) ShopListingAPIUpdateListingRequest // UpdateListingExecute executes the request // @return ShopListing UpdateListingExecute(r ShopListingAPIUpdateListingRequest) (*ShopListing, *http.Response, error) /* UpdateListingDeprecated Method for UpdateListingDeprecated <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates a listing, identified by a listing ID, for a specific shop identified by a shop ID. This endpoint will be removed in the near future in favor of `updateListing` PATCH version. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIUpdateListingDeprecatedRequest */ UpdateListingDeprecated(ctx context.Context, shopId int64, listingId int64) ShopListingAPIUpdateListingDeprecatedRequest // UpdateListingDeprecatedExecute executes the request // @return ShopListing UpdateListingDeprecatedExecute(r ShopListingAPIUpdateListingDeprecatedRequest) (*ShopListing, *http.Response, error) /* UpdateListingProperty Method for UpdateListingProperty <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates or populates the properties list defining product offerings for a listing. Each offering requires both a `value` and a `value_id` that are valid for a `scale_id` assigned to the listing or that you assign to the listing with this request. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param propertyId The unique ID of an Etsy [listing property](/documentation/reference#operation/getListingProperties). @return ShopListingAPIUpdateListingPropertyRequest */ UpdateListingProperty(ctx context.Context, shopId int64, listingId int64, propertyId int64) ShopListingAPIUpdateListingPropertyRequest // UpdateListingPropertyExecute executes the request // @return ListingPropertyValue UpdateListingPropertyExecute(r ShopListingAPIUpdateListingPropertyRequest) (*ListingPropertyValue, *http.Response, error) }
type ShopListingAPICreateDraftListingRequest ¶
type ShopListingAPICreateDraftListingRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPICreateDraftListingRequest) Description ¶
func (r ShopListingAPICreateDraftListingRequest) Description(description string) ShopListingAPICreateDraftListingRequest
A description string of the product for sale in the listing.
func (ShopListingAPICreateDraftListingRequest) Execute ¶
func (r ShopListingAPICreateDraftListingRequest) Execute() (*ShopListing, *http.Response, error)
func (ShopListingAPICreateDraftListingRequest) ImageIds ¶
func (r ShopListingAPICreateDraftListingRequest) ImageIds(imageIds []int64) ShopListingAPICreateDraftListingRequest
An array of numeric image IDs of the images in a listing, which can include up to 10 images.
func (ShopListingAPICreateDraftListingRequest) IsCustomizable ¶
func (r ShopListingAPICreateDraftListingRequest) IsCustomizable(isCustomizable bool) ShopListingAPICreateDraftListingRequest
When true, a buyer may contact the seller for a customized order. The default value is true when a shop accepts custom orders. Does not apply to shops that do not accept custom orders.
func (ShopListingAPICreateDraftListingRequest) IsPersonalizable ¶
func (r ShopListingAPICreateDraftListingRequest) IsPersonalizable(isPersonalizable bool) ShopListingAPICreateDraftListingRequest
When true, this listing is personalizable. The default value is null.
func (ShopListingAPICreateDraftListingRequest) IsSupply ¶
func (r ShopListingAPICreateDraftListingRequest) IsSupply(isSupply bool) ShopListingAPICreateDraftListingRequest
When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who_made' and 'when_made'.
func (ShopListingAPICreateDraftListingRequest) IsTaxable ¶
func (r ShopListingAPICreateDraftListingRequest) IsTaxable(isTaxable bool) ShopListingAPICreateDraftListingRequest
When true, applicable [shop](/documentation/reference#tag/Shop) tax rates apply to this listing at checkout.
func (ShopListingAPICreateDraftListingRequest) ItemDimensionsUnit ¶
func (r ShopListingAPICreateDraftListingRequest) ItemDimensionsUnit(itemDimensionsUnit CreateDraftListingRequestItemDimensionsUnit) ShopListingAPICreateDraftListingRequest
func (ShopListingAPICreateDraftListingRequest) ItemHeight ¶
func (r ShopListingAPICreateDraftListingRequest) ItemHeight(itemHeight float32) ShopListingAPICreateDraftListingRequest
The numeric height of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPICreateDraftListingRequest) ItemLength ¶
func (r ShopListingAPICreateDraftListingRequest) ItemLength(itemLength float32) ShopListingAPICreateDraftListingRequest
The numeric length of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPICreateDraftListingRequest) ItemWeight ¶
func (r ShopListingAPICreateDraftListingRequest) ItemWeight(itemWeight float32) ShopListingAPICreateDraftListingRequest
The numeric weight of the product measured in units set in 'item_weight_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPICreateDraftListingRequest) ItemWeightUnit ¶
func (r ShopListingAPICreateDraftListingRequest) ItemWeightUnit(itemWeightUnit CreateDraftListingRequestItemWeightUnit) ShopListingAPICreateDraftListingRequest
func (ShopListingAPICreateDraftListingRequest) ItemWidth ¶
func (r ShopListingAPICreateDraftListingRequest) ItemWidth(itemWidth float32) ShopListingAPICreateDraftListingRequest
The numeric width of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPICreateDraftListingRequest) Materials ¶
func (r ShopListingAPICreateDraftListingRequest) Materials(materials []string) ShopListingAPICreateDraftListingRequest
A list of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null.
func (ShopListingAPICreateDraftListingRequest) PersonalizationCharCountMax ¶
func (r ShopListingAPICreateDraftListingRequest) PersonalizationCharCountMax(personalizationCharCountMax int64) ShopListingAPICreateDraftListingRequest
This is an integer value representing the maximum length for the personalization message entered by the buyer. Will only change if is_personalizable is 'true'.
func (ShopListingAPICreateDraftListingRequest) PersonalizationInstructions ¶
func (r ShopListingAPICreateDraftListingRequest) PersonalizationInstructions(personalizationInstructions string) ShopListingAPICreateDraftListingRequest
A string representing instructions for the buyer to enter the personalization. Will only change if is_personalizable is 'true'.
func (ShopListingAPICreateDraftListingRequest) PersonalizationIsRequired ¶
func (r ShopListingAPICreateDraftListingRequest) PersonalizationIsRequired(personalizationIsRequired bool) ShopListingAPICreateDraftListingRequest
When true, this listing requires personalization. The default value is null. Will only change if is_personalizable is 'true'.
func (ShopListingAPICreateDraftListingRequest) Price ¶
func (r ShopListingAPICreateDraftListingRequest) Price(price float32) ShopListingAPICreateDraftListingRequest
The positive non-zero price of the product. (Sold product listings are private) Note: The price is the minimum possible price. The [`getListingInventory`](/documentation/reference/#operation/getListingInventory) method requests exact prices for available offerings.
func (ShopListingAPICreateDraftListingRequest) ProcessingMax ¶
func (r ShopListingAPICreateDraftListingRequest) ProcessingMax(processingMax int64) ShopListingAPICreateDraftListingRequest
The maximum number of days required to process this listing. Default value is null.
func (ShopListingAPICreateDraftListingRequest) ProcessingMin ¶
func (r ShopListingAPICreateDraftListingRequest) ProcessingMin(processingMin int64) ShopListingAPICreateDraftListingRequest
The minimum number of days required to process this listing. Default value is null.
func (ShopListingAPICreateDraftListingRequest) ProductionPartnerIds ¶
func (r ShopListingAPICreateDraftListingRequest) ProductionPartnerIds(productionPartnerIds []int64) ShopListingAPICreateDraftListingRequest
An array of unique IDs of production partner ids.
func (ShopListingAPICreateDraftListingRequest) Quantity ¶
func (r ShopListingAPICreateDraftListingRequest) Quantity(quantity int64) ShopListingAPICreateDraftListingRequest
The positive non-zero number of products available for purchase in the listing. Note: The listing quantity is the sum of available offering quantities. You can request the quantities for individual offerings from the ListingInventory resource using the [getListingInventory](/documentation/reference#operation/getListingInventory) endpoint.
func (ShopListingAPICreateDraftListingRequest) ReturnPolicyId ¶
func (r ShopListingAPICreateDraftListingRequest) ReturnPolicyId(returnPolicyId int64) ShopListingAPICreateDraftListingRequest
The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies).
func (ShopListingAPICreateDraftListingRequest) ShippingProfileId ¶
func (r ShopListingAPICreateDraftListingRequest) ShippingProfileId(shippingProfileId int64) ShopListingAPICreateDraftListingRequest
The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`.
func (ShopListingAPICreateDraftListingRequest) ShopSectionId ¶
func (r ShopListingAPICreateDraftListingRequest) ShopSectionId(shopSectionId int64) ShopListingAPICreateDraftListingRequest
The numeric ID of the [shop section](/documentation/reference#tag/Shop-Section) for this listing. Default value is null.
func (ShopListingAPICreateDraftListingRequest) ShouldAutoRenew ¶
func (r ShopListingAPICreateDraftListingRequest) ShouldAutoRenew(shouldAutoRenew bool) ShopListingAPICreateDraftListingRequest
When true, renews a listing for four months upon expiration.
func (ShopListingAPICreateDraftListingRequest) Styles ¶
func (r ShopListingAPICreateDraftListingRequest) Styles(styles []string) ShopListingAPICreateDraftListingRequest
An array of style strings for this listing, each of which is free-form text string such as \\\"Formal\\\", or \\\"Steampunk\\\". When creating or updating a listing, the listing may have up to two styles. Valid style strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null.
func (ShopListingAPICreateDraftListingRequest) Tags ¶
func (r ShopListingAPICreateDraftListingRequest) Tags(tags []string) ShopListingAPICreateDraftListingRequest
A comma-separated list of tag strings for the listing. When creating or updating a listing, valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}\\\\-'™©®]/u) Default value is null.
func (ShopListingAPICreateDraftListingRequest) TaxonomyId ¶
func (r ShopListingAPICreateDraftListingRequest) TaxonomyId(taxonomyId int64) ShopListingAPICreateDraftListingRequest
The numerical taxonomy ID of the listing. See [SellerTaxonomy](/documentation/reference#tag/SellerTaxonomy) and [BuyerTaxonomy](/documentation/reference#tag/BuyerTaxonomy) for more information.
func (ShopListingAPICreateDraftListingRequest) Title ¶
func (r ShopListingAPICreateDraftListingRequest) Title(title string) ShopListingAPICreateDraftListingRequest
The listing's title string. When creating or updating a listing, valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{P}\\\\p{Sm}\\\\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each.
func (ShopListingAPICreateDraftListingRequest) WhenMade ¶
func (r ShopListingAPICreateDraftListingRequest) WhenMade(whenMade CreateDraftListingRequestWhenMade) ShopListingAPICreateDraftListingRequest
func (ShopListingAPICreateDraftListingRequest) WhoMade ¶
func (r ShopListingAPICreateDraftListingRequest) WhoMade(whoMade CreateDraftListingRequestWhoMade) ShopListingAPICreateDraftListingRequest
type ShopListingAPIDeleteListingPropertyRequest ¶
type ShopListingAPIDeleteListingPropertyRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
type ShopListingAPIDeleteListingRequest ¶
type ShopListingAPIDeleteListingRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
type ShopListingAPIFindAllActiveListingsByShopRequest ¶
type ShopListingAPIFindAllActiveListingsByShopRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIFindAllActiveListingsByShopRequest) Execute ¶
func (r ShopListingAPIFindAllActiveListingsByShopRequest) Execute() (*ShopListings, *http.Response, error)
func (ShopListingAPIFindAllActiveListingsByShopRequest) Keywords ¶
func (r ShopListingAPIFindAllActiveListingsByShopRequest) Keywords(keywords string) ShopListingAPIFindAllActiveListingsByShopRequest
Search term or phrase that must appear in all results.
func (ShopListingAPIFindAllActiveListingsByShopRequest) Limit ¶
func (r ShopListingAPIFindAllActiveListingsByShopRequest) Limit(limit int64) ShopListingAPIFindAllActiveListingsByShopRequest
The maximum number of results to return.
func (ShopListingAPIFindAllActiveListingsByShopRequest) Offset ¶
func (r ShopListingAPIFindAllActiveListingsByShopRequest) Offset(offset int64) ShopListingAPIFindAllActiveListingsByShopRequest
The number of records to skip before selecting the first result.
func (ShopListingAPIFindAllActiveListingsByShopRequest) SortOn ¶
func (r ShopListingAPIFindAllActiveListingsByShopRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIFindAllActiveListingsByShopRequest
The value to sort a search result of listings on. NOTES: a) `sort_on` only works when combined with one of the search options (keywords, region, etc.). b) when using `score` the returned results will always be in _descending_ order, regardless of the `sort_order` parameter.
func (ShopListingAPIFindAllActiveListingsByShopRequest) SortOrder ¶
func (r ShopListingAPIFindAllActiveListingsByShopRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIFindAllActiveListingsByShopRequest
The ascending(up) or descending(down) order to sort listings by. NOTE: sort_order only works when combined with one of the search options (keywords, region, etc.).
type ShopListingAPIFindAllListingsActiveRequest ¶
type ShopListingAPIFindAllListingsActiveRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIFindAllListingsActiveRequest) Execute ¶
func (r ShopListingAPIFindAllListingsActiveRequest) Execute() (*ShopListings, *http.Response, error)
func (ShopListingAPIFindAllListingsActiveRequest) Keywords ¶
func (r ShopListingAPIFindAllListingsActiveRequest) Keywords(keywords string) ShopListingAPIFindAllListingsActiveRequest
Search term or phrase that must appear in all results.
func (ShopListingAPIFindAllListingsActiveRequest) Limit ¶
func (r ShopListingAPIFindAllListingsActiveRequest) Limit(limit int64) ShopListingAPIFindAllListingsActiveRequest
The maximum number of results to return.
func (ShopListingAPIFindAllListingsActiveRequest) MaxPrice ¶
func (r ShopListingAPIFindAllListingsActiveRequest) MaxPrice(maxPrice float32) ShopListingAPIFindAllListingsActiveRequest
The maximum price of listings to be returned by a search result.
func (ShopListingAPIFindAllListingsActiveRequest) MinPrice ¶
func (r ShopListingAPIFindAllListingsActiveRequest) MinPrice(minPrice float32) ShopListingAPIFindAllListingsActiveRequest
The minimum price of listings to be returned by a search result.
func (ShopListingAPIFindAllListingsActiveRequest) Offset ¶
func (r ShopListingAPIFindAllListingsActiveRequest) Offset(offset int64) ShopListingAPIFindAllListingsActiveRequest
The number of records to skip before selecting the first result.
func (ShopListingAPIFindAllListingsActiveRequest) ShopLocation ¶
func (r ShopListingAPIFindAllListingsActiveRequest) ShopLocation(shopLocation string) ShopListingAPIFindAllListingsActiveRequest
Filters by shop location. If location cannot be parsed, Etsy responds with an error.
func (ShopListingAPIFindAllListingsActiveRequest) SortOn ¶
func (r ShopListingAPIFindAllListingsActiveRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIFindAllListingsActiveRequest
The value to sort a search result of listings on. NOTES: a) `sort_on` only works when combined with one of the search options (keywords, region, etc.). b) when using `score` the returned results will always be in _descending_ order, regardless of the `sort_order` parameter.
func (ShopListingAPIFindAllListingsActiveRequest) SortOrder ¶
func (r ShopListingAPIFindAllListingsActiveRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIFindAllListingsActiveRequest
The ascending(up) or descending(down) order to sort listings by. NOTE: sort_order only works when combined with one of the search options (keywords, region, etc.).
func (ShopListingAPIFindAllListingsActiveRequest) TaxonomyId ¶
func (r ShopListingAPIFindAllListingsActiveRequest) TaxonomyId(taxonomyId int64) ShopListingAPIFindAllListingsActiveRequest
The numerical taxonomy ID of the listing. See [SellerTaxonomy](/documentation/reference#tag/SellerTaxonomy) and [BuyerTaxonomy](/documentation/reference#tag/BuyerTaxonomy) for more information.
type ShopListingAPIGetFeaturedListingsByShopRequest ¶
type ShopListingAPIGetFeaturedListingsByShopRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetFeaturedListingsByShopRequest) Execute ¶
func (r ShopListingAPIGetFeaturedListingsByShopRequest) Execute() (*ShopListings, *http.Response, error)
func (ShopListingAPIGetFeaturedListingsByShopRequest) Limit ¶
func (r ShopListingAPIGetFeaturedListingsByShopRequest) Limit(limit int64) ShopListingAPIGetFeaturedListingsByShopRequest
The maximum number of results to return.
func (ShopListingAPIGetFeaturedListingsByShopRequest) Offset ¶
func (r ShopListingAPIGetFeaturedListingsByShopRequest) Offset(offset int64) ShopListingAPIGetFeaturedListingsByShopRequest
The number of records to skip before selecting the first result.
type ShopListingAPIGetListingPropertiesRequest ¶
type ShopListingAPIGetListingPropertiesRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingPropertiesRequest) Execute ¶
func (r ShopListingAPIGetListingPropertiesRequest) Execute() (*ListingPropertyValues, *http.Response, error)
type ShopListingAPIGetListingPropertyRequest ¶
type ShopListingAPIGetListingPropertyRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingPropertyRequest) Execute ¶
func (r ShopListingAPIGetListingPropertyRequest) Execute() (*ListingPropertyValue, *http.Response, error)
type ShopListingAPIGetListingRequest ¶
type ShopListingAPIGetListingRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingRequest) Execute ¶
func (r ShopListingAPIGetListingRequest) Execute() (*ShopListingWithAssociations, *http.Response, error)
func (ShopListingAPIGetListingRequest) Includes ¶
func (r ShopListingAPIGetListingRequest) Includes(includes []GetListingsByShopIncludesParameterInner) ShopListingAPIGetListingRequest
An enumerated string that attaches a valid association. Acceptable inputs are 'Shipping', 'Shop', 'Images', 'User', 'Translations' and 'Inventory'.
func (ShopListingAPIGetListingRequest) Language ¶
func (r ShopListingAPIGetListingRequest) Language(language string) ShopListingAPIGetListingRequest
The IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`.
type ShopListingAPIGetListingsByListingIdsRequest ¶
type ShopListingAPIGetListingsByListingIdsRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingsByListingIdsRequest) Execute ¶
func (r ShopListingAPIGetListingsByListingIdsRequest) Execute() (*ShopListingsWithAssociations, *http.Response, error)
func (ShopListingAPIGetListingsByListingIdsRequest) Includes ¶
func (r ShopListingAPIGetListingsByListingIdsRequest) Includes(includes []GetListingsByShopIncludesParameterInner) ShopListingAPIGetListingsByListingIdsRequest
An enumerated string that attaches a valid association. Acceptable inputs are 'Shipping', 'Shop', 'Images', 'User', 'Translations' and 'Inventory'.
func (ShopListingAPIGetListingsByListingIdsRequest) ListingIds ¶
func (r ShopListingAPIGetListingsByListingIdsRequest) ListingIds(listingIds []int64) ShopListingAPIGetListingsByListingIdsRequest
The list of numeric IDS for the listings in a specific Etsy shop.
type ShopListingAPIGetListingsByShopReceiptRequest ¶
type ShopListingAPIGetListingsByShopReceiptRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingsByShopReceiptRequest) Execute ¶
func (r ShopListingAPIGetListingsByShopReceiptRequest) Execute() (*ShopListings, *http.Response, error)
func (ShopListingAPIGetListingsByShopReceiptRequest) Limit ¶
func (r ShopListingAPIGetListingsByShopReceiptRequest) Limit(limit int64) ShopListingAPIGetListingsByShopReceiptRequest
The maximum number of results to return.
func (ShopListingAPIGetListingsByShopReceiptRequest) Offset ¶
func (r ShopListingAPIGetListingsByShopReceiptRequest) Offset(offset int64) ShopListingAPIGetListingsByShopReceiptRequest
The number of records to skip before selecting the first result.
type ShopListingAPIGetListingsByShopRequest ¶
type ShopListingAPIGetListingsByShopRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingsByShopRequest) Execute ¶
func (r ShopListingAPIGetListingsByShopRequest) Execute() (*ShopListingsWithAssociations, *http.Response, error)
func (ShopListingAPIGetListingsByShopRequest) Includes ¶
func (r ShopListingAPIGetListingsByShopRequest) Includes(includes []GetListingsByShopIncludesParameterInner) ShopListingAPIGetListingsByShopRequest
An enumerated string that attaches a valid association. Acceptable inputs are 'Shipping', 'Shop', 'Images', 'User', 'Translations' and 'Inventory'.
func (ShopListingAPIGetListingsByShopRequest) Limit ¶
func (r ShopListingAPIGetListingsByShopRequest) Limit(limit int64) ShopListingAPIGetListingsByShopRequest
The maximum number of results to return.
func (ShopListingAPIGetListingsByShopRequest) Offset ¶
func (r ShopListingAPIGetListingsByShopRequest) Offset(offset int64) ShopListingAPIGetListingsByShopRequest
The number of records to skip before selecting the first result.
func (ShopListingAPIGetListingsByShopRequest) SortOn ¶
func (r ShopListingAPIGetListingsByShopRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIGetListingsByShopRequest
The value to sort a search result of listings on. NOTES: a) `sort_on` only works when combined with one of the search options (keywords, region, etc.). b) when using `score` the returned results will always be in _descending_ order, regardless of the `sort_order` parameter.
func (ShopListingAPIGetListingsByShopRequest) SortOrder ¶
func (r ShopListingAPIGetListingsByShopRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIGetListingsByShopRequest
The ascending(up) or descending(down) order to sort listings by. NOTE: sort_order only works when combined with one of the search options (keywords, region, etc.).
func (ShopListingAPIGetListingsByShopRequest) State ¶
func (r ShopListingAPIGetListingsByShopRequest) State(state GetListingsByShopStateParameter) ShopListingAPIGetListingsByShopRequest
When _updating_ a listing, this value can be either `active` or `inactive`. Note: Setting a `draft` listing to `active` will also publish the listing on etsy.com and requires that the listing have an image set. Setting a `sold_out` listing to active will update the quantity to 1 and renew the listing on etsy.com.
type ShopListingAPIGetListingsByShopReturnPolicyRequest ¶
type ShopListingAPIGetListingsByShopReturnPolicyRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingsByShopReturnPolicyRequest) Execute ¶
func (r ShopListingAPIGetListingsByShopReturnPolicyRequest) Execute() (*ShopListings, *http.Response, error)
type ShopListingAPIGetListingsByShopSectionIdRequest ¶
type ShopListingAPIGetListingsByShopSectionIdRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIGetListingsByShopSectionIdRequest) Execute ¶
func (r ShopListingAPIGetListingsByShopSectionIdRequest) Execute() (*ShopListings, *http.Response, error)
func (ShopListingAPIGetListingsByShopSectionIdRequest) Limit ¶
func (r ShopListingAPIGetListingsByShopSectionIdRequest) Limit(limit int64) ShopListingAPIGetListingsByShopSectionIdRequest
The maximum number of results to return.
func (ShopListingAPIGetListingsByShopSectionIdRequest) Offset ¶
func (r ShopListingAPIGetListingsByShopSectionIdRequest) Offset(offset int64) ShopListingAPIGetListingsByShopSectionIdRequest
The number of records to skip before selecting the first result.
func (ShopListingAPIGetListingsByShopSectionIdRequest) ShopSectionIds ¶
func (r ShopListingAPIGetListingsByShopSectionIdRequest) ShopSectionIds(shopSectionIds []int64) ShopListingAPIGetListingsByShopSectionIdRequest
A list of numeric IDS for all sections in a specific Etsy shop.
func (ShopListingAPIGetListingsByShopSectionIdRequest) SortOn ¶
func (r ShopListingAPIGetListingsByShopSectionIdRequest) SortOn(sortOn GetListingsByShopSortOnParameter) ShopListingAPIGetListingsByShopSectionIdRequest
The value to sort a search result of listings on. NOTES: a) `sort_on` only works when combined with one of the search options (keywords, region, etc.). b) when using `score` the returned results will always be in _descending_ order, regardless of the `sort_order` parameter.
func (ShopListingAPIGetListingsByShopSectionIdRequest) SortOrder ¶
func (r ShopListingAPIGetListingsByShopSectionIdRequest) SortOrder(sortOrder GetListingsByShopSortOrderParameter) ShopListingAPIGetListingsByShopSectionIdRequest
The ascending(up) or descending(down) order to sort listings by. NOTE: sort_order only works when combined with one of the search options (keywords, region, etc.).
type ShopListingAPIService ¶
type ShopListingAPIService service
ShopListingAPIService ShopListingAPI service
func (*ShopListingAPIService) CreateDraftListing ¶
func (a *ShopListingAPIService) CreateDraftListing(ctx context.Context, shopId int64) ShopListingAPICreateDraftListingRequest
CreateDraftListing Method for CreateDraftListing
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates a physical draft [listing](/documentation/reference#tag/ShopListing) product in a shop on the Etsy channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPICreateDraftListingRequest
func (*ShopListingAPIService) CreateDraftListingExecute ¶
func (a *ShopListingAPIService) CreateDraftListingExecute(r ShopListingAPICreateDraftListingRequest) (*ShopListing, *http.Response, error)
Execute executes the request
@return ShopListing
func (*ShopListingAPIService) DeleteListing ¶
func (a *ShopListingAPIService) DeleteListing(ctx context.Context, listingId int64) ShopListingAPIDeleteListingRequest
DeleteListing Method for DeleteListing
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 endpoint to delete a ShopListing. A ShopListing can be deleted only if the state is one of the following: SOLD_OUT, DRAFT, EXPIRED, INACTIVE, ACTIVE and is_available or ACTIVE and has seller flags: SUPRESSED (frozen), VACATION, CUSTOM_SHOPS (pattern), SELL_ON_FACEBOOK
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIDeleteListingRequest
func (*ShopListingAPIService) DeleteListingExecute ¶
func (a *ShopListingAPIService) DeleteListingExecute(r ShopListingAPIDeleteListingRequest) (*http.Response, error)
Execute executes the request
func (*ShopListingAPIService) DeleteListingProperty ¶
func (a *ShopListingAPIService) DeleteListingProperty(ctx context.Context, shopId int64, listingId int64, propertyId int64) ShopListingAPIDeleteListingPropertyRequest
DeleteListingProperty Method for DeleteListingProperty
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Deletes a property for a Listing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param propertyId The unique ID of an Etsy [listing property](/documentation/reference#operation/getListingProperties). @return ShopListingAPIDeleteListingPropertyRequest
func (*ShopListingAPIService) DeleteListingPropertyExecute ¶
func (a *ShopListingAPIService) DeleteListingPropertyExecute(r ShopListingAPIDeleteListingPropertyRequest) (*http.Response, error)
Execute executes the request
func (*ShopListingAPIService) FindAllActiveListingsByShop ¶
func (a *ShopListingAPIService) FindAllActiveListingsByShop(ctx context.Context, shopId int64) ShopListingAPIFindAllActiveListingsByShopRequest
FindAllActiveListingsByShop Method for FindAllActiveListingsByShop
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of all active listings on Etsy in a specific shop, paginated by listing creation date.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIFindAllActiveListingsByShopRequest
func (*ShopListingAPIService) FindAllActiveListingsByShopExecute ¶
func (a *ShopListingAPIService) FindAllActiveListingsByShopExecute(r ShopListingAPIFindAllActiveListingsByShopRequest) (*ShopListings, *http.Response, error)
Execute executes the request
@return ShopListings
func (*ShopListingAPIService) FindAllListingsActive ¶
func (a *ShopListingAPIService) FindAllListingsActive(ctx context.Context) ShopListingAPIFindAllListingsActiveRequest
FindAllListingsActive Method for FindAllListingsActive
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
A list of all active listings on Etsy paginated by their creation date. Without sort_order listings will be returned newest-first by default.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopListingAPIFindAllListingsActiveRequest
func (*ShopListingAPIService) FindAllListingsActiveExecute ¶
func (a *ShopListingAPIService) FindAllListingsActiveExecute(r ShopListingAPIFindAllListingsActiveRequest) (*ShopListings, *http.Response, error)
Execute executes the request
@return ShopListings
func (*ShopListingAPIService) GetFeaturedListingsByShop ¶
func (a *ShopListingAPIService) GetFeaturedListingsByShop(ctx context.Context, shopId int64) ShopListingAPIGetFeaturedListingsByShopRequest
GetFeaturedListingsByShop Method for GetFeaturedListingsByShop
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves Listings associated to a Shop that are featured.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetFeaturedListingsByShopRequest
func (*ShopListingAPIService) GetFeaturedListingsByShopExecute ¶
func (a *ShopListingAPIService) GetFeaturedListingsByShopExecute(r ShopListingAPIGetFeaturedListingsByShopRequest) (*ShopListings, *http.Response, error)
Execute executes the request
@return ShopListings
func (*ShopListingAPIService) GetListing ¶
func (a *ShopListingAPIService) GetListing(ctx context.Context, listingId int64) ShopListingAPIGetListingRequest
GetListing Method for GetListing
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a listing record by listing ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIGetListingRequest
func (*ShopListingAPIService) GetListingExecute ¶
func (a *ShopListingAPIService) GetListingExecute(r ShopListingAPIGetListingRequest) (*ShopListingWithAssociations, *http.Response, error)
Execute executes the request
@return ShopListingWithAssociations
func (*ShopListingAPIService) GetListingProperties ¶
func (a *ShopListingAPIService) GetListingProperties(ctx context.Context, shopId int64, listingId int64) ShopListingAPIGetListingPropertiesRequest
GetListingProperties Method for GetListingProperties
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Get a listing's properties
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIGetListingPropertiesRequest
func (*ShopListingAPIService) GetListingPropertiesExecute ¶
func (a *ShopListingAPIService) GetListingPropertiesExecute(r ShopListingAPIGetListingPropertiesRequest) (*ListingPropertyValues, *http.Response, error)
Execute executes the request
@return ListingPropertyValues
func (*ShopListingAPIService) GetListingProperty ¶
func (a *ShopListingAPIService) GetListingProperty(ctx context.Context, listingId int64, propertyId int64) ShopListingAPIGetListingPropertyRequest
GetListingProperty Method for GetListingProperty
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationTertiary wt-mr-xs-2"> Feedback only </span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Give feedback</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">Development for this endpoint is in progress. It will only return a 501 response.</p></div>
Retrieves a listing's property
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param propertyId The unique ID of an Etsy [listing property](/documentation/reference#operation/getListingProperties). @return ShopListingAPIGetListingPropertyRequest
func (*ShopListingAPIService) GetListingPropertyExecute ¶
func (a *ShopListingAPIService) GetListingPropertyExecute(r ShopListingAPIGetListingPropertyRequest) (*ListingPropertyValue, *http.Response, error)
Execute executes the request
@return ListingPropertyValue
func (*ShopListingAPIService) GetListingsByListingIds ¶
func (a *ShopListingAPIService) GetListingsByListingIds(ctx context.Context) ShopListingAPIGetListingsByListingIdsRequest
GetListingsByListingIds Method for GetListingsByListingIds
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Allows to query multiple listing ids at once. Limit 100 ids maximum per query.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopListingAPIGetListingsByListingIdsRequest
func (*ShopListingAPIService) GetListingsByListingIdsExecute ¶
func (a *ShopListingAPIService) GetListingsByListingIdsExecute(r ShopListingAPIGetListingsByListingIdsRequest) (*ShopListingsWithAssociations, *http.Response, error)
Execute executes the request
@return ShopListingsWithAssociations
func (*ShopListingAPIService) GetListingsByShop ¶
func (a *ShopListingAPIService) GetListingsByShop(ctx context.Context, shopId int64) ShopListingAPIGetListingsByShopRequest
GetListingsByShop Method for GetListingsByShop
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Endpoint to list Listings that belong to a Shop. Listings can be filtered using the 'state' param.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopRequest
func (*ShopListingAPIService) GetListingsByShopExecute ¶
func (a *ShopListingAPIService) GetListingsByShopExecute(r ShopListingAPIGetListingsByShopRequest) (*ShopListingsWithAssociations, *http.Response, error)
Execute executes the request
@return ShopListingsWithAssociations
func (*ShopListingAPIService) GetListingsByShopReceipt ¶
func (a *ShopListingAPIService) GetListingsByShopReceipt(ctx context.Context, receiptId int64, shopId int64) ShopListingAPIGetListingsByShopReceiptRequest
GetListingsByShopReceipt Method for GetListingsByShopReceipt
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Gets all listings associated with a receipt.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopReceiptRequest
func (*ShopListingAPIService) GetListingsByShopReceiptExecute ¶
func (a *ShopListingAPIService) GetListingsByShopReceiptExecute(r ShopListingAPIGetListingsByShopReceiptRequest) (*ShopListings, *http.Response, error)
Execute executes the request
@return ShopListings
func (*ShopListingAPIService) GetListingsByShopReturnPolicy ¶
func (a *ShopListingAPIService) GetListingsByShopReturnPolicy(ctx context.Context, returnPolicyId int64, shopId int64) ShopListingAPIGetListingsByShopReturnPolicyRequest
GetListingsByShopReturnPolicy Method for GetListingsByShopReturnPolicy
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Gets all listings associated with a Return Policy.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopReturnPolicyRequest
func (*ShopListingAPIService) GetListingsByShopReturnPolicyExecute ¶
func (a *ShopListingAPIService) GetListingsByShopReturnPolicyExecute(r ShopListingAPIGetListingsByShopReturnPolicyRequest) (*ShopListings, *http.Response, error)
Execute executes the request
@return ShopListings
func (*ShopListingAPIService) GetListingsByShopSectionId ¶
func (a *ShopListingAPIService) GetListingsByShopSectionId(ctx context.Context, shopId int64) ShopListingAPIGetListingsByShopSectionIdRequest
GetListingsByShopSectionId Method for GetListingsByShopSectionId
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves all the listings from the section of a specific shop.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingAPIGetListingsByShopSectionIdRequest
func (*ShopListingAPIService) GetListingsByShopSectionIdExecute ¶
func (a *ShopListingAPIService) GetListingsByShopSectionIdExecute(r ShopListingAPIGetListingsByShopSectionIdRequest) (*ShopListings, *http.Response, error)
Execute executes the request
@return ShopListings
func (*ShopListingAPIService) UpdateListing ¶
func (a *ShopListingAPIService) UpdateListing(ctx context.Context, shopId int64, listingId int64) ShopListingAPIUpdateListingRequest
UpdateListing Method for UpdateListing
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates a listing, identified by a listing ID, for a specific shop identified by a shop ID. Note that this is a PATCH method type. When activating, or manually renewing a physical listing, the shipping profile referenced by the `shipping_profile_id`, and all of its fields, along with its entries and upgrades must be complete and valid. If the shipping profile is not complete and valid, we will throw an exception with an error message that guides the request sender to update whatever data is bad.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIUpdateListingRequest
func (*ShopListingAPIService) UpdateListingDeprecated ¶
func (a *ShopListingAPIService) UpdateListingDeprecated(ctx context.Context, shopId int64, listingId int64) ShopListingAPIUpdateListingDeprecatedRequest
UpdateListingDeprecated Method for UpdateListingDeprecated
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates a listing, identified by a listing ID, for a specific shop identified by a shop ID. This endpoint will be removed in the near future in favor of `updateListing` PATCH version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingAPIUpdateListingDeprecatedRequest
func (*ShopListingAPIService) UpdateListingDeprecatedExecute ¶
func (a *ShopListingAPIService) UpdateListingDeprecatedExecute(r ShopListingAPIUpdateListingDeprecatedRequest) (*ShopListing, *http.Response, error)
Execute executes the request
@return ShopListing
func (*ShopListingAPIService) UpdateListingExecute ¶
func (a *ShopListingAPIService) UpdateListingExecute(r ShopListingAPIUpdateListingRequest) (*ShopListing, *http.Response, error)
Execute executes the request
@return ShopListing
func (*ShopListingAPIService) UpdateListingProperty ¶
func (a *ShopListingAPIService) UpdateListingProperty(ctx context.Context, shopId int64, listingId int64, propertyId int64) ShopListingAPIUpdateListingPropertyRequest
UpdateListingProperty Method for UpdateListingProperty
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates or populates the properties list defining product offerings for a listing. Each offering requires both a `value` and a `value_id` that are valid for a `scale_id` assigned to the listing or that you assign to the listing with this request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param propertyId The unique ID of an Etsy [listing property](/documentation/reference#operation/getListingProperties). @return ShopListingAPIUpdateListingPropertyRequest
func (*ShopListingAPIService) UpdateListingPropertyExecute ¶
func (a *ShopListingAPIService) UpdateListingPropertyExecute(r ShopListingAPIUpdateListingPropertyRequest) (*ListingPropertyValue, *http.Response, error)
Execute executes the request
@return ListingPropertyValue
type ShopListingAPIUpdateListingDeprecatedRequest ¶
type ShopListingAPIUpdateListingDeprecatedRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIUpdateListingDeprecatedRequest) Description ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) Description(description string) ShopListingAPIUpdateListingDeprecatedRequest
A description string of the product for sale in the listing.
func (ShopListingAPIUpdateListingDeprecatedRequest) Execute ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) Execute() (*ShopListing, *http.Response, error)
func (ShopListingAPIUpdateListingDeprecatedRequest) FeaturedRank ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) FeaturedRank(featuredRank int64) ShopListingAPIUpdateListingDeprecatedRequest
The positive non-zero numeric position in the featured listings of the shop, with rank 1 listings appearing in the left-most position in featured listing on a shop’s home page.
func (ShopListingAPIUpdateListingDeprecatedRequest) ImageIds ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ImageIds(imageIds []int64) ShopListingAPIUpdateListingDeprecatedRequest
An array of numeric image IDs of the images in a listing, which can include up to 10 images.
func (ShopListingAPIUpdateListingDeprecatedRequest) IsPersonalizable ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) IsPersonalizable(isPersonalizable bool) ShopListingAPIUpdateListingDeprecatedRequest
When true, this listing is personalizable. The default value is null.
func (ShopListingAPIUpdateListingDeprecatedRequest) IsSupply ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) IsSupply(isSupply bool) ShopListingAPIUpdateListingDeprecatedRequest
When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who_made' and 'when_made'.
func (ShopListingAPIUpdateListingDeprecatedRequest) IsTaxable ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) IsTaxable(isTaxable bool) ShopListingAPIUpdateListingDeprecatedRequest
When true, applicable [shop](/documentation/reference#tag/Shop) tax rates apply to this listing at checkout.
func (ShopListingAPIUpdateListingDeprecatedRequest) ItemDimensionsUnit ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemDimensionsUnit(itemDimensionsUnit CreateDraftListingRequestItemDimensionsUnit) ShopListingAPIUpdateListingDeprecatedRequest
func (ShopListingAPIUpdateListingDeprecatedRequest) ItemHeight ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemHeight(itemHeight float32) ShopListingAPIUpdateListingDeprecatedRequest
The numeric height of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingDeprecatedRequest) ItemLength ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemLength(itemLength float32) ShopListingAPIUpdateListingDeprecatedRequest
The numeric length of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingDeprecatedRequest) ItemWeight ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemWeight(itemWeight float32) ShopListingAPIUpdateListingDeprecatedRequest
The numeric weight of the product measured in units set in 'item_weight_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingDeprecatedRequest) ItemWeightUnit ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemWeightUnit(itemWeightUnit CreateDraftListingRequestItemWeightUnit) ShopListingAPIUpdateListingDeprecatedRequest
func (ShopListingAPIUpdateListingDeprecatedRequest) ItemWidth ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ItemWidth(itemWidth float32) ShopListingAPIUpdateListingDeprecatedRequest
The numeric width of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingDeprecatedRequest) Materials ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) Materials(materials []string) ShopListingAPIUpdateListingDeprecatedRequest
A list of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null.
func (ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationCharCountMax ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationCharCountMax(personalizationCharCountMax int64) ShopListingAPIUpdateListingDeprecatedRequest
This is an integer value representing the maximum length for the personalization message entered by the buyer. Will only change if is_personalizable is 'true'.
func (ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationInstructions ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationInstructions(personalizationInstructions string) ShopListingAPIUpdateListingDeprecatedRequest
A string representing instructions for the buyer to enter the personalization. Will only change if is_personalizable is 'true'.
func (ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationIsRequired ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) PersonalizationIsRequired(personalizationIsRequired bool) ShopListingAPIUpdateListingDeprecatedRequest
When true, this listing requires personalization. The default value is null. Will only change if is_personalizable is 'true'.
func (ShopListingAPIUpdateListingDeprecatedRequest) ProductionPartnerIds ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ProductionPartnerIds(productionPartnerIds []int64) ShopListingAPIUpdateListingDeprecatedRequest
An array of unique IDs of production partner ids.
func (ShopListingAPIUpdateListingDeprecatedRequest) ShippingProfileId ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ShippingProfileId(shippingProfileId int64) ShopListingAPIUpdateListingDeprecatedRequest
The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`.
func (ShopListingAPIUpdateListingDeprecatedRequest) ShopSectionId ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ShopSectionId(shopSectionId int64) ShopListingAPIUpdateListingDeprecatedRequest
The numeric ID of the [shop section](/documentation/reference#tag/Shop-Section) for this listing. Default value is null.
func (ShopListingAPIUpdateListingDeprecatedRequest) ShouldAutoRenew ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) ShouldAutoRenew(shouldAutoRenew bool) ShopListingAPIUpdateListingDeprecatedRequest
When true, renews a listing for four months upon expiration.
func (ShopListingAPIUpdateListingDeprecatedRequest) Tags ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) Tags(tags []string) ShopListingAPIUpdateListingDeprecatedRequest
A comma-separated list of tag strings for the listing. When creating or updating a listing, valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}\\\\-'™©®]/u) Default value is null.
func (ShopListingAPIUpdateListingDeprecatedRequest) TaxonomyId ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) TaxonomyId(taxonomyId int64) ShopListingAPIUpdateListingDeprecatedRequest
The numerical taxonomy ID of the listing. See [SellerTaxonomy](/documentation/reference#tag/SellerTaxonomy) and [BuyerTaxonomy](/documentation/reference#tag/BuyerTaxonomy) for more information.
func (ShopListingAPIUpdateListingDeprecatedRequest) Title ¶
func (r ShopListingAPIUpdateListingDeprecatedRequest) Title(title string) ShopListingAPIUpdateListingDeprecatedRequest
The listing's title string. When creating or updating a listing, valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{P}\\\\p{Sm}\\\\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each.
type ShopListingAPIUpdateListingPropertyRequest ¶
type ShopListingAPIUpdateListingPropertyRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIUpdateListingPropertyRequest) Execute ¶
func (r ShopListingAPIUpdateListingPropertyRequest) Execute() (*ListingPropertyValue, *http.Response, error)
func (ShopListingAPIUpdateListingPropertyRequest) ScaleId ¶
func (r ShopListingAPIUpdateListingPropertyRequest) ScaleId(scaleId int64) ShopListingAPIUpdateListingPropertyRequest
The numeric ID of a single Etsy.com measurement scale. For example, for shoe size, there are three `scale_id`s available - `UK`, `US/Canada`, and `EU`, where `US/Canada` has `scale_id` 19.
func (ShopListingAPIUpdateListingPropertyRequest) ValueIds ¶
func (r ShopListingAPIUpdateListingPropertyRequest) ValueIds(valueIds []int64) ShopListingAPIUpdateListingPropertyRequest
An array of unique IDs of multiple Etsy [listing property](/documentation/reference#operation/getListingProperties) values. For example, if your listing offers different sizes of a product, then the value ID list contains value IDs for each size.
func (ShopListingAPIUpdateListingPropertyRequest) Values ¶
func (r ShopListingAPIUpdateListingPropertyRequest) Values(values []string) ShopListingAPIUpdateListingPropertyRequest
An array of value strings for multiple Etsy [listing property](/documentation/reference#operation/getListingProperties) values. For example, if your listing offers different colored products, then the values array contains the color strings for each color. Note: parenthesis characters (`(` and `)`) are not allowed.
type ShopListingAPIUpdateListingRequest ¶
type ShopListingAPIUpdateListingRequest struct { ApiService ShopListingAPI // contains filtered or unexported fields }
func (ShopListingAPIUpdateListingRequest) Description ¶
func (r ShopListingAPIUpdateListingRequest) Description(description string) ShopListingAPIUpdateListingRequest
A description string of the product for sale in the listing.
func (ShopListingAPIUpdateListingRequest) Execute ¶
func (r ShopListingAPIUpdateListingRequest) Execute() (*ShopListing, *http.Response, error)
func (ShopListingAPIUpdateListingRequest) FeaturedRank ¶
func (r ShopListingAPIUpdateListingRequest) FeaturedRank(featuredRank int64) ShopListingAPIUpdateListingRequest
The positive non-zero numeric position in the featured listings of the shop, with rank 1 listings appearing in the left-most position in featured listing on a shop’s home page.
func (ShopListingAPIUpdateListingRequest) ImageIds ¶
func (r ShopListingAPIUpdateListingRequest) ImageIds(imageIds []int64) ShopListingAPIUpdateListingRequest
An array of numeric image IDs of the images in a listing, which can include up to 10 images.
func (ShopListingAPIUpdateListingRequest) IsPersonalizable ¶
func (r ShopListingAPIUpdateListingRequest) IsPersonalizable(isPersonalizable bool) ShopListingAPIUpdateListingRequest
When true, this listing is personalizable. The default value is null.
func (ShopListingAPIUpdateListingRequest) IsSupply ¶
func (r ShopListingAPIUpdateListingRequest) IsSupply(isSupply bool) ShopListingAPIUpdateListingRequest
When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who_made' and 'when_made'.
func (ShopListingAPIUpdateListingRequest) IsTaxable ¶
func (r ShopListingAPIUpdateListingRequest) IsTaxable(isTaxable bool) ShopListingAPIUpdateListingRequest
When true, applicable [shop](/documentation/reference#tag/Shop) tax rates apply to this listing at checkout.
func (ShopListingAPIUpdateListingRequest) ItemDimensionsUnit ¶
func (r ShopListingAPIUpdateListingRequest) ItemDimensionsUnit(itemDimensionsUnit UpdateListingRequestItemDimensionsUnit) ShopListingAPIUpdateListingRequest
func (ShopListingAPIUpdateListingRequest) ItemHeight ¶
func (r ShopListingAPIUpdateListingRequest) ItemHeight(itemHeight float32) ShopListingAPIUpdateListingRequest
The numeric height of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingRequest) ItemLength ¶
func (r ShopListingAPIUpdateListingRequest) ItemLength(itemLength float32) ShopListingAPIUpdateListingRequest
The numeric length of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingRequest) ItemWeight ¶
func (r ShopListingAPIUpdateListingRequest) ItemWeight(itemWeight float32) ShopListingAPIUpdateListingRequest
The numeric weight of the product measured in units set in 'item_weight_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingRequest) ItemWeightUnit ¶
func (r ShopListingAPIUpdateListingRequest) ItemWeightUnit(itemWeightUnit UpdateListingRequestItemWeightUnit) ShopListingAPIUpdateListingRequest
func (ShopListingAPIUpdateListingRequest) ItemWidth ¶
func (r ShopListingAPIUpdateListingRequest) ItemWidth(itemWidth float32) ShopListingAPIUpdateListingRequest
The numeric width of the product measured in units set in 'item_dimensions_unit'. Default value is null. If set, the value must be greater than 0.
func (ShopListingAPIUpdateListingRequest) Materials ¶
func (r ShopListingAPIUpdateListingRequest) Materials(materials []string) ShopListingAPIUpdateListingRequest
A list of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null.
func (ShopListingAPIUpdateListingRequest) PersonalizationCharCountMax ¶
func (r ShopListingAPIUpdateListingRequest) PersonalizationCharCountMax(personalizationCharCountMax int64) ShopListingAPIUpdateListingRequest
This is an integer value representing the maximum length for the personalization message entered by the buyer. Will only change if is_personalizable is 'true'.
func (ShopListingAPIUpdateListingRequest) PersonalizationInstructions ¶
func (r ShopListingAPIUpdateListingRequest) PersonalizationInstructions(personalizationInstructions string) ShopListingAPIUpdateListingRequest
A string representing instructions for the buyer to enter the personalization. Will only change if is_personalizable is 'true'.
func (ShopListingAPIUpdateListingRequest) PersonalizationIsRequired ¶
func (r ShopListingAPIUpdateListingRequest) PersonalizationIsRequired(personalizationIsRequired bool) ShopListingAPIUpdateListingRequest
When true, this listing requires personalization. The default value is null. Will only change if is_personalizable is 'true'.
func (ShopListingAPIUpdateListingRequest) ProductionPartnerIds ¶
func (r ShopListingAPIUpdateListingRequest) ProductionPartnerIds(productionPartnerIds []int64) ShopListingAPIUpdateListingRequest
An array of unique IDs of production partner ids.
func (ShopListingAPIUpdateListingRequest) ReturnPolicyId ¶
func (r ShopListingAPIUpdateListingRequest) ReturnPolicyId(returnPolicyId int64) ShopListingAPIUpdateListingRequest
The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). Required for active physical listings. This requirement does not apply to listings of EU-based shops.
func (ShopListingAPIUpdateListingRequest) ShippingProfileId ¶
func (r ShopListingAPIUpdateListingRequest) ShippingProfileId(shippingProfileId int64) ShopListingAPIUpdateListingRequest
The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`.
func (ShopListingAPIUpdateListingRequest) ShopSectionId ¶
func (r ShopListingAPIUpdateListingRequest) ShopSectionId(shopSectionId int64) ShopListingAPIUpdateListingRequest
The numeric ID of the [shop section](/documentation/reference#tag/Shop-Section) for this listing. Default value is null.
func (ShopListingAPIUpdateListingRequest) ShouldAutoRenew ¶
func (r ShopListingAPIUpdateListingRequest) ShouldAutoRenew(shouldAutoRenew bool) ShopListingAPIUpdateListingRequest
When true, renews a listing for four months upon expiration.
func (ShopListingAPIUpdateListingRequest) Tags ¶
func (r ShopListingAPIUpdateListingRequest) Tags(tags []string) ShopListingAPIUpdateListingRequest
A comma-separated list of tag strings for the listing. When creating or updating a listing, valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}\\\\-'™©®]/u) Default value is null.
func (ShopListingAPIUpdateListingRequest) TaxonomyId ¶
func (r ShopListingAPIUpdateListingRequest) TaxonomyId(taxonomyId int64) ShopListingAPIUpdateListingRequest
The numerical taxonomy ID of the listing. See [SellerTaxonomy](/documentation/reference#tag/SellerTaxonomy) and [BuyerTaxonomy](/documentation/reference#tag/BuyerTaxonomy) for more information.
func (ShopListingAPIUpdateListingRequest) Title ¶
func (r ShopListingAPIUpdateListingRequest) Title(title string) ShopListingAPIUpdateListingRequest
The listing's title string. When creating or updating a listing, valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{P}\\\\p{Sm}\\\\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each.
func (ShopListingAPIUpdateListingRequest) WhenMade ¶
func (r ShopListingAPIUpdateListingRequest) WhenMade(whenMade CreateDraftListingRequestWhenMade) ShopListingAPIUpdateListingRequest
func (ShopListingAPIUpdateListingRequest) WhoMade ¶
func (r ShopListingAPIUpdateListingRequest) WhoMade(whoMade CreateDraftListingRequestWhoMade) ShopListingAPIUpdateListingRequest
type ShopListingFile ¶
type ShopListingFile struct { // The unique numeric ID of a file associated with a digital listing. ListingFileId *int64 `json:"listing_file_id,omitempty"` // The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. ListingId *int64 `json:"listing_id,omitempty"` // The numeric index of the display order position of this file in the listing, starting at 1. Rank *int64 `json:"rank,omitempty"` // The file name string for a file associated with a digital listing. Filename *string `json:"filename,omitempty"` // A human-readable format size string for the size of a file. Filesize *string `json:"filesize,omitempty"` // A number indicating the size of a file, measured in bytes. SizeBytes *int64 `json:"size_bytes,omitempty"` // A type string indicating a file's MIME type. Filetype *string `json:"filetype,omitempty"` // The unique numeric ID of a file associated with a digital listing. CreateTimestamp *int64 `json:"create_timestamp,omitempty"` // The unique numeric ID of a file associated with a digital listing. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` AdditionalProperties map[string]interface{} }
ShopListingFile A file associated with a digital listing.
func NewShopListingFile ¶
func NewShopListingFile() *ShopListingFile
NewShopListingFile instantiates a new ShopListingFile 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
func NewShopListingFileWithDefaults ¶
func NewShopListingFileWithDefaults() *ShopListingFile
NewShopListingFileWithDefaults instantiates a new ShopListingFile 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
func (*ShopListingFile) GetCreateTimestamp ¶
func (o *ShopListingFile) GetCreateTimestamp() int64
GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.
func (*ShopListingFile) GetCreateTimestampOk ¶
func (o *ShopListingFile) GetCreateTimestampOk() (*int64, bool)
GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetCreatedTimestamp ¶
func (o *ShopListingFile) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ShopListingFile) GetCreatedTimestampOk ¶
func (o *ShopListingFile) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetFilename ¶
func (o *ShopListingFile) GetFilename() string
GetFilename returns the Filename field value if set, zero value otherwise.
func (*ShopListingFile) GetFilenameOk ¶
func (o *ShopListingFile) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetFilesize ¶
func (o *ShopListingFile) GetFilesize() string
GetFilesize returns the Filesize field value if set, zero value otherwise.
func (*ShopListingFile) GetFilesizeOk ¶
func (o *ShopListingFile) GetFilesizeOk() (*string, bool)
GetFilesizeOk returns a tuple with the Filesize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetFiletype ¶
func (o *ShopListingFile) GetFiletype() string
GetFiletype returns the Filetype field value if set, zero value otherwise.
func (*ShopListingFile) GetFiletypeOk ¶
func (o *ShopListingFile) GetFiletypeOk() (*string, bool)
GetFiletypeOk returns a tuple with the Filetype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetListingFileId ¶
func (o *ShopListingFile) GetListingFileId() int64
GetListingFileId returns the ListingFileId field value if set, zero value otherwise.
func (*ShopListingFile) GetListingFileIdOk ¶
func (o *ShopListingFile) GetListingFileIdOk() (*int64, bool)
GetListingFileIdOk returns a tuple with the ListingFileId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetListingId ¶
func (o *ShopListingFile) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise.
func (*ShopListingFile) GetListingIdOk ¶
func (o *ShopListingFile) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetRank ¶
func (o *ShopListingFile) GetRank() int64
GetRank returns the Rank field value if set, zero value otherwise.
func (*ShopListingFile) GetRankOk ¶
func (o *ShopListingFile) GetRankOk() (*int64, bool)
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) GetSizeBytes ¶
func (o *ShopListingFile) GetSizeBytes() int64
GetSizeBytes returns the SizeBytes field value if set, zero value otherwise.
func (*ShopListingFile) GetSizeBytesOk ¶
func (o *ShopListingFile) GetSizeBytesOk() (*int64, bool)
GetSizeBytesOk returns a tuple with the SizeBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFile) HasCreateTimestamp ¶
func (o *ShopListingFile) HasCreateTimestamp() bool
HasCreateTimestamp returns a boolean if a field has been set.
func (*ShopListingFile) HasCreatedTimestamp ¶
func (o *ShopListingFile) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ShopListingFile) HasFilename ¶
func (o *ShopListingFile) HasFilename() bool
HasFilename returns a boolean if a field has been set.
func (*ShopListingFile) HasFilesize ¶
func (o *ShopListingFile) HasFilesize() bool
HasFilesize returns a boolean if a field has been set.
func (*ShopListingFile) HasFiletype ¶
func (o *ShopListingFile) HasFiletype() bool
HasFiletype returns a boolean if a field has been set.
func (*ShopListingFile) HasListingFileId ¶
func (o *ShopListingFile) HasListingFileId() bool
HasListingFileId returns a boolean if a field has been set.
func (*ShopListingFile) HasListingId ¶
func (o *ShopListingFile) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*ShopListingFile) HasRank ¶
func (o *ShopListingFile) HasRank() bool
HasRank returns a boolean if a field has been set.
func (*ShopListingFile) HasSizeBytes ¶
func (o *ShopListingFile) HasSizeBytes() bool
HasSizeBytes returns a boolean if a field has been set.
func (ShopListingFile) MarshalJSON ¶
func (o ShopListingFile) MarshalJSON() ([]byte, error)
func (*ShopListingFile) SetCreateTimestamp ¶
func (o *ShopListingFile) SetCreateTimestamp(v int64)
SetCreateTimestamp gets a reference to the given int64 and assigns it to the CreateTimestamp field.
func (*ShopListingFile) SetCreatedTimestamp ¶
func (o *ShopListingFile) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ShopListingFile) SetFilename ¶
func (o *ShopListingFile) SetFilename(v string)
SetFilename gets a reference to the given string and assigns it to the Filename field.
func (*ShopListingFile) SetFilesize ¶
func (o *ShopListingFile) SetFilesize(v string)
SetFilesize gets a reference to the given string and assigns it to the Filesize field.
func (*ShopListingFile) SetFiletype ¶
func (o *ShopListingFile) SetFiletype(v string)
SetFiletype gets a reference to the given string and assigns it to the Filetype field.
func (*ShopListingFile) SetListingFileId ¶
func (o *ShopListingFile) SetListingFileId(v int64)
SetListingFileId gets a reference to the given int64 and assigns it to the ListingFileId field.
func (*ShopListingFile) SetListingId ¶
func (o *ShopListingFile) SetListingId(v int64)
SetListingId gets a reference to the given int64 and assigns it to the ListingId field.
func (*ShopListingFile) SetRank ¶
func (o *ShopListingFile) SetRank(v int64)
SetRank gets a reference to the given int64 and assigns it to the Rank field.
func (*ShopListingFile) SetSizeBytes ¶
func (o *ShopListingFile) SetSizeBytes(v int64)
SetSizeBytes gets a reference to the given int64 and assigns it to the SizeBytes field.
func (ShopListingFile) ToMap ¶
func (o ShopListingFile) ToMap() (map[string]interface{}, error)
type ShopListingFileAPI ¶
type ShopListingFileAPI interface { /* DeleteListingFile Method for DeleteListingFile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Deletes a file from a specific listing. When you delete the final file for a digital listing, the listing converts into a physical listing. The response to a delete request returns a list of the remaining file records associated with the given listing. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingFileId The unique numeric ID of a file associated with a digital listing. @return ShopListingFileAPIDeleteListingFileRequest */ DeleteListingFile(ctx context.Context, shopId int64, listingId int64, listingFileId int64) ShopListingFileAPIDeleteListingFileRequest // DeleteListingFileExecute executes the request DeleteListingFileExecute(r ShopListingFileAPIDeleteListingFileRequest) (*http.Response, error) /* GetAllListingFiles Method for GetAllListingFiles <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves all the files associated with the given digital listing. Requesting files from a physical listing returns an empty result. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingFileAPIGetAllListingFilesRequest */ GetAllListingFiles(ctx context.Context, listingId int64, shopId int64) ShopListingFileAPIGetAllListingFilesRequest // GetAllListingFilesExecute executes the request // @return ShopListingFiles GetAllListingFilesExecute(r ShopListingFileAPIGetAllListingFilesRequest) (*ShopListingFiles, *http.Response, error) /* GetListingFile Method for GetListingFile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a single file associated with the given digital listing. Requesting a file from a physical listing returns an empty result. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingFileId The unique numeric ID of a file associated with a digital listing. @return ShopListingFileAPIGetListingFileRequest */ GetListingFile(ctx context.Context, shopId int64, listingId int64, listingFileId int64) ShopListingFileAPIGetListingFileRequest // GetListingFileExecute executes the request // @return ShopListingFile GetListingFileExecute(r ShopListingFileAPIGetListingFileRequest) (*ShopListingFile, *http.Response, error) /* UploadListingFile Method for UploadListingFile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Uploads a new file for a digital listing, or associates an existing file with a specific listing. You must either provide the `listing_file_id` of an existing file, or the name and binary file data for a file to upload. Associating an existing file to a physical listing converts the physical listing into a digital listing, which removes all shipping costs and any product and inventory variations. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingFileAPIUploadListingFileRequest */ UploadListingFile(ctx context.Context, shopId int64, listingId int64) ShopListingFileAPIUploadListingFileRequest // UploadListingFileExecute executes the request // @return ShopListingFile UploadListingFileExecute(r ShopListingFileAPIUploadListingFileRequest) (*ShopListingFile, *http.Response, error) }
type ShopListingFileAPIDeleteListingFileRequest ¶
type ShopListingFileAPIDeleteListingFileRequest struct { ApiService ShopListingFileAPI // contains filtered or unexported fields }
type ShopListingFileAPIGetAllListingFilesRequest ¶
type ShopListingFileAPIGetAllListingFilesRequest struct { ApiService ShopListingFileAPI // contains filtered or unexported fields }
func (ShopListingFileAPIGetAllListingFilesRequest) Execute ¶
func (r ShopListingFileAPIGetAllListingFilesRequest) Execute() (*ShopListingFiles, *http.Response, error)
type ShopListingFileAPIGetListingFileRequest ¶
type ShopListingFileAPIGetListingFileRequest struct { ApiService ShopListingFileAPI // contains filtered or unexported fields }
func (ShopListingFileAPIGetListingFileRequest) Execute ¶
func (r ShopListingFileAPIGetListingFileRequest) Execute() (*ShopListingFile, *http.Response, error)
type ShopListingFileAPIService ¶
type ShopListingFileAPIService service
ShopListingFileAPIService ShopListingFileAPI service
func (*ShopListingFileAPIService) DeleteListingFile ¶
func (a *ShopListingFileAPIService) DeleteListingFile(ctx context.Context, shopId int64, listingId int64, listingFileId int64) ShopListingFileAPIDeleteListingFileRequest
DeleteListingFile Method for DeleteListingFile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Deletes a file from a specific listing. When you delete the final file for a digital listing, the listing converts into a physical listing. The response to a delete request returns a list of the remaining file records associated with the given listing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingFileId The unique numeric ID of a file associated with a digital listing. @return ShopListingFileAPIDeleteListingFileRequest
func (*ShopListingFileAPIService) DeleteListingFileExecute ¶
func (a *ShopListingFileAPIService) DeleteListingFileExecute(r ShopListingFileAPIDeleteListingFileRequest) (*http.Response, error)
Execute executes the request
func (*ShopListingFileAPIService) GetAllListingFiles ¶
func (a *ShopListingFileAPIService) GetAllListingFiles(ctx context.Context, listingId int64, shopId int64) ShopListingFileAPIGetAllListingFilesRequest
GetAllListingFiles Method for GetAllListingFiles
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves all the files associated with the given digital listing. Requesting files from a physical listing returns an empty result.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopListingFileAPIGetAllListingFilesRequest
func (*ShopListingFileAPIService) GetAllListingFilesExecute ¶
func (a *ShopListingFileAPIService) GetAllListingFilesExecute(r ShopListingFileAPIGetAllListingFilesRequest) (*ShopListingFiles, *http.Response, error)
Execute executes the request
@return ShopListingFiles
func (*ShopListingFileAPIService) GetListingFile ¶
func (a *ShopListingFileAPIService) GetListingFile(ctx context.Context, shopId int64, listingId int64, listingFileId int64) ShopListingFileAPIGetListingFileRequest
GetListingFile Method for GetListingFile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a single file associated with the given digital listing. Requesting a file from a physical listing returns an empty result.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingFileId The unique numeric ID of a file associated with a digital listing. @return ShopListingFileAPIGetListingFileRequest
func (*ShopListingFileAPIService) GetListingFileExecute ¶
func (a *ShopListingFileAPIService) GetListingFileExecute(r ShopListingFileAPIGetListingFileRequest) (*ShopListingFile, *http.Response, error)
Execute executes the request
@return ShopListingFile
func (*ShopListingFileAPIService) UploadListingFile ¶
func (a *ShopListingFileAPIService) UploadListingFile(ctx context.Context, shopId int64, listingId int64) ShopListingFileAPIUploadListingFileRequest
UploadListingFile Method for UploadListingFile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Uploads a new file for a digital listing, or associates an existing file with a specific listing. You must either provide the `listing_file_id` of an existing file, or the name and binary file data for a file to upload. Associating an existing file to a physical listing converts the physical listing into a digital listing, which removes all shipping costs and any product and inventory variations.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingFileAPIUploadListingFileRequest
func (*ShopListingFileAPIService) UploadListingFileExecute ¶
func (a *ShopListingFileAPIService) UploadListingFileExecute(r ShopListingFileAPIUploadListingFileRequest) (*ShopListingFile, *http.Response, error)
Execute executes the request
@return ShopListingFile
type ShopListingFileAPIUploadListingFileRequest ¶
type ShopListingFileAPIUploadListingFileRequest struct { ApiService ShopListingFileAPI // contains filtered or unexported fields }
func (ShopListingFileAPIUploadListingFileRequest) Execute ¶
func (r ShopListingFileAPIUploadListingFileRequest) Execute() (*ShopListingFile, *http.Response, error)
func (ShopListingFileAPIUploadListingFileRequest) File ¶
func (r ShopListingFileAPIUploadListingFileRequest) File(file *os.File) ShopListingFileAPIUploadListingFileRequest
A binary file to upload.
func (ShopListingFileAPIUploadListingFileRequest) ListingFileId ¶
func (r ShopListingFileAPIUploadListingFileRequest) ListingFileId(listingFileId int64) ShopListingFileAPIUploadListingFileRequest
The unique numeric ID of a file associated with a digital listing.
func (ShopListingFileAPIUploadListingFileRequest) Name ¶
func (r ShopListingFileAPIUploadListingFileRequest) Name(name string) ShopListingFileAPIUploadListingFileRequest
The file name string of a file to upload
func (ShopListingFileAPIUploadListingFileRequest) Rank ¶
func (r ShopListingFileAPIUploadListingFileRequest) Rank(rank int64) ShopListingFileAPIUploadListingFileRequest
The positive non-zero numeric position in the images displayed in a listing, with rank 1 images appearing in the left-most position in a listing.
type ShopListingFiles ¶
type ShopListingFiles struct { // The number of ShopListingFiles being returned.. Count *int64 `json:"count,omitempty"` // An array of ShopListingFile resources. Results []ShopListingFile `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopListingFiles Represents several ShopListingFiles.
func NewShopListingFiles ¶
func NewShopListingFiles() *ShopListingFiles
NewShopListingFiles instantiates a new ShopListingFiles 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
func NewShopListingFilesWithDefaults ¶
func NewShopListingFilesWithDefaults() *ShopListingFiles
NewShopListingFilesWithDefaults instantiates a new ShopListingFiles 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
func (*ShopListingFiles) GetCount ¶
func (o *ShopListingFiles) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopListingFiles) GetCountOk ¶
func (o *ShopListingFiles) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFiles) GetResults ¶
func (o *ShopListingFiles) GetResults() []ShopListingFile
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopListingFiles) GetResultsOk ¶
func (o *ShopListingFiles) GetResultsOk() ([]ShopListingFile, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingFiles) HasCount ¶
func (o *ShopListingFiles) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopListingFiles) HasResults ¶
func (o *ShopListingFiles) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopListingFiles) MarshalJSON ¶
func (o ShopListingFiles) MarshalJSON() ([]byte, error)
func (*ShopListingFiles) SetCount ¶
func (o *ShopListingFiles) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopListingFiles) SetResults ¶
func (o *ShopListingFiles) SetResults(v []ShopListingFile)
SetResults gets a reference to the given []ShopListingFile and assigns it to the Results field.
func (ShopListingFiles) ToMap ¶
func (o ShopListingFiles) ToMap() (map[string]interface{}, error)
type ShopListingImageAPI ¶
type ShopListingImageAPI interface { /* DeleteListingImage Method for DeleteListingImage <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 endpoint to delete a listing image. A copy of the file remains on our servers, and so a deleted image may be re-associated with the listing without re-uploading the original image; see uploadListingImage. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingImageId The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. @return ShopListingImageAPIDeleteListingImageRequest */ DeleteListingImage(ctx context.Context, shopId int64, listingId int64, listingImageId int64) ShopListingImageAPIDeleteListingImageRequest // DeleteListingImageExecute executes the request DeleteListingImageExecute(r ShopListingImageAPIDeleteListingImageRequest) (*http.Response, error) /* GetListingImage Method for GetListingImage <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the references and metadata for a listing image with a specific image ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingImageId The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. @return ShopListingImageAPIGetListingImageRequest */ GetListingImage(ctx context.Context, listingId int64, listingImageId int64) ShopListingImageAPIGetListingImageRequest // GetListingImageExecute executes the request // @return ListingImage GetListingImageExecute(r ShopListingImageAPIGetListingImageRequest) (*ListingImage, *http.Response, error) /* GetListingImageDeprecated Method for GetListingImageDeprecated <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> NOTE: This endpoint is being deprecated in favor of not requiring the shops/:shop_id as part of the URL. Retrieves the references and metadata for a listing image with a specific image ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingImageId The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. @return ShopListingImageAPIGetListingImageDeprecatedRequest */ GetListingImageDeprecated(ctx context.Context, shopId int64, listingId int64, listingImageId int64) ShopListingImageAPIGetListingImageDeprecatedRequest // GetListingImageDeprecatedExecute executes the request // @return ListingImage GetListingImageDeprecatedExecute(r ShopListingImageAPIGetListingImageDeprecatedRequest) (*ListingImage, *http.Response, error) /* GetListingImages Method for GetListingImages <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves all listing image resources for a listing with a specific listing ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingImageAPIGetListingImagesRequest */ GetListingImages(ctx context.Context, listingId int64) ShopListingImageAPIGetListingImagesRequest // GetListingImagesExecute executes the request // @return ListingImages GetListingImagesExecute(r ShopListingImageAPIGetListingImagesRequest) (*ListingImages, *http.Response, error) /* GetListingImagesDeprecated Method for GetListingImagesDeprecated <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> NOTE: This endpoint is being deprecated in favor of not requiring the shops/:shop_id as part of the URL. Retrieves all listing image resources for a listing with a specific listing ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingImageAPIGetListingImagesDeprecatedRequest */ GetListingImagesDeprecated(ctx context.Context, shopId int64, listingId int64) ShopListingImageAPIGetListingImagesDeprecatedRequest // GetListingImagesDeprecatedExecute executes the request // @return ListingImages GetListingImagesDeprecatedExecute(r ShopListingImageAPIGetListingImagesDeprecatedRequest) (*ListingImages, *http.Response, error) /* UploadListingImage Method for UploadListingImage <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Uploads or assigns an image to a listing identified by a shop ID with a listing ID. To upload a new image, set the image file as the value for the `image` parameter. You can assign a previously deleted image to a listing using the deleted image's image ID in the `listing_image_id` parameter. When a request contains both `image` and `listing_image_id` parameter values, the endpoint uploads the image in the `image` parameter only. Note: When uploading a new image, data such as colors and size may return as null values due to asynchronous processing of the image. Use getListingImage endpoint to fetch these values. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingImageAPIUploadListingImageRequest */ UploadListingImage(ctx context.Context, shopId int64, listingId int64) ShopListingImageAPIUploadListingImageRequest // UploadListingImageExecute executes the request // @return ListingImage UploadListingImageExecute(r ShopListingImageAPIUploadListingImageRequest) (*ListingImage, *http.Response, error) }
type ShopListingImageAPIDeleteListingImageRequest ¶
type ShopListingImageAPIDeleteListingImageRequest struct { ApiService ShopListingImageAPI // contains filtered or unexported fields }
type ShopListingImageAPIGetListingImageDeprecatedRequest ¶
type ShopListingImageAPIGetListingImageDeprecatedRequest struct { ApiService ShopListingImageAPI // contains filtered or unexported fields }
func (ShopListingImageAPIGetListingImageDeprecatedRequest) Execute ¶
func (r ShopListingImageAPIGetListingImageDeprecatedRequest) Execute() (*ListingImage, *http.Response, error)
type ShopListingImageAPIGetListingImageRequest ¶
type ShopListingImageAPIGetListingImageRequest struct { ApiService ShopListingImageAPI // contains filtered or unexported fields }
func (ShopListingImageAPIGetListingImageRequest) Execute ¶
func (r ShopListingImageAPIGetListingImageRequest) Execute() (*ListingImage, *http.Response, error)
type ShopListingImageAPIGetListingImagesDeprecatedRequest ¶
type ShopListingImageAPIGetListingImagesDeprecatedRequest struct { ApiService ShopListingImageAPI // contains filtered or unexported fields }
func (ShopListingImageAPIGetListingImagesDeprecatedRequest) Execute ¶
func (r ShopListingImageAPIGetListingImagesDeprecatedRequest) Execute() (*ListingImages, *http.Response, error)
type ShopListingImageAPIGetListingImagesRequest ¶
type ShopListingImageAPIGetListingImagesRequest struct { ApiService ShopListingImageAPI // contains filtered or unexported fields }
func (ShopListingImageAPIGetListingImagesRequest) Execute ¶
func (r ShopListingImageAPIGetListingImagesRequest) Execute() (*ListingImages, *http.Response, error)
type ShopListingImageAPIService ¶
type ShopListingImageAPIService service
ShopListingImageAPIService ShopListingImageAPI service
func (*ShopListingImageAPIService) DeleteListingImage ¶
func (a *ShopListingImageAPIService) DeleteListingImage(ctx context.Context, shopId int64, listingId int64, listingImageId int64) ShopListingImageAPIDeleteListingImageRequest
DeleteListingImage Method for DeleteListingImage
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 endpoint to delete a listing image. A copy of the file remains on our servers, and so a deleted image may be re-associated with the listing without re-uploading the original image; see uploadListingImage.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingImageId The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. @return ShopListingImageAPIDeleteListingImageRequest
func (*ShopListingImageAPIService) DeleteListingImageExecute ¶
func (a *ShopListingImageAPIService) DeleteListingImageExecute(r ShopListingImageAPIDeleteListingImageRequest) (*http.Response, error)
Execute executes the request
func (*ShopListingImageAPIService) GetListingImage ¶
func (a *ShopListingImageAPIService) GetListingImage(ctx context.Context, listingId int64, listingImageId int64) ShopListingImageAPIGetListingImageRequest
GetListingImage Method for GetListingImage
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the references and metadata for a listing image with a specific image ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingImageId The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. @return ShopListingImageAPIGetListingImageRequest
func (*ShopListingImageAPIService) GetListingImageDeprecated ¶
func (a *ShopListingImageAPIService) GetListingImageDeprecated(ctx context.Context, shopId int64, listingId int64, listingImageId int64) ShopListingImageAPIGetListingImageDeprecatedRequest
GetListingImageDeprecated Method for GetListingImageDeprecated
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
NOTE: This endpoint is being deprecated in favor of not requiring the shops/:shop_id as part of the URL. Retrieves the references and metadata for a listing image with a specific image ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param listingImageId The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. @return ShopListingImageAPIGetListingImageDeprecatedRequest
func (*ShopListingImageAPIService) GetListingImageDeprecatedExecute ¶
func (a *ShopListingImageAPIService) GetListingImageDeprecatedExecute(r ShopListingImageAPIGetListingImageDeprecatedRequest) (*ListingImage, *http.Response, error)
Execute executes the request
@return ListingImage
func (*ShopListingImageAPIService) GetListingImageExecute ¶
func (a *ShopListingImageAPIService) GetListingImageExecute(r ShopListingImageAPIGetListingImageRequest) (*ListingImage, *http.Response, error)
Execute executes the request
@return ListingImage
func (*ShopListingImageAPIService) GetListingImages ¶
func (a *ShopListingImageAPIService) GetListingImages(ctx context.Context, listingId int64) ShopListingImageAPIGetListingImagesRequest
GetListingImages Method for GetListingImages
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves all listing image resources for a listing with a specific listing ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingImageAPIGetListingImagesRequest
func (*ShopListingImageAPIService) GetListingImagesDeprecated ¶
func (a *ShopListingImageAPIService) GetListingImagesDeprecated(ctx context.Context, shopId int64, listingId int64) ShopListingImageAPIGetListingImagesDeprecatedRequest
GetListingImagesDeprecated Method for GetListingImagesDeprecated
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
NOTE: This endpoint is being deprecated in favor of not requiring the shops/:shop_id as part of the URL. Retrieves all listing image resources for a listing with a specific listing ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingImageAPIGetListingImagesDeprecatedRequest
func (*ShopListingImageAPIService) GetListingImagesDeprecatedExecute ¶
func (a *ShopListingImageAPIService) GetListingImagesDeprecatedExecute(r ShopListingImageAPIGetListingImagesDeprecatedRequest) (*ListingImages, *http.Response, error)
Execute executes the request
@return ListingImages
func (*ShopListingImageAPIService) GetListingImagesExecute ¶
func (a *ShopListingImageAPIService) GetListingImagesExecute(r ShopListingImageAPIGetListingImagesRequest) (*ListingImages, *http.Response, error)
Execute executes the request
@return ListingImages
func (*ShopListingImageAPIService) UploadListingImage ¶
func (a *ShopListingImageAPIService) UploadListingImage(ctx context.Context, shopId int64, listingId int64) ShopListingImageAPIUploadListingImageRequest
UploadListingImage Method for UploadListingImage
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Uploads or assigns an image to a listing identified by a shop ID with a listing ID. To upload a new image, set the image file as the value for the `image` parameter. You can assign a previously deleted image to a listing using the deleted image's image ID in the `listing_image_id` parameter. When a request contains both `image` and `listing_image_id` parameter values, the endpoint uploads the image in the `image` parameter only. Note: When uploading a new image, data such as colors and size may return as null values due to asynchronous processing of the image. Use getListingImage endpoint to fetch these values.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingImageAPIUploadListingImageRequest
func (*ShopListingImageAPIService) UploadListingImageExecute ¶
func (a *ShopListingImageAPIService) UploadListingImageExecute(r ShopListingImageAPIUploadListingImageRequest) (*ListingImage, *http.Response, error)
Execute executes the request
@return ListingImage
type ShopListingImageAPIUploadListingImageRequest ¶
type ShopListingImageAPIUploadListingImageRequest struct { ApiService ShopListingImageAPI // contains filtered or unexported fields }
func (ShopListingImageAPIUploadListingImageRequest) AltText ¶
func (r ShopListingImageAPIUploadListingImageRequest) AltText(altText string) ShopListingImageAPIUploadListingImageRequest
Alt text for the listing image. Max length 250 characters.
func (ShopListingImageAPIUploadListingImageRequest) Execute ¶
func (r ShopListingImageAPIUploadListingImageRequest) Execute() (*ListingImage, *http.Response, error)
func (ShopListingImageAPIUploadListingImageRequest) Image ¶
func (r ShopListingImageAPIUploadListingImageRequest) Image(image *os.File) ShopListingImageAPIUploadListingImageRequest
The file name string of a file to upload
func (ShopListingImageAPIUploadListingImageRequest) IsWatermarked ¶
func (r ShopListingImageAPIUploadListingImageRequest) IsWatermarked(isWatermarked bool) ShopListingImageAPIUploadListingImageRequest
When true, indicates that the uploaded image has a watermark.
func (ShopListingImageAPIUploadListingImageRequest) ListingImageId ¶
func (r ShopListingImageAPIUploadListingImageRequest) ListingImageId(listingImageId int64) ShopListingImageAPIUploadListingImageRequest
The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction.
func (ShopListingImageAPIUploadListingImageRequest) Overwrite ¶
func (r ShopListingImageAPIUploadListingImageRequest) Overwrite(overwrite bool) ShopListingImageAPIUploadListingImageRequest
When true, this request replaces the existing image at a given rank.
func (ShopListingImageAPIUploadListingImageRequest) Rank ¶
func (r ShopListingImageAPIUploadListingImageRequest) Rank(rank int64) ShopListingImageAPIUploadListingImageRequest
The positive non-zero numeric position in the images displayed in a listing, with rank 1 images appearing in the left-most position in a listing.
type ShopListingInventoryAPI ¶
type ShopListingInventoryAPI interface { /* GetListingInventory Method for GetListingInventory <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the inventory record for a listing. Listings you did not edit using the Etsy.com inventory tools have no inventory records. This endpoint returns SKU data if you are the owner of the inventory records being fetched. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingInventoryAPIGetListingInventoryRequest */ GetListingInventory(ctx context.Context, listingId int64) ShopListingInventoryAPIGetListingInventoryRequest // GetListingInventoryExecute executes the request // @return ListingInventoryWithAssociations GetListingInventoryExecute(r ShopListingInventoryAPIGetListingInventoryRequest) (*ListingInventoryWithAssociations, *http.Response, error) /* UpdateListingInventory Method for UpdateListingInventory <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates the inventory for a listing identified by a listing ID. The update fails if the supplied values for product sku, offering quantity, and/or price are incompatible with values in `*_on_property_*` fields. When setting a price, assign a float equal to amount divided by divisor as specified in the Money resource. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingInventoryAPIUpdateListingInventoryRequest */ UpdateListingInventory(ctx context.Context, listingId int64) ShopListingInventoryAPIUpdateListingInventoryRequest // UpdateListingInventoryExecute executes the request // @return ListingInventory UpdateListingInventoryExecute(r ShopListingInventoryAPIUpdateListingInventoryRequest) (*ListingInventory, *http.Response, error) }
type ShopListingInventoryAPIGetListingInventoryRequest ¶
type ShopListingInventoryAPIGetListingInventoryRequest struct { ApiService ShopListingInventoryAPI // contains filtered or unexported fields }
func (ShopListingInventoryAPIGetListingInventoryRequest) Execute ¶
func (r ShopListingInventoryAPIGetListingInventoryRequest) Execute() (*ListingInventoryWithAssociations, *http.Response, error)
func (ShopListingInventoryAPIGetListingInventoryRequest) Includes ¶
func (r ShopListingInventoryAPIGetListingInventoryRequest) Includes(includes GetListingInventoryIncludesParameter) ShopListingInventoryAPIGetListingInventoryRequest
An enumerated string that attaches a valid association. Default value is null.
func (ShopListingInventoryAPIGetListingInventoryRequest) ShowDeleted ¶
func (r ShopListingInventoryAPIGetListingInventoryRequest) ShowDeleted(showDeleted bool) ShopListingInventoryAPIGetListingInventoryRequest
A boolean value for inventory whether to include deleted products and their offerings. Default value is false.
type ShopListingInventoryAPIService ¶
type ShopListingInventoryAPIService service
ShopListingInventoryAPIService ShopListingInventoryAPI service
func (*ShopListingInventoryAPIService) GetListingInventory ¶
func (a *ShopListingInventoryAPIService) GetListingInventory(ctx context.Context, listingId int64) ShopListingInventoryAPIGetListingInventoryRequest
GetListingInventory Method for GetListingInventory
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the inventory record for a listing. Listings you did not edit using the Etsy.com inventory tools have no inventory records. This endpoint returns SKU data if you are the owner of the inventory records being fetched.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingInventoryAPIGetListingInventoryRequest
func (*ShopListingInventoryAPIService) GetListingInventoryExecute ¶
func (a *ShopListingInventoryAPIService) GetListingInventoryExecute(r ShopListingInventoryAPIGetListingInventoryRequest) (*ListingInventoryWithAssociations, *http.Response, error)
Execute executes the request
@return ListingInventoryWithAssociations
func (*ShopListingInventoryAPIService) UpdateListingInventory ¶
func (a *ShopListingInventoryAPIService) UpdateListingInventory(ctx context.Context, listingId int64) ShopListingInventoryAPIUpdateListingInventoryRequest
UpdateListingInventory Method for UpdateListingInventory
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates the inventory for a listing identified by a listing ID. The update fails if the supplied values for product sku, offering quantity, and/or price are incompatible with values in `*_on_property_*` fields. When setting a price, assign a float equal to amount divided by divisor as specified in the Money resource.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingInventoryAPIUpdateListingInventoryRequest
func (*ShopListingInventoryAPIService) UpdateListingInventoryExecute ¶
func (a *ShopListingInventoryAPIService) UpdateListingInventoryExecute(r ShopListingInventoryAPIUpdateListingInventoryRequest) (*ListingInventory, *http.Response, error)
Execute executes the request
@return ListingInventory
type ShopListingInventoryAPIUpdateListingInventoryRequest ¶
type ShopListingInventoryAPIUpdateListingInventoryRequest struct { ApiService ShopListingInventoryAPI // contains filtered or unexported fields }
func (ShopListingInventoryAPIUpdateListingInventoryRequest) Execute ¶
func (r ShopListingInventoryAPIUpdateListingInventoryRequest) Execute() (*ListingInventory, *http.Response, error)
func (ShopListingInventoryAPIUpdateListingInventoryRequest) UpdateListingInventoryRequest ¶
func (r ShopListingInventoryAPIUpdateListingInventoryRequest) UpdateListingInventoryRequest(updateListingInventoryRequest UpdateListingInventoryRequest) ShopListingInventoryAPIUpdateListingInventoryRequest
type ShopListingOfferingAPI ¶
type ShopListingOfferingAPI interface { /* GetListingOffering Method for GetListingOffering <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Get an Offering for a Listing @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId @param productId @param productOfferingId @return ShopListingOfferingAPIGetListingOfferingRequest */ GetListingOffering(ctx context.Context, listingId int64, productId int64, productOfferingId int64) ShopListingOfferingAPIGetListingOfferingRequest // GetListingOfferingExecute executes the request // @return ListingInventoryProductOffering GetListingOfferingExecute(r ShopListingOfferingAPIGetListingOfferingRequest) (*ListingInventoryProductOffering, *http.Response, error) }
type ShopListingOfferingAPIGetListingOfferingRequest ¶
type ShopListingOfferingAPIGetListingOfferingRequest struct { ApiService ShopListingOfferingAPI // contains filtered or unexported fields }
func (ShopListingOfferingAPIGetListingOfferingRequest) Execute ¶
func (r ShopListingOfferingAPIGetListingOfferingRequest) Execute() (*ListingInventoryProductOffering, *http.Response, error)
type ShopListingOfferingAPIService ¶
type ShopListingOfferingAPIService service
ShopListingOfferingAPIService ShopListingOfferingAPI service
func (*ShopListingOfferingAPIService) GetListingOffering ¶
func (a *ShopListingOfferingAPIService) GetListingOffering(ctx context.Context, listingId int64, productId int64, productOfferingId int64) ShopListingOfferingAPIGetListingOfferingRequest
GetListingOffering Method for GetListingOffering
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Get an Offering for a Listing
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId @param productId @param productOfferingId @return ShopListingOfferingAPIGetListingOfferingRequest
func (*ShopListingOfferingAPIService) GetListingOfferingExecute ¶
func (a *ShopListingOfferingAPIService) GetListingOfferingExecute(r ShopListingOfferingAPIGetListingOfferingRequest) (*ListingInventoryProductOffering, *http.Response, error)
Execute executes the request
@return ListingInventoryProductOffering
type ShopListingProductAPI ¶
type ShopListingProductAPI interface { /* GetListingProduct Method for GetListingProduct <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 endpoint to retrieve a ListingProduct by ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The listing to return a ListingProduct for. @param productId The numeric ID for a specific [product](/documentation/reference#tag/ShopListing-Product) purchased from a listing. @return ShopListingProductAPIGetListingProductRequest */ GetListingProduct(ctx context.Context, listingId int64, productId int64) ShopListingProductAPIGetListingProductRequest // GetListingProductExecute executes the request // @return ListingInventoryProduct GetListingProductExecute(r ShopListingProductAPIGetListingProductRequest) (*ListingInventoryProduct, *http.Response, error) }
type ShopListingProductAPIGetListingProductRequest ¶
type ShopListingProductAPIGetListingProductRequest struct { ApiService ShopListingProductAPI // contains filtered or unexported fields }
func (ShopListingProductAPIGetListingProductRequest) Execute ¶
func (r ShopListingProductAPIGetListingProductRequest) Execute() (*ListingInventoryProduct, *http.Response, error)
type ShopListingProductAPIService ¶
type ShopListingProductAPIService service
ShopListingProductAPIService ShopListingProductAPI service
func (*ShopListingProductAPIService) GetListingProduct ¶
func (a *ShopListingProductAPIService) GetListingProduct(ctx context.Context, listingId int64, productId int64) ShopListingProductAPIGetListingProductRequest
GetListingProduct Method for GetListingProduct
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 endpoint to retrieve a ListingProduct by ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The listing to return a ListingProduct for. @param productId The numeric ID for a specific [product](/documentation/reference#tag/ShopListing-Product) purchased from a listing. @return ShopListingProductAPIGetListingProductRequest
func (*ShopListingProductAPIService) GetListingProductExecute ¶
func (a *ShopListingProductAPIService) GetListingProductExecute(r ShopListingProductAPIGetListingProductRequest) (*ListingInventoryProduct, *http.Response, error)
Execute executes the request
@return ListingInventoryProduct
type ShopListingState ¶
type ShopListingState string
ShopListingState When _updating_ a listing, this value can be either `active` or `inactive`. Note: Setting a `draft` listing to `active` will also publish the listing on etsy.com and requires that the listing have an image set. Setting a `sold_out` listing to active will update the quantity to 1 and renew the listing on etsy.com.
const ( SHOPLISTINGSTATE_ACTIVE ShopListingState = "active" SHOPLISTINGSTATE_INACTIVE ShopListingState = "inactive" SHOPLISTINGSTATE_SOLD_OUT ShopListingState = "sold_out" SHOPLISTINGSTATE_DRAFT ShopListingState = "draft" SHOPLISTINGSTATE_EXPIRED ShopListingState = "expired" )
List of ShopListing_state
func NewShopListingStateFromValue ¶
func NewShopListingStateFromValue(v string) (*ShopListingState, error)
NewShopListingStateFromValue returns a pointer to a valid ShopListingState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShopListingState) IsValid ¶
func (v ShopListingState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ShopListingState) Ptr ¶
func (v ShopListingState) Ptr() *ShopListingState
Ptr returns reference to ShopListing_state value
func (*ShopListingState) UnmarshalJSON ¶
func (v *ShopListingState) UnmarshalJSON(src []byte) error
type ShopListingTranslationAPI ¶
type ShopListingTranslationAPI interface { /* CreateListingTranslation Method for CreateListingTranslation <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates a ListingTranslation by listing_id and language @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param language The IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`. @return ShopListingTranslationAPICreateListingTranslationRequest */ CreateListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPICreateListingTranslationRequest // CreateListingTranslationExecute executes the request // @return ListingTranslation CreateListingTranslationExecute(r ShopListingTranslationAPICreateListingTranslationRequest) (*ListingTranslation, *http.Response, error) /* GetListingTranslation Method for GetListingTranslation <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Get a Translation for a Listing in the given language @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param language The IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`. @return ShopListingTranslationAPIGetListingTranslationRequest */ GetListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPIGetListingTranslationRequest // GetListingTranslationExecute executes the request // @return ListingTranslation GetListingTranslationExecute(r ShopListingTranslationAPIGetListingTranslationRequest) (*ListingTranslation, *http.Response, error) /* UpdateListingTranslation Method for UpdateListingTranslation <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates a ListingTranslation by listing_id and language @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param language The IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`. @return ShopListingTranslationAPIUpdateListingTranslationRequest */ UpdateListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPIUpdateListingTranslationRequest // UpdateListingTranslationExecute executes the request // @return ListingTranslation UpdateListingTranslationExecute(r ShopListingTranslationAPIUpdateListingTranslationRequest) (*ListingTranslation, *http.Response, error) }
type ShopListingTranslationAPICreateListingTranslationRequest ¶
type ShopListingTranslationAPICreateListingTranslationRequest struct { ApiService ShopListingTranslationAPI // contains filtered or unexported fields }
func (ShopListingTranslationAPICreateListingTranslationRequest) Description ¶
func (r ShopListingTranslationAPICreateListingTranslationRequest) Description(description string) ShopListingTranslationAPICreateListingTranslationRequest
The description of the Listing of this Translation.
func (ShopListingTranslationAPICreateListingTranslationRequest) Execute ¶
func (r ShopListingTranslationAPICreateListingTranslationRequest) Execute() (*ListingTranslation, *http.Response, error)
func (ShopListingTranslationAPICreateListingTranslationRequest) Tags ¶
func (r ShopListingTranslationAPICreateListingTranslationRequest) Tags(tags []string) ShopListingTranslationAPICreateListingTranslationRequest
The tags of the Listing of this Translation.
func (ShopListingTranslationAPICreateListingTranslationRequest) Title ¶
func (r ShopListingTranslationAPICreateListingTranslationRequest) Title(title string) ShopListingTranslationAPICreateListingTranslationRequest
The title of the Listing of this Translation.
type ShopListingTranslationAPIGetListingTranslationRequest ¶
type ShopListingTranslationAPIGetListingTranslationRequest struct { ApiService ShopListingTranslationAPI // contains filtered or unexported fields }
func (ShopListingTranslationAPIGetListingTranslationRequest) Execute ¶
func (r ShopListingTranslationAPIGetListingTranslationRequest) Execute() (*ListingTranslation, *http.Response, error)
type ShopListingTranslationAPIService ¶
type ShopListingTranslationAPIService service
ShopListingTranslationAPIService ShopListingTranslationAPI service
func (*ShopListingTranslationAPIService) CreateListingTranslation ¶
func (a *ShopListingTranslationAPIService) CreateListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPICreateListingTranslationRequest
CreateListingTranslation Method for CreateListingTranslation
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates a ListingTranslation by listing_id and language
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param language The IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`. @return ShopListingTranslationAPICreateListingTranslationRequest
func (*ShopListingTranslationAPIService) CreateListingTranslationExecute ¶
func (a *ShopListingTranslationAPIService) CreateListingTranslationExecute(r ShopListingTranslationAPICreateListingTranslationRequest) (*ListingTranslation, *http.Response, error)
Execute executes the request
@return ListingTranslation
func (*ShopListingTranslationAPIService) GetListingTranslation ¶
func (a *ShopListingTranslationAPIService) GetListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPIGetListingTranslationRequest
GetListingTranslation Method for GetListingTranslation
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Get a Translation for a Listing in the given language
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param language The IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`. @return ShopListingTranslationAPIGetListingTranslationRequest
func (*ShopListingTranslationAPIService) GetListingTranslationExecute ¶
func (a *ShopListingTranslationAPIService) GetListingTranslationExecute(r ShopListingTranslationAPIGetListingTranslationRequest) (*ListingTranslation, *http.Response, error)
Execute executes the request
@return ListingTranslation
func (*ShopListingTranslationAPIService) UpdateListingTranslation ¶
func (a *ShopListingTranslationAPIService) UpdateListingTranslation(ctx context.Context, shopId int64, listingId int64, language string) ShopListingTranslationAPIUpdateListingTranslationRequest
UpdateListingTranslation Method for UpdateListingTranslation
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates a ListingTranslation by listing_id and language
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param language The IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`. @return ShopListingTranslationAPIUpdateListingTranslationRequest
func (*ShopListingTranslationAPIService) UpdateListingTranslationExecute ¶
func (a *ShopListingTranslationAPIService) UpdateListingTranslationExecute(r ShopListingTranslationAPIUpdateListingTranslationRequest) (*ListingTranslation, *http.Response, error)
Execute executes the request
@return ListingTranslation
type ShopListingTranslationAPIUpdateListingTranslationRequest ¶
type ShopListingTranslationAPIUpdateListingTranslationRequest struct { ApiService ShopListingTranslationAPI // contains filtered or unexported fields }
func (ShopListingTranslationAPIUpdateListingTranslationRequest) Description ¶
func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Description(description string) ShopListingTranslationAPIUpdateListingTranslationRequest
The description of the Listing of this Translation.
func (ShopListingTranslationAPIUpdateListingTranslationRequest) Execute ¶
func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Execute() (*ListingTranslation, *http.Response, error)
func (ShopListingTranslationAPIUpdateListingTranslationRequest) Tags ¶
func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Tags(tags []string) ShopListingTranslationAPIUpdateListingTranslationRequest
The tags of the Listing of this Translation.
func (ShopListingTranslationAPIUpdateListingTranslationRequest) Title ¶
func (r ShopListingTranslationAPIUpdateListingTranslationRequest) Title(title string) ShopListingTranslationAPIUpdateListingTranslationRequest
The title of the Listing of this Translation.
type ShopListingVariationImageAPI ¶
type ShopListingVariationImageAPI interface { /* GetListingVariationImages Method for GetListingVariationImages <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Gets all variation images on a listing. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVariationImageAPIGetListingVariationImagesRequest */ GetListingVariationImages(ctx context.Context, shopId int64, listingId int64) ShopListingVariationImageAPIGetListingVariationImagesRequest // GetListingVariationImagesExecute executes the request // @return ListingVariationImages GetListingVariationImagesExecute(r ShopListingVariationImageAPIGetListingVariationImagesRequest) (*ListingVariationImages, *http.Response, error) /* UpdateVariationImages Method for UpdateVariationImages <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates variation images on a listing. `variation_images` is an array with inputs for the `property_id`, `value_id`, and `image_id` fields. `image_ids` are associated with a `ListingImage` on the listing associated with the provided `listing_id`. `property_id` and `value_id` pairs are associated with a `ListingProduct` on the listing associated with the provided `listing_id`. `variation_images` should not contain any duplicates. `variation_images` does not contain more than one `property_id` as variation images can only be associated on one property. The update overwrites all existing variation images on a listing, so if your request is successful, the variation images on the listing will be exactly those you specify. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVariationImageAPIUpdateVariationImagesRequest */ UpdateVariationImages(ctx context.Context, shopId int64, listingId int64) ShopListingVariationImageAPIUpdateVariationImagesRequest // UpdateVariationImagesExecute executes the request // @return ListingVariationImages UpdateVariationImagesExecute(r ShopListingVariationImageAPIUpdateVariationImagesRequest) (*ListingVariationImages, *http.Response, error) }
type ShopListingVariationImageAPIGetListingVariationImagesRequest ¶
type ShopListingVariationImageAPIGetListingVariationImagesRequest struct { ApiService ShopListingVariationImageAPI // contains filtered or unexported fields }
func (ShopListingVariationImageAPIGetListingVariationImagesRequest) Execute ¶
func (r ShopListingVariationImageAPIGetListingVariationImagesRequest) Execute() (*ListingVariationImages, *http.Response, error)
type ShopListingVariationImageAPIService ¶
type ShopListingVariationImageAPIService service
ShopListingVariationImageAPIService ShopListingVariationImageAPI service
func (*ShopListingVariationImageAPIService) GetListingVariationImages ¶
func (a *ShopListingVariationImageAPIService) GetListingVariationImages(ctx context.Context, shopId int64, listingId int64) ShopListingVariationImageAPIGetListingVariationImagesRequest
GetListingVariationImages Method for GetListingVariationImages
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Gets all variation images on a listing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVariationImageAPIGetListingVariationImagesRequest
func (*ShopListingVariationImageAPIService) GetListingVariationImagesExecute ¶
func (a *ShopListingVariationImageAPIService) GetListingVariationImagesExecute(r ShopListingVariationImageAPIGetListingVariationImagesRequest) (*ListingVariationImages, *http.Response, error)
Execute executes the request
@return ListingVariationImages
func (*ShopListingVariationImageAPIService) UpdateVariationImages ¶
func (a *ShopListingVariationImageAPIService) UpdateVariationImages(ctx context.Context, shopId int64, listingId int64) ShopListingVariationImageAPIUpdateVariationImagesRequest
UpdateVariationImages Method for UpdateVariationImages
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates variation images on a listing. `variation_images` is an array with inputs for the `property_id`, `value_id`, and `image_id` fields. `image_ids` are associated with a `ListingImage` on the listing associated with the provided `listing_id`. `property_id` and `value_id` pairs are associated with a `ListingProduct` on the listing associated with the provided `listing_id`. `variation_images` should not contain any duplicates. `variation_images` does not contain more than one `property_id` as variation images can only be associated on one property. The update overwrites all existing variation images on a listing, so if your request is successful, the variation images on the listing will be exactly those you specify.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVariationImageAPIUpdateVariationImagesRequest
func (*ShopListingVariationImageAPIService) UpdateVariationImagesExecute ¶
func (a *ShopListingVariationImageAPIService) UpdateVariationImagesExecute(r ShopListingVariationImageAPIUpdateVariationImagesRequest) (*ListingVariationImages, *http.Response, error)
Execute executes the request
@return ListingVariationImages
type ShopListingVariationImageAPIUpdateVariationImagesRequest ¶
type ShopListingVariationImageAPIUpdateVariationImagesRequest struct { ApiService ShopListingVariationImageAPI // contains filtered or unexported fields }
func (ShopListingVariationImageAPIUpdateVariationImagesRequest) Execute ¶
func (r ShopListingVariationImageAPIUpdateVariationImagesRequest) Execute() (*ListingVariationImages, *http.Response, error)
func (ShopListingVariationImageAPIUpdateVariationImagesRequest) UpdateVariationImagesRequest ¶
func (r ShopListingVariationImageAPIUpdateVariationImagesRequest) UpdateVariationImagesRequest(updateVariationImagesRequest UpdateVariationImagesRequest) ShopListingVariationImageAPIUpdateVariationImagesRequest
type ShopListingVideoAPI ¶
type ShopListingVideoAPI interface { /* DeleteListingVideo Method for DeleteListingVideo <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 endpoint to delete a listing video. A copy of the video remains on our servers, and so a deleted video may be re-associated with the listing without re-uploading the original video; see uploadListingVideo. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param videoId The unique ID of a video associated with a listing. @return ShopListingVideoAPIDeleteListingVideoRequest */ DeleteListingVideo(ctx context.Context, shopId int64, listingId int64, videoId int64) ShopListingVideoAPIDeleteListingVideoRequest // DeleteListingVideoExecute executes the request DeleteListingVideoExecute(r ShopListingVideoAPIDeleteListingVideoRequest) (*http.Response, error) /* GetListingVideo Method for GetListingVideo <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a single video associated with the given listing. Requesting a video from a listing returns an empty result. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param videoId The unique ID of a video associated with a listing. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVideoAPIGetListingVideoRequest */ GetListingVideo(ctx context.Context, videoId int64, listingId int64) ShopListingVideoAPIGetListingVideoRequest // GetListingVideoExecute executes the request // @return ListingVideo GetListingVideoExecute(r ShopListingVideoAPIGetListingVideoRequest) (*ListingVideo, *http.Response, error) /* GetListingVideos Method for GetListingVideos <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves all listing video resources for a listing with a specific listing ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVideoAPIGetListingVideosRequest */ GetListingVideos(ctx context.Context, listingId int64) ShopListingVideoAPIGetListingVideosRequest // GetListingVideosExecute executes the request // @return ListingVideos GetListingVideosExecute(r ShopListingVideoAPIGetListingVideosRequest) (*ListingVideos, *http.Response, error) /* UploadListingVideo Method for UploadListingVideo <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Uploads a new video for a listing, or associates an existing video with a specific listing. You must either provide the `video_id` of an existing video, or the name and binary file data for a video to upload. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVideoAPIUploadListingVideoRequest */ UploadListingVideo(ctx context.Context, shopId int64, listingId int64) ShopListingVideoAPIUploadListingVideoRequest // UploadListingVideoExecute executes the request // @return ListingVideo UploadListingVideoExecute(r ShopListingVideoAPIUploadListingVideoRequest) (*ListingVideo, *http.Response, error) }
type ShopListingVideoAPIDeleteListingVideoRequest ¶
type ShopListingVideoAPIDeleteListingVideoRequest struct { ApiService ShopListingVideoAPI // contains filtered or unexported fields }
type ShopListingVideoAPIGetListingVideoRequest ¶
type ShopListingVideoAPIGetListingVideoRequest struct { ApiService ShopListingVideoAPI // contains filtered or unexported fields }
func (ShopListingVideoAPIGetListingVideoRequest) Execute ¶
func (r ShopListingVideoAPIGetListingVideoRequest) Execute() (*ListingVideo, *http.Response, error)
type ShopListingVideoAPIGetListingVideosRequest ¶
type ShopListingVideoAPIGetListingVideosRequest struct { ApiService ShopListingVideoAPI // contains filtered or unexported fields }
func (ShopListingVideoAPIGetListingVideosRequest) Execute ¶
func (r ShopListingVideoAPIGetListingVideosRequest) Execute() (*ListingVideos, *http.Response, error)
type ShopListingVideoAPIService ¶
type ShopListingVideoAPIService service
ShopListingVideoAPIService ShopListingVideoAPI service
func (*ShopListingVideoAPIService) DeleteListingVideo ¶
func (a *ShopListingVideoAPIService) DeleteListingVideo(ctx context.Context, shopId int64, listingId int64, videoId int64) ShopListingVideoAPIDeleteListingVideoRequest
DeleteListingVideo Method for DeleteListingVideo
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 endpoint to delete a listing video. A copy of the video remains on our servers, and so a deleted video may be re-associated with the listing without re-uploading the original video; see uploadListingVideo.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @param videoId The unique ID of a video associated with a listing. @return ShopListingVideoAPIDeleteListingVideoRequest
func (*ShopListingVideoAPIService) DeleteListingVideoExecute ¶
func (a *ShopListingVideoAPIService) DeleteListingVideoExecute(r ShopListingVideoAPIDeleteListingVideoRequest) (*http.Response, error)
Execute executes the request
func (*ShopListingVideoAPIService) GetListingVideo ¶
func (a *ShopListingVideoAPIService) GetListingVideo(ctx context.Context, videoId int64, listingId int64) ShopListingVideoAPIGetListingVideoRequest
GetListingVideo Method for GetListingVideo
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a single video associated with the given listing. Requesting a video from a listing returns an empty result.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param videoId The unique ID of a video associated with a listing. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVideoAPIGetListingVideoRequest
func (*ShopListingVideoAPIService) GetListingVideoExecute ¶
func (a *ShopListingVideoAPIService) GetListingVideoExecute(r ShopListingVideoAPIGetListingVideoRequest) (*ListingVideo, *http.Response, error)
Execute executes the request
@return ListingVideo
func (*ShopListingVideoAPIService) GetListingVideos ¶
func (a *ShopListingVideoAPIService) GetListingVideos(ctx context.Context, listingId int64) ShopListingVideoAPIGetListingVideosRequest
GetListingVideos Method for GetListingVideos
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves all listing video resources for a listing with a specific listing ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVideoAPIGetListingVideosRequest
func (*ShopListingVideoAPIService) GetListingVideosExecute ¶
func (a *ShopListingVideoAPIService) GetListingVideosExecute(r ShopListingVideoAPIGetListingVideosRequest) (*ListingVideos, *http.Response, error)
Execute executes the request
@return ListingVideos
func (*ShopListingVideoAPIService) UploadListingVideo ¶
func (a *ShopListingVideoAPIService) UploadListingVideo(ctx context.Context, shopId int64, listingId int64) ShopListingVideoAPIUploadListingVideoRequest
UploadListingVideo Method for UploadListingVideo
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Uploads a new video for a listing, or associates an existing video with a specific listing. You must either provide the `video_id` of an existing video, or the name and binary file data for a video to upload.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopListingVideoAPIUploadListingVideoRequest
func (*ShopListingVideoAPIService) UploadListingVideoExecute ¶
func (a *ShopListingVideoAPIService) UploadListingVideoExecute(r ShopListingVideoAPIUploadListingVideoRequest) (*ListingVideo, *http.Response, error)
Execute executes the request
@return ListingVideo
type ShopListingVideoAPIUploadListingVideoRequest ¶
type ShopListingVideoAPIUploadListingVideoRequest struct { ApiService ShopListingVideoAPI // contains filtered or unexported fields }
func (ShopListingVideoAPIUploadListingVideoRequest) Execute ¶
func (r ShopListingVideoAPIUploadListingVideoRequest) Execute() (*ListingVideo, *http.Response, error)
func (ShopListingVideoAPIUploadListingVideoRequest) Name ¶
func (r ShopListingVideoAPIUploadListingVideoRequest) Name(name string) ShopListingVideoAPIUploadListingVideoRequest
The file name string for the video to upload.
func (ShopListingVideoAPIUploadListingVideoRequest) Video ¶
func (r ShopListingVideoAPIUploadListingVideoRequest) Video(video *os.File) ShopListingVideoAPIUploadListingVideoRequest
A video file to upload.
func (ShopListingVideoAPIUploadListingVideoRequest) VideoId ¶
func (r ShopListingVideoAPIUploadListingVideoRequest) VideoId(videoId int64) ShopListingVideoAPIUploadListingVideoRequest
The unique ID of a video associated with a listing.
type ShopListingWhenMade ¶
type ShopListingWhenMade string
ShopListingWhenMade An enumerated string for the era in which the maker made the product in this listing. Helps buyers locate the listing under the Vintage heading. Requires 'is_supply' and 'who_made'.
const ( SHOPLISTINGWHENMADE_MADE_TO_ORDER ShopListingWhenMade = "made_to_order" SHOPLISTINGWHENMADE__2020_2024 ShopListingWhenMade = "2020_2024" SHOPLISTINGWHENMADE__2010_2019 ShopListingWhenMade = "2010_2019" SHOPLISTINGWHENMADE__2005_2009 ShopListingWhenMade = "2005_2009" SHOPLISTINGWHENMADE_BEFORE_2005 ShopListingWhenMade = "before_2005" SHOPLISTINGWHENMADE__2000_2004 ShopListingWhenMade = "2000_2004" SHOPLISTINGWHENMADE__1990S ShopListingWhenMade = "1990s" SHOPLISTINGWHENMADE__1980S ShopListingWhenMade = "1980s" SHOPLISTINGWHENMADE__1970S ShopListingWhenMade = "1970s" SHOPLISTINGWHENMADE__1960S ShopListingWhenMade = "1960s" SHOPLISTINGWHENMADE__1950S ShopListingWhenMade = "1950s" SHOPLISTINGWHENMADE__1940S ShopListingWhenMade = "1940s" SHOPLISTINGWHENMADE__1930S ShopListingWhenMade = "1930s" SHOPLISTINGWHENMADE__1920S ShopListingWhenMade = "1920s" SHOPLISTINGWHENMADE__1910S ShopListingWhenMade = "1910s" SHOPLISTINGWHENMADE__1900S ShopListingWhenMade = "1900s" SHOPLISTINGWHENMADE__1800S ShopListingWhenMade = "1800s" SHOPLISTINGWHENMADE__1700S ShopListingWhenMade = "1700s" SHOPLISTINGWHENMADE_BEFORE_1700 ShopListingWhenMade = "before_1700" )
List of ShopListing_when_made
func NewShopListingWhenMadeFromValue ¶
func NewShopListingWhenMadeFromValue(v string) (*ShopListingWhenMade, error)
NewShopListingWhenMadeFromValue returns a pointer to a valid ShopListingWhenMade for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShopListingWhenMade) IsValid ¶
func (v ShopListingWhenMade) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ShopListingWhenMade) Ptr ¶
func (v ShopListingWhenMade) Ptr() *ShopListingWhenMade
Ptr returns reference to ShopListing_when_made value
func (*ShopListingWhenMade) UnmarshalJSON ¶
func (v *ShopListingWhenMade) UnmarshalJSON(src []byte) error
type ShopListingWhoMade ¶
type ShopListingWhoMade string
ShopListingWhoMade An enumerated string indicating who made the product. Helps buyers locate the listing under the Handmade heading. Requires 'is_supply' and 'when_made'.
const ( SHOPLISTINGWHOMADE_I_DID ShopListingWhoMade = "i_did" SHOPLISTINGWHOMADE_SOMEONE_ELSE ShopListingWhoMade = "someone_else" SHOPLISTINGWHOMADE_COLLECTIVE ShopListingWhoMade = "collective" )
List of ShopListing_who_made
func NewShopListingWhoMadeFromValue ¶
func NewShopListingWhoMadeFromValue(v string) (*ShopListingWhoMade, error)
NewShopListingWhoMadeFromValue returns a pointer to a valid ShopListingWhoMade for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShopListingWhoMade) IsValid ¶
func (v ShopListingWhoMade) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ShopListingWhoMade) Ptr ¶
func (v ShopListingWhoMade) Ptr() *ShopListingWhoMade
Ptr returns reference to ShopListing_who_made value
func (*ShopListingWhoMade) UnmarshalJSON ¶
func (v *ShopListingWhoMade) UnmarshalJSON(src []byte) error
type ShopListingWithAssociations ¶
type ShopListingWithAssociations struct { // The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. ListingId *int64 `json:"listing_id,omitempty"` // The numeric ID for the [user](/documentation/reference#tag/User) posting the listing. UserId *int64 `json:"user_id,omitempty"` // The unique positive non-zero numeric ID for an Etsy Shop. ShopId *int64 `json:"shop_id,omitempty"` // The listing's title string. When creating or updating a listing, valid title strings contain only letters, numbers, punctuation marks, mathematical symbols, whitespace characters, ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{P}\\\\p{Sm}\\\\p{Zs}™©®]/u) You can only use the %, :, & and + characters once each. Title *string `json:"title,omitempty"` // A description string of the product for sale in the listing. Description *string `json:"description,omitempty"` State *ShopListingState `json:"state,omitempty"` // The listing\\'s creation time, in epoch seconds. CreationTimestamp *int64 `json:"creation_timestamp,omitempty"` // The listing\\'s creation time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The listing\\'s expiration time, in epoch seconds. EndingTimestamp *int64 `json:"ending_timestamp,omitempty"` // The listing\\'s creation time, in epoch seconds. OriginalCreationTimestamp *int64 `json:"original_creation_timestamp,omitempty"` // The time of the last update to the listing, in epoch seconds. LastModifiedTimestamp *int64 `json:"last_modified_timestamp,omitempty"` // The time of the last update to the listing, in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` // The date and time of the last state change of this listing. StateTimestamp NullableInt64 `json:"state_timestamp,omitempty"` // The positive non-zero number of products available for purchase in the listing. Note: The listing quantity is the sum of available offering quantities. You can request the quantities for individual offerings from the ListingInventory resource using the [getListingInventory](/documentation/reference#operation/getListingInventory) endpoint. Quantity *int64 `json:"quantity,omitempty"` // The numeric ID of a section in a specific Etsy shop. ShopSectionId NullableInt64 `json:"shop_section_id,omitempty"` // The positive non-zero numeric position in the featured listings of the shop, with rank 1 listings appearing in the left-most position in featured listing on a shop’s home page. FeaturedRank *int64 `json:"featured_rank,omitempty"` // The full URL to the listing's page on Etsy. Url *string `json:"url,omitempty"` // The number of users who marked this Listing a favorite. NumFavorers *int64 `json:"num_favorers,omitempty"` // When true, applicable [shop](/documentation/reference#tag/Shop) tax rates do not apply to this listing at checkout. NonTaxable *bool `json:"non_taxable,omitempty"` // When true, applicable [shop](/documentation/reference#tag/Shop) tax rates apply to this listing at checkout. IsTaxable *bool `json:"is_taxable,omitempty"` // When true, a buyer may contact the seller for a customized order. The default value is true when a shop accepts custom orders. Does not apply to shops that do not accept custom orders. IsCustomizable *bool `json:"is_customizable,omitempty"` // When true, this listing is personalizable. The default value is null. IsPersonalizable *bool `json:"is_personalizable,omitempty"` // When true, this listing requires personalization. The default value is null. Will only change if is_personalizable is 'true'. PersonalizationIsRequired *bool `json:"personalization_is_required,omitempty"` // This is an integer value representing the maximum length for the personalization message entered by the buyer. Will only change if is_personalizable is 'true'. PersonalizationCharCountMax NullableInt64 `json:"personalization_char_count_max,omitempty"` // When true, this listing requires personalization. The default value is null. Will only change if is_personalizable is 'true'. PersonalizationInstructions NullableString `json:"personalization_instructions,omitempty"` ListingType *CreateDraftListingRequestType `json:"listing_type,omitempty"` // A comma-separated list of tag strings for the listing. When creating or updating a listing, valid tag strings contain only letters, numbers, whitespace characters, -, ', ™, ©, and ®. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}\\\\-'™©®]/u) Default value is null. Tags []string `json:"tags,omitempty"` // A list of material strings for materials used in the product. Valid materials strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null. Materials []string `json:"materials,omitempty"` // The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. ShippingProfileId NullableInt64 `json:"shipping_profile_id,omitempty"` // The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). ReturnPolicyId NullableInt64 `json:"return_policy_id,omitempty"` // The minimum number of days required to process this listing. Default value is null. ProcessingMin NullableInt64 `json:"processing_min,omitempty"` // The maximum number of days required to process this listing. Default value is null. ProcessingMax NullableInt64 `json:"processing_max,omitempty"` WhoMade NullableShopListingWhoMade `json:"who_made,omitempty"` WhenMade NullableShopListingWhenMade `json:"when_made,omitempty"` // When true, tags the listing as a supply product, else indicates that it's a finished product. Helps buyers locate the listing under the Supplies heading. Requires 'who_made' and 'when_made'. IsSupply NullableBool `json:"is_supply,omitempty"` // The numeric weight of the product measured in units set in \\'item_weight_unit\\'. Default value is null. If set, the value must be greater than 0. ItemWeight NullableFloat32 `json:"item_weight,omitempty"` ItemWeightUnit NullableCreateDraftListingRequestItemWeightUnit `json:"item_weight_unit,omitempty"` // The numeric length of the product measured in units set in \\'item_dimensions_unit\\'. Default value is null. If set, the value must be greater than 0. ItemLength NullableFloat32 `json:"item_length,omitempty"` // The numeric width of the product measured in units set in \\'item_dimensions_unit\\'. Default value is null. If set, the value must be greater than 0. ItemWidth NullableFloat32 `json:"item_width,omitempty"` // The numeric length of the product measured in units set in \\'item_dimensions_unit\\'. Default value is null. If set, the value must be greater than 0. ItemHeight NullableFloat32 `json:"item_height,omitempty"` ItemDimensionsUnit NullableCreateDraftListingRequestItemDimensionsUnit `json:"item_dimensions_unit,omitempty"` // When true, this is a private listing intended for a specific buyer and hidden from shop view. IsPrivate *bool `json:"is_private,omitempty"` // An array of style strings for this listing, each of which is free-form text string such as \\\"Formal\\\", or \\\"Steampunk\\\". When creating or updating a listing, the listing may have up to two styles. Valid style strings contain only letters, numbers, and whitespace characters. (regex: /[^\\\\p{L}\\\\p{Nd}\\\\p{Zs}]/u) Default value is null. Style []string `json:"style,omitempty"` // A string describing the files attached to a digital listing. FileData *string `json:"file_data,omitempty"` // When true, the listing has variations. HasVariations *bool `json:"has_variations,omitempty"` // When true, renews a listing for four months upon expiration. ShouldAutoRenew *bool `json:"should_auto_renew,omitempty"` // The IETF language tag for the default language of the listing. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`, `ru`. Language NullableString `json:"language,omitempty"` // The positive non-zero price of the product. (Sold product listings are private) Note: The price is the minimum possible price. The [`getListingInventory`](/documentation/reference/#operation/getListingInventory) method requests exact prices for available offerings. Price *Money `json:"price,omitempty"` // The numerical taxonomy ID of the listing. See [SellerTaxonomy](/documentation/reference#tag/SellerTaxonomy) and [BuyerTaxonomy](/documentation/reference#tag/BuyerTaxonomy) for more information. TaxonomyId NullableInt64 `json:"taxonomy_id,omitempty"` // An array of data representing the shipping profile resource. ShippingProfile NullableShopShippingProfile `json:"shipping_profile,omitempty"` // Represents a single user of the site User NullableUser `json:"user,omitempty"` // A shop created by an Etsy user. Shop NullableShop `json:"shop,omitempty"` // Represents a list of listing image resources, each of which contains the reference URLs and metadata for an image Images []ListingImage `json:"images,omitempty"` // The single video associated with a listing. Videos []ListingVideo `json:"videos,omitempty"` // An enumerated string that attaches a valid association. Default value is null. Inventory NullableListingInventory `json:"inventory,omitempty"` // Represents a list of production partners for a shop. ProductionPartners []ShopProductionPartner `json:"production_partners,omitempty"` // A list of SKU strings for the listing. SKUs will only appear if the requesting user owns the shop and a valid matching OAuth 2 token is provided. When requested without the token it will be an empty array. Skus []string `json:"skus,omitempty"` // A map of translations for the listing. Default value is a map of all supported languages keyed to null. Translations NullableListingTranslations `json:"translations,omitempty"` // The number of times the listing has been viewed. This value is tabulated once per day and **only for active listings**, so the value is not real-time. If `0`, the listing has either not been viewed, not yet tabulated, was not active during the last tabulation or there was an error fetching the value. If a value is expected, call `getListing` to confirm the value. Views *int64 `json:"views,omitempty"` AdditionalProperties map[string]interface{} }
ShopListingWithAssociations A listing from a shop, which contains a product quantity, title, description, price, etc. and additional fields which represent associations.
func NewShopListingWithAssociations ¶
func NewShopListingWithAssociations() *ShopListingWithAssociations
NewShopListingWithAssociations instantiates a new ShopListingWithAssociations 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
func NewShopListingWithAssociationsWithDefaults ¶
func NewShopListingWithAssociationsWithDefaults() *ShopListingWithAssociations
NewShopListingWithAssociationsWithDefaults instantiates a new ShopListingWithAssociations 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
func (*ShopListingWithAssociations) GetCreatedTimestamp ¶
func (o *ShopListingWithAssociations) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetCreatedTimestampOk ¶
func (o *ShopListingWithAssociations) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetCreationTimestamp ¶
func (o *ShopListingWithAssociations) GetCreationTimestamp() int64
GetCreationTimestamp returns the CreationTimestamp field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetCreationTimestampOk ¶
func (o *ShopListingWithAssociations) GetCreationTimestampOk() (*int64, bool)
GetCreationTimestampOk returns a tuple with the CreationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetDescription ¶
func (o *ShopListingWithAssociations) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetDescriptionOk ¶
func (o *ShopListingWithAssociations) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetEndingTimestamp ¶
func (o *ShopListingWithAssociations) GetEndingTimestamp() int64
GetEndingTimestamp returns the EndingTimestamp field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetEndingTimestampOk ¶
func (o *ShopListingWithAssociations) GetEndingTimestampOk() (*int64, bool)
GetEndingTimestampOk returns a tuple with the EndingTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetFeaturedRank ¶
func (o *ShopListingWithAssociations) GetFeaturedRank() int64
GetFeaturedRank returns the FeaturedRank field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetFeaturedRankOk ¶
func (o *ShopListingWithAssociations) GetFeaturedRankOk() (*int64, bool)
GetFeaturedRankOk returns a tuple with the FeaturedRank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetFileData ¶
func (o *ShopListingWithAssociations) GetFileData() string
GetFileData returns the FileData field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetFileDataOk ¶
func (o *ShopListingWithAssociations) GetFileDataOk() (*string, bool)
GetFileDataOk returns a tuple with the FileData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetHasVariations ¶
func (o *ShopListingWithAssociations) GetHasVariations() bool
GetHasVariations returns the HasVariations field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetHasVariationsOk ¶
func (o *ShopListingWithAssociations) GetHasVariationsOk() (*bool, bool)
GetHasVariationsOk returns a tuple with the HasVariations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetImages ¶
func (o *ShopListingWithAssociations) GetImages() []ListingImage
GetImages returns the Images field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetImagesOk ¶
func (o *ShopListingWithAssociations) GetImagesOk() ([]ListingImage, bool)
GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetInventory ¶
func (o *ShopListingWithAssociations) GetInventory() ListingInventory
GetInventory returns the Inventory field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetInventoryOk ¶
func (o *ShopListingWithAssociations) GetInventoryOk() (*ListingInventory, bool)
GetInventoryOk returns a tuple with the Inventory field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetIsCustomizable ¶
func (o *ShopListingWithAssociations) GetIsCustomizable() bool
GetIsCustomizable returns the IsCustomizable field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetIsCustomizableOk ¶
func (o *ShopListingWithAssociations) GetIsCustomizableOk() (*bool, bool)
GetIsCustomizableOk returns a tuple with the IsCustomizable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetIsPersonalizable ¶
func (o *ShopListingWithAssociations) GetIsPersonalizable() bool
GetIsPersonalizable returns the IsPersonalizable field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetIsPersonalizableOk ¶
func (o *ShopListingWithAssociations) GetIsPersonalizableOk() (*bool, bool)
GetIsPersonalizableOk returns a tuple with the IsPersonalizable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetIsPrivate ¶
func (o *ShopListingWithAssociations) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetIsPrivateOk ¶
func (o *ShopListingWithAssociations) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetIsSupply ¶
func (o *ShopListingWithAssociations) GetIsSupply() bool
GetIsSupply returns the IsSupply field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetIsSupplyOk ¶
func (o *ShopListingWithAssociations) GetIsSupplyOk() (*bool, bool)
GetIsSupplyOk returns a tuple with the IsSupply field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetIsTaxable ¶
func (o *ShopListingWithAssociations) GetIsTaxable() bool
GetIsTaxable returns the IsTaxable field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetIsTaxableOk ¶
func (o *ShopListingWithAssociations) GetIsTaxableOk() (*bool, bool)
GetIsTaxableOk returns a tuple with the IsTaxable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetItemDimensionsUnit ¶
func (o *ShopListingWithAssociations) GetItemDimensionsUnit() CreateDraftListingRequestItemDimensionsUnit
GetItemDimensionsUnit returns the ItemDimensionsUnit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetItemDimensionsUnitOk ¶
func (o *ShopListingWithAssociations) GetItemDimensionsUnitOk() (*CreateDraftListingRequestItemDimensionsUnit, bool)
GetItemDimensionsUnitOk returns a tuple with the ItemDimensionsUnit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetItemHeight ¶
func (o *ShopListingWithAssociations) GetItemHeight() float32
GetItemHeight returns the ItemHeight field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetItemHeightOk ¶
func (o *ShopListingWithAssociations) GetItemHeightOk() (*float32, bool)
GetItemHeightOk returns a tuple with the ItemHeight field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetItemLength ¶
func (o *ShopListingWithAssociations) GetItemLength() float32
GetItemLength returns the ItemLength field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetItemLengthOk ¶
func (o *ShopListingWithAssociations) GetItemLengthOk() (*float32, bool)
GetItemLengthOk returns a tuple with the ItemLength field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetItemWeight ¶
func (o *ShopListingWithAssociations) GetItemWeight() float32
GetItemWeight returns the ItemWeight field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetItemWeightOk ¶
func (o *ShopListingWithAssociations) GetItemWeightOk() (*float32, bool)
GetItemWeightOk returns a tuple with the ItemWeight field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetItemWeightUnit ¶
func (o *ShopListingWithAssociations) GetItemWeightUnit() CreateDraftListingRequestItemWeightUnit
GetItemWeightUnit returns the ItemWeightUnit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetItemWeightUnitOk ¶
func (o *ShopListingWithAssociations) GetItemWeightUnitOk() (*CreateDraftListingRequestItemWeightUnit, bool)
GetItemWeightUnitOk returns a tuple with the ItemWeightUnit field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetItemWidth ¶
func (o *ShopListingWithAssociations) GetItemWidth() float32
GetItemWidth returns the ItemWidth field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetItemWidthOk ¶
func (o *ShopListingWithAssociations) GetItemWidthOk() (*float32, bool)
GetItemWidthOk returns a tuple with the ItemWidth field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetLanguage ¶
func (o *ShopListingWithAssociations) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetLanguageOk ¶
func (o *ShopListingWithAssociations) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetLastModifiedTimestamp ¶
func (o *ShopListingWithAssociations) GetLastModifiedTimestamp() int64
GetLastModifiedTimestamp returns the LastModifiedTimestamp field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetLastModifiedTimestampOk ¶
func (o *ShopListingWithAssociations) GetLastModifiedTimestampOk() (*int64, bool)
GetLastModifiedTimestampOk returns a tuple with the LastModifiedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetListingId ¶
func (o *ShopListingWithAssociations) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetListingIdOk ¶
func (o *ShopListingWithAssociations) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetListingType ¶
func (o *ShopListingWithAssociations) GetListingType() CreateDraftListingRequestType
GetListingType returns the ListingType field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetListingTypeOk ¶
func (o *ShopListingWithAssociations) GetListingTypeOk() (*CreateDraftListingRequestType, bool)
GetListingTypeOk returns a tuple with the ListingType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetMaterials ¶
func (o *ShopListingWithAssociations) GetMaterials() []string
GetMaterials returns the Materials field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetMaterialsOk ¶
func (o *ShopListingWithAssociations) GetMaterialsOk() ([]string, bool)
GetMaterialsOk returns a tuple with the Materials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetNonTaxable ¶
func (o *ShopListingWithAssociations) GetNonTaxable() bool
GetNonTaxable returns the NonTaxable field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetNonTaxableOk ¶
func (o *ShopListingWithAssociations) GetNonTaxableOk() (*bool, bool)
GetNonTaxableOk returns a tuple with the NonTaxable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetNumFavorers ¶
func (o *ShopListingWithAssociations) GetNumFavorers() int64
GetNumFavorers returns the NumFavorers field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetNumFavorersOk ¶
func (o *ShopListingWithAssociations) GetNumFavorersOk() (*int64, bool)
GetNumFavorersOk returns a tuple with the NumFavorers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetOriginalCreationTimestamp ¶
func (o *ShopListingWithAssociations) GetOriginalCreationTimestamp() int64
GetOriginalCreationTimestamp returns the OriginalCreationTimestamp field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetOriginalCreationTimestampOk ¶
func (o *ShopListingWithAssociations) GetOriginalCreationTimestampOk() (*int64, bool)
GetOriginalCreationTimestampOk returns a tuple with the OriginalCreationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetPersonalizationCharCountMax ¶
func (o *ShopListingWithAssociations) GetPersonalizationCharCountMax() int64
GetPersonalizationCharCountMax returns the PersonalizationCharCountMax field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetPersonalizationCharCountMaxOk ¶
func (o *ShopListingWithAssociations) GetPersonalizationCharCountMaxOk() (*int64, bool)
GetPersonalizationCharCountMaxOk returns a tuple with the PersonalizationCharCountMax field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetPersonalizationInstructions ¶
func (o *ShopListingWithAssociations) GetPersonalizationInstructions() string
GetPersonalizationInstructions returns the PersonalizationInstructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetPersonalizationInstructionsOk ¶
func (o *ShopListingWithAssociations) GetPersonalizationInstructionsOk() (*string, bool)
GetPersonalizationInstructionsOk returns a tuple with the PersonalizationInstructions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetPersonalizationIsRequired ¶
func (o *ShopListingWithAssociations) GetPersonalizationIsRequired() bool
GetPersonalizationIsRequired returns the PersonalizationIsRequired field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetPersonalizationIsRequiredOk ¶
func (o *ShopListingWithAssociations) GetPersonalizationIsRequiredOk() (*bool, bool)
GetPersonalizationIsRequiredOk returns a tuple with the PersonalizationIsRequired field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetPrice ¶
func (o *ShopListingWithAssociations) GetPrice() Money
GetPrice returns the Price field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetPriceOk ¶
func (o *ShopListingWithAssociations) GetPriceOk() (*Money, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetProcessingMax ¶
func (o *ShopListingWithAssociations) GetProcessingMax() int64
GetProcessingMax returns the ProcessingMax field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetProcessingMaxOk ¶
func (o *ShopListingWithAssociations) GetProcessingMaxOk() (*int64, bool)
GetProcessingMaxOk returns a tuple with the ProcessingMax field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetProcessingMin ¶
func (o *ShopListingWithAssociations) GetProcessingMin() int64
GetProcessingMin returns the ProcessingMin field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetProcessingMinOk ¶
func (o *ShopListingWithAssociations) GetProcessingMinOk() (*int64, bool)
GetProcessingMinOk returns a tuple with the ProcessingMin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetProductionPartners ¶
func (o *ShopListingWithAssociations) GetProductionPartners() []ShopProductionPartner
GetProductionPartners returns the ProductionPartners field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetProductionPartnersOk ¶
func (o *ShopListingWithAssociations) GetProductionPartnersOk() ([]ShopProductionPartner, bool)
GetProductionPartnersOk returns a tuple with the ProductionPartners field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetQuantity ¶
func (o *ShopListingWithAssociations) GetQuantity() int64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetQuantityOk ¶
func (o *ShopListingWithAssociations) GetQuantityOk() (*int64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetReturnPolicyId ¶
func (o *ShopListingWithAssociations) GetReturnPolicyId() int64
GetReturnPolicyId returns the ReturnPolicyId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetReturnPolicyIdOk ¶
func (o *ShopListingWithAssociations) GetReturnPolicyIdOk() (*int64, bool)
GetReturnPolicyIdOk returns a tuple with the ReturnPolicyId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetShippingProfile ¶
func (o *ShopListingWithAssociations) GetShippingProfile() ShopShippingProfile
GetShippingProfile returns the ShippingProfile field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetShippingProfileId ¶
func (o *ShopListingWithAssociations) GetShippingProfileId() int64
GetShippingProfileId returns the ShippingProfileId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetShippingProfileIdOk ¶
func (o *ShopListingWithAssociations) GetShippingProfileIdOk() (*int64, bool)
GetShippingProfileIdOk returns a tuple with the ShippingProfileId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetShippingProfileOk ¶
func (o *ShopListingWithAssociations) GetShippingProfileOk() (*ShopShippingProfile, bool)
GetShippingProfileOk returns a tuple with the ShippingProfile field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetShop ¶
func (o *ShopListingWithAssociations) GetShop() Shop
GetShop returns the Shop field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetShopId ¶
func (o *ShopListingWithAssociations) GetShopId() int64
GetShopId returns the ShopId field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetShopIdOk ¶
func (o *ShopListingWithAssociations) GetShopIdOk() (*int64, bool)
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetShopOk ¶
func (o *ShopListingWithAssociations) GetShopOk() (*Shop, bool)
GetShopOk returns a tuple with the Shop field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetShopSectionId ¶
func (o *ShopListingWithAssociations) GetShopSectionId() int64
GetShopSectionId returns the ShopSectionId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetShopSectionIdOk ¶
func (o *ShopListingWithAssociations) GetShopSectionIdOk() (*int64, bool)
GetShopSectionIdOk returns a tuple with the ShopSectionId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetShouldAutoRenew ¶
func (o *ShopListingWithAssociations) GetShouldAutoRenew() bool
GetShouldAutoRenew returns the ShouldAutoRenew field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetShouldAutoRenewOk ¶
func (o *ShopListingWithAssociations) GetShouldAutoRenewOk() (*bool, bool)
GetShouldAutoRenewOk returns a tuple with the ShouldAutoRenew field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetSkus ¶
func (o *ShopListingWithAssociations) GetSkus() []string
GetSkus returns the Skus field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetSkusOk ¶
func (o *ShopListingWithAssociations) GetSkusOk() ([]string, bool)
GetSkusOk returns a tuple with the Skus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetState ¶
func (o *ShopListingWithAssociations) GetState() ShopListingState
GetState returns the State field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetStateOk ¶
func (o *ShopListingWithAssociations) GetStateOk() (*ShopListingState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetStateTimestamp ¶
func (o *ShopListingWithAssociations) GetStateTimestamp() int64
GetStateTimestamp returns the StateTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetStateTimestampOk ¶
func (o *ShopListingWithAssociations) GetStateTimestampOk() (*int64, bool)
GetStateTimestampOk returns a tuple with the StateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetStyle ¶
func (o *ShopListingWithAssociations) GetStyle() []string
GetStyle returns the Style field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetStyleOk ¶
func (o *ShopListingWithAssociations) GetStyleOk() ([]string, bool)
GetStyleOk returns a tuple with the Style field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetTags ¶
func (o *ShopListingWithAssociations) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetTagsOk ¶
func (o *ShopListingWithAssociations) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetTaxonomyId ¶
func (o *ShopListingWithAssociations) GetTaxonomyId() int64
GetTaxonomyId returns the TaxonomyId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetTaxonomyIdOk ¶
func (o *ShopListingWithAssociations) GetTaxonomyIdOk() (*int64, bool)
GetTaxonomyIdOk returns a tuple with the TaxonomyId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetTitle ¶
func (o *ShopListingWithAssociations) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetTitleOk ¶
func (o *ShopListingWithAssociations) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetTranslations ¶
func (o *ShopListingWithAssociations) GetTranslations() ListingTranslations
GetTranslations returns the Translations field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetTranslationsOk ¶
func (o *ShopListingWithAssociations) GetTranslationsOk() (*ListingTranslations, bool)
GetTranslationsOk returns a tuple with the Translations field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetUpdatedTimestamp ¶
func (o *ShopListingWithAssociations) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetUpdatedTimestampOk ¶
func (o *ShopListingWithAssociations) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetUrl ¶
func (o *ShopListingWithAssociations) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetUrlOk ¶
func (o *ShopListingWithAssociations) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetUser ¶
func (o *ShopListingWithAssociations) GetUser() User
GetUser returns the User field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetUserId ¶
func (o *ShopListingWithAssociations) GetUserId() int64
GetUserId returns the UserId field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetUserIdOk ¶
func (o *ShopListingWithAssociations) GetUserIdOk() (*int64, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetUserOk ¶
func (o *ShopListingWithAssociations) GetUserOk() (*User, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetVideos ¶
func (o *ShopListingWithAssociations) GetVideos() []ListingVideo
GetVideos returns the Videos field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetVideosOk ¶
func (o *ShopListingWithAssociations) GetVideosOk() ([]ListingVideo, bool)
GetVideosOk returns a tuple with the Videos field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetViews ¶
func (o *ShopListingWithAssociations) GetViews() int64
GetViews returns the Views field value if set, zero value otherwise.
func (*ShopListingWithAssociations) GetViewsOk ¶
func (o *ShopListingWithAssociations) GetViewsOk() (*int64, bool)
GetViewsOk returns a tuple with the Views field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingWithAssociations) GetWhenMade ¶
func (o *ShopListingWithAssociations) GetWhenMade() ShopListingWhenMade
GetWhenMade returns the WhenMade field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetWhenMadeOk ¶
func (o *ShopListingWithAssociations) GetWhenMadeOk() (*ShopListingWhenMade, bool)
GetWhenMadeOk returns a tuple with the WhenMade field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) GetWhoMade ¶
func (o *ShopListingWithAssociations) GetWhoMade() ShopListingWhoMade
GetWhoMade returns the WhoMade field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopListingWithAssociations) GetWhoMadeOk ¶
func (o *ShopListingWithAssociations) GetWhoMadeOk() (*ShopListingWhoMade, bool)
GetWhoMadeOk returns a tuple with the WhoMade field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopListingWithAssociations) HasCreatedTimestamp ¶
func (o *ShopListingWithAssociations) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasCreationTimestamp ¶
func (o *ShopListingWithAssociations) HasCreationTimestamp() bool
HasCreationTimestamp returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasDescription ¶
func (o *ShopListingWithAssociations) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasEndingTimestamp ¶
func (o *ShopListingWithAssociations) HasEndingTimestamp() bool
HasEndingTimestamp returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasFeaturedRank ¶
func (o *ShopListingWithAssociations) HasFeaturedRank() bool
HasFeaturedRank returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasFileData ¶
func (o *ShopListingWithAssociations) HasFileData() bool
HasFileData returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasHasVariations ¶
func (o *ShopListingWithAssociations) HasHasVariations() bool
HasHasVariations returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasImages ¶
func (o *ShopListingWithAssociations) HasImages() bool
HasImages returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasInventory ¶
func (o *ShopListingWithAssociations) HasInventory() bool
HasInventory returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasIsCustomizable ¶
func (o *ShopListingWithAssociations) HasIsCustomizable() bool
HasIsCustomizable returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasIsPersonalizable ¶
func (o *ShopListingWithAssociations) HasIsPersonalizable() bool
HasIsPersonalizable returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasIsPrivate ¶
func (o *ShopListingWithAssociations) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasIsSupply ¶
func (o *ShopListingWithAssociations) HasIsSupply() bool
HasIsSupply returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasIsTaxable ¶
func (o *ShopListingWithAssociations) HasIsTaxable() bool
HasIsTaxable returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasItemDimensionsUnit ¶
func (o *ShopListingWithAssociations) HasItemDimensionsUnit() bool
HasItemDimensionsUnit returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasItemHeight ¶
func (o *ShopListingWithAssociations) HasItemHeight() bool
HasItemHeight returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasItemLength ¶
func (o *ShopListingWithAssociations) HasItemLength() bool
HasItemLength returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasItemWeight ¶
func (o *ShopListingWithAssociations) HasItemWeight() bool
HasItemWeight returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasItemWeightUnit ¶
func (o *ShopListingWithAssociations) HasItemWeightUnit() bool
HasItemWeightUnit returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasItemWidth ¶
func (o *ShopListingWithAssociations) HasItemWidth() bool
HasItemWidth returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasLanguage ¶
func (o *ShopListingWithAssociations) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasLastModifiedTimestamp ¶
func (o *ShopListingWithAssociations) HasLastModifiedTimestamp() bool
HasLastModifiedTimestamp returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasListingId ¶
func (o *ShopListingWithAssociations) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasListingType ¶
func (o *ShopListingWithAssociations) HasListingType() bool
HasListingType returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasMaterials ¶
func (o *ShopListingWithAssociations) HasMaterials() bool
HasMaterials returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasNonTaxable ¶
func (o *ShopListingWithAssociations) HasNonTaxable() bool
HasNonTaxable returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasNumFavorers ¶
func (o *ShopListingWithAssociations) HasNumFavorers() bool
HasNumFavorers returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasOriginalCreationTimestamp ¶
func (o *ShopListingWithAssociations) HasOriginalCreationTimestamp() bool
HasOriginalCreationTimestamp returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasPersonalizationCharCountMax ¶
func (o *ShopListingWithAssociations) HasPersonalizationCharCountMax() bool
HasPersonalizationCharCountMax returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasPersonalizationInstructions ¶
func (o *ShopListingWithAssociations) HasPersonalizationInstructions() bool
HasPersonalizationInstructions returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasPersonalizationIsRequired ¶
func (o *ShopListingWithAssociations) HasPersonalizationIsRequired() bool
HasPersonalizationIsRequired returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasPrice ¶
func (o *ShopListingWithAssociations) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasProcessingMax ¶
func (o *ShopListingWithAssociations) HasProcessingMax() bool
HasProcessingMax returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasProcessingMin ¶
func (o *ShopListingWithAssociations) HasProcessingMin() bool
HasProcessingMin returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasProductionPartners ¶
func (o *ShopListingWithAssociations) HasProductionPartners() bool
HasProductionPartners returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasQuantity ¶
func (o *ShopListingWithAssociations) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasReturnPolicyId ¶
func (o *ShopListingWithAssociations) HasReturnPolicyId() bool
HasReturnPolicyId returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasShippingProfile ¶
func (o *ShopListingWithAssociations) HasShippingProfile() bool
HasShippingProfile returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasShippingProfileId ¶
func (o *ShopListingWithAssociations) HasShippingProfileId() bool
HasShippingProfileId returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasShop ¶
func (o *ShopListingWithAssociations) HasShop() bool
HasShop returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasShopId ¶
func (o *ShopListingWithAssociations) HasShopId() bool
HasShopId returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasShopSectionId ¶
func (o *ShopListingWithAssociations) HasShopSectionId() bool
HasShopSectionId returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasShouldAutoRenew ¶
func (o *ShopListingWithAssociations) HasShouldAutoRenew() bool
HasShouldAutoRenew returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasSkus ¶
func (o *ShopListingWithAssociations) HasSkus() bool
HasSkus returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasState ¶
func (o *ShopListingWithAssociations) HasState() bool
HasState returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasStateTimestamp ¶
func (o *ShopListingWithAssociations) HasStateTimestamp() bool
HasStateTimestamp returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasStyle ¶
func (o *ShopListingWithAssociations) HasStyle() bool
HasStyle returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasTags ¶
func (o *ShopListingWithAssociations) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasTaxonomyId ¶
func (o *ShopListingWithAssociations) HasTaxonomyId() bool
HasTaxonomyId returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasTitle ¶
func (o *ShopListingWithAssociations) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasTranslations ¶
func (o *ShopListingWithAssociations) HasTranslations() bool
HasTranslations returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasUpdatedTimestamp ¶
func (o *ShopListingWithAssociations) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasUrl ¶
func (o *ShopListingWithAssociations) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasUser ¶
func (o *ShopListingWithAssociations) HasUser() bool
HasUser returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasUserId ¶
func (o *ShopListingWithAssociations) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasVideos ¶
func (o *ShopListingWithAssociations) HasVideos() bool
HasVideos returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasViews ¶
func (o *ShopListingWithAssociations) HasViews() bool
HasViews returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasWhenMade ¶
func (o *ShopListingWithAssociations) HasWhenMade() bool
HasWhenMade returns a boolean if a field has been set.
func (*ShopListingWithAssociations) HasWhoMade ¶
func (o *ShopListingWithAssociations) HasWhoMade() bool
HasWhoMade returns a boolean if a field has been set.
func (ShopListingWithAssociations) MarshalJSON ¶
func (o ShopListingWithAssociations) MarshalJSON() ([]byte, error)
func (*ShopListingWithAssociations) SetCreatedTimestamp ¶
func (o *ShopListingWithAssociations) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ShopListingWithAssociations) SetCreationTimestamp ¶
func (o *ShopListingWithAssociations) SetCreationTimestamp(v int64)
SetCreationTimestamp gets a reference to the given int64 and assigns it to the CreationTimestamp field.
func (*ShopListingWithAssociations) SetDescription ¶
func (o *ShopListingWithAssociations) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ShopListingWithAssociations) SetEndingTimestamp ¶
func (o *ShopListingWithAssociations) SetEndingTimestamp(v int64)
SetEndingTimestamp gets a reference to the given int64 and assigns it to the EndingTimestamp field.
func (*ShopListingWithAssociations) SetFeaturedRank ¶
func (o *ShopListingWithAssociations) SetFeaturedRank(v int64)
SetFeaturedRank gets a reference to the given int64 and assigns it to the FeaturedRank field.
func (*ShopListingWithAssociations) SetFileData ¶
func (o *ShopListingWithAssociations) SetFileData(v string)
SetFileData gets a reference to the given string and assigns it to the FileData field.
func (*ShopListingWithAssociations) SetHasVariations ¶
func (o *ShopListingWithAssociations) SetHasVariations(v bool)
SetHasVariations gets a reference to the given bool and assigns it to the HasVariations field.
func (*ShopListingWithAssociations) SetImages ¶
func (o *ShopListingWithAssociations) SetImages(v []ListingImage)
SetImages gets a reference to the given []ListingImage and assigns it to the Images field.
func (*ShopListingWithAssociations) SetInventory ¶
func (o *ShopListingWithAssociations) SetInventory(v ListingInventory)
SetInventory gets a reference to the given NullableListingInventory and assigns it to the Inventory field.
func (*ShopListingWithAssociations) SetInventoryNil ¶
func (o *ShopListingWithAssociations) SetInventoryNil()
SetInventoryNil sets the value for Inventory to be an explicit nil
func (*ShopListingWithAssociations) SetIsCustomizable ¶
func (o *ShopListingWithAssociations) SetIsCustomizable(v bool)
SetIsCustomizable gets a reference to the given bool and assigns it to the IsCustomizable field.
func (*ShopListingWithAssociations) SetIsPersonalizable ¶
func (o *ShopListingWithAssociations) SetIsPersonalizable(v bool)
SetIsPersonalizable gets a reference to the given bool and assigns it to the IsPersonalizable field.
func (*ShopListingWithAssociations) SetIsPrivate ¶
func (o *ShopListingWithAssociations) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*ShopListingWithAssociations) SetIsSupply ¶
func (o *ShopListingWithAssociations) SetIsSupply(v bool)
SetIsSupply gets a reference to the given NullableBool and assigns it to the IsSupply field.
func (*ShopListingWithAssociations) SetIsSupplyNil ¶
func (o *ShopListingWithAssociations) SetIsSupplyNil()
SetIsSupplyNil sets the value for IsSupply to be an explicit nil
func (*ShopListingWithAssociations) SetIsTaxable ¶
func (o *ShopListingWithAssociations) SetIsTaxable(v bool)
SetIsTaxable gets a reference to the given bool and assigns it to the IsTaxable field.
func (*ShopListingWithAssociations) SetItemDimensionsUnit ¶
func (o *ShopListingWithAssociations) SetItemDimensionsUnit(v CreateDraftListingRequestItemDimensionsUnit)
SetItemDimensionsUnit gets a reference to the given NullableCreateDraftListingRequestItemDimensionsUnit and assigns it to the ItemDimensionsUnit field.
func (*ShopListingWithAssociations) SetItemDimensionsUnitNil ¶
func (o *ShopListingWithAssociations) SetItemDimensionsUnitNil()
SetItemDimensionsUnitNil sets the value for ItemDimensionsUnit to be an explicit nil
func (*ShopListingWithAssociations) SetItemHeight ¶
func (o *ShopListingWithAssociations) SetItemHeight(v float32)
SetItemHeight gets a reference to the given NullableFloat32 and assigns it to the ItemHeight field.
func (*ShopListingWithAssociations) SetItemHeightNil ¶
func (o *ShopListingWithAssociations) SetItemHeightNil()
SetItemHeightNil sets the value for ItemHeight to be an explicit nil
func (*ShopListingWithAssociations) SetItemLength ¶
func (o *ShopListingWithAssociations) SetItemLength(v float32)
SetItemLength gets a reference to the given NullableFloat32 and assigns it to the ItemLength field.
func (*ShopListingWithAssociations) SetItemLengthNil ¶
func (o *ShopListingWithAssociations) SetItemLengthNil()
SetItemLengthNil sets the value for ItemLength to be an explicit nil
func (*ShopListingWithAssociations) SetItemWeight ¶
func (o *ShopListingWithAssociations) SetItemWeight(v float32)
SetItemWeight gets a reference to the given NullableFloat32 and assigns it to the ItemWeight field.
func (*ShopListingWithAssociations) SetItemWeightNil ¶
func (o *ShopListingWithAssociations) SetItemWeightNil()
SetItemWeightNil sets the value for ItemWeight to be an explicit nil
func (*ShopListingWithAssociations) SetItemWeightUnit ¶
func (o *ShopListingWithAssociations) SetItemWeightUnit(v CreateDraftListingRequestItemWeightUnit)
SetItemWeightUnit gets a reference to the given NullableCreateDraftListingRequestItemWeightUnit and assigns it to the ItemWeightUnit field.
func (*ShopListingWithAssociations) SetItemWeightUnitNil ¶
func (o *ShopListingWithAssociations) SetItemWeightUnitNil()
SetItemWeightUnitNil sets the value for ItemWeightUnit to be an explicit nil
func (*ShopListingWithAssociations) SetItemWidth ¶
func (o *ShopListingWithAssociations) SetItemWidth(v float32)
SetItemWidth gets a reference to the given NullableFloat32 and assigns it to the ItemWidth field.
func (*ShopListingWithAssociations) SetItemWidthNil ¶
func (o *ShopListingWithAssociations) SetItemWidthNil()
SetItemWidthNil sets the value for ItemWidth to be an explicit nil
func (*ShopListingWithAssociations) SetLanguage ¶
func (o *ShopListingWithAssociations) SetLanguage(v string)
SetLanguage gets a reference to the given NullableString and assigns it to the Language field.
func (*ShopListingWithAssociations) SetLanguageNil ¶
func (o *ShopListingWithAssociations) SetLanguageNil()
SetLanguageNil sets the value for Language to be an explicit nil
func (*ShopListingWithAssociations) SetLastModifiedTimestamp ¶
func (o *ShopListingWithAssociations) SetLastModifiedTimestamp(v int64)
SetLastModifiedTimestamp gets a reference to the given int64 and assigns it to the LastModifiedTimestamp field.
func (*ShopListingWithAssociations) SetListingId ¶
func (o *ShopListingWithAssociations) SetListingId(v int64)
SetListingId gets a reference to the given int64 and assigns it to the ListingId field.
func (*ShopListingWithAssociations) SetListingType ¶
func (o *ShopListingWithAssociations) SetListingType(v CreateDraftListingRequestType)
SetListingType gets a reference to the given CreateDraftListingRequestType and assigns it to the ListingType field.
func (*ShopListingWithAssociations) SetMaterials ¶
func (o *ShopListingWithAssociations) SetMaterials(v []string)
SetMaterials gets a reference to the given []string and assigns it to the Materials field.
func (*ShopListingWithAssociations) SetNonTaxable ¶
func (o *ShopListingWithAssociations) SetNonTaxable(v bool)
SetNonTaxable gets a reference to the given bool and assigns it to the NonTaxable field.
func (*ShopListingWithAssociations) SetNumFavorers ¶
func (o *ShopListingWithAssociations) SetNumFavorers(v int64)
SetNumFavorers gets a reference to the given int64 and assigns it to the NumFavorers field.
func (*ShopListingWithAssociations) SetOriginalCreationTimestamp ¶
func (o *ShopListingWithAssociations) SetOriginalCreationTimestamp(v int64)
SetOriginalCreationTimestamp gets a reference to the given int64 and assigns it to the OriginalCreationTimestamp field.
func (*ShopListingWithAssociations) SetPersonalizationCharCountMax ¶
func (o *ShopListingWithAssociations) SetPersonalizationCharCountMax(v int64)
SetPersonalizationCharCountMax gets a reference to the given NullableInt64 and assigns it to the PersonalizationCharCountMax field.
func (*ShopListingWithAssociations) SetPersonalizationCharCountMaxNil ¶
func (o *ShopListingWithAssociations) SetPersonalizationCharCountMaxNil()
SetPersonalizationCharCountMaxNil sets the value for PersonalizationCharCountMax to be an explicit nil
func (*ShopListingWithAssociations) SetPersonalizationInstructions ¶
func (o *ShopListingWithAssociations) SetPersonalizationInstructions(v string)
SetPersonalizationInstructions gets a reference to the given NullableString and assigns it to the PersonalizationInstructions field.
func (*ShopListingWithAssociations) SetPersonalizationInstructionsNil ¶
func (o *ShopListingWithAssociations) SetPersonalizationInstructionsNil()
SetPersonalizationInstructionsNil sets the value for PersonalizationInstructions to be an explicit nil
func (*ShopListingWithAssociations) SetPersonalizationIsRequired ¶
func (o *ShopListingWithAssociations) SetPersonalizationIsRequired(v bool)
SetPersonalizationIsRequired gets a reference to the given bool and assigns it to the PersonalizationIsRequired field.
func (*ShopListingWithAssociations) SetPrice ¶
func (o *ShopListingWithAssociations) SetPrice(v Money)
SetPrice gets a reference to the given Money and assigns it to the Price field.
func (*ShopListingWithAssociations) SetProcessingMax ¶
func (o *ShopListingWithAssociations) SetProcessingMax(v int64)
SetProcessingMax gets a reference to the given NullableInt64 and assigns it to the ProcessingMax field.
func (*ShopListingWithAssociations) SetProcessingMaxNil ¶
func (o *ShopListingWithAssociations) SetProcessingMaxNil()
SetProcessingMaxNil sets the value for ProcessingMax to be an explicit nil
func (*ShopListingWithAssociations) SetProcessingMin ¶
func (o *ShopListingWithAssociations) SetProcessingMin(v int64)
SetProcessingMin gets a reference to the given NullableInt64 and assigns it to the ProcessingMin field.
func (*ShopListingWithAssociations) SetProcessingMinNil ¶
func (o *ShopListingWithAssociations) SetProcessingMinNil()
SetProcessingMinNil sets the value for ProcessingMin to be an explicit nil
func (*ShopListingWithAssociations) SetProductionPartners ¶
func (o *ShopListingWithAssociations) SetProductionPartners(v []ShopProductionPartner)
SetProductionPartners gets a reference to the given []ShopProductionPartner and assigns it to the ProductionPartners field.
func (*ShopListingWithAssociations) SetQuantity ¶
func (o *ShopListingWithAssociations) SetQuantity(v int64)
SetQuantity gets a reference to the given int64 and assigns it to the Quantity field.
func (*ShopListingWithAssociations) SetReturnPolicyId ¶
func (o *ShopListingWithAssociations) SetReturnPolicyId(v int64)
SetReturnPolicyId gets a reference to the given NullableInt64 and assigns it to the ReturnPolicyId field.
func (*ShopListingWithAssociations) SetReturnPolicyIdNil ¶
func (o *ShopListingWithAssociations) SetReturnPolicyIdNil()
SetReturnPolicyIdNil sets the value for ReturnPolicyId to be an explicit nil
func (*ShopListingWithAssociations) SetShippingProfile ¶
func (o *ShopListingWithAssociations) SetShippingProfile(v ShopShippingProfile)
SetShippingProfile gets a reference to the given NullableShopShippingProfile and assigns it to the ShippingProfile field.
func (*ShopListingWithAssociations) SetShippingProfileId ¶
func (o *ShopListingWithAssociations) SetShippingProfileId(v int64)
SetShippingProfileId gets a reference to the given NullableInt64 and assigns it to the ShippingProfileId field.
func (*ShopListingWithAssociations) SetShippingProfileIdNil ¶
func (o *ShopListingWithAssociations) SetShippingProfileIdNil()
SetShippingProfileIdNil sets the value for ShippingProfileId to be an explicit nil
func (*ShopListingWithAssociations) SetShippingProfileNil ¶
func (o *ShopListingWithAssociations) SetShippingProfileNil()
SetShippingProfileNil sets the value for ShippingProfile to be an explicit nil
func (*ShopListingWithAssociations) SetShop ¶
func (o *ShopListingWithAssociations) SetShop(v Shop)
SetShop gets a reference to the given NullableShop and assigns it to the Shop field.
func (*ShopListingWithAssociations) SetShopId ¶
func (o *ShopListingWithAssociations) SetShopId(v int64)
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (*ShopListingWithAssociations) SetShopNil ¶
func (o *ShopListingWithAssociations) SetShopNil()
SetShopNil sets the value for Shop to be an explicit nil
func (*ShopListingWithAssociations) SetShopSectionId ¶
func (o *ShopListingWithAssociations) SetShopSectionId(v int64)
SetShopSectionId gets a reference to the given NullableInt64 and assigns it to the ShopSectionId field.
func (*ShopListingWithAssociations) SetShopSectionIdNil ¶
func (o *ShopListingWithAssociations) SetShopSectionIdNil()
SetShopSectionIdNil sets the value for ShopSectionId to be an explicit nil
func (*ShopListingWithAssociations) SetShouldAutoRenew ¶
func (o *ShopListingWithAssociations) SetShouldAutoRenew(v bool)
SetShouldAutoRenew gets a reference to the given bool and assigns it to the ShouldAutoRenew field.
func (*ShopListingWithAssociations) SetSkus ¶
func (o *ShopListingWithAssociations) SetSkus(v []string)
SetSkus gets a reference to the given []string and assigns it to the Skus field.
func (*ShopListingWithAssociations) SetState ¶
func (o *ShopListingWithAssociations) SetState(v ShopListingState)
SetState gets a reference to the given ShopListingState and assigns it to the State field.
func (*ShopListingWithAssociations) SetStateTimestamp ¶
func (o *ShopListingWithAssociations) SetStateTimestamp(v int64)
SetStateTimestamp gets a reference to the given NullableInt64 and assigns it to the StateTimestamp field.
func (*ShopListingWithAssociations) SetStateTimestampNil ¶
func (o *ShopListingWithAssociations) SetStateTimestampNil()
SetStateTimestampNil sets the value for StateTimestamp to be an explicit nil
func (*ShopListingWithAssociations) SetStyle ¶
func (o *ShopListingWithAssociations) SetStyle(v []string)
SetStyle gets a reference to the given []string and assigns it to the Style field.
func (*ShopListingWithAssociations) SetTags ¶
func (o *ShopListingWithAssociations) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*ShopListingWithAssociations) SetTaxonomyId ¶
func (o *ShopListingWithAssociations) SetTaxonomyId(v int64)
SetTaxonomyId gets a reference to the given NullableInt64 and assigns it to the TaxonomyId field.
func (*ShopListingWithAssociations) SetTaxonomyIdNil ¶
func (o *ShopListingWithAssociations) SetTaxonomyIdNil()
SetTaxonomyIdNil sets the value for TaxonomyId to be an explicit nil
func (*ShopListingWithAssociations) SetTitle ¶
func (o *ShopListingWithAssociations) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ShopListingWithAssociations) SetTranslations ¶
func (o *ShopListingWithAssociations) SetTranslations(v ListingTranslations)
SetTranslations gets a reference to the given NullableListingTranslations and assigns it to the Translations field.
func (*ShopListingWithAssociations) SetTranslationsNil ¶
func (o *ShopListingWithAssociations) SetTranslationsNil()
SetTranslationsNil sets the value for Translations to be an explicit nil
func (*ShopListingWithAssociations) SetUpdatedTimestamp ¶
func (o *ShopListingWithAssociations) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (*ShopListingWithAssociations) SetUrl ¶
func (o *ShopListingWithAssociations) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*ShopListingWithAssociations) SetUser ¶
func (o *ShopListingWithAssociations) SetUser(v User)
SetUser gets a reference to the given NullableUser and assigns it to the User field.
func (*ShopListingWithAssociations) SetUserId ¶
func (o *ShopListingWithAssociations) SetUserId(v int64)
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (*ShopListingWithAssociations) SetUserNil ¶
func (o *ShopListingWithAssociations) SetUserNil()
SetUserNil sets the value for User to be an explicit nil
func (*ShopListingWithAssociations) SetVideos ¶
func (o *ShopListingWithAssociations) SetVideos(v []ListingVideo)
SetVideos gets a reference to the given []ListingVideo and assigns it to the Videos field.
func (*ShopListingWithAssociations) SetViews ¶
func (o *ShopListingWithAssociations) SetViews(v int64)
SetViews gets a reference to the given int64 and assigns it to the Views field.
func (*ShopListingWithAssociations) SetWhenMade ¶
func (o *ShopListingWithAssociations) SetWhenMade(v ShopListingWhenMade)
SetWhenMade gets a reference to the given NullableShopListingWhenMade and assigns it to the WhenMade field.
func (*ShopListingWithAssociations) SetWhenMadeNil ¶
func (o *ShopListingWithAssociations) SetWhenMadeNil()
SetWhenMadeNil sets the value for WhenMade to be an explicit nil
func (*ShopListingWithAssociations) SetWhoMade ¶
func (o *ShopListingWithAssociations) SetWhoMade(v ShopListingWhoMade)
SetWhoMade gets a reference to the given NullableShopListingWhoMade and assigns it to the WhoMade field.
func (*ShopListingWithAssociations) SetWhoMadeNil ¶
func (o *ShopListingWithAssociations) SetWhoMadeNil()
SetWhoMadeNil sets the value for WhoMade to be an explicit nil
func (ShopListingWithAssociations) ToMap ¶
func (o ShopListingWithAssociations) ToMap() (map[string]interface{}, error)
func (*ShopListingWithAssociations) UnsetInventory ¶
func (o *ShopListingWithAssociations) UnsetInventory()
UnsetInventory ensures that no value is present for Inventory, not even an explicit nil
func (*ShopListingWithAssociations) UnsetIsSupply ¶
func (o *ShopListingWithAssociations) UnsetIsSupply()
UnsetIsSupply ensures that no value is present for IsSupply, not even an explicit nil
func (*ShopListingWithAssociations) UnsetItemDimensionsUnit ¶
func (o *ShopListingWithAssociations) UnsetItemDimensionsUnit()
UnsetItemDimensionsUnit ensures that no value is present for ItemDimensionsUnit, not even an explicit nil
func (*ShopListingWithAssociations) UnsetItemHeight ¶
func (o *ShopListingWithAssociations) UnsetItemHeight()
UnsetItemHeight ensures that no value is present for ItemHeight, not even an explicit nil
func (*ShopListingWithAssociations) UnsetItemLength ¶
func (o *ShopListingWithAssociations) UnsetItemLength()
UnsetItemLength ensures that no value is present for ItemLength, not even an explicit nil
func (*ShopListingWithAssociations) UnsetItemWeight ¶
func (o *ShopListingWithAssociations) UnsetItemWeight()
UnsetItemWeight ensures that no value is present for ItemWeight, not even an explicit nil
func (*ShopListingWithAssociations) UnsetItemWeightUnit ¶
func (o *ShopListingWithAssociations) UnsetItemWeightUnit()
UnsetItemWeightUnit ensures that no value is present for ItemWeightUnit, not even an explicit nil
func (*ShopListingWithAssociations) UnsetItemWidth ¶
func (o *ShopListingWithAssociations) UnsetItemWidth()
UnsetItemWidth ensures that no value is present for ItemWidth, not even an explicit nil
func (*ShopListingWithAssociations) UnsetLanguage ¶
func (o *ShopListingWithAssociations) UnsetLanguage()
UnsetLanguage ensures that no value is present for Language, not even an explicit nil
func (*ShopListingWithAssociations) UnsetPersonalizationCharCountMax ¶
func (o *ShopListingWithAssociations) UnsetPersonalizationCharCountMax()
UnsetPersonalizationCharCountMax ensures that no value is present for PersonalizationCharCountMax, not even an explicit nil
func (*ShopListingWithAssociations) UnsetPersonalizationInstructions ¶
func (o *ShopListingWithAssociations) UnsetPersonalizationInstructions()
UnsetPersonalizationInstructions ensures that no value is present for PersonalizationInstructions, not even an explicit nil
func (*ShopListingWithAssociations) UnsetProcessingMax ¶
func (o *ShopListingWithAssociations) UnsetProcessingMax()
UnsetProcessingMax ensures that no value is present for ProcessingMax, not even an explicit nil
func (*ShopListingWithAssociations) UnsetProcessingMin ¶
func (o *ShopListingWithAssociations) UnsetProcessingMin()
UnsetProcessingMin ensures that no value is present for ProcessingMin, not even an explicit nil
func (*ShopListingWithAssociations) UnsetReturnPolicyId ¶
func (o *ShopListingWithAssociations) UnsetReturnPolicyId()
UnsetReturnPolicyId ensures that no value is present for ReturnPolicyId, not even an explicit nil
func (*ShopListingWithAssociations) UnsetShippingProfile ¶
func (o *ShopListingWithAssociations) UnsetShippingProfile()
UnsetShippingProfile ensures that no value is present for ShippingProfile, not even an explicit nil
func (*ShopListingWithAssociations) UnsetShippingProfileId ¶
func (o *ShopListingWithAssociations) UnsetShippingProfileId()
UnsetShippingProfileId ensures that no value is present for ShippingProfileId, not even an explicit nil
func (*ShopListingWithAssociations) UnsetShop ¶
func (o *ShopListingWithAssociations) UnsetShop()
UnsetShop ensures that no value is present for Shop, not even an explicit nil
func (*ShopListingWithAssociations) UnsetShopSectionId ¶
func (o *ShopListingWithAssociations) UnsetShopSectionId()
UnsetShopSectionId ensures that no value is present for ShopSectionId, not even an explicit nil
func (*ShopListingWithAssociations) UnsetStateTimestamp ¶
func (o *ShopListingWithAssociations) UnsetStateTimestamp()
UnsetStateTimestamp ensures that no value is present for StateTimestamp, not even an explicit nil
func (*ShopListingWithAssociations) UnsetTaxonomyId ¶
func (o *ShopListingWithAssociations) UnsetTaxonomyId()
UnsetTaxonomyId ensures that no value is present for TaxonomyId, not even an explicit nil
func (*ShopListingWithAssociations) UnsetTranslations ¶
func (o *ShopListingWithAssociations) UnsetTranslations()
UnsetTranslations ensures that no value is present for Translations, not even an explicit nil
func (*ShopListingWithAssociations) UnsetUser ¶
func (o *ShopListingWithAssociations) UnsetUser()
UnsetUser ensures that no value is present for User, not even an explicit nil
func (*ShopListingWithAssociations) UnsetWhenMade ¶
func (o *ShopListingWithAssociations) UnsetWhenMade()
UnsetWhenMade ensures that no value is present for WhenMade, not even an explicit nil
func (*ShopListingWithAssociations) UnsetWhoMade ¶
func (o *ShopListingWithAssociations) UnsetWhoMade()
UnsetWhoMade ensures that no value is present for WhoMade, not even an explicit nil
type ShopListings ¶
type ShopListings struct { // The number of ShopListing resources found. Count *int64 `json:"count,omitempty"` // The ShopListing resources found. Results []ShopListing `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopListings A set of ShopListing resources.
func NewShopListings ¶
func NewShopListings() *ShopListings
NewShopListings instantiates a new ShopListings 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
func NewShopListingsWithDefaults ¶
func NewShopListingsWithDefaults() *ShopListings
NewShopListingsWithDefaults instantiates a new ShopListings 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
func (*ShopListings) GetCount ¶
func (o *ShopListings) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopListings) GetCountOk ¶
func (o *ShopListings) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListings) GetResults ¶
func (o *ShopListings) GetResults() []ShopListing
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopListings) GetResultsOk ¶
func (o *ShopListings) GetResultsOk() ([]ShopListing, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListings) HasCount ¶
func (o *ShopListings) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopListings) HasResults ¶
func (o *ShopListings) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopListings) MarshalJSON ¶
func (o ShopListings) MarshalJSON() ([]byte, error)
func (*ShopListings) SetCount ¶
func (o *ShopListings) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopListings) SetResults ¶
func (o *ShopListings) SetResults(v []ShopListing)
SetResults gets a reference to the given []ShopListing and assigns it to the Results field.
func (ShopListings) ToMap ¶
func (o ShopListings) ToMap() (map[string]interface{}, error)
type ShopListingsWithAssociations ¶
type ShopListingsWithAssociations struct { // The number of ShopListing resources found. Count *int64 `json:"count,omitempty"` // The ShopListing resources found. Results []ShopListingWithAssociations `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopListingsWithAssociations A set of ShopListing resources with associations.
func NewShopListingsWithAssociations ¶
func NewShopListingsWithAssociations() *ShopListingsWithAssociations
NewShopListingsWithAssociations instantiates a new ShopListingsWithAssociations 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
func NewShopListingsWithAssociationsWithDefaults ¶
func NewShopListingsWithAssociationsWithDefaults() *ShopListingsWithAssociations
NewShopListingsWithAssociationsWithDefaults instantiates a new ShopListingsWithAssociations 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
func (*ShopListingsWithAssociations) GetCount ¶
func (o *ShopListingsWithAssociations) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopListingsWithAssociations) GetCountOk ¶
func (o *ShopListingsWithAssociations) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingsWithAssociations) GetResults ¶
func (o *ShopListingsWithAssociations) GetResults() []ShopListingWithAssociations
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopListingsWithAssociations) GetResultsOk ¶
func (o *ShopListingsWithAssociations) GetResultsOk() ([]ShopListingWithAssociations, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopListingsWithAssociations) HasCount ¶
func (o *ShopListingsWithAssociations) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopListingsWithAssociations) HasResults ¶
func (o *ShopListingsWithAssociations) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopListingsWithAssociations) MarshalJSON ¶
func (o ShopListingsWithAssociations) MarshalJSON() ([]byte, error)
func (*ShopListingsWithAssociations) SetCount ¶
func (o *ShopListingsWithAssociations) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopListingsWithAssociations) SetResults ¶
func (o *ShopListingsWithAssociations) SetResults(v []ShopListingWithAssociations)
SetResults gets a reference to the given []ShopListingWithAssociations and assigns it to the Results field.
func (ShopListingsWithAssociations) ToMap ¶
func (o ShopListingsWithAssociations) ToMap() (map[string]interface{}, error)
type ShopProductionPartner ¶
type ShopProductionPartner struct { // The numeric ID of a production partner. ProductionPartnerId *int64 `json:"production_partner_id,omitempty"` // The name or title of the production partner. PartnerName *string `json:"partner_name,omitempty"` // A string representing the production partner location. Location *string `json:"location,omitempty"` AdditionalProperties map[string]interface{} }
ShopProductionPartner Represents a description of a shop production partner.
func NewShopProductionPartner ¶
func NewShopProductionPartner() *ShopProductionPartner
NewShopProductionPartner instantiates a new ShopProductionPartner 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
func NewShopProductionPartnerWithDefaults ¶
func NewShopProductionPartnerWithDefaults() *ShopProductionPartner
NewShopProductionPartnerWithDefaults instantiates a new ShopProductionPartner 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
func (*ShopProductionPartner) GetLocation ¶
func (o *ShopProductionPartner) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*ShopProductionPartner) GetLocationOk ¶
func (o *ShopProductionPartner) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopProductionPartner) GetPartnerName ¶
func (o *ShopProductionPartner) GetPartnerName() string
GetPartnerName returns the PartnerName field value if set, zero value otherwise.
func (*ShopProductionPartner) GetPartnerNameOk ¶
func (o *ShopProductionPartner) GetPartnerNameOk() (*string, bool)
GetPartnerNameOk returns a tuple with the PartnerName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopProductionPartner) GetProductionPartnerId ¶
func (o *ShopProductionPartner) GetProductionPartnerId() int64
GetProductionPartnerId returns the ProductionPartnerId field value if set, zero value otherwise.
func (*ShopProductionPartner) GetProductionPartnerIdOk ¶
func (o *ShopProductionPartner) GetProductionPartnerIdOk() (*int64, bool)
GetProductionPartnerIdOk returns a tuple with the ProductionPartnerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopProductionPartner) HasLocation ¶
func (o *ShopProductionPartner) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*ShopProductionPartner) HasPartnerName ¶
func (o *ShopProductionPartner) HasPartnerName() bool
HasPartnerName returns a boolean if a field has been set.
func (*ShopProductionPartner) HasProductionPartnerId ¶
func (o *ShopProductionPartner) HasProductionPartnerId() bool
HasProductionPartnerId returns a boolean if a field has been set.
func (ShopProductionPartner) MarshalJSON ¶
func (o ShopProductionPartner) MarshalJSON() ([]byte, error)
func (*ShopProductionPartner) SetLocation ¶
func (o *ShopProductionPartner) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*ShopProductionPartner) SetPartnerName ¶
func (o *ShopProductionPartner) SetPartnerName(v string)
SetPartnerName gets a reference to the given string and assigns it to the PartnerName field.
func (*ShopProductionPartner) SetProductionPartnerId ¶
func (o *ShopProductionPartner) SetProductionPartnerId(v int64)
SetProductionPartnerId gets a reference to the given int64 and assigns it to the ProductionPartnerId field.
func (ShopProductionPartner) ToMap ¶
func (o ShopProductionPartner) ToMap() (map[string]interface{}, error)
type ShopProductionPartnerAPI ¶
type ShopProductionPartnerAPI interface { /* GetShopProductionPartners Method for GetShopProductionPartners <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of production partners available in the specific Etsy shop identified by its shop ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopProductionPartnerAPIGetShopProductionPartnersRequest */ GetShopProductionPartners(ctx context.Context, shopId int64) ShopProductionPartnerAPIGetShopProductionPartnersRequest // GetShopProductionPartnersExecute executes the request // @return ShopProductionPartners GetShopProductionPartnersExecute(r ShopProductionPartnerAPIGetShopProductionPartnersRequest) (*ShopProductionPartners, *http.Response, error) }
type ShopProductionPartnerAPIGetShopProductionPartnersRequest ¶
type ShopProductionPartnerAPIGetShopProductionPartnersRequest struct { ApiService ShopProductionPartnerAPI // contains filtered or unexported fields }
func (ShopProductionPartnerAPIGetShopProductionPartnersRequest) Execute ¶
func (r ShopProductionPartnerAPIGetShopProductionPartnersRequest) Execute() (*ShopProductionPartners, *http.Response, error)
type ShopProductionPartnerAPIService ¶
type ShopProductionPartnerAPIService service
ShopProductionPartnerAPIService ShopProductionPartnerAPI service
func (*ShopProductionPartnerAPIService) GetShopProductionPartners ¶
func (a *ShopProductionPartnerAPIService) GetShopProductionPartners(ctx context.Context, shopId int64) ShopProductionPartnerAPIGetShopProductionPartnersRequest
GetShopProductionPartners Method for GetShopProductionPartners
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of production partners available in the specific Etsy shop identified by its shop ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopProductionPartnerAPIGetShopProductionPartnersRequest
func (*ShopProductionPartnerAPIService) GetShopProductionPartnersExecute ¶
func (a *ShopProductionPartnerAPIService) GetShopProductionPartnersExecute(r ShopProductionPartnerAPIGetShopProductionPartnersRequest) (*ShopProductionPartners, *http.Response, error)
Execute executes the request
@return ShopProductionPartners
type ShopProductionPartners ¶
type ShopProductionPartners struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []ShopProductionPartner `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopProductionPartners Represents a list of shop production partners.
func NewShopProductionPartners ¶
func NewShopProductionPartners() *ShopProductionPartners
NewShopProductionPartners instantiates a new ShopProductionPartners 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
func NewShopProductionPartnersWithDefaults ¶
func NewShopProductionPartnersWithDefaults() *ShopProductionPartners
NewShopProductionPartnersWithDefaults instantiates a new ShopProductionPartners 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
func (*ShopProductionPartners) GetCount ¶
func (o *ShopProductionPartners) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopProductionPartners) GetCountOk ¶
func (o *ShopProductionPartners) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopProductionPartners) GetResults ¶
func (o *ShopProductionPartners) GetResults() []ShopProductionPartner
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopProductionPartners) GetResultsOk ¶
func (o *ShopProductionPartners) GetResultsOk() ([]ShopProductionPartner, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopProductionPartners) HasCount ¶
func (o *ShopProductionPartners) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopProductionPartners) HasResults ¶
func (o *ShopProductionPartners) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopProductionPartners) MarshalJSON ¶
func (o ShopProductionPartners) MarshalJSON() ([]byte, error)
func (*ShopProductionPartners) SetCount ¶
func (o *ShopProductionPartners) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopProductionPartners) SetResults ¶
func (o *ShopProductionPartners) SetResults(v []ShopProductionPartner)
SetResults gets a reference to the given []ShopProductionPartner and assigns it to the Results field.
func (ShopProductionPartners) ToMap ¶
func (o ShopProductionPartners) ToMap() (map[string]interface{}, error)
type ShopReceipt ¶
type ShopReceipt struct { // The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. ReceiptId *int64 `json:"receipt_id,omitempty"` // The numeric value for the Etsy channel that serviced the purchase: 0 for Etsy.com, 1 for a Pattern shop. ReceiptType *int64 `json:"receipt_type,omitempty"` // The numeric ID for the [user](/documentation/reference#tag/User) (seller) fulfilling the purchase. SellerUserId *int64 `json:"seller_user_id,omitempty"` // The email address string for the seller of the listing. SellerEmail NullableString `json:"seller_email,omitempty"` // The numeric ID for the [user](/documentation/reference#tag/User) making the purchase. BuyerUserId *int64 `json:"buyer_user_id,omitempty"` // The email address string for the buyer of the listing. It will be null if access hasn't been granted. Access is case-by-case and subject to approval. BuyerEmail NullableString `json:"buyer_email,omitempty"` // The name string for the recipient in the shipping address. Name *string `json:"name,omitempty"` // The first address line string for the recipient in the shipping address. FirstLine NullableString `json:"first_line,omitempty"` // The optional second address line string for the recipient in the shipping address. SecondLine NullableString `json:"second_line,omitempty"` // The city string for the recipient in the shipping address. City NullableString `json:"city,omitempty"` // The state string for the recipient in the shipping address. State NullableString `json:"state,omitempty"` // The zip code string (not necessarily a number) for the recipient in the shipping address. Zip NullableString `json:"zip,omitempty"` Status *ShopReceiptStatus `json:"status,omitempty"` // The formatted shipping address string for the recipient in the shipping address. FormattedAddress NullableString `json:"formatted_address,omitempty"` // The ISO-3166 alpha-2 country code string for the recipient in the shipping address. CountryIso NullableString `json:"country_iso,omitempty"` // The payment method string identifying purchaser's payment method, which must be one of: \\'cc\\' (credit card), \\'paypal\\', \\'check\\', \\'mo\\' (money order), \\'bt\\' (bank transfer), \\'other\\', \\'ideal\\', \\'sofort\\', \\'apple_pay\\', \\'google\\', \\'android_pay\\', \\'google_pay\\', \\'klarna\\', \\'k_pay_in_4\\' (klarna), \\'k_pay_in_3\\' (klarna), or \\'k_financing\\' (klarna). PaymentMethod *string `json:"payment_method,omitempty"` // The email address string for the email address to which to send payment confirmation PaymentEmail NullableString `json:"payment_email,omitempty"` // An optional message string from the seller. MessageFromSeller NullableString `json:"message_from_seller,omitempty"` // An optional message string from the buyer. MessageFromBuyer NullableString `json:"message_from_buyer,omitempty"` // The machine-generated acknowledgement string from the payment system. MessageFromPayment NullableString `json:"message_from_payment,omitempty"` // When true, buyer paid for this purchase. IsPaid *bool `json:"is_paid,omitempty"` // When true, seller shipped the products. IsShipped *bool `json:"is_shipped,omitempty"` // The receipt\\'s creation time, in epoch seconds. CreateTimestamp *int64 `json:"create_timestamp,omitempty"` // The receipt\\'s creation time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The time of the last update to the receipt, in epoch seconds. UpdateTimestamp *int64 `json:"update_timestamp,omitempty"` // The time of the last update to the receipt, in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` // When true, the buyer indicated this purchase is a gift. IsGift *bool `json:"is_gift,omitempty"` // A gift message string the buyer requests delivered with the product. GiftMessage *string `json:"gift_message,omitempty"` // The name of the person who sent the gift. GiftSender *string `json:"gift_sender,omitempty"` // A number equal to the total_price minus the coupon discount plus tax and shipping costs. Grandtotal *Money `json:"grandtotal,omitempty"` // A number equal to the total_price minus coupon discounts. Does not included tax or shipping costs. Subtotal *Money `json:"subtotal,omitempty"` // A number equal to the sum of the individual listings\\' (price * quantity). Does not included tax or shipping costs. TotalPrice *Money `json:"total_price,omitempty"` // A number equal to the total shipping cost of the receipt. TotalShippingCost *Money `json:"total_shipping_cost,omitempty"` // The total sales tax of the receipt. TotalTaxCost *Money `json:"total_tax_cost,omitempty"` // A number equal to the total value-added tax (VAT) of the receipt. TotalVatCost *Money `json:"total_vat_cost,omitempty"` // The numeric total discounted price for the receipt when using a discount (percent or fixed) coupon. Free shipping coupons are not included in this discount amount. DiscountAmt *Money `json:"discount_amt,omitempty"` // The numeric price of gift wrap for this receipt. GiftWrapPrice *Money `json:"gift_wrap_price,omitempty"` // A list of shipment statements for this receipt. Shipments []ShopReceiptShipment `json:"shipments,omitempty"` // Array of transactions for the receipt. Transactions []ShopReceiptTransaction `json:"transactions,omitempty"` // Refunds for a given receipt. Refunds []ShopRefund `json:"refunds,omitempty"` AdditionalProperties map[string]interface{} }
ShopReceipt The record of a purchase from a shop. Shop receipts display monetary values using the shop's currency.
func NewShopReceipt ¶
func NewShopReceipt() *ShopReceipt
NewShopReceipt instantiates a new ShopReceipt 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
func NewShopReceiptWithDefaults ¶
func NewShopReceiptWithDefaults() *ShopReceipt
NewShopReceiptWithDefaults instantiates a new ShopReceipt 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
func (*ShopReceipt) GetBuyerEmail ¶
func (o *ShopReceipt) GetBuyerEmail() string
GetBuyerEmail returns the BuyerEmail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetBuyerEmailOk ¶
func (o *ShopReceipt) GetBuyerEmailOk() (*string, bool)
GetBuyerEmailOk returns a tuple with the BuyerEmail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetBuyerUserId ¶
func (o *ShopReceipt) GetBuyerUserId() int64
GetBuyerUserId returns the BuyerUserId field value if set, zero value otherwise.
func (*ShopReceipt) GetBuyerUserIdOk ¶
func (o *ShopReceipt) GetBuyerUserIdOk() (*int64, bool)
GetBuyerUserIdOk returns a tuple with the BuyerUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetCity ¶
func (o *ShopReceipt) GetCity() string
GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetCityOk ¶
func (o *ShopReceipt) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetCountryIso ¶
func (o *ShopReceipt) GetCountryIso() string
GetCountryIso returns the CountryIso field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetCountryIsoOk ¶
func (o *ShopReceipt) GetCountryIsoOk() (*string, bool)
GetCountryIsoOk returns a tuple with the CountryIso field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetCreateTimestamp ¶
func (o *ShopReceipt) GetCreateTimestamp() int64
GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.
func (*ShopReceipt) GetCreateTimestampOk ¶
func (o *ShopReceipt) GetCreateTimestampOk() (*int64, bool)
GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetCreatedTimestamp ¶
func (o *ShopReceipt) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ShopReceipt) GetCreatedTimestampOk ¶
func (o *ShopReceipt) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetDiscountAmt ¶
func (o *ShopReceipt) GetDiscountAmt() Money
GetDiscountAmt returns the DiscountAmt field value if set, zero value otherwise.
func (*ShopReceipt) GetDiscountAmtOk ¶
func (o *ShopReceipt) GetDiscountAmtOk() (*Money, bool)
GetDiscountAmtOk returns a tuple with the DiscountAmt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetFirstLine ¶
func (o *ShopReceipt) GetFirstLine() string
GetFirstLine returns the FirstLine field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetFirstLineOk ¶
func (o *ShopReceipt) GetFirstLineOk() (*string, bool)
GetFirstLineOk returns a tuple with the FirstLine field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetFormattedAddress ¶
func (o *ShopReceipt) GetFormattedAddress() string
GetFormattedAddress returns the FormattedAddress field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetFormattedAddressOk ¶
func (o *ShopReceipt) GetFormattedAddressOk() (*string, bool)
GetFormattedAddressOk returns a tuple with the FormattedAddress field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetGiftMessage ¶
func (o *ShopReceipt) GetGiftMessage() string
GetGiftMessage returns the GiftMessage field value if set, zero value otherwise.
func (*ShopReceipt) GetGiftMessageOk ¶
func (o *ShopReceipt) GetGiftMessageOk() (*string, bool)
GetGiftMessageOk returns a tuple with the GiftMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetGiftSender ¶
func (o *ShopReceipt) GetGiftSender() string
GetGiftSender returns the GiftSender field value if set, zero value otherwise.
func (*ShopReceipt) GetGiftSenderOk ¶
func (o *ShopReceipt) GetGiftSenderOk() (*string, bool)
GetGiftSenderOk returns a tuple with the GiftSender field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetGiftWrapPrice ¶
func (o *ShopReceipt) GetGiftWrapPrice() Money
GetGiftWrapPrice returns the GiftWrapPrice field value if set, zero value otherwise.
func (*ShopReceipt) GetGiftWrapPriceOk ¶
func (o *ShopReceipt) GetGiftWrapPriceOk() (*Money, bool)
GetGiftWrapPriceOk returns a tuple with the GiftWrapPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetGrandtotal ¶
func (o *ShopReceipt) GetGrandtotal() Money
GetGrandtotal returns the Grandtotal field value if set, zero value otherwise.
func (*ShopReceipt) GetGrandtotalOk ¶
func (o *ShopReceipt) GetGrandtotalOk() (*Money, bool)
GetGrandtotalOk returns a tuple with the Grandtotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetIsGift ¶
func (o *ShopReceipt) GetIsGift() bool
GetIsGift returns the IsGift field value if set, zero value otherwise.
func (*ShopReceipt) GetIsGiftOk ¶
func (o *ShopReceipt) GetIsGiftOk() (*bool, bool)
GetIsGiftOk returns a tuple with the IsGift field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetIsPaid ¶
func (o *ShopReceipt) GetIsPaid() bool
GetIsPaid returns the IsPaid field value if set, zero value otherwise.
func (*ShopReceipt) GetIsPaidOk ¶
func (o *ShopReceipt) GetIsPaidOk() (*bool, bool)
GetIsPaidOk returns a tuple with the IsPaid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetIsShipped ¶
func (o *ShopReceipt) GetIsShipped() bool
GetIsShipped returns the IsShipped field value if set, zero value otherwise.
func (*ShopReceipt) GetIsShippedOk ¶
func (o *ShopReceipt) GetIsShippedOk() (*bool, bool)
GetIsShippedOk returns a tuple with the IsShipped field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetMessageFromBuyer ¶
func (o *ShopReceipt) GetMessageFromBuyer() string
GetMessageFromBuyer returns the MessageFromBuyer field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetMessageFromBuyerOk ¶
func (o *ShopReceipt) GetMessageFromBuyerOk() (*string, bool)
GetMessageFromBuyerOk returns a tuple with the MessageFromBuyer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetMessageFromPayment ¶
func (o *ShopReceipt) GetMessageFromPayment() string
GetMessageFromPayment returns the MessageFromPayment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetMessageFromPaymentOk ¶
func (o *ShopReceipt) GetMessageFromPaymentOk() (*string, bool)
GetMessageFromPaymentOk returns a tuple with the MessageFromPayment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetMessageFromSeller ¶
func (o *ShopReceipt) GetMessageFromSeller() string
GetMessageFromSeller returns the MessageFromSeller field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetMessageFromSellerOk ¶
func (o *ShopReceipt) GetMessageFromSellerOk() (*string, bool)
GetMessageFromSellerOk returns a tuple with the MessageFromSeller field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetName ¶
func (o *ShopReceipt) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ShopReceipt) GetNameOk ¶
func (o *ShopReceipt) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetPaymentEmail ¶
func (o *ShopReceipt) GetPaymentEmail() string
GetPaymentEmail returns the PaymentEmail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetPaymentEmailOk ¶
func (o *ShopReceipt) GetPaymentEmailOk() (*string, bool)
GetPaymentEmailOk returns a tuple with the PaymentEmail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetPaymentMethod ¶
func (o *ShopReceipt) GetPaymentMethod() string
GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
func (*ShopReceipt) GetPaymentMethodOk ¶
func (o *ShopReceipt) GetPaymentMethodOk() (*string, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetReceiptId ¶
func (o *ShopReceipt) GetReceiptId() int64
GetReceiptId returns the ReceiptId field value if set, zero value otherwise.
func (*ShopReceipt) GetReceiptIdOk ¶
func (o *ShopReceipt) GetReceiptIdOk() (*int64, bool)
GetReceiptIdOk returns a tuple with the ReceiptId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetReceiptType ¶
func (o *ShopReceipt) GetReceiptType() int64
GetReceiptType returns the ReceiptType field value if set, zero value otherwise.
func (*ShopReceipt) GetReceiptTypeOk ¶
func (o *ShopReceipt) GetReceiptTypeOk() (*int64, bool)
GetReceiptTypeOk returns a tuple with the ReceiptType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetRefunds ¶
func (o *ShopReceipt) GetRefunds() []ShopRefund
GetRefunds returns the Refunds field value if set, zero value otherwise.
func (*ShopReceipt) GetRefundsOk ¶
func (o *ShopReceipt) GetRefundsOk() ([]ShopRefund, bool)
GetRefundsOk returns a tuple with the Refunds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetSecondLine ¶
func (o *ShopReceipt) GetSecondLine() string
GetSecondLine returns the SecondLine field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetSecondLineOk ¶
func (o *ShopReceipt) GetSecondLineOk() (*string, bool)
GetSecondLineOk returns a tuple with the SecondLine field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetSellerEmail ¶
func (o *ShopReceipt) GetSellerEmail() string
GetSellerEmail returns the SellerEmail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetSellerEmailOk ¶
func (o *ShopReceipt) GetSellerEmailOk() (*string, bool)
GetSellerEmailOk returns a tuple with the SellerEmail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetSellerUserId ¶
func (o *ShopReceipt) GetSellerUserId() int64
GetSellerUserId returns the SellerUserId field value if set, zero value otherwise.
func (*ShopReceipt) GetSellerUserIdOk ¶
func (o *ShopReceipt) GetSellerUserIdOk() (*int64, bool)
GetSellerUserIdOk returns a tuple with the SellerUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetShipments ¶
func (o *ShopReceipt) GetShipments() []ShopReceiptShipment
GetShipments returns the Shipments field value if set, zero value otherwise.
func (*ShopReceipt) GetShipmentsOk ¶
func (o *ShopReceipt) GetShipmentsOk() ([]ShopReceiptShipment, bool)
GetShipmentsOk returns a tuple with the Shipments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetState ¶
func (o *ShopReceipt) GetState() string
GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetStateOk ¶
func (o *ShopReceipt) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) GetStatus ¶
func (o *ShopReceipt) GetStatus() ShopReceiptStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*ShopReceipt) GetStatusOk ¶
func (o *ShopReceipt) GetStatusOk() (*ShopReceiptStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetSubtotal ¶
func (o *ShopReceipt) GetSubtotal() Money
GetSubtotal returns the Subtotal field value if set, zero value otherwise.
func (*ShopReceipt) GetSubtotalOk ¶
func (o *ShopReceipt) GetSubtotalOk() (*Money, bool)
GetSubtotalOk returns a tuple with the Subtotal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetTotalPrice ¶
func (o *ShopReceipt) GetTotalPrice() Money
GetTotalPrice returns the TotalPrice field value if set, zero value otherwise.
func (*ShopReceipt) GetTotalPriceOk ¶
func (o *ShopReceipt) GetTotalPriceOk() (*Money, bool)
GetTotalPriceOk returns a tuple with the TotalPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetTotalShippingCost ¶
func (o *ShopReceipt) GetTotalShippingCost() Money
GetTotalShippingCost returns the TotalShippingCost field value if set, zero value otherwise.
func (*ShopReceipt) GetTotalShippingCostOk ¶
func (o *ShopReceipt) GetTotalShippingCostOk() (*Money, bool)
GetTotalShippingCostOk returns a tuple with the TotalShippingCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetTotalTaxCost ¶
func (o *ShopReceipt) GetTotalTaxCost() Money
GetTotalTaxCost returns the TotalTaxCost field value if set, zero value otherwise.
func (*ShopReceipt) GetTotalTaxCostOk ¶
func (o *ShopReceipt) GetTotalTaxCostOk() (*Money, bool)
GetTotalTaxCostOk returns a tuple with the TotalTaxCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetTotalVatCost ¶
func (o *ShopReceipt) GetTotalVatCost() Money
GetTotalVatCost returns the TotalVatCost field value if set, zero value otherwise.
func (*ShopReceipt) GetTotalVatCostOk ¶
func (o *ShopReceipt) GetTotalVatCostOk() (*Money, bool)
GetTotalVatCostOk returns a tuple with the TotalVatCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetTransactions ¶
func (o *ShopReceipt) GetTransactions() []ShopReceiptTransaction
GetTransactions returns the Transactions field value if set, zero value otherwise.
func (*ShopReceipt) GetTransactionsOk ¶
func (o *ShopReceipt) GetTransactionsOk() ([]ShopReceiptTransaction, bool)
GetTransactionsOk returns a tuple with the Transactions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetUpdateTimestamp ¶
func (o *ShopReceipt) GetUpdateTimestamp() int64
GetUpdateTimestamp returns the UpdateTimestamp field value if set, zero value otherwise.
func (*ShopReceipt) GetUpdateTimestampOk ¶
func (o *ShopReceipt) GetUpdateTimestampOk() (*int64, bool)
GetUpdateTimestampOk returns a tuple with the UpdateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetUpdatedTimestamp ¶
func (o *ShopReceipt) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*ShopReceipt) GetUpdatedTimestampOk ¶
func (o *ShopReceipt) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipt) GetZip ¶
func (o *ShopReceipt) GetZip() string
GetZip returns the Zip field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceipt) GetZipOk ¶
func (o *ShopReceipt) GetZipOk() (*string, bool)
GetZipOk returns a tuple with the Zip field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceipt) HasBuyerEmail ¶
func (o *ShopReceipt) HasBuyerEmail() bool
HasBuyerEmail returns a boolean if a field has been set.
func (*ShopReceipt) HasBuyerUserId ¶
func (o *ShopReceipt) HasBuyerUserId() bool
HasBuyerUserId returns a boolean if a field has been set.
func (*ShopReceipt) HasCity ¶
func (o *ShopReceipt) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*ShopReceipt) HasCountryIso ¶
func (o *ShopReceipt) HasCountryIso() bool
HasCountryIso returns a boolean if a field has been set.
func (*ShopReceipt) HasCreateTimestamp ¶
func (o *ShopReceipt) HasCreateTimestamp() bool
HasCreateTimestamp returns a boolean if a field has been set.
func (*ShopReceipt) HasCreatedTimestamp ¶
func (o *ShopReceipt) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ShopReceipt) HasDiscountAmt ¶
func (o *ShopReceipt) HasDiscountAmt() bool
HasDiscountAmt returns a boolean if a field has been set.
func (*ShopReceipt) HasFirstLine ¶
func (o *ShopReceipt) HasFirstLine() bool
HasFirstLine returns a boolean if a field has been set.
func (*ShopReceipt) HasFormattedAddress ¶
func (o *ShopReceipt) HasFormattedAddress() bool
HasFormattedAddress returns a boolean if a field has been set.
func (*ShopReceipt) HasGiftMessage ¶
func (o *ShopReceipt) HasGiftMessage() bool
HasGiftMessage returns a boolean if a field has been set.
func (*ShopReceipt) HasGiftSender ¶
func (o *ShopReceipt) HasGiftSender() bool
HasGiftSender returns a boolean if a field has been set.
func (*ShopReceipt) HasGiftWrapPrice ¶
func (o *ShopReceipt) HasGiftWrapPrice() bool
HasGiftWrapPrice returns a boolean if a field has been set.
func (*ShopReceipt) HasGrandtotal ¶
func (o *ShopReceipt) HasGrandtotal() bool
HasGrandtotal returns a boolean if a field has been set.
func (*ShopReceipt) HasIsGift ¶
func (o *ShopReceipt) HasIsGift() bool
HasIsGift returns a boolean if a field has been set.
func (*ShopReceipt) HasIsPaid ¶
func (o *ShopReceipt) HasIsPaid() bool
HasIsPaid returns a boolean if a field has been set.
func (*ShopReceipt) HasIsShipped ¶
func (o *ShopReceipt) HasIsShipped() bool
HasIsShipped returns a boolean if a field has been set.
func (*ShopReceipt) HasMessageFromBuyer ¶
func (o *ShopReceipt) HasMessageFromBuyer() bool
HasMessageFromBuyer returns a boolean if a field has been set.
func (*ShopReceipt) HasMessageFromPayment ¶
func (o *ShopReceipt) HasMessageFromPayment() bool
HasMessageFromPayment returns a boolean if a field has been set.
func (*ShopReceipt) HasMessageFromSeller ¶
func (o *ShopReceipt) HasMessageFromSeller() bool
HasMessageFromSeller returns a boolean if a field has been set.
func (*ShopReceipt) HasName ¶
func (o *ShopReceipt) HasName() bool
HasName returns a boolean if a field has been set.
func (*ShopReceipt) HasPaymentEmail ¶
func (o *ShopReceipt) HasPaymentEmail() bool
HasPaymentEmail returns a boolean if a field has been set.
func (*ShopReceipt) HasPaymentMethod ¶
func (o *ShopReceipt) HasPaymentMethod() bool
HasPaymentMethod returns a boolean if a field has been set.
func (*ShopReceipt) HasReceiptId ¶
func (o *ShopReceipt) HasReceiptId() bool
HasReceiptId returns a boolean if a field has been set.
func (*ShopReceipt) HasReceiptType ¶
func (o *ShopReceipt) HasReceiptType() bool
HasReceiptType returns a boolean if a field has been set.
func (*ShopReceipt) HasRefunds ¶
func (o *ShopReceipt) HasRefunds() bool
HasRefunds returns a boolean if a field has been set.
func (*ShopReceipt) HasSecondLine ¶
func (o *ShopReceipt) HasSecondLine() bool
HasSecondLine returns a boolean if a field has been set.
func (*ShopReceipt) HasSellerEmail ¶
func (o *ShopReceipt) HasSellerEmail() bool
HasSellerEmail returns a boolean if a field has been set.
func (*ShopReceipt) HasSellerUserId ¶
func (o *ShopReceipt) HasSellerUserId() bool
HasSellerUserId returns a boolean if a field has been set.
func (*ShopReceipt) HasShipments ¶
func (o *ShopReceipt) HasShipments() bool
HasShipments returns a boolean if a field has been set.
func (*ShopReceipt) HasState ¶
func (o *ShopReceipt) HasState() bool
HasState returns a boolean if a field has been set.
func (*ShopReceipt) HasStatus ¶
func (o *ShopReceipt) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ShopReceipt) HasSubtotal ¶
func (o *ShopReceipt) HasSubtotal() bool
HasSubtotal returns a boolean if a field has been set.
func (*ShopReceipt) HasTotalPrice ¶
func (o *ShopReceipt) HasTotalPrice() bool
HasTotalPrice returns a boolean if a field has been set.
func (*ShopReceipt) HasTotalShippingCost ¶
func (o *ShopReceipt) HasTotalShippingCost() bool
HasTotalShippingCost returns a boolean if a field has been set.
func (*ShopReceipt) HasTotalTaxCost ¶
func (o *ShopReceipt) HasTotalTaxCost() bool
HasTotalTaxCost returns a boolean if a field has been set.
func (*ShopReceipt) HasTotalVatCost ¶
func (o *ShopReceipt) HasTotalVatCost() bool
HasTotalVatCost returns a boolean if a field has been set.
func (*ShopReceipt) HasTransactions ¶
func (o *ShopReceipt) HasTransactions() bool
HasTransactions returns a boolean if a field has been set.
func (*ShopReceipt) HasUpdateTimestamp ¶
func (o *ShopReceipt) HasUpdateTimestamp() bool
HasUpdateTimestamp returns a boolean if a field has been set.
func (*ShopReceipt) HasUpdatedTimestamp ¶
func (o *ShopReceipt) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.
func (*ShopReceipt) HasZip ¶
func (o *ShopReceipt) HasZip() bool
HasZip returns a boolean if a field has been set.
func (ShopReceipt) MarshalJSON ¶
func (o ShopReceipt) MarshalJSON() ([]byte, error)
func (*ShopReceipt) SetBuyerEmail ¶
func (o *ShopReceipt) SetBuyerEmail(v string)
SetBuyerEmail gets a reference to the given NullableString and assigns it to the BuyerEmail field.
func (*ShopReceipt) SetBuyerEmailNil ¶
func (o *ShopReceipt) SetBuyerEmailNil()
SetBuyerEmailNil sets the value for BuyerEmail to be an explicit nil
func (*ShopReceipt) SetBuyerUserId ¶
func (o *ShopReceipt) SetBuyerUserId(v int64)
SetBuyerUserId gets a reference to the given int64 and assigns it to the BuyerUserId field.
func (*ShopReceipt) SetCity ¶
func (o *ShopReceipt) SetCity(v string)
SetCity gets a reference to the given NullableString and assigns it to the City field.
func (*ShopReceipt) SetCityNil ¶
func (o *ShopReceipt) SetCityNil()
SetCityNil sets the value for City to be an explicit nil
func (*ShopReceipt) SetCountryIso ¶
func (o *ShopReceipt) SetCountryIso(v string)
SetCountryIso gets a reference to the given NullableString and assigns it to the CountryIso field.
func (*ShopReceipt) SetCountryIsoNil ¶
func (o *ShopReceipt) SetCountryIsoNil()
SetCountryIsoNil sets the value for CountryIso to be an explicit nil
func (*ShopReceipt) SetCreateTimestamp ¶
func (o *ShopReceipt) SetCreateTimestamp(v int64)
SetCreateTimestamp gets a reference to the given int64 and assigns it to the CreateTimestamp field.
func (*ShopReceipt) SetCreatedTimestamp ¶
func (o *ShopReceipt) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ShopReceipt) SetDiscountAmt ¶
func (o *ShopReceipt) SetDiscountAmt(v Money)
SetDiscountAmt gets a reference to the given Money and assigns it to the DiscountAmt field.
func (*ShopReceipt) SetFirstLine ¶
func (o *ShopReceipt) SetFirstLine(v string)
SetFirstLine gets a reference to the given NullableString and assigns it to the FirstLine field.
func (*ShopReceipt) SetFirstLineNil ¶
func (o *ShopReceipt) SetFirstLineNil()
SetFirstLineNil sets the value for FirstLine to be an explicit nil
func (*ShopReceipt) SetFormattedAddress ¶
func (o *ShopReceipt) SetFormattedAddress(v string)
SetFormattedAddress gets a reference to the given NullableString and assigns it to the FormattedAddress field.
func (*ShopReceipt) SetFormattedAddressNil ¶
func (o *ShopReceipt) SetFormattedAddressNil()
SetFormattedAddressNil sets the value for FormattedAddress to be an explicit nil
func (*ShopReceipt) SetGiftMessage ¶
func (o *ShopReceipt) SetGiftMessage(v string)
SetGiftMessage gets a reference to the given string and assigns it to the GiftMessage field.
func (*ShopReceipt) SetGiftSender ¶
func (o *ShopReceipt) SetGiftSender(v string)
SetGiftSender gets a reference to the given string and assigns it to the GiftSender field.
func (*ShopReceipt) SetGiftWrapPrice ¶
func (o *ShopReceipt) SetGiftWrapPrice(v Money)
SetGiftWrapPrice gets a reference to the given Money and assigns it to the GiftWrapPrice field.
func (*ShopReceipt) SetGrandtotal ¶
func (o *ShopReceipt) SetGrandtotal(v Money)
SetGrandtotal gets a reference to the given Money and assigns it to the Grandtotal field.
func (*ShopReceipt) SetIsGift ¶
func (o *ShopReceipt) SetIsGift(v bool)
SetIsGift gets a reference to the given bool and assigns it to the IsGift field.
func (*ShopReceipt) SetIsPaid ¶
func (o *ShopReceipt) SetIsPaid(v bool)
SetIsPaid gets a reference to the given bool and assigns it to the IsPaid field.
func (*ShopReceipt) SetIsShipped ¶
func (o *ShopReceipt) SetIsShipped(v bool)
SetIsShipped gets a reference to the given bool and assigns it to the IsShipped field.
func (*ShopReceipt) SetMessageFromBuyer ¶
func (o *ShopReceipt) SetMessageFromBuyer(v string)
SetMessageFromBuyer gets a reference to the given NullableString and assigns it to the MessageFromBuyer field.
func (*ShopReceipt) SetMessageFromBuyerNil ¶
func (o *ShopReceipt) SetMessageFromBuyerNil()
SetMessageFromBuyerNil sets the value for MessageFromBuyer to be an explicit nil
func (*ShopReceipt) SetMessageFromPayment ¶
func (o *ShopReceipt) SetMessageFromPayment(v string)
SetMessageFromPayment gets a reference to the given NullableString and assigns it to the MessageFromPayment field.
func (*ShopReceipt) SetMessageFromPaymentNil ¶
func (o *ShopReceipt) SetMessageFromPaymentNil()
SetMessageFromPaymentNil sets the value for MessageFromPayment to be an explicit nil
func (*ShopReceipt) SetMessageFromSeller ¶
func (o *ShopReceipt) SetMessageFromSeller(v string)
SetMessageFromSeller gets a reference to the given NullableString and assigns it to the MessageFromSeller field.
func (*ShopReceipt) SetMessageFromSellerNil ¶
func (o *ShopReceipt) SetMessageFromSellerNil()
SetMessageFromSellerNil sets the value for MessageFromSeller to be an explicit nil
func (*ShopReceipt) SetName ¶
func (o *ShopReceipt) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ShopReceipt) SetPaymentEmail ¶
func (o *ShopReceipt) SetPaymentEmail(v string)
SetPaymentEmail gets a reference to the given NullableString and assigns it to the PaymentEmail field.
func (*ShopReceipt) SetPaymentEmailNil ¶
func (o *ShopReceipt) SetPaymentEmailNil()
SetPaymentEmailNil sets the value for PaymentEmail to be an explicit nil
func (*ShopReceipt) SetPaymentMethod ¶
func (o *ShopReceipt) SetPaymentMethod(v string)
SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.
func (*ShopReceipt) SetReceiptId ¶
func (o *ShopReceipt) SetReceiptId(v int64)
SetReceiptId gets a reference to the given int64 and assigns it to the ReceiptId field.
func (*ShopReceipt) SetReceiptType ¶
func (o *ShopReceipt) SetReceiptType(v int64)
SetReceiptType gets a reference to the given int64 and assigns it to the ReceiptType field.
func (*ShopReceipt) SetRefunds ¶
func (o *ShopReceipt) SetRefunds(v []ShopRefund)
SetRefunds gets a reference to the given []ShopRefund and assigns it to the Refunds field.
func (*ShopReceipt) SetSecondLine ¶
func (o *ShopReceipt) SetSecondLine(v string)
SetSecondLine gets a reference to the given NullableString and assigns it to the SecondLine field.
func (*ShopReceipt) SetSecondLineNil ¶
func (o *ShopReceipt) SetSecondLineNil()
SetSecondLineNil sets the value for SecondLine to be an explicit nil
func (*ShopReceipt) SetSellerEmail ¶
func (o *ShopReceipt) SetSellerEmail(v string)
SetSellerEmail gets a reference to the given NullableString and assigns it to the SellerEmail field.
func (*ShopReceipt) SetSellerEmailNil ¶
func (o *ShopReceipt) SetSellerEmailNil()
SetSellerEmailNil sets the value for SellerEmail to be an explicit nil
func (*ShopReceipt) SetSellerUserId ¶
func (o *ShopReceipt) SetSellerUserId(v int64)
SetSellerUserId gets a reference to the given int64 and assigns it to the SellerUserId field.
func (*ShopReceipt) SetShipments ¶
func (o *ShopReceipt) SetShipments(v []ShopReceiptShipment)
SetShipments gets a reference to the given []ShopReceiptShipment and assigns it to the Shipments field.
func (*ShopReceipt) SetState ¶
func (o *ShopReceipt) SetState(v string)
SetState gets a reference to the given NullableString and assigns it to the State field.
func (*ShopReceipt) SetStateNil ¶
func (o *ShopReceipt) SetStateNil()
SetStateNil sets the value for State to be an explicit nil
func (*ShopReceipt) SetStatus ¶
func (o *ShopReceipt) SetStatus(v ShopReceiptStatus)
SetStatus gets a reference to the given ShopReceiptStatus and assigns it to the Status field.
func (*ShopReceipt) SetSubtotal ¶
func (o *ShopReceipt) SetSubtotal(v Money)
SetSubtotal gets a reference to the given Money and assigns it to the Subtotal field.
func (*ShopReceipt) SetTotalPrice ¶
func (o *ShopReceipt) SetTotalPrice(v Money)
SetTotalPrice gets a reference to the given Money and assigns it to the TotalPrice field.
func (*ShopReceipt) SetTotalShippingCost ¶
func (o *ShopReceipt) SetTotalShippingCost(v Money)
SetTotalShippingCost gets a reference to the given Money and assigns it to the TotalShippingCost field.
func (*ShopReceipt) SetTotalTaxCost ¶
func (o *ShopReceipt) SetTotalTaxCost(v Money)
SetTotalTaxCost gets a reference to the given Money and assigns it to the TotalTaxCost field.
func (*ShopReceipt) SetTotalVatCost ¶
func (o *ShopReceipt) SetTotalVatCost(v Money)
SetTotalVatCost gets a reference to the given Money and assigns it to the TotalVatCost field.
func (*ShopReceipt) SetTransactions ¶
func (o *ShopReceipt) SetTransactions(v []ShopReceiptTransaction)
SetTransactions gets a reference to the given []ShopReceiptTransaction and assigns it to the Transactions field.
func (*ShopReceipt) SetUpdateTimestamp ¶
func (o *ShopReceipt) SetUpdateTimestamp(v int64)
SetUpdateTimestamp gets a reference to the given int64 and assigns it to the UpdateTimestamp field.
func (*ShopReceipt) SetUpdatedTimestamp ¶
func (o *ShopReceipt) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (*ShopReceipt) SetZip ¶
func (o *ShopReceipt) SetZip(v string)
SetZip gets a reference to the given NullableString and assigns it to the Zip field.
func (*ShopReceipt) SetZipNil ¶
func (o *ShopReceipt) SetZipNil()
SetZipNil sets the value for Zip to be an explicit nil
func (ShopReceipt) ToMap ¶
func (o ShopReceipt) ToMap() (map[string]interface{}, error)
func (*ShopReceipt) UnsetBuyerEmail ¶
func (o *ShopReceipt) UnsetBuyerEmail()
UnsetBuyerEmail ensures that no value is present for BuyerEmail, not even an explicit nil
func (*ShopReceipt) UnsetCity ¶
func (o *ShopReceipt) UnsetCity()
UnsetCity ensures that no value is present for City, not even an explicit nil
func (*ShopReceipt) UnsetCountryIso ¶
func (o *ShopReceipt) UnsetCountryIso()
UnsetCountryIso ensures that no value is present for CountryIso, not even an explicit nil
func (*ShopReceipt) UnsetFirstLine ¶
func (o *ShopReceipt) UnsetFirstLine()
UnsetFirstLine ensures that no value is present for FirstLine, not even an explicit nil
func (*ShopReceipt) UnsetFormattedAddress ¶
func (o *ShopReceipt) UnsetFormattedAddress()
UnsetFormattedAddress ensures that no value is present for FormattedAddress, not even an explicit nil
func (*ShopReceipt) UnsetMessageFromBuyer ¶
func (o *ShopReceipt) UnsetMessageFromBuyer()
UnsetMessageFromBuyer ensures that no value is present for MessageFromBuyer, not even an explicit nil
func (*ShopReceipt) UnsetMessageFromPayment ¶
func (o *ShopReceipt) UnsetMessageFromPayment()
UnsetMessageFromPayment ensures that no value is present for MessageFromPayment, not even an explicit nil
func (*ShopReceipt) UnsetMessageFromSeller ¶
func (o *ShopReceipt) UnsetMessageFromSeller()
UnsetMessageFromSeller ensures that no value is present for MessageFromSeller, not even an explicit nil
func (*ShopReceipt) UnsetPaymentEmail ¶
func (o *ShopReceipt) UnsetPaymentEmail()
UnsetPaymentEmail ensures that no value is present for PaymentEmail, not even an explicit nil
func (*ShopReceipt) UnsetSecondLine ¶
func (o *ShopReceipt) UnsetSecondLine()
UnsetSecondLine ensures that no value is present for SecondLine, not even an explicit nil
func (*ShopReceipt) UnsetSellerEmail ¶
func (o *ShopReceipt) UnsetSellerEmail()
UnsetSellerEmail ensures that no value is present for SellerEmail, not even an explicit nil
func (*ShopReceipt) UnsetState ¶
func (o *ShopReceipt) UnsetState()
UnsetState ensures that no value is present for State, not even an explicit nil
func (*ShopReceipt) UnsetZip ¶
func (o *ShopReceipt) UnsetZip()
UnsetZip ensures that no value is present for Zip, not even an explicit nil
type ShopReceiptAPI ¶
type ShopReceiptAPI interface { /* CreateReceiptShipment Method for CreateReceiptShipment <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Submits tracking information for a Shop Receipt, which creates a Shop Receipt Shipment entry for the given receipt_id. Each time you successfully submit tracking info, Etsy sends a notification email to the buyer User. When send_bcc is true, Etsy sends shipping notifications to the seller as well. When tracking_code and carrier_name aren't sent, the receipt is marked as shipped only. If the carrier is not supported, you may use `other` as the carrier name so you can provide the tracking code. **NOTES** When shipping within the United States AND the order is over $10 _or_ when shipping to India, tracking code and carrier name ARE required. Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The receipt to submit tracking for. @return ShopReceiptAPICreateReceiptShipmentRequest */ CreateReceiptShipment(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPICreateReceiptShipmentRequest // CreateReceiptShipmentExecute executes the request // @return ShopReceipt CreateReceiptShipmentExecute(r ShopReceiptAPICreateReceiptShipmentRequest) (*ShopReceipt, *http.Response, error) /* GetShopReceipt Method for GetShopReceipt <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a receipt, identified by a receipt id, from an Etsy shop. **NOTE** Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return ShopReceiptAPIGetShopReceiptRequest */ GetShopReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPIGetShopReceiptRequest // GetShopReceiptExecute executes the request // @return ShopReceipt GetShopReceiptExecute(r ShopReceiptAPIGetShopReceiptRequest) (*ShopReceipt, *http.Response, error) /* GetShopReceipts Method for GetShopReceipts <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Requests the Shop Receipts from a specific Shop, unfiltered or filtered by receipt id range or offset, date, paid, and/or shipped purchases. **NOTE** Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReceiptAPIGetShopReceiptsRequest */ GetShopReceipts(ctx context.Context, shopId int64) ShopReceiptAPIGetShopReceiptsRequest // GetShopReceiptsExecute executes the request // @return ShopReceipts GetShopReceiptsExecute(r ShopReceiptAPIGetShopReceiptsRequest) (*ShopReceipts, *http.Response, error) /* UpdateShopReceipt Method for UpdateShopReceipt <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates the status of a receipt, identified by a receipt id, from an Etsy shop. **NOTE** Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return ShopReceiptAPIUpdateShopReceiptRequest */ UpdateShopReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPIUpdateShopReceiptRequest // UpdateShopReceiptExecute executes the request // @return ShopReceipt UpdateShopReceiptExecute(r ShopReceiptAPIUpdateShopReceiptRequest) (*ShopReceipt, *http.Response, error) }
type ShopReceiptAPICreateReceiptShipmentRequest ¶
type ShopReceiptAPICreateReceiptShipmentRequest struct { ApiService ShopReceiptAPI // contains filtered or unexported fields }
func (ShopReceiptAPICreateReceiptShipmentRequest) CarrierName ¶
func (r ShopReceiptAPICreateReceiptShipmentRequest) CarrierName(carrierName string) ShopReceiptAPICreateReceiptShipmentRequest
The carrier name for this receipt.
func (ShopReceiptAPICreateReceiptShipmentRequest) Execute ¶
func (r ShopReceiptAPICreateReceiptShipmentRequest) Execute() (*ShopReceipt, *http.Response, error)
func (ShopReceiptAPICreateReceiptShipmentRequest) NoteToBuyer ¶
func (r ShopReceiptAPICreateReceiptShipmentRequest) NoteToBuyer(noteToBuyer string) ShopReceiptAPICreateReceiptShipmentRequest
Message to include in notification to the buyer.
func (ShopReceiptAPICreateReceiptShipmentRequest) SendBcc ¶
func (r ShopReceiptAPICreateReceiptShipmentRequest) SendBcc(sendBcc bool) ShopReceiptAPICreateReceiptShipmentRequest
If true, the shipping notification will be sent to the seller as well
func (ShopReceiptAPICreateReceiptShipmentRequest) TrackingCode ¶
func (r ShopReceiptAPICreateReceiptShipmentRequest) TrackingCode(trackingCode string) ShopReceiptAPICreateReceiptShipmentRequest
The tracking code for this receipt.
type ShopReceiptAPIGetShopReceiptRequest ¶
type ShopReceiptAPIGetShopReceiptRequest struct { ApiService ShopReceiptAPI // contains filtered or unexported fields }
func (ShopReceiptAPIGetShopReceiptRequest) Execute ¶
func (r ShopReceiptAPIGetShopReceiptRequest) Execute() (*ShopReceipt, *http.Response, error)
type ShopReceiptAPIGetShopReceiptsRequest ¶
type ShopReceiptAPIGetShopReceiptsRequest struct { ApiService ShopReceiptAPI // contains filtered or unexported fields }
func (ShopReceiptAPIGetShopReceiptsRequest) Execute ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) Execute() (*ShopReceipts, *http.Response, error)
func (ShopReceiptAPIGetShopReceiptsRequest) Limit ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) Limit(limit int64) ShopReceiptAPIGetShopReceiptsRequest
The maximum number of results to return.
func (ShopReceiptAPIGetShopReceiptsRequest) MaxCreated ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) MaxCreated(maxCreated int64) ShopReceiptAPIGetShopReceiptsRequest
The latest unix timestamp for when a record was created.
func (ShopReceiptAPIGetShopReceiptsRequest) MaxLastModified ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) MaxLastModified(maxLastModified int64) ShopReceiptAPIGetShopReceiptsRequest
The latest unix timestamp for when a record last changed.
func (ShopReceiptAPIGetShopReceiptsRequest) MinCreated ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) MinCreated(minCreated int64) ShopReceiptAPIGetShopReceiptsRequest
The earliest unix timestamp for when a record was created.
func (ShopReceiptAPIGetShopReceiptsRequest) MinLastModified ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) MinLastModified(minLastModified int64) ShopReceiptAPIGetShopReceiptsRequest
The earliest unix timestamp for when a record last changed.
func (ShopReceiptAPIGetShopReceiptsRequest) Offset ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) Offset(offset int64) ShopReceiptAPIGetShopReceiptsRequest
The number of records to skip before selecting the first result.
func (ShopReceiptAPIGetShopReceiptsRequest) SortOn ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) SortOn(sortOn GetShopReceiptsSortOnParameter) ShopReceiptAPIGetShopReceiptsRequest
The value to sort a search result of listings on.
func (ShopReceiptAPIGetShopReceiptsRequest) SortOrder ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) SortOrder(sortOrder GetShopReceiptsSortOrderParameter) ShopReceiptAPIGetShopReceiptsRequest
The ascending(up) or descending(down) order to sort receipts by.
func (ShopReceiptAPIGetShopReceiptsRequest) WasCanceled ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) WasCanceled(wasCanceled bool) ShopReceiptAPIGetShopReceiptsRequest
When `true`, the endpoint will only return the canceled receipts. When `false`, the endpoint will only return non-canceled receipts.
func (ShopReceiptAPIGetShopReceiptsRequest) WasDelivered ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) WasDelivered(wasDelivered bool) ShopReceiptAPIGetShopReceiptsRequest
When `true`, returns receipts that have been marked as delivered. When `false`, returns receipts where shipment has not been marked as delivered.
func (ShopReceiptAPIGetShopReceiptsRequest) WasPaid ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) WasPaid(wasPaid bool) ShopReceiptAPIGetShopReceiptsRequest
When `true`, returns receipts where the seller has recieved payment for the receipt. When `false`, returns receipts where payment has not been received.
func (ShopReceiptAPIGetShopReceiptsRequest) WasShipped ¶
func (r ShopReceiptAPIGetShopReceiptsRequest) WasShipped(wasShipped bool) ShopReceiptAPIGetShopReceiptsRequest
When `true`, returns receipts where the seller shipped the product(s) in this receipt. When `false`, returns receipts where shipment has not been set.
type ShopReceiptAPIService ¶
type ShopReceiptAPIService service
ShopReceiptAPIService ShopReceiptAPI service
func (*ShopReceiptAPIService) CreateReceiptShipment ¶
func (a *ShopReceiptAPIService) CreateReceiptShipment(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPICreateReceiptShipmentRequest
CreateReceiptShipment Method for CreateReceiptShipment
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Submits tracking information for a Shop Receipt, which creates a Shop Receipt Shipment entry for the given receipt_id. Each time you successfully submit tracking info, Etsy sends a notification email to the buyer User. When send_bcc is true, Etsy sends shipping notifications to the seller as well. When tracking_code and carrier_name aren't sent, the receipt is marked as shipped only. If the carrier is not supported, you may use `other` as the carrier name so you can provide the tracking code. **NOTES** When shipping within the United States AND the order is over $10 _or_ when shipping to India, tracking code and carrier name ARE required. Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The receipt to submit tracking for. @return ShopReceiptAPICreateReceiptShipmentRequest
func (*ShopReceiptAPIService) CreateReceiptShipmentExecute ¶
func (a *ShopReceiptAPIService) CreateReceiptShipmentExecute(r ShopReceiptAPICreateReceiptShipmentRequest) (*ShopReceipt, *http.Response, error)
Execute executes the request
@return ShopReceipt
func (*ShopReceiptAPIService) GetShopReceipt ¶
func (a *ShopReceiptAPIService) GetShopReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPIGetShopReceiptRequest
GetShopReceipt Method for GetShopReceipt
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a receipt, identified by a receipt id, from an Etsy shop. **NOTE** Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return ShopReceiptAPIGetShopReceiptRequest
func (*ShopReceiptAPIService) GetShopReceiptExecute ¶
func (a *ShopReceiptAPIService) GetShopReceiptExecute(r ShopReceiptAPIGetShopReceiptRequest) (*ShopReceipt, *http.Response, error)
Execute executes the request
@return ShopReceipt
func (*ShopReceiptAPIService) GetShopReceipts ¶
func (a *ShopReceiptAPIService) GetShopReceipts(ctx context.Context, shopId int64) ShopReceiptAPIGetShopReceiptsRequest
GetShopReceipts Method for GetShopReceipts
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Requests the Shop Receipts from a specific Shop, unfiltered or filtered by receipt id range or offset, date, paid, and/or shipped purchases. **NOTE** Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReceiptAPIGetShopReceiptsRequest
func (*ShopReceiptAPIService) GetShopReceiptsExecute ¶
func (a *ShopReceiptAPIService) GetShopReceiptsExecute(r ShopReceiptAPIGetShopReceiptsRequest) (*ShopReceipts, *http.Response, error)
Execute executes the request
@return ShopReceipts
func (*ShopReceiptAPIService) UpdateShopReceipt ¶
func (a *ShopReceiptAPIService) UpdateShopReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptAPIUpdateShopReceiptRequest
UpdateShopReceipt Method for UpdateShopReceipt
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates the status of a receipt, identified by a receipt id, from an Etsy shop. **NOTE** Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return ShopReceiptAPIUpdateShopReceiptRequest
func (*ShopReceiptAPIService) UpdateShopReceiptExecute ¶
func (a *ShopReceiptAPIService) UpdateShopReceiptExecute(r ShopReceiptAPIUpdateShopReceiptRequest) (*ShopReceipt, *http.Response, error)
Execute executes the request
@return ShopReceipt
type ShopReceiptAPIUpdateShopReceiptRequest ¶
type ShopReceiptAPIUpdateShopReceiptRequest struct { ApiService ShopReceiptAPI // contains filtered or unexported fields }
func (ShopReceiptAPIUpdateShopReceiptRequest) Execute ¶
func (r ShopReceiptAPIUpdateShopReceiptRequest) Execute() (*ShopReceipt, *http.Response, error)
func (ShopReceiptAPIUpdateShopReceiptRequest) WasPaid ¶
func (r ShopReceiptAPIUpdateShopReceiptRequest) WasPaid(wasPaid bool) ShopReceiptAPIUpdateShopReceiptRequest
When `true`, returns receipts where the seller has recieved payment for the receipt. When `false`, returns receipts where payment has not been received.
func (ShopReceiptAPIUpdateShopReceiptRequest) WasShipped ¶
func (r ShopReceiptAPIUpdateShopReceiptRequest) WasShipped(wasShipped bool) ShopReceiptAPIUpdateShopReceiptRequest
When `true`, returns receipts where the seller shipped the product(s) in this receipt. When `false`, returns receipts where shipment has not been set.
type ShopReceiptShipment ¶
type ShopReceiptShipment struct { // The unique numeric ID of a Shop Receipt Shipment record. ReceiptShippingId NullableInt64 `json:"receipt_shipping_id,omitempty"` // The time at which Etsy notified the buyer of the shipment event, in epoch seconds. ShipmentNotificationTimestamp *int64 `json:"shipment_notification_timestamp,omitempty"` // The name string for the carrier/company responsible for delivering the shipment. CarrierName *string `json:"carrier_name,omitempty"` // The tracking code string provided by the carrier/company for the shipment. TrackingCode *string `json:"tracking_code,omitempty"` AdditionalProperties map[string]interface{} }
ShopReceiptShipment The record of one shipment event for a ShopReceipt. A receipt may have many ShopReceiptShipment records.
func NewShopReceiptShipment ¶
func NewShopReceiptShipment() *ShopReceiptShipment
NewShopReceiptShipment instantiates a new ShopReceiptShipment 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
func NewShopReceiptShipmentWithDefaults ¶
func NewShopReceiptShipmentWithDefaults() *ShopReceiptShipment
NewShopReceiptShipmentWithDefaults instantiates a new ShopReceiptShipment 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
func (*ShopReceiptShipment) GetCarrierName ¶
func (o *ShopReceiptShipment) GetCarrierName() string
GetCarrierName returns the CarrierName field value if set, zero value otherwise.
func (*ShopReceiptShipment) GetCarrierNameOk ¶
func (o *ShopReceiptShipment) GetCarrierNameOk() (*string, bool)
GetCarrierNameOk returns a tuple with the CarrierName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptShipment) GetReceiptShippingId ¶
func (o *ShopReceiptShipment) GetReceiptShippingId() int64
GetReceiptShippingId returns the ReceiptShippingId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptShipment) GetReceiptShippingIdOk ¶
func (o *ShopReceiptShipment) GetReceiptShippingIdOk() (*int64, bool)
GetReceiptShippingIdOk returns a tuple with the ReceiptShippingId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptShipment) GetShipmentNotificationTimestamp ¶
func (o *ShopReceiptShipment) GetShipmentNotificationTimestamp() int64
GetShipmentNotificationTimestamp returns the ShipmentNotificationTimestamp field value if set, zero value otherwise.
func (*ShopReceiptShipment) GetShipmentNotificationTimestampOk ¶
func (o *ShopReceiptShipment) GetShipmentNotificationTimestampOk() (*int64, bool)
GetShipmentNotificationTimestampOk returns a tuple with the ShipmentNotificationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptShipment) GetTrackingCode ¶
func (o *ShopReceiptShipment) GetTrackingCode() string
GetTrackingCode returns the TrackingCode field value if set, zero value otherwise.
func (*ShopReceiptShipment) GetTrackingCodeOk ¶
func (o *ShopReceiptShipment) GetTrackingCodeOk() (*string, bool)
GetTrackingCodeOk returns a tuple with the TrackingCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptShipment) HasCarrierName ¶
func (o *ShopReceiptShipment) HasCarrierName() bool
HasCarrierName returns a boolean if a field has been set.
func (*ShopReceiptShipment) HasReceiptShippingId ¶
func (o *ShopReceiptShipment) HasReceiptShippingId() bool
HasReceiptShippingId returns a boolean if a field has been set.
func (*ShopReceiptShipment) HasShipmentNotificationTimestamp ¶
func (o *ShopReceiptShipment) HasShipmentNotificationTimestamp() bool
HasShipmentNotificationTimestamp returns a boolean if a field has been set.
func (*ShopReceiptShipment) HasTrackingCode ¶
func (o *ShopReceiptShipment) HasTrackingCode() bool
HasTrackingCode returns a boolean if a field has been set.
func (ShopReceiptShipment) MarshalJSON ¶
func (o ShopReceiptShipment) MarshalJSON() ([]byte, error)
func (*ShopReceiptShipment) SetCarrierName ¶
func (o *ShopReceiptShipment) SetCarrierName(v string)
SetCarrierName gets a reference to the given string and assigns it to the CarrierName field.
func (*ShopReceiptShipment) SetReceiptShippingId ¶
func (o *ShopReceiptShipment) SetReceiptShippingId(v int64)
SetReceiptShippingId gets a reference to the given NullableInt64 and assigns it to the ReceiptShippingId field.
func (*ShopReceiptShipment) SetReceiptShippingIdNil ¶
func (o *ShopReceiptShipment) SetReceiptShippingIdNil()
SetReceiptShippingIdNil sets the value for ReceiptShippingId to be an explicit nil
func (*ShopReceiptShipment) SetShipmentNotificationTimestamp ¶
func (o *ShopReceiptShipment) SetShipmentNotificationTimestamp(v int64)
SetShipmentNotificationTimestamp gets a reference to the given int64 and assigns it to the ShipmentNotificationTimestamp field.
func (*ShopReceiptShipment) SetTrackingCode ¶
func (o *ShopReceiptShipment) SetTrackingCode(v string)
SetTrackingCode gets a reference to the given string and assigns it to the TrackingCode field.
func (ShopReceiptShipment) ToMap ¶
func (o ShopReceiptShipment) ToMap() (map[string]interface{}, error)
func (*ShopReceiptShipment) UnsetReceiptShippingId ¶
func (o *ShopReceiptShipment) UnsetReceiptShippingId()
UnsetReceiptShippingId ensures that no value is present for ReceiptShippingId, not even an explicit nil
type ShopReceiptStatus ¶
type ShopReceiptStatus string
ShopReceiptStatus The current order status string. One of: `paid`, `completed`, `open`, `payment processing` or `canceled`.
const ( SHOPRECEIPTSTATUS_PAID ShopReceiptStatus = "paid" SHOPRECEIPTSTATUS_COMPLETED ShopReceiptStatus = "completed" SHOPRECEIPTSTATUS_OPEN ShopReceiptStatus = "open" SHOPRECEIPTSTATUS_PAYMENT_PROCESSING ShopReceiptStatus = "payment processing" SHOPRECEIPTSTATUS_CANCELED ShopReceiptStatus = "canceled" SHOPRECEIPTSTATUS_FULLY_REFUNDED ShopReceiptStatus = "fully refunded" SHOPRECEIPTSTATUS_PARTIALLY_REFUNDED ShopReceiptStatus = "partially refunded" )
List of ShopReceipt_status
func NewShopReceiptStatusFromValue ¶
func NewShopReceiptStatusFromValue(v string) (*ShopReceiptStatus, error)
NewShopReceiptStatusFromValue returns a pointer to a valid ShopReceiptStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShopReceiptStatus) IsValid ¶
func (v ShopReceiptStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ShopReceiptStatus) Ptr ¶
func (v ShopReceiptStatus) Ptr() *ShopReceiptStatus
Ptr returns reference to ShopReceipt_status value
func (*ShopReceiptStatus) UnmarshalJSON ¶
func (v *ShopReceiptStatus) UnmarshalJSON(src []byte) error
type ShopReceiptTransaction ¶
type ShopReceiptTransaction struct { // The unique numeric ID for a transaction. TransactionId *int64 `json:"transaction_id,omitempty"` // The title string of the [listing](/documentation/reference#tag/ShopListing) purchased in this transaction. Title NullableString `json:"title,omitempty"` // The description string of the [listing](/documentation/reference#tag/ShopListing) purchased in this transaction. Description NullableString `json:"description,omitempty"` // The numeric user ID for the seller in this transaction. SellerUserId *int64 `json:"seller_user_id,omitempty"` // The numeric user ID for the buyer in this transaction. BuyerUserId *int64 `json:"buyer_user_id,omitempty"` // The transaction\\'s creation date and time, in epoch seconds. CreateTimestamp *int64 `json:"create_timestamp,omitempty"` // The transaction\\'s creation date and time, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The transaction\\'s paid date and time, in epoch seconds. PaidTimestamp NullableInt64 `json:"paid_timestamp,omitempty"` // The transaction\\'s shipping date and time, in epoch seconds. ShippedTimestamp NullableInt64 `json:"shipped_timestamp,omitempty"` // The numeric quantity of products purchased in this transaction. Quantity *int64 `json:"quantity,omitempty"` // The numeric ID of the primary [listing image](/documentation/reference#tag/ShopListing-Image) for this transaction. ListingImageId NullableInt64 `json:"listing_image_id,omitempty"` // The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. ReceiptId *int64 `json:"receipt_id,omitempty"` // When true, the transaction recorded the purchase of a digital listing. IsDigital *bool `json:"is_digital,omitempty"` // A string describing the files purchased in this transaction. FileData *string `json:"file_data,omitempty"` // The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. ListingId NullableInt64 `json:"listing_id,omitempty"` // The type string for the transaction, usually \"listing\". TransactionType *string `json:"transaction_type,omitempty"` // The numeric ID for a specific [product](/documentation/reference#tag/ShopListing-Product) purchased from a listing. ProductId NullableInt64 `json:"product_id,omitempty"` // The SKU string for the product Sku NullableString `json:"sku,omitempty"` // A money object representing the price recorded the transaction. Price *Money `json:"price,omitempty"` // A money object representing the shipping cost for this transaction. ShippingCost *Money `json:"shipping_cost,omitempty"` // Array of variations and personalizations the buyer chose. Variations []TransactionVariations `json:"variations,omitempty"` // A list of property value entries for this product. Note: parenthesis characters (`(` and `)`) are not allowed. ProductData []ListingPropertyValue `json:"product_data,omitempty"` // The ID of the shipping profile selected for this listing. ShippingProfileId NullableInt64 `json:"shipping_profile_id,omitempty"` // The minimum number of days for processing the listing. MinProcessingDays NullableInt64 `json:"min_processing_days,omitempty"` // The maximum number of days for processing the listing. MaxProcessingDays NullableInt64 `json:"max_processing_days,omitempty"` // Name of the selected shipping method. ShippingMethod NullableString `json:"shipping_method,omitempty"` // The name of the shipping upgrade selected for this listing. Default value is null. ShippingUpgrade NullableString `json:"shipping_upgrade,omitempty"` // The date & time of the expected ship date, in epoch seconds. ExpectedShipDate NullableInt64 `json:"expected_ship_date,omitempty"` // The amount of the buyer coupon that was discounted in the shop's currency. BuyerCoupon *float32 `json:"buyer_coupon,omitempty"` // The amount of the shop coupon that was discounted in the shop's currency. ShopCoupon *float32 `json:"shop_coupon,omitempty"` AdditionalProperties map[string]interface{} }
ShopReceiptTransaction A transaction object associated with a shop receipt. Etsy generates one transaction per listing purchased as recorded on the order receipt.
func NewShopReceiptTransaction ¶
func NewShopReceiptTransaction() *ShopReceiptTransaction
NewShopReceiptTransaction instantiates a new ShopReceiptTransaction 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
func NewShopReceiptTransactionWithDefaults ¶
func NewShopReceiptTransactionWithDefaults() *ShopReceiptTransaction
NewShopReceiptTransactionWithDefaults instantiates a new ShopReceiptTransaction 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
func (*ShopReceiptTransaction) GetBuyerCoupon ¶
func (o *ShopReceiptTransaction) GetBuyerCoupon() float32
GetBuyerCoupon returns the BuyerCoupon field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetBuyerCouponOk ¶
func (o *ShopReceiptTransaction) GetBuyerCouponOk() (*float32, bool)
GetBuyerCouponOk returns a tuple with the BuyerCoupon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetBuyerUserId ¶
func (o *ShopReceiptTransaction) GetBuyerUserId() int64
GetBuyerUserId returns the BuyerUserId field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetBuyerUserIdOk ¶
func (o *ShopReceiptTransaction) GetBuyerUserIdOk() (*int64, bool)
GetBuyerUserIdOk returns a tuple with the BuyerUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetCreateTimestamp ¶
func (o *ShopReceiptTransaction) GetCreateTimestamp() int64
GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetCreateTimestampOk ¶
func (o *ShopReceiptTransaction) GetCreateTimestampOk() (*int64, bool)
GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetCreatedTimestamp ¶
func (o *ShopReceiptTransaction) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetCreatedTimestampOk ¶
func (o *ShopReceiptTransaction) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetDescription ¶
func (o *ShopReceiptTransaction) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetDescriptionOk ¶
func (o *ShopReceiptTransaction) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetExpectedShipDate ¶
func (o *ShopReceiptTransaction) GetExpectedShipDate() int64
GetExpectedShipDate returns the ExpectedShipDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetExpectedShipDateOk ¶
func (o *ShopReceiptTransaction) GetExpectedShipDateOk() (*int64, bool)
GetExpectedShipDateOk returns a tuple with the ExpectedShipDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetFileData ¶
func (o *ShopReceiptTransaction) GetFileData() string
GetFileData returns the FileData field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetFileDataOk ¶
func (o *ShopReceiptTransaction) GetFileDataOk() (*string, bool)
GetFileDataOk returns a tuple with the FileData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetIsDigital ¶
func (o *ShopReceiptTransaction) GetIsDigital() bool
GetIsDigital returns the IsDigital field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetIsDigitalOk ¶
func (o *ShopReceiptTransaction) GetIsDigitalOk() (*bool, bool)
GetIsDigitalOk returns a tuple with the IsDigital field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetListingId ¶
func (o *ShopReceiptTransaction) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetListingIdOk ¶
func (o *ShopReceiptTransaction) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetListingImageId ¶
func (o *ShopReceiptTransaction) GetListingImageId() int64
GetListingImageId returns the ListingImageId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetListingImageIdOk ¶
func (o *ShopReceiptTransaction) GetListingImageIdOk() (*int64, bool)
GetListingImageIdOk returns a tuple with the ListingImageId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetMaxProcessingDays ¶
func (o *ShopReceiptTransaction) GetMaxProcessingDays() int64
GetMaxProcessingDays returns the MaxProcessingDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetMaxProcessingDaysOk ¶
func (o *ShopReceiptTransaction) GetMaxProcessingDaysOk() (*int64, bool)
GetMaxProcessingDaysOk returns a tuple with the MaxProcessingDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetMinProcessingDays ¶
func (o *ShopReceiptTransaction) GetMinProcessingDays() int64
GetMinProcessingDays returns the MinProcessingDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetMinProcessingDaysOk ¶
func (o *ShopReceiptTransaction) GetMinProcessingDaysOk() (*int64, bool)
GetMinProcessingDaysOk returns a tuple with the MinProcessingDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetPaidTimestamp ¶
func (o *ShopReceiptTransaction) GetPaidTimestamp() int64
GetPaidTimestamp returns the PaidTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetPaidTimestampOk ¶
func (o *ShopReceiptTransaction) GetPaidTimestampOk() (*int64, bool)
GetPaidTimestampOk returns a tuple with the PaidTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetPrice ¶
func (o *ShopReceiptTransaction) GetPrice() Money
GetPrice returns the Price field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetPriceOk ¶
func (o *ShopReceiptTransaction) GetPriceOk() (*Money, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetProductData ¶
func (o *ShopReceiptTransaction) GetProductData() []ListingPropertyValue
GetProductData returns the ProductData field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetProductDataOk ¶
func (o *ShopReceiptTransaction) GetProductDataOk() ([]ListingPropertyValue, bool)
GetProductDataOk returns a tuple with the ProductData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetProductId ¶
func (o *ShopReceiptTransaction) GetProductId() int64
GetProductId returns the ProductId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetProductIdOk ¶
func (o *ShopReceiptTransaction) GetProductIdOk() (*int64, bool)
GetProductIdOk returns a tuple with the ProductId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetQuantity ¶
func (o *ShopReceiptTransaction) GetQuantity() int64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetQuantityOk ¶
func (o *ShopReceiptTransaction) GetQuantityOk() (*int64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetReceiptId ¶
func (o *ShopReceiptTransaction) GetReceiptId() int64
GetReceiptId returns the ReceiptId field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetReceiptIdOk ¶
func (o *ShopReceiptTransaction) GetReceiptIdOk() (*int64, bool)
GetReceiptIdOk returns a tuple with the ReceiptId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetSellerUserId ¶
func (o *ShopReceiptTransaction) GetSellerUserId() int64
GetSellerUserId returns the SellerUserId field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetSellerUserIdOk ¶
func (o *ShopReceiptTransaction) GetSellerUserIdOk() (*int64, bool)
GetSellerUserIdOk returns a tuple with the SellerUserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetShippedTimestamp ¶
func (o *ShopReceiptTransaction) GetShippedTimestamp() int64
GetShippedTimestamp returns the ShippedTimestamp field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetShippedTimestampOk ¶
func (o *ShopReceiptTransaction) GetShippedTimestampOk() (*int64, bool)
GetShippedTimestampOk returns a tuple with the ShippedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetShippingCost ¶
func (o *ShopReceiptTransaction) GetShippingCost() Money
GetShippingCost returns the ShippingCost field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetShippingCostOk ¶
func (o *ShopReceiptTransaction) GetShippingCostOk() (*Money, bool)
GetShippingCostOk returns a tuple with the ShippingCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetShippingMethod ¶
func (o *ShopReceiptTransaction) GetShippingMethod() string
GetShippingMethod returns the ShippingMethod field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetShippingMethodOk ¶
func (o *ShopReceiptTransaction) GetShippingMethodOk() (*string, bool)
GetShippingMethodOk returns a tuple with the ShippingMethod field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetShippingProfileId ¶
func (o *ShopReceiptTransaction) GetShippingProfileId() int64
GetShippingProfileId returns the ShippingProfileId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetShippingProfileIdOk ¶
func (o *ShopReceiptTransaction) GetShippingProfileIdOk() (*int64, bool)
GetShippingProfileIdOk returns a tuple with the ShippingProfileId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetShippingUpgrade ¶
func (o *ShopReceiptTransaction) GetShippingUpgrade() string
GetShippingUpgrade returns the ShippingUpgrade field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetShippingUpgradeOk ¶
func (o *ShopReceiptTransaction) GetShippingUpgradeOk() (*string, bool)
GetShippingUpgradeOk returns a tuple with the ShippingUpgrade field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetShopCoupon ¶
func (o *ShopReceiptTransaction) GetShopCoupon() float32
GetShopCoupon returns the ShopCoupon field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetShopCouponOk ¶
func (o *ShopReceiptTransaction) GetShopCouponOk() (*float32, bool)
GetShopCouponOk returns a tuple with the ShopCoupon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetSku ¶
func (o *ShopReceiptTransaction) GetSku() string
GetSku returns the Sku field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetSkuOk ¶
func (o *ShopReceiptTransaction) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetTitle ¶
func (o *ShopReceiptTransaction) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReceiptTransaction) GetTitleOk ¶
func (o *ShopReceiptTransaction) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReceiptTransaction) GetTransactionId ¶
func (o *ShopReceiptTransaction) GetTransactionId() int64
GetTransactionId returns the TransactionId field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetTransactionIdOk ¶
func (o *ShopReceiptTransaction) GetTransactionIdOk() (*int64, bool)
GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetTransactionType ¶
func (o *ShopReceiptTransaction) GetTransactionType() string
GetTransactionType returns the TransactionType field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetTransactionTypeOk ¶
func (o *ShopReceiptTransaction) GetTransactionTypeOk() (*string, bool)
GetTransactionTypeOk returns a tuple with the TransactionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) GetVariations ¶
func (o *ShopReceiptTransaction) GetVariations() []TransactionVariations
GetVariations returns the Variations field value if set, zero value otherwise.
func (*ShopReceiptTransaction) GetVariationsOk ¶
func (o *ShopReceiptTransaction) GetVariationsOk() ([]TransactionVariations, bool)
GetVariationsOk returns a tuple with the Variations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransaction) HasBuyerCoupon ¶
func (o *ShopReceiptTransaction) HasBuyerCoupon() bool
HasBuyerCoupon returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasBuyerUserId ¶
func (o *ShopReceiptTransaction) HasBuyerUserId() bool
HasBuyerUserId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasCreateTimestamp ¶
func (o *ShopReceiptTransaction) HasCreateTimestamp() bool
HasCreateTimestamp returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasCreatedTimestamp ¶
func (o *ShopReceiptTransaction) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasDescription ¶
func (o *ShopReceiptTransaction) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasExpectedShipDate ¶
func (o *ShopReceiptTransaction) HasExpectedShipDate() bool
HasExpectedShipDate returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasFileData ¶
func (o *ShopReceiptTransaction) HasFileData() bool
HasFileData returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasIsDigital ¶
func (o *ShopReceiptTransaction) HasIsDigital() bool
HasIsDigital returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasListingId ¶
func (o *ShopReceiptTransaction) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasListingImageId ¶
func (o *ShopReceiptTransaction) HasListingImageId() bool
HasListingImageId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasMaxProcessingDays ¶
func (o *ShopReceiptTransaction) HasMaxProcessingDays() bool
HasMaxProcessingDays returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasMinProcessingDays ¶
func (o *ShopReceiptTransaction) HasMinProcessingDays() bool
HasMinProcessingDays returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasPaidTimestamp ¶
func (o *ShopReceiptTransaction) HasPaidTimestamp() bool
HasPaidTimestamp returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasPrice ¶
func (o *ShopReceiptTransaction) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasProductData ¶
func (o *ShopReceiptTransaction) HasProductData() bool
HasProductData returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasProductId ¶
func (o *ShopReceiptTransaction) HasProductId() bool
HasProductId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasQuantity ¶
func (o *ShopReceiptTransaction) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasReceiptId ¶
func (o *ShopReceiptTransaction) HasReceiptId() bool
HasReceiptId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasSellerUserId ¶
func (o *ShopReceiptTransaction) HasSellerUserId() bool
HasSellerUserId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasShippedTimestamp ¶
func (o *ShopReceiptTransaction) HasShippedTimestamp() bool
HasShippedTimestamp returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasShippingCost ¶
func (o *ShopReceiptTransaction) HasShippingCost() bool
HasShippingCost returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasShippingMethod ¶
func (o *ShopReceiptTransaction) HasShippingMethod() bool
HasShippingMethod returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasShippingProfileId ¶
func (o *ShopReceiptTransaction) HasShippingProfileId() bool
HasShippingProfileId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasShippingUpgrade ¶
func (o *ShopReceiptTransaction) HasShippingUpgrade() bool
HasShippingUpgrade returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasShopCoupon ¶
func (o *ShopReceiptTransaction) HasShopCoupon() bool
HasShopCoupon returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasSku ¶
func (o *ShopReceiptTransaction) HasSku() bool
HasSku returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasTitle ¶
func (o *ShopReceiptTransaction) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasTransactionId ¶
func (o *ShopReceiptTransaction) HasTransactionId() bool
HasTransactionId returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasTransactionType ¶
func (o *ShopReceiptTransaction) HasTransactionType() bool
HasTransactionType returns a boolean if a field has been set.
func (*ShopReceiptTransaction) HasVariations ¶
func (o *ShopReceiptTransaction) HasVariations() bool
HasVariations returns a boolean if a field has been set.
func (ShopReceiptTransaction) MarshalJSON ¶
func (o ShopReceiptTransaction) MarshalJSON() ([]byte, error)
func (*ShopReceiptTransaction) SetBuyerCoupon ¶
func (o *ShopReceiptTransaction) SetBuyerCoupon(v float32)
SetBuyerCoupon gets a reference to the given float32 and assigns it to the BuyerCoupon field.
func (*ShopReceiptTransaction) SetBuyerUserId ¶
func (o *ShopReceiptTransaction) SetBuyerUserId(v int64)
SetBuyerUserId gets a reference to the given int64 and assigns it to the BuyerUserId field.
func (*ShopReceiptTransaction) SetCreateTimestamp ¶
func (o *ShopReceiptTransaction) SetCreateTimestamp(v int64)
SetCreateTimestamp gets a reference to the given int64 and assigns it to the CreateTimestamp field.
func (*ShopReceiptTransaction) SetCreatedTimestamp ¶
func (o *ShopReceiptTransaction) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ShopReceiptTransaction) SetDescription ¶
func (o *ShopReceiptTransaction) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ShopReceiptTransaction) SetDescriptionNil ¶
func (o *ShopReceiptTransaction) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ShopReceiptTransaction) SetExpectedShipDate ¶
func (o *ShopReceiptTransaction) SetExpectedShipDate(v int64)
SetExpectedShipDate gets a reference to the given NullableInt64 and assigns it to the ExpectedShipDate field.
func (*ShopReceiptTransaction) SetExpectedShipDateNil ¶
func (o *ShopReceiptTransaction) SetExpectedShipDateNil()
SetExpectedShipDateNil sets the value for ExpectedShipDate to be an explicit nil
func (*ShopReceiptTransaction) SetFileData ¶
func (o *ShopReceiptTransaction) SetFileData(v string)
SetFileData gets a reference to the given string and assigns it to the FileData field.
func (*ShopReceiptTransaction) SetIsDigital ¶
func (o *ShopReceiptTransaction) SetIsDigital(v bool)
SetIsDigital gets a reference to the given bool and assigns it to the IsDigital field.
func (*ShopReceiptTransaction) SetListingId ¶
func (o *ShopReceiptTransaction) SetListingId(v int64)
SetListingId gets a reference to the given NullableInt64 and assigns it to the ListingId field.
func (*ShopReceiptTransaction) SetListingIdNil ¶
func (o *ShopReceiptTransaction) SetListingIdNil()
SetListingIdNil sets the value for ListingId to be an explicit nil
func (*ShopReceiptTransaction) SetListingImageId ¶
func (o *ShopReceiptTransaction) SetListingImageId(v int64)
SetListingImageId gets a reference to the given NullableInt64 and assigns it to the ListingImageId field.
func (*ShopReceiptTransaction) SetListingImageIdNil ¶
func (o *ShopReceiptTransaction) SetListingImageIdNil()
SetListingImageIdNil sets the value for ListingImageId to be an explicit nil
func (*ShopReceiptTransaction) SetMaxProcessingDays ¶
func (o *ShopReceiptTransaction) SetMaxProcessingDays(v int64)
SetMaxProcessingDays gets a reference to the given NullableInt64 and assigns it to the MaxProcessingDays field.
func (*ShopReceiptTransaction) SetMaxProcessingDaysNil ¶
func (o *ShopReceiptTransaction) SetMaxProcessingDaysNil()
SetMaxProcessingDaysNil sets the value for MaxProcessingDays to be an explicit nil
func (*ShopReceiptTransaction) SetMinProcessingDays ¶
func (o *ShopReceiptTransaction) SetMinProcessingDays(v int64)
SetMinProcessingDays gets a reference to the given NullableInt64 and assigns it to the MinProcessingDays field.
func (*ShopReceiptTransaction) SetMinProcessingDaysNil ¶
func (o *ShopReceiptTransaction) SetMinProcessingDaysNil()
SetMinProcessingDaysNil sets the value for MinProcessingDays to be an explicit nil
func (*ShopReceiptTransaction) SetPaidTimestamp ¶
func (o *ShopReceiptTransaction) SetPaidTimestamp(v int64)
SetPaidTimestamp gets a reference to the given NullableInt64 and assigns it to the PaidTimestamp field.
func (*ShopReceiptTransaction) SetPaidTimestampNil ¶
func (o *ShopReceiptTransaction) SetPaidTimestampNil()
SetPaidTimestampNil sets the value for PaidTimestamp to be an explicit nil
func (*ShopReceiptTransaction) SetPrice ¶
func (o *ShopReceiptTransaction) SetPrice(v Money)
SetPrice gets a reference to the given Money and assigns it to the Price field.
func (*ShopReceiptTransaction) SetProductData ¶
func (o *ShopReceiptTransaction) SetProductData(v []ListingPropertyValue)
SetProductData gets a reference to the given []ListingPropertyValue and assigns it to the ProductData field.
func (*ShopReceiptTransaction) SetProductId ¶
func (o *ShopReceiptTransaction) SetProductId(v int64)
SetProductId gets a reference to the given NullableInt64 and assigns it to the ProductId field.
func (*ShopReceiptTransaction) SetProductIdNil ¶
func (o *ShopReceiptTransaction) SetProductIdNil()
SetProductIdNil sets the value for ProductId to be an explicit nil
func (*ShopReceiptTransaction) SetQuantity ¶
func (o *ShopReceiptTransaction) SetQuantity(v int64)
SetQuantity gets a reference to the given int64 and assigns it to the Quantity field.
func (*ShopReceiptTransaction) SetReceiptId ¶
func (o *ShopReceiptTransaction) SetReceiptId(v int64)
SetReceiptId gets a reference to the given int64 and assigns it to the ReceiptId field.
func (*ShopReceiptTransaction) SetSellerUserId ¶
func (o *ShopReceiptTransaction) SetSellerUserId(v int64)
SetSellerUserId gets a reference to the given int64 and assigns it to the SellerUserId field.
func (*ShopReceiptTransaction) SetShippedTimestamp ¶
func (o *ShopReceiptTransaction) SetShippedTimestamp(v int64)
SetShippedTimestamp gets a reference to the given NullableInt64 and assigns it to the ShippedTimestamp field.
func (*ShopReceiptTransaction) SetShippedTimestampNil ¶
func (o *ShopReceiptTransaction) SetShippedTimestampNil()
SetShippedTimestampNil sets the value for ShippedTimestamp to be an explicit nil
func (*ShopReceiptTransaction) SetShippingCost ¶
func (o *ShopReceiptTransaction) SetShippingCost(v Money)
SetShippingCost gets a reference to the given Money and assigns it to the ShippingCost field.
func (*ShopReceiptTransaction) SetShippingMethod ¶
func (o *ShopReceiptTransaction) SetShippingMethod(v string)
SetShippingMethod gets a reference to the given NullableString and assigns it to the ShippingMethod field.
func (*ShopReceiptTransaction) SetShippingMethodNil ¶
func (o *ShopReceiptTransaction) SetShippingMethodNil()
SetShippingMethodNil sets the value for ShippingMethod to be an explicit nil
func (*ShopReceiptTransaction) SetShippingProfileId ¶
func (o *ShopReceiptTransaction) SetShippingProfileId(v int64)
SetShippingProfileId gets a reference to the given NullableInt64 and assigns it to the ShippingProfileId field.
func (*ShopReceiptTransaction) SetShippingProfileIdNil ¶
func (o *ShopReceiptTransaction) SetShippingProfileIdNil()
SetShippingProfileIdNil sets the value for ShippingProfileId to be an explicit nil
func (*ShopReceiptTransaction) SetShippingUpgrade ¶
func (o *ShopReceiptTransaction) SetShippingUpgrade(v string)
SetShippingUpgrade gets a reference to the given NullableString and assigns it to the ShippingUpgrade field.
func (*ShopReceiptTransaction) SetShippingUpgradeNil ¶
func (o *ShopReceiptTransaction) SetShippingUpgradeNil()
SetShippingUpgradeNil sets the value for ShippingUpgrade to be an explicit nil
func (*ShopReceiptTransaction) SetShopCoupon ¶
func (o *ShopReceiptTransaction) SetShopCoupon(v float32)
SetShopCoupon gets a reference to the given float32 and assigns it to the ShopCoupon field.
func (*ShopReceiptTransaction) SetSku ¶
func (o *ShopReceiptTransaction) SetSku(v string)
SetSku gets a reference to the given NullableString and assigns it to the Sku field.
func (*ShopReceiptTransaction) SetSkuNil ¶
func (o *ShopReceiptTransaction) SetSkuNil()
SetSkuNil sets the value for Sku to be an explicit nil
func (*ShopReceiptTransaction) SetTitle ¶
func (o *ShopReceiptTransaction) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*ShopReceiptTransaction) SetTitleNil ¶
func (o *ShopReceiptTransaction) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*ShopReceiptTransaction) SetTransactionId ¶
func (o *ShopReceiptTransaction) SetTransactionId(v int64)
SetTransactionId gets a reference to the given int64 and assigns it to the TransactionId field.
func (*ShopReceiptTransaction) SetTransactionType ¶
func (o *ShopReceiptTransaction) SetTransactionType(v string)
SetTransactionType gets a reference to the given string and assigns it to the TransactionType field.
func (*ShopReceiptTransaction) SetVariations ¶
func (o *ShopReceiptTransaction) SetVariations(v []TransactionVariations)
SetVariations gets a reference to the given []TransactionVariations and assigns it to the Variations field.
func (ShopReceiptTransaction) ToMap ¶
func (o ShopReceiptTransaction) ToMap() (map[string]interface{}, error)
func (*ShopReceiptTransaction) UnsetDescription ¶
func (o *ShopReceiptTransaction) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ShopReceiptTransaction) UnsetExpectedShipDate ¶
func (o *ShopReceiptTransaction) UnsetExpectedShipDate()
UnsetExpectedShipDate ensures that no value is present for ExpectedShipDate, not even an explicit nil
func (*ShopReceiptTransaction) UnsetListingId ¶
func (o *ShopReceiptTransaction) UnsetListingId()
UnsetListingId ensures that no value is present for ListingId, not even an explicit nil
func (*ShopReceiptTransaction) UnsetListingImageId ¶
func (o *ShopReceiptTransaction) UnsetListingImageId()
UnsetListingImageId ensures that no value is present for ListingImageId, not even an explicit nil
func (*ShopReceiptTransaction) UnsetMaxProcessingDays ¶
func (o *ShopReceiptTransaction) UnsetMaxProcessingDays()
UnsetMaxProcessingDays ensures that no value is present for MaxProcessingDays, not even an explicit nil
func (*ShopReceiptTransaction) UnsetMinProcessingDays ¶
func (o *ShopReceiptTransaction) UnsetMinProcessingDays()
UnsetMinProcessingDays ensures that no value is present for MinProcessingDays, not even an explicit nil
func (*ShopReceiptTransaction) UnsetPaidTimestamp ¶
func (o *ShopReceiptTransaction) UnsetPaidTimestamp()
UnsetPaidTimestamp ensures that no value is present for PaidTimestamp, not even an explicit nil
func (*ShopReceiptTransaction) UnsetProductId ¶
func (o *ShopReceiptTransaction) UnsetProductId()
UnsetProductId ensures that no value is present for ProductId, not even an explicit nil
func (*ShopReceiptTransaction) UnsetShippedTimestamp ¶
func (o *ShopReceiptTransaction) UnsetShippedTimestamp()
UnsetShippedTimestamp ensures that no value is present for ShippedTimestamp, not even an explicit nil
func (*ShopReceiptTransaction) UnsetShippingMethod ¶
func (o *ShopReceiptTransaction) UnsetShippingMethod()
UnsetShippingMethod ensures that no value is present for ShippingMethod, not even an explicit nil
func (*ShopReceiptTransaction) UnsetShippingProfileId ¶
func (o *ShopReceiptTransaction) UnsetShippingProfileId()
UnsetShippingProfileId ensures that no value is present for ShippingProfileId, not even an explicit nil
func (*ShopReceiptTransaction) UnsetShippingUpgrade ¶
func (o *ShopReceiptTransaction) UnsetShippingUpgrade()
UnsetShippingUpgrade ensures that no value is present for ShippingUpgrade, not even an explicit nil
func (*ShopReceiptTransaction) UnsetSku ¶
func (o *ShopReceiptTransaction) UnsetSku()
UnsetSku ensures that no value is present for Sku, not even an explicit nil
func (*ShopReceiptTransaction) UnsetTitle ¶
func (o *ShopReceiptTransaction) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
type ShopReceiptTransactions ¶
type ShopReceiptTransactions struct { // The number of ShopReceiptTransaction resources found. Count *int64 `json:"count,omitempty"` // The ShopReceiptTransaction resources found. Results []ShopReceiptTransaction `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopReceiptTransactions A set of ShopReceiptTransaction resources
func NewShopReceiptTransactions ¶
func NewShopReceiptTransactions() *ShopReceiptTransactions
NewShopReceiptTransactions instantiates a new ShopReceiptTransactions 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
func NewShopReceiptTransactionsWithDefaults ¶
func NewShopReceiptTransactionsWithDefaults() *ShopReceiptTransactions
NewShopReceiptTransactionsWithDefaults instantiates a new ShopReceiptTransactions 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
func (*ShopReceiptTransactions) GetCount ¶
func (o *ShopReceiptTransactions) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopReceiptTransactions) GetCountOk ¶
func (o *ShopReceiptTransactions) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransactions) GetResults ¶
func (o *ShopReceiptTransactions) GetResults() []ShopReceiptTransaction
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopReceiptTransactions) GetResultsOk ¶
func (o *ShopReceiptTransactions) GetResultsOk() ([]ShopReceiptTransaction, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceiptTransactions) HasCount ¶
func (o *ShopReceiptTransactions) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopReceiptTransactions) HasResults ¶
func (o *ShopReceiptTransactions) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopReceiptTransactions) MarshalJSON ¶
func (o ShopReceiptTransactions) MarshalJSON() ([]byte, error)
func (*ShopReceiptTransactions) SetCount ¶
func (o *ShopReceiptTransactions) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopReceiptTransactions) SetResults ¶
func (o *ShopReceiptTransactions) SetResults(v []ShopReceiptTransaction)
SetResults gets a reference to the given []ShopReceiptTransaction and assigns it to the Results field.
func (ShopReceiptTransactions) ToMap ¶
func (o ShopReceiptTransactions) ToMap() (map[string]interface{}, error)
type ShopReceiptTransactionsAPI ¶
type ShopReceiptTransactionsAPI interface { /* GetShopReceiptTransaction Method for GetShopReceiptTransaction <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a transaction by transaction ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param transactionId The unique numeric ID for a transaction. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest */ GetShopReceiptTransaction(ctx context.Context, shopId int64, transactionId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest // GetShopReceiptTransactionExecute executes the request // @return ShopReceiptTransaction GetShopReceiptTransactionExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest) (*ShopReceiptTransaction, *http.Response, error) /* GetShopReceiptTransactionsByListing Method for GetShopReceiptTransactionsByListing <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the list of transactions associated with a listing. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest */ GetShopReceiptTransactionsByListing(ctx context.Context, shopId int64, listingId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest // GetShopReceiptTransactionsByListingExecute executes the request // @return ShopReceiptTransactions GetShopReceiptTransactionsByListingExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) (*ShopReceiptTransactions, *http.Response, error) /* GetShopReceiptTransactionsByReceipt Method for GetShopReceiptTransactionsByReceipt <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the list of transactions associated with a specific receipt. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest */ GetShopReceiptTransactionsByReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest // GetShopReceiptTransactionsByReceiptExecute executes the request // @return ShopReceiptTransactions GetShopReceiptTransactionsByReceiptExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest) (*ShopReceiptTransactions, *http.Response, error) /* GetShopReceiptTransactionsByShop Method for GetShopReceiptTransactionsByShop <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the list of transactions associated with a shop. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest */ GetShopReceiptTransactionsByShop(ctx context.Context, shopId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest // GetShopReceiptTransactionsByShopExecute executes the request // @return ShopReceiptTransactions GetShopReceiptTransactionsByShopExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) (*ShopReceiptTransactions, *http.Response, error) }
type ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest ¶
type ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest struct { ApiService ShopReceiptTransactionsAPI // contains filtered or unexported fields }
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest) Execute ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest) Execute() (*ShopReceiptTransaction, *http.Response, error)
type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest ¶
type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest struct { ApiService ShopReceiptTransactionsAPI // contains filtered or unexported fields }
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Execute ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Execute() (*ShopReceiptTransactions, *http.Response, error)
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Limit ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Limit(limit int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
The maximum number of results to return.
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Offset ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) Offset(offset int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
The number of records to skip before selecting the first result.
type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest ¶
type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest struct { ApiService ShopReceiptTransactionsAPI // contains filtered or unexported fields }
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest) Execute ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest) Execute() (*ShopReceiptTransactions, *http.Response, error)
type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest ¶
type ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest struct { ApiService ShopReceiptTransactionsAPI // contains filtered or unexported fields }
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Execute ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Execute() (*ShopReceiptTransactions, *http.Response, error)
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Limit ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Limit(limit int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
The maximum number of results to return.
func (ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Offset ¶
func (r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) Offset(offset int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
The number of records to skip before selecting the first result.
type ShopReceiptTransactionsAPIService ¶
type ShopReceiptTransactionsAPIService service
ShopReceiptTransactionsAPIService ShopReceiptTransactionsAPI service
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransaction ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransaction(ctx context.Context, shopId int64, transactionId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest
GetShopReceiptTransaction Method for GetShopReceiptTransaction
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a transaction by transaction ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param transactionId The unique numeric ID for a transaction. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransactionExecute ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionRequest) (*ShopReceiptTransaction, *http.Response, error)
Execute executes the request
@return ShopReceiptTransaction
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByListing ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByListing(ctx context.Context, shopId int64, listingId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
GetShopReceiptTransactionsByListing Method for GetShopReceiptTransactionsByListing
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the list of transactions associated with a listing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param listingId The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByListingExecute ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByListingExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByListingRequest) (*ShopReceiptTransactions, *http.Response, error)
Execute executes the request
@return ShopReceiptTransactions
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByReceipt ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByReceipt(ctx context.Context, shopId int64, receiptId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest
GetShopReceiptTransactionsByReceipt Method for GetShopReceiptTransactionsByReceipt
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the list of transactions associated with a specific receipt.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param receiptId The numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByReceiptExecute ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByReceiptExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByReceiptRequest) (*ShopReceiptTransactions, *http.Response, error)
Execute executes the request
@return ShopReceiptTransactions
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByShop ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByShop(ctx context.Context, shopId int64) ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
GetShopReceiptTransactionsByShop Method for GetShopReceiptTransactionsByShop
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the list of transactions associated with a shop.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest
func (*ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByShopExecute ¶
func (a *ShopReceiptTransactionsAPIService) GetShopReceiptTransactionsByShopExecute(r ShopReceiptTransactionsAPIGetShopReceiptTransactionsByShopRequest) (*ShopReceiptTransactions, *http.Response, error)
Execute executes the request
@return ShopReceiptTransactions
type ShopReceipts ¶
type ShopReceipts struct { // The number of Shop Receipts found. Count *int64 `json:"count,omitempty"` // List of Shop Receipt resources found, with all Shop Receipt fields for each resource. Results []ShopReceipt `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopReceipts The receipts for a specific Shop.
func NewShopReceipts ¶
func NewShopReceipts() *ShopReceipts
NewShopReceipts instantiates a new ShopReceipts 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
func NewShopReceiptsWithDefaults ¶
func NewShopReceiptsWithDefaults() *ShopReceipts
NewShopReceiptsWithDefaults instantiates a new ShopReceipts 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
func (*ShopReceipts) GetCount ¶
func (o *ShopReceipts) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopReceipts) GetCountOk ¶
func (o *ShopReceipts) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipts) GetResults ¶
func (o *ShopReceipts) GetResults() []ShopReceipt
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopReceipts) GetResultsOk ¶
func (o *ShopReceipts) GetResultsOk() ([]ShopReceipt, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReceipts) HasCount ¶
func (o *ShopReceipts) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopReceipts) HasResults ¶
func (o *ShopReceipts) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopReceipts) MarshalJSON ¶
func (o ShopReceipts) MarshalJSON() ([]byte, error)
func (*ShopReceipts) SetCount ¶
func (o *ShopReceipts) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopReceipts) SetResults ¶
func (o *ShopReceipts) SetResults(v []ShopReceipt)
SetResults gets a reference to the given []ShopReceipt and assigns it to the Results field.
func (ShopReceipts) ToMap ¶
func (o ShopReceipts) ToMap() (map[string]interface{}, error)
type ShopRefund ¶
type ShopRefund struct { // A number equal to the refund total. Amount *Money `json:"amount,omitempty"` // The date & time of the refund, in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The reason string given for the refund. Reason NullableString `json:"reason,omitempty"` // The note string created by the refund issuer. NoteFromIssuer NullableString `json:"note_from_issuer,omitempty"` // The status indication string for the refund. Status NullableString `json:"status,omitempty"` AdditionalProperties map[string]interface{} }
ShopRefund The refund record for a receipt.
func NewShopRefund ¶
func NewShopRefund() *ShopRefund
NewShopRefund instantiates a new ShopRefund 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
func NewShopRefundWithDefaults ¶
func NewShopRefundWithDefaults() *ShopRefund
NewShopRefundWithDefaults instantiates a new ShopRefund 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
func (*ShopRefund) GetAmount ¶
func (o *ShopRefund) GetAmount() Money
GetAmount returns the Amount field value if set, zero value otherwise.
func (*ShopRefund) GetAmountOk ¶
func (o *ShopRefund) GetAmountOk() (*Money, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopRefund) GetCreatedTimestamp ¶
func (o *ShopRefund) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*ShopRefund) GetCreatedTimestampOk ¶
func (o *ShopRefund) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopRefund) GetNoteFromIssuer ¶
func (o *ShopRefund) GetNoteFromIssuer() string
GetNoteFromIssuer returns the NoteFromIssuer field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopRefund) GetNoteFromIssuerOk ¶
func (o *ShopRefund) GetNoteFromIssuerOk() (*string, bool)
GetNoteFromIssuerOk returns a tuple with the NoteFromIssuer field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopRefund) GetReason ¶
func (o *ShopRefund) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopRefund) GetReasonOk ¶
func (o *ShopRefund) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopRefund) GetStatus ¶
func (o *ShopRefund) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopRefund) GetStatusOk ¶
func (o *ShopRefund) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopRefund) HasAmount ¶
func (o *ShopRefund) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*ShopRefund) HasCreatedTimestamp ¶
func (o *ShopRefund) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*ShopRefund) HasNoteFromIssuer ¶
func (o *ShopRefund) HasNoteFromIssuer() bool
HasNoteFromIssuer returns a boolean if a field has been set.
func (*ShopRefund) HasReason ¶
func (o *ShopRefund) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*ShopRefund) HasStatus ¶
func (o *ShopRefund) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ShopRefund) MarshalJSON ¶
func (o ShopRefund) MarshalJSON() ([]byte, error)
func (*ShopRefund) SetAmount ¶
func (o *ShopRefund) SetAmount(v Money)
SetAmount gets a reference to the given Money and assigns it to the Amount field.
func (*ShopRefund) SetCreatedTimestamp ¶
func (o *ShopRefund) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*ShopRefund) SetNoteFromIssuer ¶
func (o *ShopRefund) SetNoteFromIssuer(v string)
SetNoteFromIssuer gets a reference to the given NullableString and assigns it to the NoteFromIssuer field.
func (*ShopRefund) SetNoteFromIssuerNil ¶
func (o *ShopRefund) SetNoteFromIssuerNil()
SetNoteFromIssuerNil sets the value for NoteFromIssuer to be an explicit nil
func (*ShopRefund) SetReason ¶
func (o *ShopRefund) SetReason(v string)
SetReason gets a reference to the given NullableString and assigns it to the Reason field.
func (*ShopRefund) SetReasonNil ¶
func (o *ShopRefund) SetReasonNil()
SetReasonNil sets the value for Reason to be an explicit nil
func (*ShopRefund) SetStatus ¶
func (o *ShopRefund) SetStatus(v string)
SetStatus gets a reference to the given NullableString and assigns it to the Status field.
func (*ShopRefund) SetStatusNil ¶
func (o *ShopRefund) SetStatusNil()
SetStatusNil sets the value for Status to be an explicit nil
func (ShopRefund) ToMap ¶
func (o ShopRefund) ToMap() (map[string]interface{}, error)
func (*ShopRefund) UnsetNoteFromIssuer ¶
func (o *ShopRefund) UnsetNoteFromIssuer()
UnsetNoteFromIssuer ensures that no value is present for NoteFromIssuer, not even an explicit nil
func (*ShopRefund) UnsetReason ¶
func (o *ShopRefund) UnsetReason()
UnsetReason ensures that no value is present for Reason, not even an explicit nil
func (*ShopRefund) UnsetStatus ¶
func (o *ShopRefund) UnsetStatus()
UnsetStatus ensures that no value is present for Status, not even an explicit nil
type ShopReturnPolicies ¶
type ShopReturnPolicies struct { Count *int64 `json:"count,omitempty"` Results []ShopReturnPolicy `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopReturnPolicies Represents a shop's listing-level return policies list.
func NewShopReturnPolicies ¶
func NewShopReturnPolicies() *ShopReturnPolicies
NewShopReturnPolicies instantiates a new ShopReturnPolicies 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
func NewShopReturnPoliciesWithDefaults ¶
func NewShopReturnPoliciesWithDefaults() *ShopReturnPolicies
NewShopReturnPoliciesWithDefaults instantiates a new ShopReturnPolicies 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
func (*ShopReturnPolicies) GetCount ¶
func (o *ShopReturnPolicies) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopReturnPolicies) GetCountOk ¶
func (o *ShopReturnPolicies) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReturnPolicies) GetResults ¶
func (o *ShopReturnPolicies) GetResults() []ShopReturnPolicy
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopReturnPolicies) GetResultsOk ¶
func (o *ShopReturnPolicies) GetResultsOk() ([]ShopReturnPolicy, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReturnPolicies) HasCount ¶
func (o *ShopReturnPolicies) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopReturnPolicies) HasResults ¶
func (o *ShopReturnPolicies) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopReturnPolicies) MarshalJSON ¶
func (o ShopReturnPolicies) MarshalJSON() ([]byte, error)
func (*ShopReturnPolicies) SetCount ¶
func (o *ShopReturnPolicies) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopReturnPolicies) SetResults ¶
func (o *ShopReturnPolicies) SetResults(v []ShopReturnPolicy)
SetResults gets a reference to the given []ShopReturnPolicy and assigns it to the Results field.
func (ShopReturnPolicies) ToMap ¶
func (o ShopReturnPolicies) ToMap() (map[string]interface{}, error)
type ShopReturnPolicy ¶
type ShopReturnPolicy struct { // The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). ReturnPolicyId *int64 `json:"return_policy_id,omitempty"` // The unique positive non-zero numeric ID for an Etsy Shop. ShopId *int64 `json:"shop_id,omitempty"` // return_policy_accepts_returns AcceptsReturns *bool `json:"accepts_returns,omitempty"` // return_policy_accepts_exchanges AcceptsExchanges *bool `json:"accepts_exchanges,omitempty"` // The deadline for the Return Policy, measured in days. The value must be one of the following: [7, 14, 21, 30, 45, 60, 90]. ReturnDeadline NullableInt64 `json:"return_deadline,omitempty"` AdditionalProperties map[string]interface{} }
ShopReturnPolicy Represents a listing-level return policy.
func NewShopReturnPolicy ¶
func NewShopReturnPolicy() *ShopReturnPolicy
NewShopReturnPolicy instantiates a new ShopReturnPolicy 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
func NewShopReturnPolicyWithDefaults ¶
func NewShopReturnPolicyWithDefaults() *ShopReturnPolicy
NewShopReturnPolicyWithDefaults instantiates a new ShopReturnPolicy 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
func (*ShopReturnPolicy) GetAcceptsExchanges ¶
func (o *ShopReturnPolicy) GetAcceptsExchanges() bool
GetAcceptsExchanges returns the AcceptsExchanges field value if set, zero value otherwise.
func (*ShopReturnPolicy) GetAcceptsExchangesOk ¶
func (o *ShopReturnPolicy) GetAcceptsExchangesOk() (*bool, bool)
GetAcceptsExchangesOk returns a tuple with the AcceptsExchanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReturnPolicy) GetAcceptsReturns ¶
func (o *ShopReturnPolicy) GetAcceptsReturns() bool
GetAcceptsReturns returns the AcceptsReturns field value if set, zero value otherwise.
func (*ShopReturnPolicy) GetAcceptsReturnsOk ¶
func (o *ShopReturnPolicy) GetAcceptsReturnsOk() (*bool, bool)
GetAcceptsReturnsOk returns a tuple with the AcceptsReturns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReturnPolicy) GetReturnDeadline ¶
func (o *ShopReturnPolicy) GetReturnDeadline() int64
GetReturnDeadline returns the ReturnDeadline field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopReturnPolicy) GetReturnDeadlineOk ¶
func (o *ShopReturnPolicy) GetReturnDeadlineOk() (*int64, bool)
GetReturnDeadlineOk returns a tuple with the ReturnDeadline field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopReturnPolicy) GetReturnPolicyId ¶
func (o *ShopReturnPolicy) GetReturnPolicyId() int64
GetReturnPolicyId returns the ReturnPolicyId field value if set, zero value otherwise.
func (*ShopReturnPolicy) GetReturnPolicyIdOk ¶
func (o *ShopReturnPolicy) GetReturnPolicyIdOk() (*int64, bool)
GetReturnPolicyIdOk returns a tuple with the ReturnPolicyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReturnPolicy) GetShopId ¶
func (o *ShopReturnPolicy) GetShopId() int64
GetShopId returns the ShopId field value if set, zero value otherwise.
func (*ShopReturnPolicy) GetShopIdOk ¶
func (o *ShopReturnPolicy) GetShopIdOk() (*int64, bool)
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopReturnPolicy) HasAcceptsExchanges ¶
func (o *ShopReturnPolicy) HasAcceptsExchanges() bool
HasAcceptsExchanges returns a boolean if a field has been set.
func (*ShopReturnPolicy) HasAcceptsReturns ¶
func (o *ShopReturnPolicy) HasAcceptsReturns() bool
HasAcceptsReturns returns a boolean if a field has been set.
func (*ShopReturnPolicy) HasReturnDeadline ¶
func (o *ShopReturnPolicy) HasReturnDeadline() bool
HasReturnDeadline returns a boolean if a field has been set.
func (*ShopReturnPolicy) HasReturnPolicyId ¶
func (o *ShopReturnPolicy) HasReturnPolicyId() bool
HasReturnPolicyId returns a boolean if a field has been set.
func (*ShopReturnPolicy) HasShopId ¶
func (o *ShopReturnPolicy) HasShopId() bool
HasShopId returns a boolean if a field has been set.
func (ShopReturnPolicy) MarshalJSON ¶
func (o ShopReturnPolicy) MarshalJSON() ([]byte, error)
func (*ShopReturnPolicy) SetAcceptsExchanges ¶
func (o *ShopReturnPolicy) SetAcceptsExchanges(v bool)
SetAcceptsExchanges gets a reference to the given bool and assigns it to the AcceptsExchanges field.
func (*ShopReturnPolicy) SetAcceptsReturns ¶
func (o *ShopReturnPolicy) SetAcceptsReturns(v bool)
SetAcceptsReturns gets a reference to the given bool and assigns it to the AcceptsReturns field.
func (*ShopReturnPolicy) SetReturnDeadline ¶
func (o *ShopReturnPolicy) SetReturnDeadline(v int64)
SetReturnDeadline gets a reference to the given NullableInt64 and assigns it to the ReturnDeadline field.
func (*ShopReturnPolicy) SetReturnDeadlineNil ¶
func (o *ShopReturnPolicy) SetReturnDeadlineNil()
SetReturnDeadlineNil sets the value for ReturnDeadline to be an explicit nil
func (*ShopReturnPolicy) SetReturnPolicyId ¶
func (o *ShopReturnPolicy) SetReturnPolicyId(v int64)
SetReturnPolicyId gets a reference to the given int64 and assigns it to the ReturnPolicyId field.
func (*ShopReturnPolicy) SetShopId ¶
func (o *ShopReturnPolicy) SetShopId(v int64)
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (ShopReturnPolicy) ToMap ¶
func (o ShopReturnPolicy) ToMap() (map[string]interface{}, error)
func (*ShopReturnPolicy) UnsetReturnDeadline ¶
func (o *ShopReturnPolicy) UnsetReturnDeadline()
UnsetReturnDeadline ensures that no value is present for ReturnDeadline, not even an explicit nil
type ShopReturnPolicyAPI ¶
type ShopReturnPolicyAPI interface { /* ConsolidateShopReturnPolicies Method for ConsolidateShopReturnPolicies <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Consolidates Return Policies by moving all listings from a source return policy to a destination return policy, and deleting the source return policy. This is commonly used in the event that a user attempts to update a Return Policy such that its data is a duplicate of some other Return Policy, which is prevented. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest */ ConsolidateShopReturnPolicies(ctx context.Context, shopId int64) ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest // ConsolidateShopReturnPoliciesExecute executes the request // @return ShopReturnPolicy ConsolidateShopReturnPoliciesExecute(r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) (*ShopReturnPolicy, *http.Response, error) /* CreateShopReturnPolicy Method for CreateShopReturnPolicy <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates a new Return Policy. Note: if either accepts_returns or accepts_exchanges is true, then a return_deadline is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReturnPolicyAPICreateShopReturnPolicyRequest */ CreateShopReturnPolicy(ctx context.Context, shopId int64) ShopReturnPolicyAPICreateShopReturnPolicyRequest // CreateShopReturnPolicyExecute executes the request // @return ShopReturnPolicy CreateShopReturnPolicyExecute(r ShopReturnPolicyAPICreateShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error) /* DeleteShopReturnPolicy Method for DeleteShopReturnPolicy <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Deletes an existing Return Policy. Deletion is only allowed for policies which have no associated listings – move them to another policy before attempting deletion. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @return ShopReturnPolicyAPIDeleteShopReturnPolicyRequest */ DeleteShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIDeleteShopReturnPolicyRequest // DeleteShopReturnPolicyExecute executes the request DeleteShopReturnPolicyExecute(r ShopReturnPolicyAPIDeleteShopReturnPolicyRequest) (*http.Response, error) /* GetShopReturnPolicies Method for GetShopReturnPolicies <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Returns a shop's list of existing Return Policies @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReturnPolicyAPIGetShopReturnPoliciesRequest */ GetShopReturnPolicies(ctx context.Context, shopId int64) ShopReturnPolicyAPIGetShopReturnPoliciesRequest // GetShopReturnPoliciesExecute executes the request // @return ShopReturnPolicies GetShopReturnPoliciesExecute(r ShopReturnPolicyAPIGetShopReturnPoliciesRequest) (*ShopReturnPolicies, *http.Response, error) /* GetShopReturnPolicy Method for GetShopReturnPolicy <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves an existing Return Policy. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @return ShopReturnPolicyAPIGetShopReturnPolicyRequest */ GetShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIGetShopReturnPolicyRequest // GetShopReturnPolicyExecute executes the request // @return ShopReturnPolicy GetShopReturnPolicyExecute(r ShopReturnPolicyAPIGetShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error) /* UpdateShopReturnPolicy Method for UpdateShopReturnPolicy <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates an existing Return Policy. Note: if either accepts_returns or accepts_exchanges is true, then a return_deadline is required. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @return ShopReturnPolicyAPIUpdateShopReturnPolicyRequest */ UpdateShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest // UpdateShopReturnPolicyExecute executes the request // @return ShopReturnPolicy UpdateShopReturnPolicyExecute(r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error) }
type ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest ¶
type ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest struct { ApiService ShopReturnPolicyAPI // contains filtered or unexported fields }
func (ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) DestinationReturnPolicyId ¶
func (r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) DestinationReturnPolicyId(destinationReturnPolicyId int64) ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies).
func (ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) Execute ¶
func (r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) Execute() (*ShopReturnPolicy, *http.Response, error)
func (ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) SourceReturnPolicyId ¶
func (r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) SourceReturnPolicyId(sourceReturnPolicyId int64) ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies).
type ShopReturnPolicyAPICreateShopReturnPolicyRequest ¶
type ShopReturnPolicyAPICreateShopReturnPolicyRequest struct { ApiService ShopReturnPolicyAPI // contains filtered or unexported fields }
func (ShopReturnPolicyAPICreateShopReturnPolicyRequest) AcceptsExchanges ¶
func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) AcceptsExchanges(acceptsExchanges bool) ShopReturnPolicyAPICreateShopReturnPolicyRequest
func (ShopReturnPolicyAPICreateShopReturnPolicyRequest) AcceptsReturns ¶
func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) AcceptsReturns(acceptsReturns bool) ShopReturnPolicyAPICreateShopReturnPolicyRequest
func (ShopReturnPolicyAPICreateShopReturnPolicyRequest) Execute ¶
func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) Execute() (*ShopReturnPolicy, *http.Response, error)
func (ShopReturnPolicyAPICreateShopReturnPolicyRequest) ReturnDeadline ¶
func (r ShopReturnPolicyAPICreateShopReturnPolicyRequest) ReturnDeadline(returnDeadline int64) ShopReturnPolicyAPICreateShopReturnPolicyRequest
The deadline for the Return Policy, measured in days. The value must be one of the following: [7, 14, 21, 30, 45, 60, 90].
type ShopReturnPolicyAPIDeleteShopReturnPolicyRequest ¶
type ShopReturnPolicyAPIDeleteShopReturnPolicyRequest struct { ApiService ShopReturnPolicyAPI // contains filtered or unexported fields }
type ShopReturnPolicyAPIGetShopReturnPoliciesRequest ¶
type ShopReturnPolicyAPIGetShopReturnPoliciesRequest struct { ApiService ShopReturnPolicyAPI // contains filtered or unexported fields }
func (ShopReturnPolicyAPIGetShopReturnPoliciesRequest) Execute ¶
func (r ShopReturnPolicyAPIGetShopReturnPoliciesRequest) Execute() (*ShopReturnPolicies, *http.Response, error)
type ShopReturnPolicyAPIGetShopReturnPolicyRequest ¶
type ShopReturnPolicyAPIGetShopReturnPolicyRequest struct { ApiService ShopReturnPolicyAPI // contains filtered or unexported fields }
func (ShopReturnPolicyAPIGetShopReturnPolicyRequest) Execute ¶
func (r ShopReturnPolicyAPIGetShopReturnPolicyRequest) Execute() (*ShopReturnPolicy, *http.Response, error)
type ShopReturnPolicyAPIService ¶
type ShopReturnPolicyAPIService service
ShopReturnPolicyAPIService ShopReturnPolicyAPI service
func (*ShopReturnPolicyAPIService) ConsolidateShopReturnPolicies ¶
func (a *ShopReturnPolicyAPIService) ConsolidateShopReturnPolicies(ctx context.Context, shopId int64) ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
ConsolidateShopReturnPolicies Method for ConsolidateShopReturnPolicies
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Consolidates Return Policies by moving all listings from a source return policy to a destination return policy, and deleting the source return policy. This is commonly used in the event that a user attempts to update a Return Policy such that its data is a duplicate of some other Return Policy, which is prevented.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest
func (*ShopReturnPolicyAPIService) ConsolidateShopReturnPoliciesExecute ¶
func (a *ShopReturnPolicyAPIService) ConsolidateShopReturnPoliciesExecute(r ShopReturnPolicyAPIConsolidateShopReturnPoliciesRequest) (*ShopReturnPolicy, *http.Response, error)
Execute executes the request
@return ShopReturnPolicy
func (*ShopReturnPolicyAPIService) CreateShopReturnPolicy ¶
func (a *ShopReturnPolicyAPIService) CreateShopReturnPolicy(ctx context.Context, shopId int64) ShopReturnPolicyAPICreateShopReturnPolicyRequest
CreateShopReturnPolicy Method for CreateShopReturnPolicy
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates a new Return Policy. Note: if either accepts_returns or accepts_exchanges is true, then a return_deadline is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReturnPolicyAPICreateShopReturnPolicyRequest
func (*ShopReturnPolicyAPIService) CreateShopReturnPolicyExecute ¶
func (a *ShopReturnPolicyAPIService) CreateShopReturnPolicyExecute(r ShopReturnPolicyAPICreateShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error)
Execute executes the request
@return ShopReturnPolicy
func (*ShopReturnPolicyAPIService) DeleteShopReturnPolicy ¶
func (a *ShopReturnPolicyAPIService) DeleteShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIDeleteShopReturnPolicyRequest
DeleteShopReturnPolicy Method for DeleteShopReturnPolicy
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Deletes an existing Return Policy. Deletion is only allowed for policies which have no associated listings – move them to another policy before attempting deletion.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @return ShopReturnPolicyAPIDeleteShopReturnPolicyRequest
func (*ShopReturnPolicyAPIService) DeleteShopReturnPolicyExecute ¶
func (a *ShopReturnPolicyAPIService) DeleteShopReturnPolicyExecute(r ShopReturnPolicyAPIDeleteShopReturnPolicyRequest) (*http.Response, error)
Execute executes the request
func (*ShopReturnPolicyAPIService) GetShopReturnPolicies ¶
func (a *ShopReturnPolicyAPIService) GetShopReturnPolicies(ctx context.Context, shopId int64) ShopReturnPolicyAPIGetShopReturnPoliciesRequest
GetShopReturnPolicies Method for GetShopReturnPolicies
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Returns a shop's list of existing Return Policies
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopReturnPolicyAPIGetShopReturnPoliciesRequest
func (*ShopReturnPolicyAPIService) GetShopReturnPoliciesExecute ¶
func (a *ShopReturnPolicyAPIService) GetShopReturnPoliciesExecute(r ShopReturnPolicyAPIGetShopReturnPoliciesRequest) (*ShopReturnPolicies, *http.Response, error)
Execute executes the request
@return ShopReturnPolicies
func (*ShopReturnPolicyAPIService) GetShopReturnPolicy ¶
func (a *ShopReturnPolicyAPIService) GetShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIGetShopReturnPolicyRequest
GetShopReturnPolicy Method for GetShopReturnPolicy
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves an existing Return Policy.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @return ShopReturnPolicyAPIGetShopReturnPolicyRequest
func (*ShopReturnPolicyAPIService) GetShopReturnPolicyExecute ¶
func (a *ShopReturnPolicyAPIService) GetShopReturnPolicyExecute(r ShopReturnPolicyAPIGetShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error)
Execute executes the request
@return ShopReturnPolicy
func (*ShopReturnPolicyAPIService) UpdateShopReturnPolicy ¶
func (a *ShopReturnPolicyAPIService) UpdateShopReturnPolicy(ctx context.Context, shopId int64, returnPolicyId int64) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
UpdateShopReturnPolicy Method for UpdateShopReturnPolicy
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates an existing Return Policy. Note: if either accepts_returns or accepts_exchanges is true, then a return_deadline is required.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param returnPolicyId The numeric ID of the [Return Policy](/documentation/reference#operation/getShopReturnPolicies). @return ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
func (*ShopReturnPolicyAPIService) UpdateShopReturnPolicyExecute ¶
func (a *ShopReturnPolicyAPIService) UpdateShopReturnPolicyExecute(r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) (*ShopReturnPolicy, *http.Response, error)
Execute executes the request
@return ShopReturnPolicy
type ShopReturnPolicyAPIUpdateShopReturnPolicyRequest ¶
type ShopReturnPolicyAPIUpdateShopReturnPolicyRequest struct { ApiService ShopReturnPolicyAPI // contains filtered or unexported fields }
func (ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) AcceptsExchanges ¶
func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) AcceptsExchanges(acceptsExchanges bool) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
func (ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) AcceptsReturns ¶
func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) AcceptsReturns(acceptsReturns bool) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
func (ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) Execute ¶
func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) Execute() (*ShopReturnPolicy, *http.Response, error)
func (ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) ReturnDeadline ¶
func (r ShopReturnPolicyAPIUpdateShopReturnPolicyRequest) ReturnDeadline(returnDeadline int64) ShopReturnPolicyAPIUpdateShopReturnPolicyRequest
The deadline for the Return Policy, measured in days. The value must be one of the following: [7, 14, 21, 30, 45, 60, 90].
type ShopSection ¶
type ShopSection struct { // The numeric ID of a section in a specific Etsy shop. ShopSectionId *int64 `json:"shop_section_id,omitempty"` // The title string for a shop section. Title *string `json:"title,omitempty"` // The positive non-zero numeric position of this section in the section display order for a shop, with rank 1 sections appearing first. Rank *int64 `json:"rank,omitempty"` // The numeric ID of the [user](/documentation/reference#tag/User) who owns this shop section. UserId *int64 `json:"user_id,omitempty"` // The number of active listings in one section of a specific Etsy shop. ActiveListingCount *int64 `json:"active_listing_count,omitempty"` AdditionalProperties map[string]interface{} }
ShopSection A section within a shop, into which a user can sort listings.
func NewShopSection ¶
func NewShopSection() *ShopSection
NewShopSection instantiates a new ShopSection 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
func NewShopSectionWithDefaults ¶
func NewShopSectionWithDefaults() *ShopSection
NewShopSectionWithDefaults instantiates a new ShopSection 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
func (*ShopSection) GetActiveListingCount ¶
func (o *ShopSection) GetActiveListingCount() int64
GetActiveListingCount returns the ActiveListingCount field value if set, zero value otherwise.
func (*ShopSection) GetActiveListingCountOk ¶
func (o *ShopSection) GetActiveListingCountOk() (*int64, bool)
GetActiveListingCountOk returns a tuple with the ActiveListingCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopSection) GetRank ¶
func (o *ShopSection) GetRank() int64
GetRank returns the Rank field value if set, zero value otherwise.
func (*ShopSection) GetRankOk ¶
func (o *ShopSection) GetRankOk() (*int64, bool)
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopSection) GetShopSectionId ¶
func (o *ShopSection) GetShopSectionId() int64
GetShopSectionId returns the ShopSectionId field value if set, zero value otherwise.
func (*ShopSection) GetShopSectionIdOk ¶
func (o *ShopSection) GetShopSectionIdOk() (*int64, bool)
GetShopSectionIdOk returns a tuple with the ShopSectionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopSection) GetTitle ¶
func (o *ShopSection) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ShopSection) GetTitleOk ¶
func (o *ShopSection) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopSection) GetUserId ¶
func (o *ShopSection) GetUserId() int64
GetUserId returns the UserId field value if set, zero value otherwise.
func (*ShopSection) GetUserIdOk ¶
func (o *ShopSection) GetUserIdOk() (*int64, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopSection) HasActiveListingCount ¶
func (o *ShopSection) HasActiveListingCount() bool
HasActiveListingCount returns a boolean if a field has been set.
func (*ShopSection) HasRank ¶
func (o *ShopSection) HasRank() bool
HasRank returns a boolean if a field has been set.
func (*ShopSection) HasShopSectionId ¶
func (o *ShopSection) HasShopSectionId() bool
HasShopSectionId returns a boolean if a field has been set.
func (*ShopSection) HasTitle ¶
func (o *ShopSection) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ShopSection) HasUserId ¶
func (o *ShopSection) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (ShopSection) MarshalJSON ¶
func (o ShopSection) MarshalJSON() ([]byte, error)
func (*ShopSection) SetActiveListingCount ¶
func (o *ShopSection) SetActiveListingCount(v int64)
SetActiveListingCount gets a reference to the given int64 and assigns it to the ActiveListingCount field.
func (*ShopSection) SetRank ¶
func (o *ShopSection) SetRank(v int64)
SetRank gets a reference to the given int64 and assigns it to the Rank field.
func (*ShopSection) SetShopSectionId ¶
func (o *ShopSection) SetShopSectionId(v int64)
SetShopSectionId gets a reference to the given int64 and assigns it to the ShopSectionId field.
func (*ShopSection) SetTitle ¶
func (o *ShopSection) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ShopSection) SetUserId ¶
func (o *ShopSection) SetUserId(v int64)
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (ShopSection) ToMap ¶
func (o ShopSection) ToMap() (map[string]interface{}, error)
type ShopSectionAPI ¶
type ShopSectionAPI interface { /* CreateShopSection Method for CreateShopSection <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates a new section in a specific shop. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopSectionAPICreateShopSectionRequest */ CreateShopSection(ctx context.Context, shopId int64) ShopSectionAPICreateShopSectionRequest // CreateShopSectionExecute executes the request // @return ShopSection CreateShopSectionExecute(r ShopSectionAPICreateShopSectionRequest) (*ShopSection, *http.Response, error) /* DeleteShopSection Method for DeleteShopSection <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Deletes a section in a specific shop given a valid shop_section_id. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shopSectionId The numeric ID of a section in a specific Etsy shop. @return ShopSectionAPIDeleteShopSectionRequest */ DeleteShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIDeleteShopSectionRequest // DeleteShopSectionExecute executes the request DeleteShopSectionExecute(r ShopSectionAPIDeleteShopSectionRequest) (*http.Response, error) /* GetShopSection Method for GetShopSection <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a shop section, referenced by section ID and shop ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shopSectionId The numeric ID of a section in a specific Etsy shop. @return ShopSectionAPIGetShopSectionRequest */ GetShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIGetShopSectionRequest // GetShopSectionExecute executes the request // @return ShopSection GetShopSectionExecute(r ShopSectionAPIGetShopSectionRequest) (*ShopSection, *http.Response, error) /* GetShopSections Method for GetShopSections <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the list of shop sections in a specific shop identified by shop ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopSectionAPIGetShopSectionsRequest */ GetShopSections(ctx context.Context, shopId int64) ShopSectionAPIGetShopSectionsRequest // GetShopSectionsExecute executes the request // @return ShopSections GetShopSectionsExecute(r ShopSectionAPIGetShopSectionsRequest) (*ShopSections, *http.Response, error) /* UpdateShopSection Method for UpdateShopSection <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates a section in a specific shop given a valid shop_section_id. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shopSectionId The numeric ID of a section in a specific Etsy shop. @return ShopSectionAPIUpdateShopSectionRequest */ UpdateShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIUpdateShopSectionRequest // UpdateShopSectionExecute executes the request // @return ShopSection UpdateShopSectionExecute(r ShopSectionAPIUpdateShopSectionRequest) (*ShopSection, *http.Response, error) }
type ShopSectionAPICreateShopSectionRequest ¶
type ShopSectionAPICreateShopSectionRequest struct { ApiService ShopSectionAPI // contains filtered or unexported fields }
func (ShopSectionAPICreateShopSectionRequest) Execute ¶
func (r ShopSectionAPICreateShopSectionRequest) Execute() (*ShopSection, *http.Response, error)
func (ShopSectionAPICreateShopSectionRequest) Title ¶
func (r ShopSectionAPICreateShopSectionRequest) Title(title string) ShopSectionAPICreateShopSectionRequest
The title string for a shop section.
type ShopSectionAPIDeleteShopSectionRequest ¶
type ShopSectionAPIDeleteShopSectionRequest struct { ApiService ShopSectionAPI // contains filtered or unexported fields }
type ShopSectionAPIGetShopSectionRequest ¶
type ShopSectionAPIGetShopSectionRequest struct { ApiService ShopSectionAPI // contains filtered or unexported fields }
func (ShopSectionAPIGetShopSectionRequest) Execute ¶
func (r ShopSectionAPIGetShopSectionRequest) Execute() (*ShopSection, *http.Response, error)
type ShopSectionAPIGetShopSectionsRequest ¶
type ShopSectionAPIGetShopSectionsRequest struct { ApiService ShopSectionAPI // contains filtered or unexported fields }
func (ShopSectionAPIGetShopSectionsRequest) Execute ¶
func (r ShopSectionAPIGetShopSectionsRequest) Execute() (*ShopSections, *http.Response, error)
type ShopSectionAPIService ¶
type ShopSectionAPIService service
ShopSectionAPIService ShopSectionAPI service
func (*ShopSectionAPIService) CreateShopSection ¶
func (a *ShopSectionAPIService) CreateShopSection(ctx context.Context, shopId int64) ShopSectionAPICreateShopSectionRequest
CreateShopSection Method for CreateShopSection
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates a new section in a specific shop.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopSectionAPICreateShopSectionRequest
func (*ShopSectionAPIService) CreateShopSectionExecute ¶
func (a *ShopSectionAPIService) CreateShopSectionExecute(r ShopSectionAPICreateShopSectionRequest) (*ShopSection, *http.Response, error)
Execute executes the request
@return ShopSection
func (*ShopSectionAPIService) DeleteShopSection ¶
func (a *ShopSectionAPIService) DeleteShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIDeleteShopSectionRequest
DeleteShopSection Method for DeleteShopSection
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Deletes a section in a specific shop given a valid shop_section_id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shopSectionId The numeric ID of a section in a specific Etsy shop. @return ShopSectionAPIDeleteShopSectionRequest
func (*ShopSectionAPIService) DeleteShopSectionExecute ¶
func (a *ShopSectionAPIService) DeleteShopSectionExecute(r ShopSectionAPIDeleteShopSectionRequest) (*http.Response, error)
Execute executes the request
func (*ShopSectionAPIService) GetShopSection ¶
func (a *ShopSectionAPIService) GetShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIGetShopSectionRequest
GetShopSection Method for GetShopSection
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a shop section, referenced by section ID and shop ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shopSectionId The numeric ID of a section in a specific Etsy shop. @return ShopSectionAPIGetShopSectionRequest
func (*ShopSectionAPIService) GetShopSectionExecute ¶
func (a *ShopSectionAPIService) GetShopSectionExecute(r ShopSectionAPIGetShopSectionRequest) (*ShopSection, *http.Response, error)
Execute executes the request
@return ShopSection
func (*ShopSectionAPIService) GetShopSections ¶
func (a *ShopSectionAPIService) GetShopSections(ctx context.Context, shopId int64) ShopSectionAPIGetShopSectionsRequest
GetShopSections Method for GetShopSections
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the list of shop sections in a specific shop identified by shop ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopSectionAPIGetShopSectionsRequest
func (*ShopSectionAPIService) GetShopSectionsExecute ¶
func (a *ShopSectionAPIService) GetShopSectionsExecute(r ShopSectionAPIGetShopSectionsRequest) (*ShopSections, *http.Response, error)
Execute executes the request
@return ShopSections
func (*ShopSectionAPIService) UpdateShopSection ¶
func (a *ShopSectionAPIService) UpdateShopSection(ctx context.Context, shopId int64, shopSectionId int64) ShopSectionAPIUpdateShopSectionRequest
UpdateShopSection Method for UpdateShopSection
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates a section in a specific shop given a valid shop_section_id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shopSectionId The numeric ID of a section in a specific Etsy shop. @return ShopSectionAPIUpdateShopSectionRequest
func (*ShopSectionAPIService) UpdateShopSectionExecute ¶
func (a *ShopSectionAPIService) UpdateShopSectionExecute(r ShopSectionAPIUpdateShopSectionRequest) (*ShopSection, *http.Response, error)
Execute executes the request
@return ShopSection
type ShopSectionAPIUpdateShopSectionRequest ¶
type ShopSectionAPIUpdateShopSectionRequest struct { ApiService ShopSectionAPI // contains filtered or unexported fields }
func (ShopSectionAPIUpdateShopSectionRequest) Execute ¶
func (r ShopSectionAPIUpdateShopSectionRequest) Execute() (*ShopSection, *http.Response, error)
func (ShopSectionAPIUpdateShopSectionRequest) Title ¶
func (r ShopSectionAPIUpdateShopSectionRequest) Title(title string) ShopSectionAPIUpdateShopSectionRequest
The title string for a shop section.
type ShopSections ¶
type ShopSections struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []ShopSection `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopSections All the sections in a sprecific Shop.
func NewShopSections ¶
func NewShopSections() *ShopSections
NewShopSections instantiates a new ShopSections 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
func NewShopSectionsWithDefaults ¶
func NewShopSectionsWithDefaults() *ShopSections
NewShopSectionsWithDefaults instantiates a new ShopSections 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
func (*ShopSections) GetCount ¶
func (o *ShopSections) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopSections) GetCountOk ¶
func (o *ShopSections) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopSections) GetResults ¶
func (o *ShopSections) GetResults() []ShopSection
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopSections) GetResultsOk ¶
func (o *ShopSections) GetResultsOk() ([]ShopSection, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopSections) HasCount ¶
func (o *ShopSections) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopSections) HasResults ¶
func (o *ShopSections) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopSections) MarshalJSON ¶
func (o ShopSections) MarshalJSON() ([]byte, error)
func (*ShopSections) SetCount ¶
func (o *ShopSections) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopSections) SetResults ¶
func (o *ShopSections) SetResults(v []ShopSection)
SetResults gets a reference to the given []ShopSection and assigns it to the Results field.
func (ShopSections) ToMap ¶
func (o ShopSections) ToMap() (map[string]interface{}, error)
type ShopShippingProfile ¶
type ShopShippingProfile struct { // The numeric ID of the shipping profile. ShippingProfileId *int64 `json:"shipping_profile_id,omitempty"` // The name string of this shipping profile. Title NullableString `json:"title,omitempty"` // The numeric ID for the [user](/documentation/reference#tag/User) who owns the shipping profile. UserId *int64 `json:"user_id,omitempty"` // The minimum number of days for processing the listing. MinProcessingDays NullableInt64 `json:"min_processing_days,omitempty"` // The maximum number of days for processing the listing. MaxProcessingDays NullableInt64 `json:"max_processing_days,omitempty"` // Translated display label string for processing days. ProcessingDaysDisplayLabel *string `json:"processing_days_display_label,omitempty"` // The ISO code of the country from which the listing ships. OriginCountryIso *string `json:"origin_country_iso,omitempty"` // When true, someone deleted this shipping profile. IsDeleted *bool `json:"is_deleted,omitempty"` // A list of [shipping profile destinations](/documentation/reference/#operation/createShopShippingProfileDestination) available for this shipping profile. ShippingProfileDestinations []ShopShippingProfileDestination `json:"shipping_profile_destinations,omitempty"` // A list of [shipping profile upgrades](/documentation/reference/#operation/createShopShippingProfileUpgrade) available for this shipping profile. ShippingProfileUpgrades []ShopShippingProfileUpgrade `json:"shipping_profile_upgrades,omitempty"` // The postal code string (not necessarily a number) for the location from which the listing ships. Required if the `origin_country_iso` supports postal codes. See the [Fulfillment Tutorial docs](https://developer.etsy.com/documentation/tutorials/fulfillment/#countries-requiring-postal-codes) for more info OriginPostalCode NullableString `json:"origin_postal_code,omitempty"` ProfileType *ShopShippingProfileProfileType `json:"profile_type,omitempty"` // The domestic handling fee added to buyer's shipping total - only available for calculated shipping profiles. DomesticHandlingFee *float32 `json:"domestic_handling_fee,omitempty"` // The international handling fee added to buyer's shipping total - only available for calculated shipping profiles. InternationalHandlingFee *float32 `json:"international_handling_fee,omitempty"` AdditionalProperties map[string]interface{} }
ShopShippingProfile Represents a profile used to set a listing's shipping information. Please note that it's not possible to create calculated shipping templates via the API. However, you can associate calculated shipping profiles created from Shop Manager with listings using the API.
func NewShopShippingProfile ¶
func NewShopShippingProfile() *ShopShippingProfile
NewShopShippingProfile instantiates a new ShopShippingProfile 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
func NewShopShippingProfileWithDefaults ¶
func NewShopShippingProfileWithDefaults() *ShopShippingProfile
NewShopShippingProfileWithDefaults instantiates a new ShopShippingProfile 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
func (*ShopShippingProfile) GetDomesticHandlingFee ¶
func (o *ShopShippingProfile) GetDomesticHandlingFee() float32
GetDomesticHandlingFee returns the DomesticHandlingFee field value if set, zero value otherwise.
func (*ShopShippingProfile) GetDomesticHandlingFeeOk ¶
func (o *ShopShippingProfile) GetDomesticHandlingFeeOk() (*float32, bool)
GetDomesticHandlingFeeOk returns a tuple with the DomesticHandlingFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetInternationalHandlingFee ¶
func (o *ShopShippingProfile) GetInternationalHandlingFee() float32
GetInternationalHandlingFee returns the InternationalHandlingFee field value if set, zero value otherwise.
func (*ShopShippingProfile) GetInternationalHandlingFeeOk ¶
func (o *ShopShippingProfile) GetInternationalHandlingFeeOk() (*float32, bool)
GetInternationalHandlingFeeOk returns a tuple with the InternationalHandlingFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetIsDeleted ¶
func (o *ShopShippingProfile) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.
func (*ShopShippingProfile) GetIsDeletedOk ¶
func (o *ShopShippingProfile) GetIsDeletedOk() (*bool, bool)
GetIsDeletedOk returns a tuple with the IsDeleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetMaxProcessingDays ¶
func (o *ShopShippingProfile) GetMaxProcessingDays() int64
GetMaxProcessingDays returns the MaxProcessingDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfile) GetMaxProcessingDaysOk ¶
func (o *ShopShippingProfile) GetMaxProcessingDaysOk() (*int64, bool)
GetMaxProcessingDaysOk returns a tuple with the MaxProcessingDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfile) GetMinProcessingDays ¶
func (o *ShopShippingProfile) GetMinProcessingDays() int64
GetMinProcessingDays returns the MinProcessingDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfile) GetMinProcessingDaysOk ¶
func (o *ShopShippingProfile) GetMinProcessingDaysOk() (*int64, bool)
GetMinProcessingDaysOk returns a tuple with the MinProcessingDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfile) GetOriginCountryIso ¶
func (o *ShopShippingProfile) GetOriginCountryIso() string
GetOriginCountryIso returns the OriginCountryIso field value if set, zero value otherwise.
func (*ShopShippingProfile) GetOriginCountryIsoOk ¶
func (o *ShopShippingProfile) GetOriginCountryIsoOk() (*string, bool)
GetOriginCountryIsoOk returns a tuple with the OriginCountryIso field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetOriginPostalCode ¶
func (o *ShopShippingProfile) GetOriginPostalCode() string
GetOriginPostalCode returns the OriginPostalCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfile) GetOriginPostalCodeOk ¶
func (o *ShopShippingProfile) GetOriginPostalCodeOk() (*string, bool)
GetOriginPostalCodeOk returns a tuple with the OriginPostalCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfile) GetProcessingDaysDisplayLabel ¶
func (o *ShopShippingProfile) GetProcessingDaysDisplayLabel() string
GetProcessingDaysDisplayLabel returns the ProcessingDaysDisplayLabel field value if set, zero value otherwise.
func (*ShopShippingProfile) GetProcessingDaysDisplayLabelOk ¶
func (o *ShopShippingProfile) GetProcessingDaysDisplayLabelOk() (*string, bool)
GetProcessingDaysDisplayLabelOk returns a tuple with the ProcessingDaysDisplayLabel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetProfileType ¶
func (o *ShopShippingProfile) GetProfileType() ShopShippingProfileProfileType
GetProfileType returns the ProfileType field value if set, zero value otherwise.
func (*ShopShippingProfile) GetProfileTypeOk ¶
func (o *ShopShippingProfile) GetProfileTypeOk() (*ShopShippingProfileProfileType, bool)
GetProfileTypeOk returns a tuple with the ProfileType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetShippingProfileDestinations ¶
func (o *ShopShippingProfile) GetShippingProfileDestinations() []ShopShippingProfileDestination
GetShippingProfileDestinations returns the ShippingProfileDestinations field value if set, zero value otherwise.
func (*ShopShippingProfile) GetShippingProfileDestinationsOk ¶
func (o *ShopShippingProfile) GetShippingProfileDestinationsOk() ([]ShopShippingProfileDestination, bool)
GetShippingProfileDestinationsOk returns a tuple with the ShippingProfileDestinations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetShippingProfileId ¶
func (o *ShopShippingProfile) GetShippingProfileId() int64
GetShippingProfileId returns the ShippingProfileId field value if set, zero value otherwise.
func (*ShopShippingProfile) GetShippingProfileIdOk ¶
func (o *ShopShippingProfile) GetShippingProfileIdOk() (*int64, bool)
GetShippingProfileIdOk returns a tuple with the ShippingProfileId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetShippingProfileUpgrades ¶
func (o *ShopShippingProfile) GetShippingProfileUpgrades() []ShopShippingProfileUpgrade
GetShippingProfileUpgrades returns the ShippingProfileUpgrades field value if set, zero value otherwise.
func (*ShopShippingProfile) GetShippingProfileUpgradesOk ¶
func (o *ShopShippingProfile) GetShippingProfileUpgradesOk() ([]ShopShippingProfileUpgrade, bool)
GetShippingProfileUpgradesOk returns a tuple with the ShippingProfileUpgrades field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) GetTitle ¶
func (o *ShopShippingProfile) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfile) GetTitleOk ¶
func (o *ShopShippingProfile) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfile) GetUserId ¶
func (o *ShopShippingProfile) GetUserId() int64
GetUserId returns the UserId field value if set, zero value otherwise.
func (*ShopShippingProfile) GetUserIdOk ¶
func (o *ShopShippingProfile) GetUserIdOk() (*int64, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfile) HasDomesticHandlingFee ¶
func (o *ShopShippingProfile) HasDomesticHandlingFee() bool
HasDomesticHandlingFee returns a boolean if a field has been set.
func (*ShopShippingProfile) HasInternationalHandlingFee ¶
func (o *ShopShippingProfile) HasInternationalHandlingFee() bool
HasInternationalHandlingFee returns a boolean if a field has been set.
func (*ShopShippingProfile) HasIsDeleted ¶
func (o *ShopShippingProfile) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (*ShopShippingProfile) HasMaxProcessingDays ¶
func (o *ShopShippingProfile) HasMaxProcessingDays() bool
HasMaxProcessingDays returns a boolean if a field has been set.
func (*ShopShippingProfile) HasMinProcessingDays ¶
func (o *ShopShippingProfile) HasMinProcessingDays() bool
HasMinProcessingDays returns a boolean if a field has been set.
func (*ShopShippingProfile) HasOriginCountryIso ¶
func (o *ShopShippingProfile) HasOriginCountryIso() bool
HasOriginCountryIso returns a boolean if a field has been set.
func (*ShopShippingProfile) HasOriginPostalCode ¶
func (o *ShopShippingProfile) HasOriginPostalCode() bool
HasOriginPostalCode returns a boolean if a field has been set.
func (*ShopShippingProfile) HasProcessingDaysDisplayLabel ¶
func (o *ShopShippingProfile) HasProcessingDaysDisplayLabel() bool
HasProcessingDaysDisplayLabel returns a boolean if a field has been set.
func (*ShopShippingProfile) HasProfileType ¶
func (o *ShopShippingProfile) HasProfileType() bool
HasProfileType returns a boolean if a field has been set.
func (*ShopShippingProfile) HasShippingProfileDestinations ¶
func (o *ShopShippingProfile) HasShippingProfileDestinations() bool
HasShippingProfileDestinations returns a boolean if a field has been set.
func (*ShopShippingProfile) HasShippingProfileId ¶
func (o *ShopShippingProfile) HasShippingProfileId() bool
HasShippingProfileId returns a boolean if a field has been set.
func (*ShopShippingProfile) HasShippingProfileUpgrades ¶
func (o *ShopShippingProfile) HasShippingProfileUpgrades() bool
HasShippingProfileUpgrades returns a boolean if a field has been set.
func (*ShopShippingProfile) HasTitle ¶
func (o *ShopShippingProfile) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ShopShippingProfile) HasUserId ¶
func (o *ShopShippingProfile) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (ShopShippingProfile) MarshalJSON ¶
func (o ShopShippingProfile) MarshalJSON() ([]byte, error)
func (*ShopShippingProfile) SetDomesticHandlingFee ¶
func (o *ShopShippingProfile) SetDomesticHandlingFee(v float32)
SetDomesticHandlingFee gets a reference to the given float32 and assigns it to the DomesticHandlingFee field.
func (*ShopShippingProfile) SetInternationalHandlingFee ¶
func (o *ShopShippingProfile) SetInternationalHandlingFee(v float32)
SetInternationalHandlingFee gets a reference to the given float32 and assigns it to the InternationalHandlingFee field.
func (*ShopShippingProfile) SetIsDeleted ¶
func (o *ShopShippingProfile) SetIsDeleted(v bool)
SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.
func (*ShopShippingProfile) SetMaxProcessingDays ¶
func (o *ShopShippingProfile) SetMaxProcessingDays(v int64)
SetMaxProcessingDays gets a reference to the given NullableInt64 and assigns it to the MaxProcessingDays field.
func (*ShopShippingProfile) SetMaxProcessingDaysNil ¶
func (o *ShopShippingProfile) SetMaxProcessingDaysNil()
SetMaxProcessingDaysNil sets the value for MaxProcessingDays to be an explicit nil
func (*ShopShippingProfile) SetMinProcessingDays ¶
func (o *ShopShippingProfile) SetMinProcessingDays(v int64)
SetMinProcessingDays gets a reference to the given NullableInt64 and assigns it to the MinProcessingDays field.
func (*ShopShippingProfile) SetMinProcessingDaysNil ¶
func (o *ShopShippingProfile) SetMinProcessingDaysNil()
SetMinProcessingDaysNil sets the value for MinProcessingDays to be an explicit nil
func (*ShopShippingProfile) SetOriginCountryIso ¶
func (o *ShopShippingProfile) SetOriginCountryIso(v string)
SetOriginCountryIso gets a reference to the given string and assigns it to the OriginCountryIso field.
func (*ShopShippingProfile) SetOriginPostalCode ¶
func (o *ShopShippingProfile) SetOriginPostalCode(v string)
SetOriginPostalCode gets a reference to the given NullableString and assigns it to the OriginPostalCode field.
func (*ShopShippingProfile) SetOriginPostalCodeNil ¶
func (o *ShopShippingProfile) SetOriginPostalCodeNil()
SetOriginPostalCodeNil sets the value for OriginPostalCode to be an explicit nil
func (*ShopShippingProfile) SetProcessingDaysDisplayLabel ¶
func (o *ShopShippingProfile) SetProcessingDaysDisplayLabel(v string)
SetProcessingDaysDisplayLabel gets a reference to the given string and assigns it to the ProcessingDaysDisplayLabel field.
func (*ShopShippingProfile) SetProfileType ¶
func (o *ShopShippingProfile) SetProfileType(v ShopShippingProfileProfileType)
SetProfileType gets a reference to the given ShopShippingProfileProfileType and assigns it to the ProfileType field.
func (*ShopShippingProfile) SetShippingProfileDestinations ¶
func (o *ShopShippingProfile) SetShippingProfileDestinations(v []ShopShippingProfileDestination)
SetShippingProfileDestinations gets a reference to the given []ShopShippingProfileDestination and assigns it to the ShippingProfileDestinations field.
func (*ShopShippingProfile) SetShippingProfileId ¶
func (o *ShopShippingProfile) SetShippingProfileId(v int64)
SetShippingProfileId gets a reference to the given int64 and assigns it to the ShippingProfileId field.
func (*ShopShippingProfile) SetShippingProfileUpgrades ¶
func (o *ShopShippingProfile) SetShippingProfileUpgrades(v []ShopShippingProfileUpgrade)
SetShippingProfileUpgrades gets a reference to the given []ShopShippingProfileUpgrade and assigns it to the ShippingProfileUpgrades field.
func (*ShopShippingProfile) SetTitle ¶
func (o *ShopShippingProfile) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*ShopShippingProfile) SetTitleNil ¶
func (o *ShopShippingProfile) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil
func (*ShopShippingProfile) SetUserId ¶
func (o *ShopShippingProfile) SetUserId(v int64)
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (ShopShippingProfile) ToMap ¶
func (o ShopShippingProfile) ToMap() (map[string]interface{}, error)
func (*ShopShippingProfile) UnsetMaxProcessingDays ¶
func (o *ShopShippingProfile) UnsetMaxProcessingDays()
UnsetMaxProcessingDays ensures that no value is present for MaxProcessingDays, not even an explicit nil
func (*ShopShippingProfile) UnsetMinProcessingDays ¶
func (o *ShopShippingProfile) UnsetMinProcessingDays()
UnsetMinProcessingDays ensures that no value is present for MinProcessingDays, not even an explicit nil
func (*ShopShippingProfile) UnsetOriginPostalCode ¶
func (o *ShopShippingProfile) UnsetOriginPostalCode()
UnsetOriginPostalCode ensures that no value is present for OriginPostalCode, not even an explicit nil
func (*ShopShippingProfile) UnsetTitle ¶
func (o *ShopShippingProfile) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil
type ShopShippingProfileAPI ¶
type ShopShippingProfileAPI interface { /* CreateShopShippingProfile Method for CreateShopShippingProfile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates a new ShippingProfile. You can pass a country iso code or a region when creating a ShippingProfile, but not both. Only one is required. You must pass either a shipping_carrier_id AND mail_class, or both min and max_delivery_days. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopShippingProfileAPICreateShopShippingProfileRequest */ CreateShopShippingProfile(ctx context.Context, shopId int64) ShopShippingProfileAPICreateShopShippingProfileRequest // CreateShopShippingProfileExecute executes the request // @return ShopShippingProfile CreateShopShippingProfileExecute(r ShopShippingProfileAPICreateShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error) /* CreateShopShippingProfileDestination Method for CreateShopShippingProfileDestination <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates a new shipping destination, which sets the shipping cost, carrier, and class for a destination in a [shipping profile](/documentation/reference/#tag/Shop-ShippingProfile). createShopShippingProfileDestination assigns costs using the currency of the associated shop. Set the destination using either `destination_country_iso` or `destination_region`; `destination_country_iso` and `destination_region` are mutually exclusive — set one or the other. Setting both triggers error 400. If the request sets neither `destination_country_iso` nor `destination_region`, the default destination is "everywhere". You must also either assign both a `shipping_carrier_id` AND `mail_class` or both `min_delivery_days` AND `max_delivery_days`. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPICreateShopShippingProfileDestinationRequest */ CreateShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest // CreateShopShippingProfileDestinationExecute executes the request // @return ShopShippingProfileDestination CreateShopShippingProfileDestinationExecute(r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) (*ShopShippingProfileDestination, *http.Response, error) /* CreateShopShippingProfileUpgrade Method for CreateShopShippingProfileUpgrade <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Creates a new shipping profile upgrade, which can establish a price for a shipping option, such as an alternate carrier or faster delivery. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest */ CreateShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest // CreateShopShippingProfileUpgradeExecute executes the request // @return ShopShippingProfileUpgrade CreateShopShippingProfileUpgradeExecute(r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) (*ShopShippingProfileUpgrade, *http.Response, error) /* DeleteShopShippingProfile Method for DeleteShopShippingProfile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Deletes a ShippingProfile by given id. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIDeleteShopShippingProfileRequest */ DeleteShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIDeleteShopShippingProfileRequest // DeleteShopShippingProfileExecute executes the request DeleteShopShippingProfileExecute(r ShopShippingProfileAPIDeleteShopShippingProfileRequest) (*http.Response, error) /* DeleteShopShippingProfileDestination Method for DeleteShopShippingProfileDestination <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Deletes a shipping destination and removes the destination option from every listing that uses the associated shipping profile. A shipping profile requires at least one shipping destination, so this endpoint cannot delete the final shipping destination for any shipping profile. To delete the final shipping destination from a shipping profile, you must [delete the entire shipping profile](/documentation/reference/#operation/deleteShopShippingProfile). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @param shippingProfileDestinationId The numeric ID of the shipping profile destination in the [shipping profile](/documentation/reference#tag/Shop-ShippingProfile) associated with the listing. @return ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest */ DeleteShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64, shippingProfileDestinationId int64) ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest // DeleteShopShippingProfileDestinationExecute executes the request DeleteShopShippingProfileDestinationExecute(r ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest) (*http.Response, error) /* DeleteShopShippingProfileUpgrade Method for DeleteShopShippingProfileUpgrade <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Deletes a shipping profile upgrade and removes the upgrade option from every listing that uses the associated shipping profile. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the shipping profile. @param upgradeId The numeric ID that is associated with a shipping upgrade @return ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest */ DeleteShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64, upgradeId int64) ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest // DeleteShopShippingProfileUpgradeExecute executes the request DeleteShopShippingProfileUpgradeExecute(r ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest) (*http.Response, error) /* GetShippingCarriers Method for GetShippingCarriers <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of available shipping carriers and the mail classes associated with them for a given country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopShippingProfileAPIGetShippingCarriersRequest */ GetShippingCarriers(ctx context.Context) ShopShippingProfileAPIGetShippingCarriersRequest // GetShippingCarriersExecute executes the request // @return ShippingCarriers GetShippingCarriersExecute(r ShopShippingProfileAPIGetShippingCarriersRequest) (*ShippingCarriers, *http.Response, error) /* GetShopShippingProfile Method for GetShopShippingProfile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a Shipping Profile referenced by shipping profile ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIGetShopShippingProfileRequest */ GetShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileRequest // GetShopShippingProfileExecute executes the request // @return ShopShippingProfile GetShopShippingProfileExecute(r ShopShippingProfileAPIGetShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error) /* GetShopShippingProfileDestinationsByShippingProfile Method for GetShopShippingProfileDestinationsByShippingProfile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of shipping destination objects associated with a shipping profile. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest */ GetShopShippingProfileDestinationsByShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest // GetShopShippingProfileDestinationsByShippingProfileExecute executes the request // @return ShopShippingProfileDestinations GetShopShippingProfileDestinationsByShippingProfileExecute(r ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) (*ShopShippingProfileDestinations, *http.Response, error) /* GetShopShippingProfileUpgrades Method for GetShopShippingProfileUpgrades <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves the list of shipping profile upgrades assigned to a specific shipping profile. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest */ GetShopShippingProfileUpgrades(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest // GetShopShippingProfileUpgradesExecute executes the request // @return ShopShippingProfileUpgrades GetShopShippingProfileUpgradesExecute(r ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest) (*ShopShippingProfileUpgrades, *http.Response, error) /* GetShopShippingProfiles Method for GetShopShippingProfiles <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a list of shipping profiles available in the specific Etsy shop identified by its shop ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopShippingProfileAPIGetShopShippingProfilesRequest */ GetShopShippingProfiles(ctx context.Context, shopId int64) ShopShippingProfileAPIGetShopShippingProfilesRequest // GetShopShippingProfilesExecute executes the request // @return ShopShippingProfiles GetShopShippingProfilesExecute(r ShopShippingProfileAPIGetShopShippingProfilesRequest) (*ShopShippingProfiles, *http.Response, error) /* UpdateShopShippingProfile Method for UpdateShopShippingProfile <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Changes the settings in a shipping profile. You can pass a country iso code or a region when updating a ShippingProfile, but not both. Only one is required. You must pass either a shipping_carrier_id AND mail_class, or both min and max_delivery_days. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIUpdateShopShippingProfileRequest */ UpdateShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIUpdateShopShippingProfileRequest // UpdateShopShippingProfileExecute executes the request // @return ShopShippingProfile UpdateShopShippingProfileExecute(r ShopShippingProfileAPIUpdateShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error) /* UpdateShopShippingProfileDestination Method for UpdateShopShippingProfileDestination <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates an existing shipping destination, which can set or reassign the shipping cost, carrier, and class for a destination. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @param shippingProfileDestinationId The numeric ID of the shipping profile destination in the [shipping profile](/documentation/reference#tag/Shop-ShippingProfile) associated with the listing. @return ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest */ UpdateShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64, shippingProfileDestinationId int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest // UpdateShopShippingProfileDestinationExecute executes the request // @return ShopShippingProfileDestination UpdateShopShippingProfileDestinationExecute(r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) (*ShopShippingProfileDestination, *http.Response, error) /* UpdateShopShippingProfileUpgrade Method for UpdateShopShippingProfileUpgrade <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Updates a shipping profile upgrade and updates any listings that use the shipping profile. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @param upgradeId The numeric ID that is associated with a shipping upgrade @return ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest */ UpdateShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64, upgradeId int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest // UpdateShopShippingProfileUpgradeExecute executes the request // @return ShopShippingProfileUpgrade UpdateShopShippingProfileUpgradeExecute(r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) (*ShopShippingProfileUpgrade, *http.Response, error) }
type ShopShippingProfileAPICreateShopShippingProfileDestinationRequest ¶
type ShopShippingProfileAPICreateShopShippingProfileDestinationRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) DestinationCountryIso ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) DestinationCountryIso(destinationCountryIso string) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
The ISO code of the country to which the listing ships. If null, request sets destination to destination_region. Required if destination_region is null or not provided.
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) DestinationRegion ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) DestinationRegion(destinationRegion CreateShopShippingProfileRequestDestinationRegion) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) Execute ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) Execute() (*ShopShippingProfileDestination, *http.Response, error)
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MailClass ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MailClass(mailClass string) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date. **Required with `shipping_carrier_id`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MaxDeliveryDays ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
The maximum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `min_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MinDeliveryDays ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `max_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) PrimaryCost ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) PrimaryCost(primaryCost float32) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
The cost of shipping to this country/region alone, measured in the store's default currency.
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) SecondaryCost ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) SecondaryCost(secondaryCost float32) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
The cost of shipping to this country/region with another item, measured in the store's default currency.
func (ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) ShippingCarrierId ¶
func (r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date. **Required with `mail_class`** if `min_delivery_days` and `max_delivery_days` are null.
type ShopShippingProfileAPICreateShopShippingProfileRequest ¶
type ShopShippingProfileAPICreateShopShippingProfileRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPICreateShopShippingProfileRequest) DestinationCountryIso ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) DestinationCountryIso(destinationCountryIso string) ShopShippingProfileAPICreateShopShippingProfileRequest
The ISO code of the country to which the listing ships. If null, request sets destination to destination_region. Required if destination_region is null or not provided.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) DestinationRegion ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) DestinationRegion(destinationRegion CreateShopShippingProfileRequestDestinationRegion) ShopShippingProfileAPICreateShopShippingProfileRequest
func (ShopShippingProfileAPICreateShopShippingProfileRequest) Execute ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) Execute() (*ShopShippingProfile, *http.Response, error)
func (ShopShippingProfileAPICreateShopShippingProfileRequest) MailClass ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MailClass(mailClass string) ShopShippingProfileAPICreateShopShippingProfileRequest
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date. **Required with `shipping_carrier_id`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) MaxDeliveryDays ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileRequest
The maximum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `min_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) MaxProcessingTime ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MaxProcessingTime(maxProcessingTime int64) ShopShippingProfileAPICreateShopShippingProfileRequest
The maximum processing time the listing needs to ship.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) MinDeliveryDays ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileRequest
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `max_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) MinProcessingTime ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) MinProcessingTime(minProcessingTime int64) ShopShippingProfileAPICreateShopShippingProfileRequest
The minimum time required to process to ship listings with this shipping profile.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) OriginCountryIso ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) OriginCountryIso(originCountryIso string) ShopShippingProfileAPICreateShopShippingProfileRequest
The ISO code of the country from which the listing ships.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) OriginPostalCode ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) OriginPostalCode(originPostalCode string) ShopShippingProfileAPICreateShopShippingProfileRequest
The postal code string (not necessarily a number) for the location from which the listing ships. Required if the `origin_country_iso` supports postal codes. See the [Fulfillment Tutorial docs](https://developer.etsy.com/documentation/tutorials/fulfillment/#countries-requiring-postal-codes) for more info
func (ShopShippingProfileAPICreateShopShippingProfileRequest) PrimaryCost ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) PrimaryCost(primaryCost float32) ShopShippingProfileAPICreateShopShippingProfileRequest
The cost of shipping to this country/region alone, measured in the store's default currency.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) ProcessingTimeUnit ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) ProcessingTimeUnit(processingTimeUnit CreateShopShippingProfileRequestProcessingTimeUnit) ShopShippingProfileAPICreateShopShippingProfileRequest
func (ShopShippingProfileAPICreateShopShippingProfileRequest) SecondaryCost ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) SecondaryCost(secondaryCost float32) ShopShippingProfileAPICreateShopShippingProfileRequest
The cost of shipping to this country/region with another item, measured in the store's default currency.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) ShippingCarrierId ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPICreateShopShippingProfileRequest
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date. **Required with `mail_class`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPICreateShopShippingProfileRequest) Title ¶
func (r ShopShippingProfileAPICreateShopShippingProfileRequest) Title(title string) ShopShippingProfileAPICreateShopShippingProfileRequest
The name string of this shipping profile.
type ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest ¶
type ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) Execute ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) Execute() (*ShopShippingProfileUpgrade, *http.Response, error)
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MailClass ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MailClass(mailClass string) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date. **Required with `shipping_carrier_id`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MaxDeliveryDays ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
The maximum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `min_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MinDeliveryDays ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `max_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) Price ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) Price(price float32) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
Additional cost of adding the shipping upgrade.
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) SecondaryPrice ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) SecondaryPrice(secondaryPrice float32) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
Additional cost of adding the shipping upgrade for each additional item.
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) ShippingCarrierId ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date. **Required with `mail_class`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) UpgradeName ¶
func (r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) UpgradeName(upgradeName string) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority.
type ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest ¶
type ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
type ShopShippingProfileAPIDeleteShopShippingProfileRequest ¶
type ShopShippingProfileAPIDeleteShopShippingProfileRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
type ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest ¶
type ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
type ShopShippingProfileAPIGetShippingCarriersRequest ¶
type ShopShippingProfileAPIGetShippingCarriersRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIGetShippingCarriersRequest) Execute ¶
func (r ShopShippingProfileAPIGetShippingCarriersRequest) Execute() (*ShippingCarriers, *http.Response, error)
func (ShopShippingProfileAPIGetShippingCarriersRequest) OriginCountryIso ¶
func (r ShopShippingProfileAPIGetShippingCarriersRequest) OriginCountryIso(originCountryIso string) ShopShippingProfileAPIGetShippingCarriersRequest
The ISO code of the country from which the listing ships.
type ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest ¶
type ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) Limit ¶
func (r ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) Limit(limit int64) ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest
The maximum number of results to return.
func (ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) Offset ¶
func (r ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) Offset(offset int64) ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest
The number of records to skip before selecting the first result.
type ShopShippingProfileAPIGetShopShippingProfileRequest ¶
type ShopShippingProfileAPIGetShopShippingProfileRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIGetShopShippingProfileRequest) Execute ¶
func (r ShopShippingProfileAPIGetShopShippingProfileRequest) Execute() (*ShopShippingProfile, *http.Response, error)
type ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest ¶
type ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest) Execute ¶
func (r ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest) Execute() (*ShopShippingProfileUpgrades, *http.Response, error)
type ShopShippingProfileAPIGetShopShippingProfilesRequest ¶
type ShopShippingProfileAPIGetShopShippingProfilesRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIGetShopShippingProfilesRequest) Execute ¶
func (r ShopShippingProfileAPIGetShopShippingProfilesRequest) Execute() (*ShopShippingProfiles, *http.Response, error)
type ShopShippingProfileAPIService ¶
type ShopShippingProfileAPIService service
ShopShippingProfileAPIService ShopShippingProfileAPI service
func (*ShopShippingProfileAPIService) CreateShopShippingProfile ¶
func (a *ShopShippingProfileAPIService) CreateShopShippingProfile(ctx context.Context, shopId int64) ShopShippingProfileAPICreateShopShippingProfileRequest
CreateShopShippingProfile Method for CreateShopShippingProfile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates a new ShippingProfile. You can pass a country iso code or a region when creating a ShippingProfile, but not both. Only one is required. You must pass either a shipping_carrier_id AND mail_class, or both min and max_delivery_days.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopShippingProfileAPICreateShopShippingProfileRequest
func (*ShopShippingProfileAPIService) CreateShopShippingProfileDestination ¶
func (a *ShopShippingProfileAPIService) CreateShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
CreateShopShippingProfileDestination Method for CreateShopShippingProfileDestination
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates a new shipping destination, which sets the shipping cost, carrier, and class for a destination in a [shipping profile](/documentation/reference/#tag/Shop-ShippingProfile). createShopShippingProfileDestination assigns costs using the currency of the associated shop. Set the destination using either `destination_country_iso` or `destination_region`; `destination_country_iso` and `destination_region` are mutually exclusive — set one or the other. Setting both triggers error 400. If the request sets neither `destination_country_iso` nor `destination_region`, the default destination is "everywhere". You must also either assign both a `shipping_carrier_id` AND `mail_class` or both `min_delivery_days` AND `max_delivery_days`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPICreateShopShippingProfileDestinationRequest
func (*ShopShippingProfileAPIService) CreateShopShippingProfileDestinationExecute ¶
func (a *ShopShippingProfileAPIService) CreateShopShippingProfileDestinationExecute(r ShopShippingProfileAPICreateShopShippingProfileDestinationRequest) (*ShopShippingProfileDestination, *http.Response, error)
Execute executes the request
@return ShopShippingProfileDestination
func (*ShopShippingProfileAPIService) CreateShopShippingProfileExecute ¶
func (a *ShopShippingProfileAPIService) CreateShopShippingProfileExecute(r ShopShippingProfileAPICreateShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error)
Execute executes the request
@return ShopShippingProfile
func (*ShopShippingProfileAPIService) CreateShopShippingProfileUpgrade ¶
func (a *ShopShippingProfileAPIService) CreateShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
CreateShopShippingProfileUpgrade Method for CreateShopShippingProfileUpgrade
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Creates a new shipping profile upgrade, which can establish a price for a shipping option, such as an alternate carrier or faster delivery.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest
func (*ShopShippingProfileAPIService) CreateShopShippingProfileUpgradeExecute ¶
func (a *ShopShippingProfileAPIService) CreateShopShippingProfileUpgradeExecute(r ShopShippingProfileAPICreateShopShippingProfileUpgradeRequest) (*ShopShippingProfileUpgrade, *http.Response, error)
Execute executes the request
@return ShopShippingProfileUpgrade
func (*ShopShippingProfileAPIService) DeleteShopShippingProfile ¶
func (a *ShopShippingProfileAPIService) DeleteShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIDeleteShopShippingProfileRequest
DeleteShopShippingProfile Method for DeleteShopShippingProfile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Deletes a ShippingProfile by given id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIDeleteShopShippingProfileRequest
func (*ShopShippingProfileAPIService) DeleteShopShippingProfileDestination ¶
func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64, shippingProfileDestinationId int64) ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest
DeleteShopShippingProfileDestination Method for DeleteShopShippingProfileDestination
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Deletes a shipping destination and removes the destination option from every listing that uses the associated shipping profile. A shipping profile requires at least one shipping destination, so this endpoint cannot delete the final shipping destination for any shipping profile. To delete the final shipping destination from a shipping profile, you must [delete the entire shipping profile](/documentation/reference/#operation/deleteShopShippingProfile).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @param shippingProfileDestinationId The numeric ID of the shipping profile destination in the [shipping profile](/documentation/reference#tag/Shop-ShippingProfile) associated with the listing. @return ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest
func (*ShopShippingProfileAPIService) DeleteShopShippingProfileDestinationExecute ¶
func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileDestinationExecute(r ShopShippingProfileAPIDeleteShopShippingProfileDestinationRequest) (*http.Response, error)
Execute executes the request
func (*ShopShippingProfileAPIService) DeleteShopShippingProfileExecute ¶
func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileExecute(r ShopShippingProfileAPIDeleteShopShippingProfileRequest) (*http.Response, error)
Execute executes the request
func (*ShopShippingProfileAPIService) DeleteShopShippingProfileUpgrade ¶
func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64, upgradeId int64) ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest
DeleteShopShippingProfileUpgrade Method for DeleteShopShippingProfileUpgrade
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Deletes a shipping profile upgrade and removes the upgrade option from every listing that uses the associated shipping profile.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the shipping profile. @param upgradeId The numeric ID that is associated with a shipping upgrade @return ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest
func (*ShopShippingProfileAPIService) DeleteShopShippingProfileUpgradeExecute ¶
func (a *ShopShippingProfileAPIService) DeleteShopShippingProfileUpgradeExecute(r ShopShippingProfileAPIDeleteShopShippingProfileUpgradeRequest) (*http.Response, error)
Execute executes the request
func (*ShopShippingProfileAPIService) GetShippingCarriers ¶
func (a *ShopShippingProfileAPIService) GetShippingCarriers(ctx context.Context) ShopShippingProfileAPIGetShippingCarriersRequest
GetShippingCarriers Method for GetShippingCarriers
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of available shipping carriers and the mail classes associated with them for a given country
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ShopShippingProfileAPIGetShippingCarriersRequest
func (*ShopShippingProfileAPIService) GetShippingCarriersExecute ¶
func (a *ShopShippingProfileAPIService) GetShippingCarriersExecute(r ShopShippingProfileAPIGetShippingCarriersRequest) (*ShippingCarriers, *http.Response, error)
Execute executes the request
@return ShippingCarriers
func (*ShopShippingProfileAPIService) GetShopShippingProfile ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileRequest
GetShopShippingProfile Method for GetShopShippingProfile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a Shipping Profile referenced by shipping profile ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIGetShopShippingProfileRequest
func (*ShopShippingProfileAPIService) GetShopShippingProfileDestinationsByShippingProfile ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfileDestinationsByShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest
GetShopShippingProfileDestinationsByShippingProfile Method for GetShopShippingProfileDestinationsByShippingProfile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of shipping destination objects associated with a shipping profile.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest
func (*ShopShippingProfileAPIService) GetShopShippingProfileDestinationsByShippingProfileExecute ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfileDestinationsByShippingProfileExecute(r ShopShippingProfileAPIGetShopShippingProfileDestinationsByShippingProfileRequest) (*ShopShippingProfileDestinations, *http.Response, error)
Execute executes the request
@return ShopShippingProfileDestinations
func (*ShopShippingProfileAPIService) GetShopShippingProfileExecute ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfileExecute(r ShopShippingProfileAPIGetShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error)
Execute executes the request
@return ShopShippingProfile
func (*ShopShippingProfileAPIService) GetShopShippingProfileUpgrades ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfileUpgrades(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest
GetShopShippingProfileUpgrades Method for GetShopShippingProfileUpgrades
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves the list of shipping profile upgrades assigned to a specific shipping profile.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest
func (*ShopShippingProfileAPIService) GetShopShippingProfileUpgradesExecute ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfileUpgradesExecute(r ShopShippingProfileAPIGetShopShippingProfileUpgradesRequest) (*ShopShippingProfileUpgrades, *http.Response, error)
Execute executes the request
@return ShopShippingProfileUpgrades
func (*ShopShippingProfileAPIService) GetShopShippingProfiles ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfiles(ctx context.Context, shopId int64) ShopShippingProfileAPIGetShopShippingProfilesRequest
GetShopShippingProfiles Method for GetShopShippingProfiles
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a list of shipping profiles available in the specific Etsy shop identified by its shop ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @return ShopShippingProfileAPIGetShopShippingProfilesRequest
func (*ShopShippingProfileAPIService) GetShopShippingProfilesExecute ¶
func (a *ShopShippingProfileAPIService) GetShopShippingProfilesExecute(r ShopShippingProfileAPIGetShopShippingProfilesRequest) (*ShopShippingProfiles, *http.Response, error)
Execute executes the request
@return ShopShippingProfiles
func (*ShopShippingProfileAPIService) UpdateShopShippingProfile ¶
func (a *ShopShippingProfileAPIService) UpdateShopShippingProfile(ctx context.Context, shopId int64, shippingProfileId int64) ShopShippingProfileAPIUpdateShopShippingProfileRequest
UpdateShopShippingProfile Method for UpdateShopShippingProfile
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Changes the settings in a shipping profile. You can pass a country iso code or a region when updating a ShippingProfile, but not both. Only one is required. You must pass either a shipping_carrier_id AND mail_class, or both min and max_delivery_days.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @return ShopShippingProfileAPIUpdateShopShippingProfileRequest
func (*ShopShippingProfileAPIService) UpdateShopShippingProfileDestination ¶
func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileDestination(ctx context.Context, shopId int64, shippingProfileId int64, shippingProfileDestinationId int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
UpdateShopShippingProfileDestination Method for UpdateShopShippingProfileDestination
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates an existing shipping destination, which can set or reassign the shipping cost, carrier, and class for a destination.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @param shippingProfileDestinationId The numeric ID of the shipping profile destination in the [shipping profile](/documentation/reference#tag/Shop-ShippingProfile) associated with the listing. @return ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
func (*ShopShippingProfileAPIService) UpdateShopShippingProfileDestinationExecute ¶
func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileDestinationExecute(r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) (*ShopShippingProfileDestination, *http.Response, error)
Execute executes the request
@return ShopShippingProfileDestination
func (*ShopShippingProfileAPIService) UpdateShopShippingProfileExecute ¶
func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileExecute(r ShopShippingProfileAPIUpdateShopShippingProfileRequest) (*ShopShippingProfile, *http.Response, error)
Execute executes the request
@return ShopShippingProfile
func (*ShopShippingProfileAPIService) UpdateShopShippingProfileUpgrade ¶
func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileUpgrade(ctx context.Context, shopId int64, shippingProfileId int64, upgradeId int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
UpdateShopShippingProfileUpgrade Method for UpdateShopShippingProfileUpgrade
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Updates a shipping profile upgrade and updates any listings that use the shipping profile.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param shopId The unique positive non-zero numeric ID for an Etsy Shop. @param shippingProfileId The numeric ID of the [shipping profile](/documentation/reference#operation/getShopShippingProfile) associated with the listing. Required when listing type is `physical`. @param upgradeId The numeric ID that is associated with a shipping upgrade @return ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
func (*ShopShippingProfileAPIService) UpdateShopShippingProfileUpgradeExecute ¶
func (a *ShopShippingProfileAPIService) UpdateShopShippingProfileUpgradeExecute(r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) (*ShopShippingProfileUpgrade, *http.Response, error)
Execute executes the request
@return ShopShippingProfileUpgrade
type ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest ¶
type ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) DestinationCountryIso ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) DestinationCountryIso(destinationCountryIso string) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
The ISO code of the country to which the listing ships. If null, request sets destination to destination_region. Required if destination_region is null or not provided.
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) DestinationRegion ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) DestinationRegion(destinationRegion CreateShopShippingProfileRequestDestinationRegion) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) Execute ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) Execute() (*ShopShippingProfileDestination, *http.Response, error)
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MailClass ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MailClass(mailClass string) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date. **Required with `shipping_carrier_id`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MaxDeliveryDays ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
The maximum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `min_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MinDeliveryDays ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `max_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) PrimaryCost ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) PrimaryCost(primaryCost float32) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
The cost of shipping to this country/region alone, measured in the store's default currency.
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) SecondaryCost ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) SecondaryCost(secondaryCost float32) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
The cost of shipping to this country/region with another item, measured in the store's default currency.
func (ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) ShippingCarrierId ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPIUpdateShopShippingProfileDestinationRequest
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date. **Required with `mail_class`** if `min_delivery_days` and `max_delivery_days` are null.
type ShopShippingProfileAPIUpdateShopShippingProfileRequest ¶
type ShopShippingProfileAPIUpdateShopShippingProfileRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIUpdateShopShippingProfileRequest) Execute ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) Execute() (*ShopShippingProfile, *http.Response, error)
func (ShopShippingProfileAPIUpdateShopShippingProfileRequest) MaxProcessingTime ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) MaxProcessingTime(maxProcessingTime int64) ShopShippingProfileAPIUpdateShopShippingProfileRequest
The maximum processing time the listing needs to ship.
func (ShopShippingProfileAPIUpdateShopShippingProfileRequest) MinProcessingTime ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) MinProcessingTime(minProcessingTime int64) ShopShippingProfileAPIUpdateShopShippingProfileRequest
The minimum time required to process to ship listings with this shipping profile.
func (ShopShippingProfileAPIUpdateShopShippingProfileRequest) OriginCountryIso ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) OriginCountryIso(originCountryIso string) ShopShippingProfileAPIUpdateShopShippingProfileRequest
The ISO code of the country from which the listing ships.
func (ShopShippingProfileAPIUpdateShopShippingProfileRequest) OriginPostalCode ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) OriginPostalCode(originPostalCode string) ShopShippingProfileAPIUpdateShopShippingProfileRequest
The postal code string (not necessarily a number) for the location from which the listing ships. Required if the `origin_country_iso` supports postal codes. See the [Fulfillment Tutorial docs](https://developer.etsy.com/documentation/tutorials/fulfillment/#countries-requiring-postal-codes) for more info
func (ShopShippingProfileAPIUpdateShopShippingProfileRequest) ProcessingTimeUnit ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) ProcessingTimeUnit(processingTimeUnit CreateShopShippingProfileRequestProcessingTimeUnit) ShopShippingProfileAPIUpdateShopShippingProfileRequest
func (ShopShippingProfileAPIUpdateShopShippingProfileRequest) Title ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileRequest) Title(title string) ShopShippingProfileAPIUpdateShopShippingProfileRequest
The name string of this shipping profile.
type ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest ¶
type ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest struct { ApiService ShopShippingProfileAPI // contains filtered or unexported fields }
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) Execute ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) Execute() (*ShopShippingProfileUpgrade, *http.Response, error)
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MailClass ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MailClass(mailClass string) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date. **Required with `shipping_carrier_id`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MaxDeliveryDays ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MaxDeliveryDays(maxDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
The maximum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `min_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MinDeliveryDays ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) MinDeliveryDays(minDeliveryDays int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `max_delivery_days`** if `mail_class` is null.
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) Price ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) Price(price float32) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
Additional cost of adding the shipping upgrade.
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) SecondaryPrice ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) SecondaryPrice(secondaryPrice float32) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
Additional cost of adding the shipping upgrade for each additional item.
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) ShippingCarrierId ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) ShippingCarrierId(shippingCarrierId int64) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date. **Required with `mail_class`** if `min_delivery_days` and `max_delivery_days` are null.
func (ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) UpgradeName ¶
func (r ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest) UpgradeName(upgradeName string) ShopShippingProfileAPIUpdateShopShippingProfileUpgradeRequest
Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority.
type ShopShippingProfileDestination ¶
type ShopShippingProfileDestination struct { // The numeric ID of the shipping profile destination in the [shipping profile](/documentation/reference#tag/Shop-ShippingProfile) associated with the listing. ShippingProfileDestinationId *int64 `json:"shipping_profile_destination_id,omitempty"` // The numeric ID of the shipping profile. ShippingProfileId *int64 `json:"shipping_profile_id,omitempty"` // The ISO code of the country from which the listing ships. OriginCountryIso *string `json:"origin_country_iso,omitempty"` // The ISO code of the country to which the listing ships. If null, request sets destination to destination_region. Required if destination_region is null or not provided. DestinationCountryIso *string `json:"destination_country_iso,omitempty"` DestinationRegion *ShopShippingProfileDestinationDestinationRegion `json:"destination_region,omitempty"` // The cost of shipping to this country/region alone, measured in the store's default currency. PrimaryCost *Money `json:"primary_cost,omitempty"` // The cost of shipping to this country/region with another item, measured in the store's default currency. SecondaryCost *Money `json:"secondary_cost,omitempty"` // The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date. **Required with `mail_class`** if `min_delivery_days` and `max_delivery_days` are null. ShippingCarrierId NullableInt64 `json:"shipping_carrier_id,omitempty"` // The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date. **Required with `shipping_carrier_id`** if `min_delivery_days` and `max_delivery_days` are null. MailClass NullableString `json:"mail_class,omitempty"` // The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `max_delivery_days`** if `mail_class` is null. MinDeliveryDays NullableInt64 `json:"min_delivery_days,omitempty"` // The maximum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `min_delivery_days`** if `mail_class` is null. MaxDeliveryDays NullableInt64 `json:"max_delivery_days,omitempty"` AdditionalProperties map[string]interface{} }
ShopShippingProfileDestination Represents a shipping destination assigned to a shipping profile.
func NewShopShippingProfileDestination ¶
func NewShopShippingProfileDestination() *ShopShippingProfileDestination
NewShopShippingProfileDestination instantiates a new ShopShippingProfileDestination 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
func NewShopShippingProfileDestinationWithDefaults ¶
func NewShopShippingProfileDestinationWithDefaults() *ShopShippingProfileDestination
NewShopShippingProfileDestinationWithDefaults instantiates a new ShopShippingProfileDestination 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
func (*ShopShippingProfileDestination) GetDestinationCountryIso ¶
func (o *ShopShippingProfileDestination) GetDestinationCountryIso() string
GetDestinationCountryIso returns the DestinationCountryIso field value if set, zero value otherwise.
func (*ShopShippingProfileDestination) GetDestinationCountryIsoOk ¶
func (o *ShopShippingProfileDestination) GetDestinationCountryIsoOk() (*string, bool)
GetDestinationCountryIsoOk returns a tuple with the DestinationCountryIso field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestination) GetDestinationRegion ¶
func (o *ShopShippingProfileDestination) GetDestinationRegion() ShopShippingProfileDestinationDestinationRegion
GetDestinationRegion returns the DestinationRegion field value if set, zero value otherwise.
func (*ShopShippingProfileDestination) GetDestinationRegionOk ¶
func (o *ShopShippingProfileDestination) GetDestinationRegionOk() (*ShopShippingProfileDestinationDestinationRegion, bool)
GetDestinationRegionOk returns a tuple with the DestinationRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestination) GetMailClass ¶
func (o *ShopShippingProfileDestination) GetMailClass() string
GetMailClass returns the MailClass field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileDestination) GetMailClassOk ¶
func (o *ShopShippingProfileDestination) GetMailClassOk() (*string, bool)
GetMailClassOk returns a tuple with the MailClass field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileDestination) GetMaxDeliveryDays ¶
func (o *ShopShippingProfileDestination) GetMaxDeliveryDays() int64
GetMaxDeliveryDays returns the MaxDeliveryDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileDestination) GetMaxDeliveryDaysOk ¶
func (o *ShopShippingProfileDestination) GetMaxDeliveryDaysOk() (*int64, bool)
GetMaxDeliveryDaysOk returns a tuple with the MaxDeliveryDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileDestination) GetMinDeliveryDays ¶
func (o *ShopShippingProfileDestination) GetMinDeliveryDays() int64
GetMinDeliveryDays returns the MinDeliveryDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileDestination) GetMinDeliveryDaysOk ¶
func (o *ShopShippingProfileDestination) GetMinDeliveryDaysOk() (*int64, bool)
GetMinDeliveryDaysOk returns a tuple with the MinDeliveryDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileDestination) GetOriginCountryIso ¶
func (o *ShopShippingProfileDestination) GetOriginCountryIso() string
GetOriginCountryIso returns the OriginCountryIso field value if set, zero value otherwise.
func (*ShopShippingProfileDestination) GetOriginCountryIsoOk ¶
func (o *ShopShippingProfileDestination) GetOriginCountryIsoOk() (*string, bool)
GetOriginCountryIsoOk returns a tuple with the OriginCountryIso field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestination) GetPrimaryCost ¶
func (o *ShopShippingProfileDestination) GetPrimaryCost() Money
GetPrimaryCost returns the PrimaryCost field value if set, zero value otherwise.
func (*ShopShippingProfileDestination) GetPrimaryCostOk ¶
func (o *ShopShippingProfileDestination) GetPrimaryCostOk() (*Money, bool)
GetPrimaryCostOk returns a tuple with the PrimaryCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestination) GetSecondaryCost ¶
func (o *ShopShippingProfileDestination) GetSecondaryCost() Money
GetSecondaryCost returns the SecondaryCost field value if set, zero value otherwise.
func (*ShopShippingProfileDestination) GetSecondaryCostOk ¶
func (o *ShopShippingProfileDestination) GetSecondaryCostOk() (*Money, bool)
GetSecondaryCostOk returns a tuple with the SecondaryCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestination) GetShippingCarrierId ¶
func (o *ShopShippingProfileDestination) GetShippingCarrierId() int64
GetShippingCarrierId returns the ShippingCarrierId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileDestination) GetShippingCarrierIdOk ¶
func (o *ShopShippingProfileDestination) GetShippingCarrierIdOk() (*int64, bool)
GetShippingCarrierIdOk returns a tuple with the ShippingCarrierId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileDestination) GetShippingProfileDestinationId ¶
func (o *ShopShippingProfileDestination) GetShippingProfileDestinationId() int64
GetShippingProfileDestinationId returns the ShippingProfileDestinationId field value if set, zero value otherwise.
func (*ShopShippingProfileDestination) GetShippingProfileDestinationIdOk ¶
func (o *ShopShippingProfileDestination) GetShippingProfileDestinationIdOk() (*int64, bool)
GetShippingProfileDestinationIdOk returns a tuple with the ShippingProfileDestinationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestination) GetShippingProfileId ¶
func (o *ShopShippingProfileDestination) GetShippingProfileId() int64
GetShippingProfileId returns the ShippingProfileId field value if set, zero value otherwise.
func (*ShopShippingProfileDestination) GetShippingProfileIdOk ¶
func (o *ShopShippingProfileDestination) GetShippingProfileIdOk() (*int64, bool)
GetShippingProfileIdOk returns a tuple with the ShippingProfileId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestination) HasDestinationCountryIso ¶
func (o *ShopShippingProfileDestination) HasDestinationCountryIso() bool
HasDestinationCountryIso returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasDestinationRegion ¶
func (o *ShopShippingProfileDestination) HasDestinationRegion() bool
HasDestinationRegion returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasMailClass ¶
func (o *ShopShippingProfileDestination) HasMailClass() bool
HasMailClass returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasMaxDeliveryDays ¶
func (o *ShopShippingProfileDestination) HasMaxDeliveryDays() bool
HasMaxDeliveryDays returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasMinDeliveryDays ¶
func (o *ShopShippingProfileDestination) HasMinDeliveryDays() bool
HasMinDeliveryDays returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasOriginCountryIso ¶
func (o *ShopShippingProfileDestination) HasOriginCountryIso() bool
HasOriginCountryIso returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasPrimaryCost ¶
func (o *ShopShippingProfileDestination) HasPrimaryCost() bool
HasPrimaryCost returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasSecondaryCost ¶
func (o *ShopShippingProfileDestination) HasSecondaryCost() bool
HasSecondaryCost returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasShippingCarrierId ¶
func (o *ShopShippingProfileDestination) HasShippingCarrierId() bool
HasShippingCarrierId returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasShippingProfileDestinationId ¶
func (o *ShopShippingProfileDestination) HasShippingProfileDestinationId() bool
HasShippingProfileDestinationId returns a boolean if a field has been set.
func (*ShopShippingProfileDestination) HasShippingProfileId ¶
func (o *ShopShippingProfileDestination) HasShippingProfileId() bool
HasShippingProfileId returns a boolean if a field has been set.
func (ShopShippingProfileDestination) MarshalJSON ¶
func (o ShopShippingProfileDestination) MarshalJSON() ([]byte, error)
func (*ShopShippingProfileDestination) SetDestinationCountryIso ¶
func (o *ShopShippingProfileDestination) SetDestinationCountryIso(v string)
SetDestinationCountryIso gets a reference to the given string and assigns it to the DestinationCountryIso field.
func (*ShopShippingProfileDestination) SetDestinationRegion ¶
func (o *ShopShippingProfileDestination) SetDestinationRegion(v ShopShippingProfileDestinationDestinationRegion)
SetDestinationRegion gets a reference to the given ShopShippingProfileDestinationDestinationRegion and assigns it to the DestinationRegion field.
func (*ShopShippingProfileDestination) SetMailClass ¶
func (o *ShopShippingProfileDestination) SetMailClass(v string)
SetMailClass gets a reference to the given NullableString and assigns it to the MailClass field.
func (*ShopShippingProfileDestination) SetMailClassNil ¶
func (o *ShopShippingProfileDestination) SetMailClassNil()
SetMailClassNil sets the value for MailClass to be an explicit nil
func (*ShopShippingProfileDestination) SetMaxDeliveryDays ¶
func (o *ShopShippingProfileDestination) SetMaxDeliveryDays(v int64)
SetMaxDeliveryDays gets a reference to the given NullableInt64 and assigns it to the MaxDeliveryDays field.
func (*ShopShippingProfileDestination) SetMaxDeliveryDaysNil ¶
func (o *ShopShippingProfileDestination) SetMaxDeliveryDaysNil()
SetMaxDeliveryDaysNil sets the value for MaxDeliveryDays to be an explicit nil
func (*ShopShippingProfileDestination) SetMinDeliveryDays ¶
func (o *ShopShippingProfileDestination) SetMinDeliveryDays(v int64)
SetMinDeliveryDays gets a reference to the given NullableInt64 and assigns it to the MinDeliveryDays field.
func (*ShopShippingProfileDestination) SetMinDeliveryDaysNil ¶
func (o *ShopShippingProfileDestination) SetMinDeliveryDaysNil()
SetMinDeliveryDaysNil sets the value for MinDeliveryDays to be an explicit nil
func (*ShopShippingProfileDestination) SetOriginCountryIso ¶
func (o *ShopShippingProfileDestination) SetOriginCountryIso(v string)
SetOriginCountryIso gets a reference to the given string and assigns it to the OriginCountryIso field.
func (*ShopShippingProfileDestination) SetPrimaryCost ¶
func (o *ShopShippingProfileDestination) SetPrimaryCost(v Money)
SetPrimaryCost gets a reference to the given Money and assigns it to the PrimaryCost field.
func (*ShopShippingProfileDestination) SetSecondaryCost ¶
func (o *ShopShippingProfileDestination) SetSecondaryCost(v Money)
SetSecondaryCost gets a reference to the given Money and assigns it to the SecondaryCost field.
func (*ShopShippingProfileDestination) SetShippingCarrierId ¶
func (o *ShopShippingProfileDestination) SetShippingCarrierId(v int64)
SetShippingCarrierId gets a reference to the given NullableInt64 and assigns it to the ShippingCarrierId field.
func (*ShopShippingProfileDestination) SetShippingCarrierIdNil ¶
func (o *ShopShippingProfileDestination) SetShippingCarrierIdNil()
SetShippingCarrierIdNil sets the value for ShippingCarrierId to be an explicit nil
func (*ShopShippingProfileDestination) SetShippingProfileDestinationId ¶
func (o *ShopShippingProfileDestination) SetShippingProfileDestinationId(v int64)
SetShippingProfileDestinationId gets a reference to the given int64 and assigns it to the ShippingProfileDestinationId field.
func (*ShopShippingProfileDestination) SetShippingProfileId ¶
func (o *ShopShippingProfileDestination) SetShippingProfileId(v int64)
SetShippingProfileId gets a reference to the given int64 and assigns it to the ShippingProfileId field.
func (ShopShippingProfileDestination) ToMap ¶
func (o ShopShippingProfileDestination) ToMap() (map[string]interface{}, error)
func (*ShopShippingProfileDestination) UnsetMailClass ¶
func (o *ShopShippingProfileDestination) UnsetMailClass()
UnsetMailClass ensures that no value is present for MailClass, not even an explicit nil
func (*ShopShippingProfileDestination) UnsetMaxDeliveryDays ¶
func (o *ShopShippingProfileDestination) UnsetMaxDeliveryDays()
UnsetMaxDeliveryDays ensures that no value is present for MaxDeliveryDays, not even an explicit nil
func (*ShopShippingProfileDestination) UnsetMinDeliveryDays ¶
func (o *ShopShippingProfileDestination) UnsetMinDeliveryDays()
UnsetMinDeliveryDays ensures that no value is present for MinDeliveryDays, not even an explicit nil
func (*ShopShippingProfileDestination) UnsetShippingCarrierId ¶
func (o *ShopShippingProfileDestination) UnsetShippingCarrierId()
UnsetShippingCarrierId ensures that no value is present for ShippingCarrierId, not even an explicit nil
type ShopShippingProfileDestinationDestinationRegion ¶
type ShopShippingProfileDestinationDestinationRegion string
ShopShippingProfileDestinationDestinationRegion The code of the region to which the listing ships. A region represents a set of countries. Supported regions are Europe Union and Non-Europe Union (countries in Europe not in EU). If \\`none\\`, request sets destination to destination_country_iso. Required if destination_country_iso is null or not provided.
const ( SHOPSHIPPINGPROFILEDESTINATIONDESTINATIONREGION_EU ShopShippingProfileDestinationDestinationRegion = "eu" SHOPSHIPPINGPROFILEDESTINATIONDESTINATIONREGION_NON_EU ShopShippingProfileDestinationDestinationRegion = "non_eu" SHOPSHIPPINGPROFILEDESTINATIONDESTINATIONREGION_NONE ShopShippingProfileDestinationDestinationRegion = "none" )
List of ShopShippingProfileDestination_destination_region
func NewShopShippingProfileDestinationDestinationRegionFromValue ¶
func NewShopShippingProfileDestinationDestinationRegionFromValue(v string) (*ShopShippingProfileDestinationDestinationRegion, error)
NewShopShippingProfileDestinationDestinationRegionFromValue returns a pointer to a valid ShopShippingProfileDestinationDestinationRegion for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShopShippingProfileDestinationDestinationRegion) IsValid ¶
func (v ShopShippingProfileDestinationDestinationRegion) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ShopShippingProfileDestinationDestinationRegion) Ptr ¶
func (v ShopShippingProfileDestinationDestinationRegion) Ptr() *ShopShippingProfileDestinationDestinationRegion
Ptr returns reference to ShopShippingProfileDestination_destination_region value
func (*ShopShippingProfileDestinationDestinationRegion) UnmarshalJSON ¶
func (v *ShopShippingProfileDestinationDestinationRegion) UnmarshalJSON(src []byte) error
type ShopShippingProfileDestinations ¶
type ShopShippingProfileDestinations struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []ShopShippingProfileDestination `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopShippingProfileDestinations Represents a list of shipping destination objects.
func NewShopShippingProfileDestinations ¶
func NewShopShippingProfileDestinations() *ShopShippingProfileDestinations
NewShopShippingProfileDestinations instantiates a new ShopShippingProfileDestinations 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
func NewShopShippingProfileDestinationsWithDefaults ¶
func NewShopShippingProfileDestinationsWithDefaults() *ShopShippingProfileDestinations
NewShopShippingProfileDestinationsWithDefaults instantiates a new ShopShippingProfileDestinations 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
func (*ShopShippingProfileDestinations) GetCount ¶
func (o *ShopShippingProfileDestinations) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopShippingProfileDestinations) GetCountOk ¶
func (o *ShopShippingProfileDestinations) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestinations) GetResults ¶
func (o *ShopShippingProfileDestinations) GetResults() []ShopShippingProfileDestination
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopShippingProfileDestinations) GetResultsOk ¶
func (o *ShopShippingProfileDestinations) GetResultsOk() ([]ShopShippingProfileDestination, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileDestinations) HasCount ¶
func (o *ShopShippingProfileDestinations) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopShippingProfileDestinations) HasResults ¶
func (o *ShopShippingProfileDestinations) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopShippingProfileDestinations) MarshalJSON ¶
func (o ShopShippingProfileDestinations) MarshalJSON() ([]byte, error)
func (*ShopShippingProfileDestinations) SetCount ¶
func (o *ShopShippingProfileDestinations) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopShippingProfileDestinations) SetResults ¶
func (o *ShopShippingProfileDestinations) SetResults(v []ShopShippingProfileDestination)
SetResults gets a reference to the given []ShopShippingProfileDestination and assigns it to the Results field.
func (ShopShippingProfileDestinations) ToMap ¶
func (o ShopShippingProfileDestinations) ToMap() (map[string]interface{}, error)
type ShopShippingProfileProfileType ¶
type ShopShippingProfileProfileType string
ShopShippingProfileProfileType the model 'ShopShippingProfileProfileType'
const ( SHOPSHIPPINGPROFILEPROFILETYPE_MANUAL ShopShippingProfileProfileType = "manual" SHOPSHIPPINGPROFILEPROFILETYPE_CALCULATED ShopShippingProfileProfileType = "calculated" )
List of ShopShippingProfile_profile_type
func NewShopShippingProfileProfileTypeFromValue ¶
func NewShopShippingProfileProfileTypeFromValue(v string) (*ShopShippingProfileProfileType, error)
NewShopShippingProfileProfileTypeFromValue returns a pointer to a valid ShopShippingProfileProfileType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShopShippingProfileProfileType) IsValid ¶
func (v ShopShippingProfileProfileType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ShopShippingProfileProfileType) Ptr ¶
func (v ShopShippingProfileProfileType) Ptr() *ShopShippingProfileProfileType
Ptr returns reference to ShopShippingProfile_profile_type value
func (*ShopShippingProfileProfileType) UnmarshalJSON ¶
func (v *ShopShippingProfileProfileType) UnmarshalJSON(src []byte) error
type ShopShippingProfileUpgrade ¶
type ShopShippingProfileUpgrade struct { // The numeric ID of the base shipping profile. ShippingProfileId *int64 `json:"shipping_profile_id,omitempty"` // The numeric ID that is associated with a shipping upgrade UpgradeId *int64 `json:"upgrade_id,omitempty"` // Name for the shipping upgrade shown to shoppers at checkout, e.g. USPS Priority. UpgradeName *string `json:"upgrade_name,omitempty"` Type *CreateShopShippingProfileUpgradeRequestType `json:"type,omitempty"` // The positive non-zero numeric position in the images displayed in a listing, with rank 1 images appearing in the left-most position in a listing. Rank *int64 `json:"rank,omitempty"` // The IETF language tag for the language of the shipping profile. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt` Language *string `json:"language,omitempty"` // Additional cost of adding the shipping upgrade. Price *Money `json:"price,omitempty"` // Additional cost of adding the shipping upgrade for each additional item. SecondaryPrice *Money `json:"secondary_price,omitempty"` // The unique ID of a supported shipping carrier, which is used to calculate an Estimated Delivery Date. **Required with `mail_class`** if `min_delivery_days` and `max_delivery_days` are null. ShippingCarrierId NullableInt64 `json:"shipping_carrier_id,omitempty"` // The unique ID string of a shipping carrier's mail class, which is used to calculate an estimated delivery date. **Required with `shipping_carrier_id`** if `min_delivery_days` and `max_delivery_days` are null. MailClass NullableString `json:"mail_class,omitempty"` // The minimum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `max_delivery_days`** if `mail_class` is null. MinDeliveryDays NullableInt64 `json:"min_delivery_days,omitempty"` // The maximum number of business days a buyer can expect to wait to receive their purchased item once it has shipped. **Required with `min_delivery_days`** if `mail_class` is null. MaxDeliveryDays NullableInt64 `json:"max_delivery_days,omitempty"` AdditionalProperties map[string]interface{} }
ShopShippingProfileUpgrade A representation of a shipping profile upgrade option.
func NewShopShippingProfileUpgrade ¶
func NewShopShippingProfileUpgrade() *ShopShippingProfileUpgrade
NewShopShippingProfileUpgrade instantiates a new ShopShippingProfileUpgrade 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
func NewShopShippingProfileUpgradeWithDefaults ¶
func NewShopShippingProfileUpgradeWithDefaults() *ShopShippingProfileUpgrade
NewShopShippingProfileUpgradeWithDefaults instantiates a new ShopShippingProfileUpgrade 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
func (*ShopShippingProfileUpgrade) GetLanguage ¶
func (o *ShopShippingProfileUpgrade) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetLanguageOk ¶
func (o *ShopShippingProfileUpgrade) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) GetMailClass ¶
func (o *ShopShippingProfileUpgrade) GetMailClass() string
GetMailClass returns the MailClass field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileUpgrade) GetMailClassOk ¶
func (o *ShopShippingProfileUpgrade) GetMailClassOk() (*string, bool)
GetMailClassOk returns a tuple with the MailClass field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileUpgrade) GetMaxDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) GetMaxDeliveryDays() int64
GetMaxDeliveryDays returns the MaxDeliveryDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileUpgrade) GetMaxDeliveryDaysOk ¶
func (o *ShopShippingProfileUpgrade) GetMaxDeliveryDaysOk() (*int64, bool)
GetMaxDeliveryDaysOk returns a tuple with the MaxDeliveryDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileUpgrade) GetMinDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) GetMinDeliveryDays() int64
GetMinDeliveryDays returns the MinDeliveryDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileUpgrade) GetMinDeliveryDaysOk ¶
func (o *ShopShippingProfileUpgrade) GetMinDeliveryDaysOk() (*int64, bool)
GetMinDeliveryDaysOk returns a tuple with the MinDeliveryDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileUpgrade) GetPrice ¶
func (o *ShopShippingProfileUpgrade) GetPrice() Money
GetPrice returns the Price field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetPriceOk ¶
func (o *ShopShippingProfileUpgrade) GetPriceOk() (*Money, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) GetRank ¶
func (o *ShopShippingProfileUpgrade) GetRank() int64
GetRank returns the Rank field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetRankOk ¶
func (o *ShopShippingProfileUpgrade) GetRankOk() (*int64, bool)
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) GetSecondaryPrice ¶
func (o *ShopShippingProfileUpgrade) GetSecondaryPrice() Money
GetSecondaryPrice returns the SecondaryPrice field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetSecondaryPriceOk ¶
func (o *ShopShippingProfileUpgrade) GetSecondaryPriceOk() (*Money, bool)
GetSecondaryPriceOk returns a tuple with the SecondaryPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) GetShippingCarrierId ¶
func (o *ShopShippingProfileUpgrade) GetShippingCarrierId() int64
GetShippingCarrierId returns the ShippingCarrierId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShopShippingProfileUpgrade) GetShippingCarrierIdOk ¶
func (o *ShopShippingProfileUpgrade) GetShippingCarrierIdOk() (*int64, bool)
GetShippingCarrierIdOk returns a tuple with the ShippingCarrierId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShopShippingProfileUpgrade) GetShippingProfileId ¶
func (o *ShopShippingProfileUpgrade) GetShippingProfileId() int64
GetShippingProfileId returns the ShippingProfileId field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetShippingProfileIdOk ¶
func (o *ShopShippingProfileUpgrade) GetShippingProfileIdOk() (*int64, bool)
GetShippingProfileIdOk returns a tuple with the ShippingProfileId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) GetType ¶
func (o *ShopShippingProfileUpgrade) GetType() CreateShopShippingProfileUpgradeRequestType
GetType returns the Type field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetTypeOk ¶
func (o *ShopShippingProfileUpgrade) GetTypeOk() (*CreateShopShippingProfileUpgradeRequestType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) GetUpgradeId ¶
func (o *ShopShippingProfileUpgrade) GetUpgradeId() int64
GetUpgradeId returns the UpgradeId field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetUpgradeIdOk ¶
func (o *ShopShippingProfileUpgrade) GetUpgradeIdOk() (*int64, bool)
GetUpgradeIdOk returns a tuple with the UpgradeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) GetUpgradeName ¶
func (o *ShopShippingProfileUpgrade) GetUpgradeName() string
GetUpgradeName returns the UpgradeName field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrade) GetUpgradeNameOk ¶
func (o *ShopShippingProfileUpgrade) GetUpgradeNameOk() (*string, bool)
GetUpgradeNameOk returns a tuple with the UpgradeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrade) HasLanguage ¶
func (o *ShopShippingProfileUpgrade) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasMailClass ¶
func (o *ShopShippingProfileUpgrade) HasMailClass() bool
HasMailClass returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasMaxDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) HasMaxDeliveryDays() bool
HasMaxDeliveryDays returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasMinDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) HasMinDeliveryDays() bool
HasMinDeliveryDays returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasPrice ¶
func (o *ShopShippingProfileUpgrade) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasRank ¶
func (o *ShopShippingProfileUpgrade) HasRank() bool
HasRank returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasSecondaryPrice ¶
func (o *ShopShippingProfileUpgrade) HasSecondaryPrice() bool
HasSecondaryPrice returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasShippingCarrierId ¶
func (o *ShopShippingProfileUpgrade) HasShippingCarrierId() bool
HasShippingCarrierId returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasShippingProfileId ¶
func (o *ShopShippingProfileUpgrade) HasShippingProfileId() bool
HasShippingProfileId returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasType ¶
func (o *ShopShippingProfileUpgrade) HasType() bool
HasType returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasUpgradeId ¶
func (o *ShopShippingProfileUpgrade) HasUpgradeId() bool
HasUpgradeId returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrade) HasUpgradeName ¶
func (o *ShopShippingProfileUpgrade) HasUpgradeName() bool
HasUpgradeName returns a boolean if a field has been set.
func (ShopShippingProfileUpgrade) MarshalJSON ¶
func (o ShopShippingProfileUpgrade) MarshalJSON() ([]byte, error)
func (*ShopShippingProfileUpgrade) SetLanguage ¶
func (o *ShopShippingProfileUpgrade) SetLanguage(v string)
SetLanguage gets a reference to the given string and assigns it to the Language field.
func (*ShopShippingProfileUpgrade) SetMailClass ¶
func (o *ShopShippingProfileUpgrade) SetMailClass(v string)
SetMailClass gets a reference to the given NullableString and assigns it to the MailClass field.
func (*ShopShippingProfileUpgrade) SetMailClassNil ¶
func (o *ShopShippingProfileUpgrade) SetMailClassNil()
SetMailClassNil sets the value for MailClass to be an explicit nil
func (*ShopShippingProfileUpgrade) SetMaxDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) SetMaxDeliveryDays(v int64)
SetMaxDeliveryDays gets a reference to the given NullableInt64 and assigns it to the MaxDeliveryDays field.
func (*ShopShippingProfileUpgrade) SetMaxDeliveryDaysNil ¶
func (o *ShopShippingProfileUpgrade) SetMaxDeliveryDaysNil()
SetMaxDeliveryDaysNil sets the value for MaxDeliveryDays to be an explicit nil
func (*ShopShippingProfileUpgrade) SetMinDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) SetMinDeliveryDays(v int64)
SetMinDeliveryDays gets a reference to the given NullableInt64 and assigns it to the MinDeliveryDays field.
func (*ShopShippingProfileUpgrade) SetMinDeliveryDaysNil ¶
func (o *ShopShippingProfileUpgrade) SetMinDeliveryDaysNil()
SetMinDeliveryDaysNil sets the value for MinDeliveryDays to be an explicit nil
func (*ShopShippingProfileUpgrade) SetPrice ¶
func (o *ShopShippingProfileUpgrade) SetPrice(v Money)
SetPrice gets a reference to the given Money and assigns it to the Price field.
func (*ShopShippingProfileUpgrade) SetRank ¶
func (o *ShopShippingProfileUpgrade) SetRank(v int64)
SetRank gets a reference to the given int64 and assigns it to the Rank field.
func (*ShopShippingProfileUpgrade) SetSecondaryPrice ¶
func (o *ShopShippingProfileUpgrade) SetSecondaryPrice(v Money)
SetSecondaryPrice gets a reference to the given Money and assigns it to the SecondaryPrice field.
func (*ShopShippingProfileUpgrade) SetShippingCarrierId ¶
func (o *ShopShippingProfileUpgrade) SetShippingCarrierId(v int64)
SetShippingCarrierId gets a reference to the given NullableInt64 and assigns it to the ShippingCarrierId field.
func (*ShopShippingProfileUpgrade) SetShippingCarrierIdNil ¶
func (o *ShopShippingProfileUpgrade) SetShippingCarrierIdNil()
SetShippingCarrierIdNil sets the value for ShippingCarrierId to be an explicit nil
func (*ShopShippingProfileUpgrade) SetShippingProfileId ¶
func (o *ShopShippingProfileUpgrade) SetShippingProfileId(v int64)
SetShippingProfileId gets a reference to the given int64 and assigns it to the ShippingProfileId field.
func (*ShopShippingProfileUpgrade) SetType ¶
func (o *ShopShippingProfileUpgrade) SetType(v CreateShopShippingProfileUpgradeRequestType)
SetType gets a reference to the given CreateShopShippingProfileUpgradeRequestType and assigns it to the Type field.
func (*ShopShippingProfileUpgrade) SetUpgradeId ¶
func (o *ShopShippingProfileUpgrade) SetUpgradeId(v int64)
SetUpgradeId gets a reference to the given int64 and assigns it to the UpgradeId field.
func (*ShopShippingProfileUpgrade) SetUpgradeName ¶
func (o *ShopShippingProfileUpgrade) SetUpgradeName(v string)
SetUpgradeName gets a reference to the given string and assigns it to the UpgradeName field.
func (ShopShippingProfileUpgrade) ToMap ¶
func (o ShopShippingProfileUpgrade) ToMap() (map[string]interface{}, error)
func (*ShopShippingProfileUpgrade) UnsetMailClass ¶
func (o *ShopShippingProfileUpgrade) UnsetMailClass()
UnsetMailClass ensures that no value is present for MailClass, not even an explicit nil
func (*ShopShippingProfileUpgrade) UnsetMaxDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) UnsetMaxDeliveryDays()
UnsetMaxDeliveryDays ensures that no value is present for MaxDeliveryDays, not even an explicit nil
func (*ShopShippingProfileUpgrade) UnsetMinDeliveryDays ¶
func (o *ShopShippingProfileUpgrade) UnsetMinDeliveryDays()
UnsetMinDeliveryDays ensures that no value is present for MinDeliveryDays, not even an explicit nil
func (*ShopShippingProfileUpgrade) UnsetShippingCarrierId ¶
func (o *ShopShippingProfileUpgrade) UnsetShippingCarrierId()
UnsetShippingCarrierId ensures that no value is present for ShippingCarrierId, not even an explicit nil
type ShopShippingProfileUpgrades ¶
type ShopShippingProfileUpgrades struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []ShopShippingProfileUpgrade `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopShippingProfileUpgrades A list of shipping upgrade options.
func NewShopShippingProfileUpgrades ¶
func NewShopShippingProfileUpgrades() *ShopShippingProfileUpgrades
NewShopShippingProfileUpgrades instantiates a new ShopShippingProfileUpgrades 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
func NewShopShippingProfileUpgradesWithDefaults ¶
func NewShopShippingProfileUpgradesWithDefaults() *ShopShippingProfileUpgrades
NewShopShippingProfileUpgradesWithDefaults instantiates a new ShopShippingProfileUpgrades 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
func (*ShopShippingProfileUpgrades) GetCount ¶
func (o *ShopShippingProfileUpgrades) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrades) GetCountOk ¶
func (o *ShopShippingProfileUpgrades) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrades) GetResults ¶
func (o *ShopShippingProfileUpgrades) GetResults() []ShopShippingProfileUpgrade
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopShippingProfileUpgrades) GetResultsOk ¶
func (o *ShopShippingProfileUpgrades) GetResultsOk() ([]ShopShippingProfileUpgrade, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfileUpgrades) HasCount ¶
func (o *ShopShippingProfileUpgrades) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopShippingProfileUpgrades) HasResults ¶
func (o *ShopShippingProfileUpgrades) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopShippingProfileUpgrades) MarshalJSON ¶
func (o ShopShippingProfileUpgrades) MarshalJSON() ([]byte, error)
func (*ShopShippingProfileUpgrades) SetCount ¶
func (o *ShopShippingProfileUpgrades) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopShippingProfileUpgrades) SetResults ¶
func (o *ShopShippingProfileUpgrades) SetResults(v []ShopShippingProfileUpgrade)
SetResults gets a reference to the given []ShopShippingProfileUpgrade and assigns it to the Results field.
func (ShopShippingProfileUpgrades) ToMap ¶
func (o ShopShippingProfileUpgrades) ToMap() (map[string]interface{}, error)
type ShopShippingProfiles ¶
type ShopShippingProfiles struct { Count *int64 `json:"count,omitempty"` Results []ShopShippingProfile `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
ShopShippingProfiles Represents several ShopShippingProfiles.
func NewShopShippingProfiles ¶
func NewShopShippingProfiles() *ShopShippingProfiles
NewShopShippingProfiles instantiates a new ShopShippingProfiles 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
func NewShopShippingProfilesWithDefaults ¶
func NewShopShippingProfilesWithDefaults() *ShopShippingProfiles
NewShopShippingProfilesWithDefaults instantiates a new ShopShippingProfiles 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
func (*ShopShippingProfiles) GetCount ¶
func (o *ShopShippingProfiles) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*ShopShippingProfiles) GetCountOk ¶
func (o *ShopShippingProfiles) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfiles) GetResults ¶
func (o *ShopShippingProfiles) GetResults() []ShopShippingProfile
GetResults returns the Results field value if set, zero value otherwise.
func (*ShopShippingProfiles) GetResultsOk ¶
func (o *ShopShippingProfiles) GetResultsOk() ([]ShopShippingProfile, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShopShippingProfiles) HasCount ¶
func (o *ShopShippingProfiles) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ShopShippingProfiles) HasResults ¶
func (o *ShopShippingProfiles) HasResults() bool
HasResults returns a boolean if a field has been set.
func (ShopShippingProfiles) MarshalJSON ¶
func (o ShopShippingProfiles) MarshalJSON() ([]byte, error)
func (*ShopShippingProfiles) SetCount ¶
func (o *ShopShippingProfiles) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*ShopShippingProfiles) SetResults ¶
func (o *ShopShippingProfiles) SetResults(v []ShopShippingProfile)
SetResults gets a reference to the given []ShopShippingProfile and assigns it to the Results field.
func (ShopShippingProfiles) ToMap ¶
func (o ShopShippingProfiles) ToMap() (map[string]interface{}, error)
type Shops ¶
type Shops struct { // The total number of Shops Count *int64 `json:"count,omitempty"` // The Shop resources. Results []Shop `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
Shops A set of Shop records.
func NewShops ¶
func NewShops() *Shops
NewShops instantiates a new Shops 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
func NewShopsWithDefaults ¶
func NewShopsWithDefaults() *Shops
NewShopsWithDefaults instantiates a new Shops 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
func (*Shops) GetCountOk ¶
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shops) GetResults ¶
GetResults returns the Results field value if set, zero value otherwise.
func (*Shops) GetResultsOk ¶
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Shops) HasResults ¶
HasResults returns a boolean if a field has been set.
func (Shops) MarshalJSON ¶
func (*Shops) SetCount ¶
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*Shops) SetResults ¶
SetResults gets a reference to the given []Shop and assigns it to the Results field.
type TaxonomyNodeProperties ¶
type TaxonomyNodeProperties struct { // The number of results. Count *int64 `json:"count,omitempty"` // The list of requested resources. Results []TaxonomyNodeProperty `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
TaxonomyNodeProperties A list of product property definitions.
func NewTaxonomyNodeProperties ¶
func NewTaxonomyNodeProperties() *TaxonomyNodeProperties
NewTaxonomyNodeProperties instantiates a new TaxonomyNodeProperties 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
func NewTaxonomyNodePropertiesWithDefaults ¶
func NewTaxonomyNodePropertiesWithDefaults() *TaxonomyNodeProperties
NewTaxonomyNodePropertiesWithDefaults instantiates a new TaxonomyNodeProperties 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
func (*TaxonomyNodeProperties) GetCount ¶
func (o *TaxonomyNodeProperties) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*TaxonomyNodeProperties) GetCountOk ¶
func (o *TaxonomyNodeProperties) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperties) GetResults ¶
func (o *TaxonomyNodeProperties) GetResults() []TaxonomyNodeProperty
GetResults returns the Results field value if set, zero value otherwise.
func (*TaxonomyNodeProperties) GetResultsOk ¶
func (o *TaxonomyNodeProperties) GetResultsOk() ([]TaxonomyNodeProperty, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperties) HasCount ¶
func (o *TaxonomyNodeProperties) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*TaxonomyNodeProperties) HasResults ¶
func (o *TaxonomyNodeProperties) HasResults() bool
HasResults returns a boolean if a field has been set.
func (TaxonomyNodeProperties) MarshalJSON ¶
func (o TaxonomyNodeProperties) MarshalJSON() ([]byte, error)
func (*TaxonomyNodeProperties) SetCount ¶
func (o *TaxonomyNodeProperties) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*TaxonomyNodeProperties) SetResults ¶
func (o *TaxonomyNodeProperties) SetResults(v []TaxonomyNodeProperty)
SetResults gets a reference to the given []TaxonomyNodeProperty and assigns it to the Results field.
func (TaxonomyNodeProperties) ToMap ¶
func (o TaxonomyNodeProperties) ToMap() (map[string]interface{}, error)
type TaxonomyNodeProperty ¶
type TaxonomyNodeProperty struct { // The unique numeric ID of this product property. PropertyId *int64 `json:"property_id,omitempty"` // The name string for this taxonomy node. Name *string `json:"name,omitempty"` // The human-readable product property name string. DisplayName *string `json:"display_name,omitempty"` // A list of available scales. Scales []TaxonomyPropertyScale `json:"scales,omitempty"` // When true, listings assigned eligible taxonomy IDs require this property. IsRequired *bool `json:"is_required,omitempty"` // When true, you can use this property in listing attributes. SupportsAttributes *bool `json:"supports_attributes,omitempty"` // When true, you can use this property in listing variations. SupportsVariations *bool `json:"supports_variations,omitempty"` // When true, you can assign multiple property values to this property IsMultivalued *bool `json:"is_multivalued,omitempty"` // When true, you can assign multiple property values to this property MaxValuesAllowed NullableInt64 `json:"max_values_allowed,omitempty"` // A list of supported property value strings for this property. PossibleValues []TaxonomyPropertyValue `json:"possible_values,omitempty"` // A list of property value strings automatically and always selected for the given property. SelectedValues []TaxonomyPropertyValue `json:"selected_values,omitempty"` AdditionalProperties map[string]interface{} }
TaxonomyNodeProperty A product property definition.
func NewTaxonomyNodeProperty ¶
func NewTaxonomyNodeProperty() *TaxonomyNodeProperty
NewTaxonomyNodeProperty instantiates a new TaxonomyNodeProperty 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
func NewTaxonomyNodePropertyWithDefaults ¶
func NewTaxonomyNodePropertyWithDefaults() *TaxonomyNodeProperty
NewTaxonomyNodePropertyWithDefaults instantiates a new TaxonomyNodeProperty 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
func (*TaxonomyNodeProperty) GetDisplayName ¶
func (o *TaxonomyNodeProperty) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetDisplayNameOk ¶
func (o *TaxonomyNodeProperty) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetIsMultivalued ¶
func (o *TaxonomyNodeProperty) GetIsMultivalued() bool
GetIsMultivalued returns the IsMultivalued field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetIsMultivaluedOk ¶
func (o *TaxonomyNodeProperty) GetIsMultivaluedOk() (*bool, bool)
GetIsMultivaluedOk returns a tuple with the IsMultivalued field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetIsRequired ¶
func (o *TaxonomyNodeProperty) GetIsRequired() bool
GetIsRequired returns the IsRequired field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetIsRequiredOk ¶
func (o *TaxonomyNodeProperty) GetIsRequiredOk() (*bool, bool)
GetIsRequiredOk returns a tuple with the IsRequired field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetMaxValuesAllowed ¶
func (o *TaxonomyNodeProperty) GetMaxValuesAllowed() int64
GetMaxValuesAllowed returns the MaxValuesAllowed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TaxonomyNodeProperty) GetMaxValuesAllowedOk ¶
func (o *TaxonomyNodeProperty) GetMaxValuesAllowedOk() (*int64, bool)
GetMaxValuesAllowedOk returns a tuple with the MaxValuesAllowed field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TaxonomyNodeProperty) GetName ¶
func (o *TaxonomyNodeProperty) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetNameOk ¶
func (o *TaxonomyNodeProperty) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetPossibleValues ¶
func (o *TaxonomyNodeProperty) GetPossibleValues() []TaxonomyPropertyValue
GetPossibleValues returns the PossibleValues field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetPossibleValuesOk ¶
func (o *TaxonomyNodeProperty) GetPossibleValuesOk() ([]TaxonomyPropertyValue, bool)
GetPossibleValuesOk returns a tuple with the PossibleValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetPropertyId ¶
func (o *TaxonomyNodeProperty) GetPropertyId() int64
GetPropertyId returns the PropertyId field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetPropertyIdOk ¶
func (o *TaxonomyNodeProperty) GetPropertyIdOk() (*int64, bool)
GetPropertyIdOk returns a tuple with the PropertyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetScales ¶
func (o *TaxonomyNodeProperty) GetScales() []TaxonomyPropertyScale
GetScales returns the Scales field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetScalesOk ¶
func (o *TaxonomyNodeProperty) GetScalesOk() ([]TaxonomyPropertyScale, bool)
GetScalesOk returns a tuple with the Scales field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetSelectedValues ¶
func (o *TaxonomyNodeProperty) GetSelectedValues() []TaxonomyPropertyValue
GetSelectedValues returns the SelectedValues field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetSelectedValuesOk ¶
func (o *TaxonomyNodeProperty) GetSelectedValuesOk() ([]TaxonomyPropertyValue, bool)
GetSelectedValuesOk returns a tuple with the SelectedValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetSupportsAttributes ¶
func (o *TaxonomyNodeProperty) GetSupportsAttributes() bool
GetSupportsAttributes returns the SupportsAttributes field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetSupportsAttributesOk ¶
func (o *TaxonomyNodeProperty) GetSupportsAttributesOk() (*bool, bool)
GetSupportsAttributesOk returns a tuple with the SupportsAttributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) GetSupportsVariations ¶
func (o *TaxonomyNodeProperty) GetSupportsVariations() bool
GetSupportsVariations returns the SupportsVariations field value if set, zero value otherwise.
func (*TaxonomyNodeProperty) GetSupportsVariationsOk ¶
func (o *TaxonomyNodeProperty) GetSupportsVariationsOk() (*bool, bool)
GetSupportsVariationsOk returns a tuple with the SupportsVariations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyNodeProperty) HasDisplayName ¶
func (o *TaxonomyNodeProperty) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasIsMultivalued ¶
func (o *TaxonomyNodeProperty) HasIsMultivalued() bool
HasIsMultivalued returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasIsRequired ¶
func (o *TaxonomyNodeProperty) HasIsRequired() bool
HasIsRequired returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasMaxValuesAllowed ¶
func (o *TaxonomyNodeProperty) HasMaxValuesAllowed() bool
HasMaxValuesAllowed returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasName ¶
func (o *TaxonomyNodeProperty) HasName() bool
HasName returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasPossibleValues ¶
func (o *TaxonomyNodeProperty) HasPossibleValues() bool
HasPossibleValues returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasPropertyId ¶
func (o *TaxonomyNodeProperty) HasPropertyId() bool
HasPropertyId returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasScales ¶
func (o *TaxonomyNodeProperty) HasScales() bool
HasScales returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasSelectedValues ¶
func (o *TaxonomyNodeProperty) HasSelectedValues() bool
HasSelectedValues returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasSupportsAttributes ¶
func (o *TaxonomyNodeProperty) HasSupportsAttributes() bool
HasSupportsAttributes returns a boolean if a field has been set.
func (*TaxonomyNodeProperty) HasSupportsVariations ¶
func (o *TaxonomyNodeProperty) HasSupportsVariations() bool
HasSupportsVariations returns a boolean if a field has been set.
func (TaxonomyNodeProperty) MarshalJSON ¶
func (o TaxonomyNodeProperty) MarshalJSON() ([]byte, error)
func (*TaxonomyNodeProperty) SetDisplayName ¶
func (o *TaxonomyNodeProperty) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*TaxonomyNodeProperty) SetIsMultivalued ¶
func (o *TaxonomyNodeProperty) SetIsMultivalued(v bool)
SetIsMultivalued gets a reference to the given bool and assigns it to the IsMultivalued field.
func (*TaxonomyNodeProperty) SetIsRequired ¶
func (o *TaxonomyNodeProperty) SetIsRequired(v bool)
SetIsRequired gets a reference to the given bool and assigns it to the IsRequired field.
func (*TaxonomyNodeProperty) SetMaxValuesAllowed ¶
func (o *TaxonomyNodeProperty) SetMaxValuesAllowed(v int64)
SetMaxValuesAllowed gets a reference to the given NullableInt64 and assigns it to the MaxValuesAllowed field.
func (*TaxonomyNodeProperty) SetMaxValuesAllowedNil ¶
func (o *TaxonomyNodeProperty) SetMaxValuesAllowedNil()
SetMaxValuesAllowedNil sets the value for MaxValuesAllowed to be an explicit nil
func (*TaxonomyNodeProperty) SetName ¶
func (o *TaxonomyNodeProperty) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*TaxonomyNodeProperty) SetPossibleValues ¶
func (o *TaxonomyNodeProperty) SetPossibleValues(v []TaxonomyPropertyValue)
SetPossibleValues gets a reference to the given []TaxonomyPropertyValue and assigns it to the PossibleValues field.
func (*TaxonomyNodeProperty) SetPropertyId ¶
func (o *TaxonomyNodeProperty) SetPropertyId(v int64)
SetPropertyId gets a reference to the given int64 and assigns it to the PropertyId field.
func (*TaxonomyNodeProperty) SetScales ¶
func (o *TaxonomyNodeProperty) SetScales(v []TaxonomyPropertyScale)
SetScales gets a reference to the given []TaxonomyPropertyScale and assigns it to the Scales field.
func (*TaxonomyNodeProperty) SetSelectedValues ¶
func (o *TaxonomyNodeProperty) SetSelectedValues(v []TaxonomyPropertyValue)
SetSelectedValues gets a reference to the given []TaxonomyPropertyValue and assigns it to the SelectedValues field.
func (*TaxonomyNodeProperty) SetSupportsAttributes ¶
func (o *TaxonomyNodeProperty) SetSupportsAttributes(v bool)
SetSupportsAttributes gets a reference to the given bool and assigns it to the SupportsAttributes field.
func (*TaxonomyNodeProperty) SetSupportsVariations ¶
func (o *TaxonomyNodeProperty) SetSupportsVariations(v bool)
SetSupportsVariations gets a reference to the given bool and assigns it to the SupportsVariations field.
func (TaxonomyNodeProperty) ToMap ¶
func (o TaxonomyNodeProperty) ToMap() (map[string]interface{}, error)
func (*TaxonomyNodeProperty) UnsetMaxValuesAllowed ¶
func (o *TaxonomyNodeProperty) UnsetMaxValuesAllowed()
UnsetMaxValuesAllowed ensures that no value is present for MaxValuesAllowed, not even an explicit nil
type TaxonomyPropertyScale ¶
type TaxonomyPropertyScale struct { // The unique numeric ID of a scale. ScaleId *int64 `json:"scale_id,omitempty"` // The name string for a scale. DisplayName *string `json:"display_name,omitempty"` // The description string for a scale. Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} }
TaxonomyPropertyScale A scale defnining the assignable increments for the property values available to specific product properties.
func NewTaxonomyPropertyScale ¶
func NewTaxonomyPropertyScale() *TaxonomyPropertyScale
NewTaxonomyPropertyScale instantiates a new TaxonomyPropertyScale 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
func NewTaxonomyPropertyScaleWithDefaults ¶
func NewTaxonomyPropertyScaleWithDefaults() *TaxonomyPropertyScale
NewTaxonomyPropertyScaleWithDefaults instantiates a new TaxonomyPropertyScale 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
func (*TaxonomyPropertyScale) GetDescription ¶
func (o *TaxonomyPropertyScale) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TaxonomyPropertyScale) GetDescriptionOk ¶
func (o *TaxonomyPropertyScale) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyPropertyScale) GetDisplayName ¶
func (o *TaxonomyPropertyScale) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*TaxonomyPropertyScale) GetDisplayNameOk ¶
func (o *TaxonomyPropertyScale) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyPropertyScale) GetScaleId ¶
func (o *TaxonomyPropertyScale) GetScaleId() int64
GetScaleId returns the ScaleId field value if set, zero value otherwise.
func (*TaxonomyPropertyScale) GetScaleIdOk ¶
func (o *TaxonomyPropertyScale) GetScaleIdOk() (*int64, bool)
GetScaleIdOk returns a tuple with the ScaleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyPropertyScale) HasDescription ¶
func (o *TaxonomyPropertyScale) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TaxonomyPropertyScale) HasDisplayName ¶
func (o *TaxonomyPropertyScale) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*TaxonomyPropertyScale) HasScaleId ¶
func (o *TaxonomyPropertyScale) HasScaleId() bool
HasScaleId returns a boolean if a field has been set.
func (TaxonomyPropertyScale) MarshalJSON ¶
func (o TaxonomyPropertyScale) MarshalJSON() ([]byte, error)
func (*TaxonomyPropertyScale) SetDescription ¶
func (o *TaxonomyPropertyScale) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TaxonomyPropertyScale) SetDisplayName ¶
func (o *TaxonomyPropertyScale) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*TaxonomyPropertyScale) SetScaleId ¶
func (o *TaxonomyPropertyScale) SetScaleId(v int64)
SetScaleId gets a reference to the given int64 and assigns it to the ScaleId field.
func (TaxonomyPropertyScale) ToMap ¶
func (o TaxonomyPropertyScale) ToMap() (map[string]interface{}, error)
type TaxonomyPropertyValue ¶
type TaxonomyPropertyValue struct { // The numeric ID of this property value. ValueId NullableInt64 `json:"value_id,omitempty"` // The name string of this property value. Name *string `json:"name,omitempty"` // The numeric scale ID of the scale to which this property value belongs. ScaleId NullableInt64 `json:"scale_id,omitempty"` // A list of numeric property value IDs this property value is equal to (if any). EqualTo []int64 `json:"equal_to,omitempty"` AdditionalProperties map[string]interface{} }
TaxonomyPropertyValue A property value for a specific product property, which may also employ a specific scale.
func NewTaxonomyPropertyValue ¶
func NewTaxonomyPropertyValue() *TaxonomyPropertyValue
NewTaxonomyPropertyValue instantiates a new TaxonomyPropertyValue 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
func NewTaxonomyPropertyValueWithDefaults ¶
func NewTaxonomyPropertyValueWithDefaults() *TaxonomyPropertyValue
NewTaxonomyPropertyValueWithDefaults instantiates a new TaxonomyPropertyValue 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
func (*TaxonomyPropertyValue) GetEqualTo ¶
func (o *TaxonomyPropertyValue) GetEqualTo() []int64
GetEqualTo returns the EqualTo field value if set, zero value otherwise.
func (*TaxonomyPropertyValue) GetEqualToOk ¶
func (o *TaxonomyPropertyValue) GetEqualToOk() ([]int64, bool)
GetEqualToOk returns a tuple with the EqualTo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyPropertyValue) GetName ¶
func (o *TaxonomyPropertyValue) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TaxonomyPropertyValue) GetNameOk ¶
func (o *TaxonomyPropertyValue) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaxonomyPropertyValue) GetScaleId ¶
func (o *TaxonomyPropertyValue) GetScaleId() int64
GetScaleId returns the ScaleId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TaxonomyPropertyValue) GetScaleIdOk ¶
func (o *TaxonomyPropertyValue) GetScaleIdOk() (*int64, bool)
GetScaleIdOk returns a tuple with the ScaleId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TaxonomyPropertyValue) GetValueId ¶
func (o *TaxonomyPropertyValue) GetValueId() int64
GetValueId returns the ValueId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TaxonomyPropertyValue) GetValueIdOk ¶
func (o *TaxonomyPropertyValue) GetValueIdOk() (*int64, bool)
GetValueIdOk returns a tuple with the ValueId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TaxonomyPropertyValue) HasEqualTo ¶
func (o *TaxonomyPropertyValue) HasEqualTo() bool
HasEqualTo returns a boolean if a field has been set.
func (*TaxonomyPropertyValue) HasName ¶
func (o *TaxonomyPropertyValue) HasName() bool
HasName returns a boolean if a field has been set.
func (*TaxonomyPropertyValue) HasScaleId ¶
func (o *TaxonomyPropertyValue) HasScaleId() bool
HasScaleId returns a boolean if a field has been set.
func (*TaxonomyPropertyValue) HasValueId ¶
func (o *TaxonomyPropertyValue) HasValueId() bool
HasValueId returns a boolean if a field has been set.
func (TaxonomyPropertyValue) MarshalJSON ¶
func (o TaxonomyPropertyValue) MarshalJSON() ([]byte, error)
func (*TaxonomyPropertyValue) SetEqualTo ¶
func (o *TaxonomyPropertyValue) SetEqualTo(v []int64)
SetEqualTo gets a reference to the given []int64 and assigns it to the EqualTo field.
func (*TaxonomyPropertyValue) SetName ¶
func (o *TaxonomyPropertyValue) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*TaxonomyPropertyValue) SetScaleId ¶
func (o *TaxonomyPropertyValue) SetScaleId(v int64)
SetScaleId gets a reference to the given NullableInt64 and assigns it to the ScaleId field.
func (*TaxonomyPropertyValue) SetScaleIdNil ¶
func (o *TaxonomyPropertyValue) SetScaleIdNil()
SetScaleIdNil sets the value for ScaleId to be an explicit nil
func (*TaxonomyPropertyValue) SetValueId ¶
func (o *TaxonomyPropertyValue) SetValueId(v int64)
SetValueId gets a reference to the given NullableInt64 and assigns it to the ValueId field.
func (*TaxonomyPropertyValue) SetValueIdNil ¶
func (o *TaxonomyPropertyValue) SetValueIdNil()
SetValueIdNil sets the value for ValueId to be an explicit nil
func (TaxonomyPropertyValue) ToMap ¶
func (o TaxonomyPropertyValue) ToMap() (map[string]interface{}, error)
func (*TaxonomyPropertyValue) UnsetScaleId ¶
func (o *TaxonomyPropertyValue) UnsetScaleId()
UnsetScaleId ensures that no value is present for ScaleId, not even an explicit nil
func (*TaxonomyPropertyValue) UnsetValueId ¶
func (o *TaxonomyPropertyValue) UnsetValueId()
UnsetValueId ensures that no value is present for ValueId, not even an explicit nil
type TransactionReview ¶
type TransactionReview struct { // The shop's numeric ID. ShopId *int64 `json:"shop_id,omitempty"` // The ID of the ShopListing that the TransactionReview belongs to. ListingId *int64 `json:"listing_id,omitempty"` // The ID of the ShopReceipt Transaction that the TransactionReview belongs to. TransactionId *int64 `json:"transaction_id,omitempty"` // The numeric ID of the user who was the buyer in this transaction. Note: This field may be absent, depending on the buyer's privacy settings. BuyerUserId NullableInt64 `json:"buyer_user_id,omitempty"` // Rating value on scale from 1 to 5 Rating *int64 `json:"rating,omitempty"` // A message left by the author, explaining the feedback, if provided. Review *string `json:"review,omitempty"` // The language of the TransactionReview Language *string `json:"language,omitempty"` // The url to a photo provided with the feedback, dimensions fullxfull. Note: This field may be absent, depending on the buyer's privacy settings. ImageUrlFullxfull NullableString `json:"image_url_fullxfull,omitempty"` // The date and time the TransactionReview was created in epoch seconds. CreateTimestamp *int64 `json:"create_timestamp,omitempty"` // The date and time the TransactionReview was created in epoch seconds. CreatedTimestamp *int64 `json:"created_timestamp,omitempty"` // The date and time the TransactionReview was updated in epoch seconds. UpdateTimestamp *int64 `json:"update_timestamp,omitempty"` // The date and time the TransactionReview was updated in epoch seconds. UpdatedTimestamp *int64 `json:"updated_timestamp,omitempty"` AdditionalProperties map[string]interface{} }
TransactionReview A transaction review record left by a User.
func NewTransactionReview ¶
func NewTransactionReview() *TransactionReview
NewTransactionReview instantiates a new TransactionReview 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
func NewTransactionReviewWithDefaults ¶
func NewTransactionReviewWithDefaults() *TransactionReview
NewTransactionReviewWithDefaults instantiates a new TransactionReview 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
func (*TransactionReview) GetBuyerUserId ¶
func (o *TransactionReview) GetBuyerUserId() int64
GetBuyerUserId returns the BuyerUserId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TransactionReview) GetBuyerUserIdOk ¶
func (o *TransactionReview) GetBuyerUserIdOk() (*int64, bool)
GetBuyerUserIdOk returns a tuple with the BuyerUserId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TransactionReview) GetCreateTimestamp ¶
func (o *TransactionReview) GetCreateTimestamp() int64
GetCreateTimestamp returns the CreateTimestamp field value if set, zero value otherwise.
func (*TransactionReview) GetCreateTimestampOk ¶
func (o *TransactionReview) GetCreateTimestampOk() (*int64, bool)
GetCreateTimestampOk returns a tuple with the CreateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetCreatedTimestamp ¶
func (o *TransactionReview) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field value if set, zero value otherwise.
func (*TransactionReview) GetCreatedTimestampOk ¶
func (o *TransactionReview) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetImageUrlFullxfull ¶
func (o *TransactionReview) GetImageUrlFullxfull() string
GetImageUrlFullxfull returns the ImageUrlFullxfull field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TransactionReview) GetImageUrlFullxfullOk ¶
func (o *TransactionReview) GetImageUrlFullxfullOk() (*string, bool)
GetImageUrlFullxfullOk returns a tuple with the ImageUrlFullxfull field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TransactionReview) GetLanguage ¶
func (o *TransactionReview) GetLanguage() string
GetLanguage returns the Language field value if set, zero value otherwise.
func (*TransactionReview) GetLanguageOk ¶
func (o *TransactionReview) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetListingId ¶
func (o *TransactionReview) GetListingId() int64
GetListingId returns the ListingId field value if set, zero value otherwise.
func (*TransactionReview) GetListingIdOk ¶
func (o *TransactionReview) GetListingIdOk() (*int64, bool)
GetListingIdOk returns a tuple with the ListingId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetRating ¶
func (o *TransactionReview) GetRating() int64
GetRating returns the Rating field value if set, zero value otherwise.
func (*TransactionReview) GetRatingOk ¶
func (o *TransactionReview) GetRatingOk() (*int64, bool)
GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetReview ¶
func (o *TransactionReview) GetReview() string
GetReview returns the Review field value if set, zero value otherwise.
func (*TransactionReview) GetReviewOk ¶
func (o *TransactionReview) GetReviewOk() (*string, bool)
GetReviewOk returns a tuple with the Review field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetShopId ¶
func (o *TransactionReview) GetShopId() int64
GetShopId returns the ShopId field value if set, zero value otherwise.
func (*TransactionReview) GetShopIdOk ¶
func (o *TransactionReview) GetShopIdOk() (*int64, bool)
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetTransactionId ¶
func (o *TransactionReview) GetTransactionId() int64
GetTransactionId returns the TransactionId field value if set, zero value otherwise.
func (*TransactionReview) GetTransactionIdOk ¶
func (o *TransactionReview) GetTransactionIdOk() (*int64, bool)
GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetUpdateTimestamp ¶
func (o *TransactionReview) GetUpdateTimestamp() int64
GetUpdateTimestamp returns the UpdateTimestamp field value if set, zero value otherwise.
func (*TransactionReview) GetUpdateTimestampOk ¶
func (o *TransactionReview) GetUpdateTimestampOk() (*int64, bool)
GetUpdateTimestampOk returns a tuple with the UpdateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) GetUpdatedTimestamp ¶
func (o *TransactionReview) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field value if set, zero value otherwise.
func (*TransactionReview) GetUpdatedTimestampOk ¶
func (o *TransactionReview) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReview) HasBuyerUserId ¶
func (o *TransactionReview) HasBuyerUserId() bool
HasBuyerUserId returns a boolean if a field has been set.
func (*TransactionReview) HasCreateTimestamp ¶
func (o *TransactionReview) HasCreateTimestamp() bool
HasCreateTimestamp returns a boolean if a field has been set.
func (*TransactionReview) HasCreatedTimestamp ¶
func (o *TransactionReview) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (*TransactionReview) HasImageUrlFullxfull ¶
func (o *TransactionReview) HasImageUrlFullxfull() bool
HasImageUrlFullxfull returns a boolean if a field has been set.
func (*TransactionReview) HasLanguage ¶
func (o *TransactionReview) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*TransactionReview) HasListingId ¶
func (o *TransactionReview) HasListingId() bool
HasListingId returns a boolean if a field has been set.
func (*TransactionReview) HasRating ¶
func (o *TransactionReview) HasRating() bool
HasRating returns a boolean if a field has been set.
func (*TransactionReview) HasReview ¶
func (o *TransactionReview) HasReview() bool
HasReview returns a boolean if a field has been set.
func (*TransactionReview) HasShopId ¶
func (o *TransactionReview) HasShopId() bool
HasShopId returns a boolean if a field has been set.
func (*TransactionReview) HasTransactionId ¶
func (o *TransactionReview) HasTransactionId() bool
HasTransactionId returns a boolean if a field has been set.
func (*TransactionReview) HasUpdateTimestamp ¶
func (o *TransactionReview) HasUpdateTimestamp() bool
HasUpdateTimestamp returns a boolean if a field has been set.
func (*TransactionReview) HasUpdatedTimestamp ¶
func (o *TransactionReview) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.
func (TransactionReview) MarshalJSON ¶
func (o TransactionReview) MarshalJSON() ([]byte, error)
func (*TransactionReview) SetBuyerUserId ¶
func (o *TransactionReview) SetBuyerUserId(v int64)
SetBuyerUserId gets a reference to the given NullableInt64 and assigns it to the BuyerUserId field.
func (*TransactionReview) SetBuyerUserIdNil ¶
func (o *TransactionReview) SetBuyerUserIdNil()
SetBuyerUserIdNil sets the value for BuyerUserId to be an explicit nil
func (*TransactionReview) SetCreateTimestamp ¶
func (o *TransactionReview) SetCreateTimestamp(v int64)
SetCreateTimestamp gets a reference to the given int64 and assigns it to the CreateTimestamp field.
func (*TransactionReview) SetCreatedTimestamp ¶
func (o *TransactionReview) SetCreatedTimestamp(v int64)
SetCreatedTimestamp gets a reference to the given int64 and assigns it to the CreatedTimestamp field.
func (*TransactionReview) SetImageUrlFullxfull ¶
func (o *TransactionReview) SetImageUrlFullxfull(v string)
SetImageUrlFullxfull gets a reference to the given NullableString and assigns it to the ImageUrlFullxfull field.
func (*TransactionReview) SetImageUrlFullxfullNil ¶
func (o *TransactionReview) SetImageUrlFullxfullNil()
SetImageUrlFullxfullNil sets the value for ImageUrlFullxfull to be an explicit nil
func (*TransactionReview) SetLanguage ¶
func (o *TransactionReview) SetLanguage(v string)
SetLanguage gets a reference to the given string and assigns it to the Language field.
func (*TransactionReview) SetListingId ¶
func (o *TransactionReview) SetListingId(v int64)
SetListingId gets a reference to the given int64 and assigns it to the ListingId field.
func (*TransactionReview) SetRating ¶
func (o *TransactionReview) SetRating(v int64)
SetRating gets a reference to the given int64 and assigns it to the Rating field.
func (*TransactionReview) SetReview ¶
func (o *TransactionReview) SetReview(v string)
SetReview gets a reference to the given string and assigns it to the Review field.
func (*TransactionReview) SetShopId ¶
func (o *TransactionReview) SetShopId(v int64)
SetShopId gets a reference to the given int64 and assigns it to the ShopId field.
func (*TransactionReview) SetTransactionId ¶
func (o *TransactionReview) SetTransactionId(v int64)
SetTransactionId gets a reference to the given int64 and assigns it to the TransactionId field.
func (*TransactionReview) SetUpdateTimestamp ¶
func (o *TransactionReview) SetUpdateTimestamp(v int64)
SetUpdateTimestamp gets a reference to the given int64 and assigns it to the UpdateTimestamp field.
func (*TransactionReview) SetUpdatedTimestamp ¶
func (o *TransactionReview) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp gets a reference to the given int64 and assigns it to the UpdatedTimestamp field.
func (TransactionReview) ToMap ¶
func (o TransactionReview) ToMap() (map[string]interface{}, error)
func (*TransactionReview) UnsetBuyerUserId ¶
func (o *TransactionReview) UnsetBuyerUserId()
UnsetBuyerUserId ensures that no value is present for BuyerUserId, not even an explicit nil
func (*TransactionReview) UnsetImageUrlFullxfull ¶
func (o *TransactionReview) UnsetImageUrlFullxfull()
UnsetImageUrlFullxfull ensures that no value is present for ImageUrlFullxfull, not even an explicit nil
type TransactionReviews ¶
type TransactionReviews struct { // The number of TransactionReview resources found. Count *int64 `json:"count,omitempty"` // The TransactionReview resources found. Results []TransactionReview `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
TransactionReviews A set of transaction review records left by Users.
func NewTransactionReviews ¶
func NewTransactionReviews() *TransactionReviews
NewTransactionReviews instantiates a new TransactionReviews 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
func NewTransactionReviewsWithDefaults ¶
func NewTransactionReviewsWithDefaults() *TransactionReviews
NewTransactionReviewsWithDefaults instantiates a new TransactionReviews 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
func (*TransactionReviews) GetCount ¶
func (o *TransactionReviews) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*TransactionReviews) GetCountOk ¶
func (o *TransactionReviews) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReviews) GetResults ¶
func (o *TransactionReviews) GetResults() []TransactionReview
GetResults returns the Results field value if set, zero value otherwise.
func (*TransactionReviews) GetResultsOk ¶
func (o *TransactionReviews) GetResultsOk() ([]TransactionReview, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionReviews) HasCount ¶
func (o *TransactionReviews) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*TransactionReviews) HasResults ¶
func (o *TransactionReviews) HasResults() bool
HasResults returns a boolean if a field has been set.
func (TransactionReviews) MarshalJSON ¶
func (o TransactionReviews) MarshalJSON() ([]byte, error)
func (*TransactionReviews) SetCount ¶
func (o *TransactionReviews) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*TransactionReviews) SetResults ¶
func (o *TransactionReviews) SetResults(v []TransactionReview)
SetResults gets a reference to the given []TransactionReview and assigns it to the Results field.
func (TransactionReviews) ToMap ¶
func (o TransactionReviews) ToMap() (map[string]interface{}, error)
type TransactionVariations ¶
type TransactionVariations struct { // The variation property ID. PropertyId *int64 `json:"property_id,omitempty"` // The ID of the variation value selected. ValueId NullableInt64 `json:"value_id,omitempty"` // Formatted name of the variation. FormattedName *string `json:"formatted_name,omitempty"` // Value of the variation entered by the buyer. FormattedValue *string `json:"formatted_value,omitempty"` AdditionalProperties map[string]interface{} }
TransactionVariations A list of variations chosen by the buyer during checkout.
func NewTransactionVariations ¶
func NewTransactionVariations() *TransactionVariations
NewTransactionVariations instantiates a new TransactionVariations 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
func NewTransactionVariationsWithDefaults ¶
func NewTransactionVariationsWithDefaults() *TransactionVariations
NewTransactionVariationsWithDefaults instantiates a new TransactionVariations 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
func (*TransactionVariations) GetFormattedName ¶
func (o *TransactionVariations) GetFormattedName() string
GetFormattedName returns the FormattedName field value if set, zero value otherwise.
func (*TransactionVariations) GetFormattedNameOk ¶
func (o *TransactionVariations) GetFormattedNameOk() (*string, bool)
GetFormattedNameOk returns a tuple with the FormattedName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionVariations) GetFormattedValue ¶
func (o *TransactionVariations) GetFormattedValue() string
GetFormattedValue returns the FormattedValue field value if set, zero value otherwise.
func (*TransactionVariations) GetFormattedValueOk ¶
func (o *TransactionVariations) GetFormattedValueOk() (*string, bool)
GetFormattedValueOk returns a tuple with the FormattedValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionVariations) GetPropertyId ¶
func (o *TransactionVariations) GetPropertyId() int64
GetPropertyId returns the PropertyId field value if set, zero value otherwise.
func (*TransactionVariations) GetPropertyIdOk ¶
func (o *TransactionVariations) GetPropertyIdOk() (*int64, bool)
GetPropertyIdOk returns a tuple with the PropertyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionVariations) GetValueId ¶
func (o *TransactionVariations) GetValueId() int64
GetValueId returns the ValueId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TransactionVariations) GetValueIdOk ¶
func (o *TransactionVariations) GetValueIdOk() (*int64, bool)
GetValueIdOk returns a tuple with the ValueId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TransactionVariations) HasFormattedName ¶
func (o *TransactionVariations) HasFormattedName() bool
HasFormattedName returns a boolean if a field has been set.
func (*TransactionVariations) HasFormattedValue ¶
func (o *TransactionVariations) HasFormattedValue() bool
HasFormattedValue returns a boolean if a field has been set.
func (*TransactionVariations) HasPropertyId ¶
func (o *TransactionVariations) HasPropertyId() bool
HasPropertyId returns a boolean if a field has been set.
func (*TransactionVariations) HasValueId ¶
func (o *TransactionVariations) HasValueId() bool
HasValueId returns a boolean if a field has been set.
func (TransactionVariations) MarshalJSON ¶
func (o TransactionVariations) MarshalJSON() ([]byte, error)
func (*TransactionVariations) SetFormattedName ¶
func (o *TransactionVariations) SetFormattedName(v string)
SetFormattedName gets a reference to the given string and assigns it to the FormattedName field.
func (*TransactionVariations) SetFormattedValue ¶
func (o *TransactionVariations) SetFormattedValue(v string)
SetFormattedValue gets a reference to the given string and assigns it to the FormattedValue field.
func (*TransactionVariations) SetPropertyId ¶
func (o *TransactionVariations) SetPropertyId(v int64)
SetPropertyId gets a reference to the given int64 and assigns it to the PropertyId field.
func (*TransactionVariations) SetValueId ¶
func (o *TransactionVariations) SetValueId(v int64)
SetValueId gets a reference to the given NullableInt64 and assigns it to the ValueId field.
func (*TransactionVariations) SetValueIdNil ¶
func (o *TransactionVariations) SetValueIdNil()
SetValueIdNil sets the value for ValueId to be an explicit nil
func (TransactionVariations) ToMap ¶
func (o TransactionVariations) ToMap() (map[string]interface{}, error)
func (*TransactionVariations) UnsetValueId ¶
func (o *TransactionVariations) UnsetValueId()
UnsetValueId ensures that no value is present for ValueId, not even an explicit nil
type TypeDiscriminator ¶
type TypeDiscriminator struct { // field used to determine the type of the object when deserializing union type responses Type string `json:"__type"` AdditionalProperties map[string]interface{} }
TypeDiscriminator struct for TypeDiscriminator
func NewTypeDiscriminator ¶
func NewTypeDiscriminator(type_ string) *TypeDiscriminator
NewTypeDiscriminator instantiates a new TypeDiscriminator 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
func NewTypeDiscriminatorWithDefaults ¶
func NewTypeDiscriminatorWithDefaults() *TypeDiscriminator
NewTypeDiscriminatorWithDefaults instantiates a new TypeDiscriminator 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
func (*TypeDiscriminator) GetType ¶
func (o *TypeDiscriminator) GetType() string
GetType returns the Type field value
func (*TypeDiscriminator) GetTypeOk ¶
func (o *TypeDiscriminator) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (TypeDiscriminator) MarshalJSON ¶
func (o TypeDiscriminator) MarshalJSON() ([]byte, error)
func (*TypeDiscriminator) SetType ¶
func (o *TypeDiscriminator) SetType(v string)
SetType sets field value
func (TypeDiscriminator) ToMap ¶
func (o TypeDiscriminator) ToMap() (map[string]interface{}, error)
type UpdateHolidayPreferencesHolidayIdParameter ¶
type UpdateHolidayPreferencesHolidayIdParameter string
UpdateHolidayPreferencesHolidayIdParameter The unique id that maps to the holiday a country observes. See the [Fulfillment Tutorial docs](https://developer.etsy.com/documentation/tutorials/fulfillment/#country-holidays) for more info
const ( UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__1 UpdateHolidayPreferencesHolidayIdParameter = "1" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__2 UpdateHolidayPreferencesHolidayIdParameter = "2" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__3 UpdateHolidayPreferencesHolidayIdParameter = "3" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__4 UpdateHolidayPreferencesHolidayIdParameter = "4" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__5 UpdateHolidayPreferencesHolidayIdParameter = "5" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__6 UpdateHolidayPreferencesHolidayIdParameter = "6" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__7 UpdateHolidayPreferencesHolidayIdParameter = "7" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__8 UpdateHolidayPreferencesHolidayIdParameter = "8" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__9 UpdateHolidayPreferencesHolidayIdParameter = "9" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__10 UpdateHolidayPreferencesHolidayIdParameter = "10" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__11 UpdateHolidayPreferencesHolidayIdParameter = "11" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__12 UpdateHolidayPreferencesHolidayIdParameter = "12" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__13 UpdateHolidayPreferencesHolidayIdParameter = "13" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__14 UpdateHolidayPreferencesHolidayIdParameter = "14" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__15 UpdateHolidayPreferencesHolidayIdParameter = "15" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__16 UpdateHolidayPreferencesHolidayIdParameter = "16" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__17 UpdateHolidayPreferencesHolidayIdParameter = "17" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__18 UpdateHolidayPreferencesHolidayIdParameter = "18" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__19 UpdateHolidayPreferencesHolidayIdParameter = "19" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__20 UpdateHolidayPreferencesHolidayIdParameter = "20" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__21 UpdateHolidayPreferencesHolidayIdParameter = "21" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__22 UpdateHolidayPreferencesHolidayIdParameter = "22" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__23 UpdateHolidayPreferencesHolidayIdParameter = "23" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__24 UpdateHolidayPreferencesHolidayIdParameter = "24" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__25 UpdateHolidayPreferencesHolidayIdParameter = "25" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__26 UpdateHolidayPreferencesHolidayIdParameter = "26" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__27 UpdateHolidayPreferencesHolidayIdParameter = "27" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__28 UpdateHolidayPreferencesHolidayIdParameter = "28" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__29 UpdateHolidayPreferencesHolidayIdParameter = "29" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__30 UpdateHolidayPreferencesHolidayIdParameter = "30" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__31 UpdateHolidayPreferencesHolidayIdParameter = "31" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__32 UpdateHolidayPreferencesHolidayIdParameter = "32" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__33 UpdateHolidayPreferencesHolidayIdParameter = "33" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__34 UpdateHolidayPreferencesHolidayIdParameter = "34" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__35 UpdateHolidayPreferencesHolidayIdParameter = "35" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__36 UpdateHolidayPreferencesHolidayIdParameter = "36" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__37 UpdateHolidayPreferencesHolidayIdParameter = "37" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__38 UpdateHolidayPreferencesHolidayIdParameter = "38" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__39 UpdateHolidayPreferencesHolidayIdParameter = "39" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__40 UpdateHolidayPreferencesHolidayIdParameter = "40" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__41 UpdateHolidayPreferencesHolidayIdParameter = "41" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__42 UpdateHolidayPreferencesHolidayIdParameter = "42" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__43 UpdateHolidayPreferencesHolidayIdParameter = "43" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__44 UpdateHolidayPreferencesHolidayIdParameter = "44" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__45 UpdateHolidayPreferencesHolidayIdParameter = "45" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__46 UpdateHolidayPreferencesHolidayIdParameter = "46" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__47 UpdateHolidayPreferencesHolidayIdParameter = "47" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__48 UpdateHolidayPreferencesHolidayIdParameter = "48" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__49 UpdateHolidayPreferencesHolidayIdParameter = "49" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__50 UpdateHolidayPreferencesHolidayIdParameter = "50" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__51 UpdateHolidayPreferencesHolidayIdParameter = "51" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__52 UpdateHolidayPreferencesHolidayIdParameter = "52" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__53 UpdateHolidayPreferencesHolidayIdParameter = "53" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__54 UpdateHolidayPreferencesHolidayIdParameter = "54" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__55 UpdateHolidayPreferencesHolidayIdParameter = "55" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__56 UpdateHolidayPreferencesHolidayIdParameter = "56" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__57 UpdateHolidayPreferencesHolidayIdParameter = "57" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__58 UpdateHolidayPreferencesHolidayIdParameter = "58" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__59 UpdateHolidayPreferencesHolidayIdParameter = "59" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__60 UpdateHolidayPreferencesHolidayIdParameter = "60" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__61 UpdateHolidayPreferencesHolidayIdParameter = "61" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__62 UpdateHolidayPreferencesHolidayIdParameter = "62" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__63 UpdateHolidayPreferencesHolidayIdParameter = "63" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__64 UpdateHolidayPreferencesHolidayIdParameter = "64" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__65 UpdateHolidayPreferencesHolidayIdParameter = "65" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__66 UpdateHolidayPreferencesHolidayIdParameter = "66" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__67 UpdateHolidayPreferencesHolidayIdParameter = "67" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__68 UpdateHolidayPreferencesHolidayIdParameter = "68" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__69 UpdateHolidayPreferencesHolidayIdParameter = "69" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__70 UpdateHolidayPreferencesHolidayIdParameter = "70" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__71 UpdateHolidayPreferencesHolidayIdParameter = "71" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__72 UpdateHolidayPreferencesHolidayIdParameter = "72" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__73 UpdateHolidayPreferencesHolidayIdParameter = "73" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__74 UpdateHolidayPreferencesHolidayIdParameter = "74" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__75 UpdateHolidayPreferencesHolidayIdParameter = "75" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__76 UpdateHolidayPreferencesHolidayIdParameter = "76" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__77 UpdateHolidayPreferencesHolidayIdParameter = "77" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__78 UpdateHolidayPreferencesHolidayIdParameter = "78" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__79 UpdateHolidayPreferencesHolidayIdParameter = "79" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__80 UpdateHolidayPreferencesHolidayIdParameter = "80" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__81 UpdateHolidayPreferencesHolidayIdParameter = "81" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__82 UpdateHolidayPreferencesHolidayIdParameter = "82" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__83 UpdateHolidayPreferencesHolidayIdParameter = "83" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__84 UpdateHolidayPreferencesHolidayIdParameter = "84" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__85 UpdateHolidayPreferencesHolidayIdParameter = "85" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__86 UpdateHolidayPreferencesHolidayIdParameter = "86" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__87 UpdateHolidayPreferencesHolidayIdParameter = "87" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__88 UpdateHolidayPreferencesHolidayIdParameter = "88" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__89 UpdateHolidayPreferencesHolidayIdParameter = "89" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__90 UpdateHolidayPreferencesHolidayIdParameter = "90" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__91 UpdateHolidayPreferencesHolidayIdParameter = "91" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__92 UpdateHolidayPreferencesHolidayIdParameter = "92" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__93 UpdateHolidayPreferencesHolidayIdParameter = "93" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__94 UpdateHolidayPreferencesHolidayIdParameter = "94" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__95 UpdateHolidayPreferencesHolidayIdParameter = "95" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__96 UpdateHolidayPreferencesHolidayIdParameter = "96" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__97 UpdateHolidayPreferencesHolidayIdParameter = "97" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__98 UpdateHolidayPreferencesHolidayIdParameter = "98" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__99 UpdateHolidayPreferencesHolidayIdParameter = "99" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__100 UpdateHolidayPreferencesHolidayIdParameter = "100" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__101 UpdateHolidayPreferencesHolidayIdParameter = "101" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__102 UpdateHolidayPreferencesHolidayIdParameter = "102" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__103 UpdateHolidayPreferencesHolidayIdParameter = "103" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__104 UpdateHolidayPreferencesHolidayIdParameter = "104" UPDATEHOLIDAYPREFERENCESHOLIDAYIDPARAMETER__105 UpdateHolidayPreferencesHolidayIdParameter = "105" )
List of updateHolidayPreferences_holiday_id_parameter
func NewUpdateHolidayPreferencesHolidayIdParameterFromValue ¶
func NewUpdateHolidayPreferencesHolidayIdParameterFromValue(v string) (*UpdateHolidayPreferencesHolidayIdParameter, error)
NewUpdateHolidayPreferencesHolidayIdParameterFromValue returns a pointer to a valid UpdateHolidayPreferencesHolidayIdParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UpdateHolidayPreferencesHolidayIdParameter) IsValid ¶
func (v UpdateHolidayPreferencesHolidayIdParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UpdateHolidayPreferencesHolidayIdParameter) Ptr ¶
func (v UpdateHolidayPreferencesHolidayIdParameter) Ptr() *UpdateHolidayPreferencesHolidayIdParameter
Ptr returns reference to updateHolidayPreferences_holiday_id_parameter value
func (*UpdateHolidayPreferencesHolidayIdParameter) UnmarshalJSON ¶
func (v *UpdateHolidayPreferencesHolidayIdParameter) UnmarshalJSON(src []byte) error
type UpdateListingDeprecatedRequestState ¶
type UpdateListingDeprecatedRequestState string
UpdateListingDeprecatedRequestState When _updating_ a listing, this value can be either `active` or `inactive`. Note: Setting a `draft` listing to `active` will also publish the listing on etsy.com and requires that the listing have an image set. Setting a `sold_out` listing to active will update the quantity to 1 and renew the listing on etsy.com.
const ( UPDATELISTINGDEPRECATEDREQUESTSTATE_ACTIVE UpdateListingDeprecatedRequestState = "active" UPDATELISTINGDEPRECATEDREQUESTSTATE_INACTIVE UpdateListingDeprecatedRequestState = "inactive" )
List of updateListingDeprecated_request_state
func NewUpdateListingDeprecatedRequestStateFromValue ¶
func NewUpdateListingDeprecatedRequestStateFromValue(v string) (*UpdateListingDeprecatedRequestState, error)
NewUpdateListingDeprecatedRequestStateFromValue returns a pointer to a valid UpdateListingDeprecatedRequestState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UpdateListingDeprecatedRequestState) IsValid ¶
func (v UpdateListingDeprecatedRequestState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UpdateListingDeprecatedRequestState) Ptr ¶
Ptr returns reference to updateListingDeprecated_request_state value
func (*UpdateListingDeprecatedRequestState) UnmarshalJSON ¶
func (v *UpdateListingDeprecatedRequestState) UnmarshalJSON(src []byte) error
type UpdateListingDeprecatedRequestType ¶
type UpdateListingDeprecatedRequestType string
UpdateListingDeprecatedRequestType An enumerated type string that indicates whether the listing is physical or a digital download.
const ( UPDATELISTINGDEPRECATEDREQUESTTYPE_PHYSICAL UpdateListingDeprecatedRequestType = "physical" UPDATELISTINGDEPRECATEDREQUESTTYPE_DOWNLOAD UpdateListingDeprecatedRequestType = "download" UPDATELISTINGDEPRECATEDREQUESTTYPE_BOTH UpdateListingDeprecatedRequestType = "both" )
List of updateListingDeprecated_request_type
func NewUpdateListingDeprecatedRequestTypeFromValue ¶
func NewUpdateListingDeprecatedRequestTypeFromValue(v string) (*UpdateListingDeprecatedRequestType, error)
NewUpdateListingDeprecatedRequestTypeFromValue returns a pointer to a valid UpdateListingDeprecatedRequestType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UpdateListingDeprecatedRequestType) IsValid ¶
func (v UpdateListingDeprecatedRequestType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UpdateListingDeprecatedRequestType) Ptr ¶
func (v UpdateListingDeprecatedRequestType) Ptr() *UpdateListingDeprecatedRequestType
Ptr returns reference to updateListingDeprecated_request_type value
func (*UpdateListingDeprecatedRequestType) UnmarshalJSON ¶
func (v *UpdateListingDeprecatedRequestType) UnmarshalJSON(src []byte) error
type UpdateListingInventoryRequest ¶
type UpdateListingInventoryRequest struct { // A JSON array of products available in a listing, even if only one product. All field names in the JSON blobs are lowercase. Products []UpdateListingInventoryRequestProductsInner `json:"products"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change product prices, if any. For example, if you charge specific prices for different sized products in the same listing, then this array contains the property ID for size. PriceOnProperty []int64 `json:"price_on_property,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change the quantity of the products, if any. For example, if you stock specific quantities of different colored products in the same listing, then this array contains the property ID for color. QuantityOnProperty []int64 `json:"quantity_on_property,omitempty"` // An array of unique [listing property](/documentation/reference#operation/getListingProperties) ID integers for the properties that change the product SKU, if any. For example, if you use specific skus for different colored products in the same listing, then this array contains the property ID for color. SkuOnProperty []int64 `json:"sku_on_property,omitempty"` AdditionalProperties map[string]interface{} }
UpdateListingInventoryRequest struct for UpdateListingInventoryRequest
func NewUpdateListingInventoryRequest ¶
func NewUpdateListingInventoryRequest(products []UpdateListingInventoryRequestProductsInner) *UpdateListingInventoryRequest
NewUpdateListingInventoryRequest instantiates a new UpdateListingInventoryRequest 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
func NewUpdateListingInventoryRequestWithDefaults ¶
func NewUpdateListingInventoryRequestWithDefaults() *UpdateListingInventoryRequest
NewUpdateListingInventoryRequestWithDefaults instantiates a new UpdateListingInventoryRequest 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
func (*UpdateListingInventoryRequest) GetPriceOnProperty ¶
func (o *UpdateListingInventoryRequest) GetPriceOnProperty() []int64
GetPriceOnProperty returns the PriceOnProperty field value if set, zero value otherwise.
func (*UpdateListingInventoryRequest) GetPriceOnPropertyOk ¶
func (o *UpdateListingInventoryRequest) GetPriceOnPropertyOk() ([]int64, bool)
GetPriceOnPropertyOk returns a tuple with the PriceOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequest) GetProducts ¶
func (o *UpdateListingInventoryRequest) GetProducts() []UpdateListingInventoryRequestProductsInner
GetProducts returns the Products field value
func (*UpdateListingInventoryRequest) GetProductsOk ¶
func (o *UpdateListingInventoryRequest) GetProductsOk() ([]UpdateListingInventoryRequestProductsInner, bool)
GetProductsOk returns a tuple with the Products field value and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequest) GetQuantityOnProperty ¶
func (o *UpdateListingInventoryRequest) GetQuantityOnProperty() []int64
GetQuantityOnProperty returns the QuantityOnProperty field value if set, zero value otherwise.
func (*UpdateListingInventoryRequest) GetQuantityOnPropertyOk ¶
func (o *UpdateListingInventoryRequest) GetQuantityOnPropertyOk() ([]int64, bool)
GetQuantityOnPropertyOk returns a tuple with the QuantityOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequest) GetSkuOnProperty ¶
func (o *UpdateListingInventoryRequest) GetSkuOnProperty() []int64
GetSkuOnProperty returns the SkuOnProperty field value if set, zero value otherwise.
func (*UpdateListingInventoryRequest) GetSkuOnPropertyOk ¶
func (o *UpdateListingInventoryRequest) GetSkuOnPropertyOk() ([]int64, bool)
GetSkuOnPropertyOk returns a tuple with the SkuOnProperty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequest) HasPriceOnProperty ¶
func (o *UpdateListingInventoryRequest) HasPriceOnProperty() bool
HasPriceOnProperty returns a boolean if a field has been set.
func (*UpdateListingInventoryRequest) HasQuantityOnProperty ¶
func (o *UpdateListingInventoryRequest) HasQuantityOnProperty() bool
HasQuantityOnProperty returns a boolean if a field has been set.
func (*UpdateListingInventoryRequest) HasSkuOnProperty ¶
func (o *UpdateListingInventoryRequest) HasSkuOnProperty() bool
HasSkuOnProperty returns a boolean if a field has been set.
func (UpdateListingInventoryRequest) MarshalJSON ¶
func (o UpdateListingInventoryRequest) MarshalJSON() ([]byte, error)
func (*UpdateListingInventoryRequest) SetPriceOnProperty ¶
func (o *UpdateListingInventoryRequest) SetPriceOnProperty(v []int64)
SetPriceOnProperty gets a reference to the given []int64 and assigns it to the PriceOnProperty field.
func (*UpdateListingInventoryRequest) SetProducts ¶
func (o *UpdateListingInventoryRequest) SetProducts(v []UpdateListingInventoryRequestProductsInner)
SetProducts sets field value
func (*UpdateListingInventoryRequest) SetQuantityOnProperty ¶
func (o *UpdateListingInventoryRequest) SetQuantityOnProperty(v []int64)
SetQuantityOnProperty gets a reference to the given []int64 and assigns it to the QuantityOnProperty field.
func (*UpdateListingInventoryRequest) SetSkuOnProperty ¶
func (o *UpdateListingInventoryRequest) SetSkuOnProperty(v []int64)
SetSkuOnProperty gets a reference to the given []int64 and assigns it to the SkuOnProperty field.
func (UpdateListingInventoryRequest) ToMap ¶
func (o UpdateListingInventoryRequest) ToMap() (map[string]interface{}, error)
type UpdateListingInventoryRequestProductsInner ¶
type UpdateListingInventoryRequestProductsInner struct { // The SKU string for the product Sku NullableString `json:"sku,omitempty"` // A list of property value entries for this product. Note: parenthesis characters (`(` and `)`) are not allowed. PropertyValues []UpdateListingInventoryRequestProductsInnerPropertyValuesInner `json:"property_values,omitempty"` // A list of product offering entries for this product. Offerings []UpdateListingInventoryRequestProductsInnerOfferingsInner `json:"offerings"` AdditionalProperties map[string]interface{} }
UpdateListingInventoryRequestProductsInner struct for UpdateListingInventoryRequestProductsInner
func NewUpdateListingInventoryRequestProductsInner ¶
func NewUpdateListingInventoryRequestProductsInner(offerings []UpdateListingInventoryRequestProductsInnerOfferingsInner) *UpdateListingInventoryRequestProductsInner
NewUpdateListingInventoryRequestProductsInner instantiates a new UpdateListingInventoryRequestProductsInner 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
func NewUpdateListingInventoryRequestProductsInnerWithDefaults ¶
func NewUpdateListingInventoryRequestProductsInnerWithDefaults() *UpdateListingInventoryRequestProductsInner
NewUpdateListingInventoryRequestProductsInnerWithDefaults instantiates a new UpdateListingInventoryRequestProductsInner 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
func (*UpdateListingInventoryRequestProductsInner) GetOfferings ¶
func (o *UpdateListingInventoryRequestProductsInner) GetOfferings() []UpdateListingInventoryRequestProductsInnerOfferingsInner
GetOfferings returns the Offerings field value
func (*UpdateListingInventoryRequestProductsInner) GetOfferingsOk ¶
func (o *UpdateListingInventoryRequestProductsInner) GetOfferingsOk() ([]UpdateListingInventoryRequestProductsInnerOfferingsInner, bool)
GetOfferingsOk returns a tuple with the Offerings field value and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInner) GetPropertyValues ¶
func (o *UpdateListingInventoryRequestProductsInner) GetPropertyValues() []UpdateListingInventoryRequestProductsInnerPropertyValuesInner
GetPropertyValues returns the PropertyValues field value if set, zero value otherwise.
func (*UpdateListingInventoryRequestProductsInner) GetPropertyValuesOk ¶
func (o *UpdateListingInventoryRequestProductsInner) GetPropertyValuesOk() ([]UpdateListingInventoryRequestProductsInnerPropertyValuesInner, bool)
GetPropertyValuesOk returns a tuple with the PropertyValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInner) GetSku ¶
func (o *UpdateListingInventoryRequestProductsInner) GetSku() string
GetSku returns the Sku field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateListingInventoryRequestProductsInner) GetSkuOk ¶
func (o *UpdateListingInventoryRequestProductsInner) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateListingInventoryRequestProductsInner) HasPropertyValues ¶
func (o *UpdateListingInventoryRequestProductsInner) HasPropertyValues() bool
HasPropertyValues returns a boolean if a field has been set.
func (*UpdateListingInventoryRequestProductsInner) HasSku ¶
func (o *UpdateListingInventoryRequestProductsInner) HasSku() bool
HasSku returns a boolean if a field has been set.
func (UpdateListingInventoryRequestProductsInner) MarshalJSON ¶
func (o UpdateListingInventoryRequestProductsInner) MarshalJSON() ([]byte, error)
func (*UpdateListingInventoryRequestProductsInner) SetOfferings ¶
func (o *UpdateListingInventoryRequestProductsInner) SetOfferings(v []UpdateListingInventoryRequestProductsInnerOfferingsInner)
SetOfferings sets field value
func (*UpdateListingInventoryRequestProductsInner) SetPropertyValues ¶
func (o *UpdateListingInventoryRequestProductsInner) SetPropertyValues(v []UpdateListingInventoryRequestProductsInnerPropertyValuesInner)
SetPropertyValues gets a reference to the given []UpdateListingInventoryRequestProductsInnerPropertyValuesInner and assigns it to the PropertyValues field.
func (*UpdateListingInventoryRequestProductsInner) SetSku ¶
func (o *UpdateListingInventoryRequestProductsInner) SetSku(v string)
SetSku gets a reference to the given NullableString and assigns it to the Sku field.
func (*UpdateListingInventoryRequestProductsInner) SetSkuNil ¶
func (o *UpdateListingInventoryRequestProductsInner) SetSkuNil()
SetSkuNil sets the value for Sku to be an explicit nil
func (UpdateListingInventoryRequestProductsInner) ToMap ¶
func (o UpdateListingInventoryRequestProductsInner) ToMap() (map[string]interface{}, error)
func (*UpdateListingInventoryRequestProductsInner) UnsetSku ¶
func (o *UpdateListingInventoryRequestProductsInner) UnsetSku()
UnsetSku ensures that no value is present for Sku, not even an explicit nil
type UpdateListingInventoryRequestProductsInnerOfferingsInner ¶
type UpdateListingInventoryRequestProductsInnerOfferingsInner struct { // The price of the product. Price float32 `json:"price"` // How many of this product are available? Quantity int64 `json:"quantity"` // True if the offering is shown to buyers IsEnabled bool `json:"is_enabled"` AdditionalProperties map[string]interface{} }
UpdateListingInventoryRequestProductsInnerOfferingsInner struct for UpdateListingInventoryRequestProductsInnerOfferingsInner
func NewUpdateListingInventoryRequestProductsInnerOfferingsInner ¶
func NewUpdateListingInventoryRequestProductsInnerOfferingsInner(price float32, quantity int64, isEnabled bool) *UpdateListingInventoryRequestProductsInnerOfferingsInner
NewUpdateListingInventoryRequestProductsInnerOfferingsInner instantiates a new UpdateListingInventoryRequestProductsInnerOfferingsInner 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
func NewUpdateListingInventoryRequestProductsInnerOfferingsInnerWithDefaults ¶
func NewUpdateListingInventoryRequestProductsInnerOfferingsInnerWithDefaults() *UpdateListingInventoryRequestProductsInnerOfferingsInner
NewUpdateListingInventoryRequestProductsInnerOfferingsInnerWithDefaults instantiates a new UpdateListingInventoryRequestProductsInnerOfferingsInner 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
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) GetIsEnabled ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field value
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) GetIsEnabledOk ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetIsEnabledOk() (*bool, bool)
GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) GetPrice ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetPrice() float32
GetPrice returns the Price field value
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) GetPriceOk ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) GetQuantity ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetQuantity() int64
GetQuantity returns the Quantity field value
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) GetQuantityOk ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) GetQuantityOk() (*int64, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (UpdateListingInventoryRequestProductsInnerOfferingsInner) MarshalJSON ¶
func (o UpdateListingInventoryRequestProductsInnerOfferingsInner) MarshalJSON() ([]byte, error)
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) SetIsEnabled ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) SetIsEnabled(v bool)
SetIsEnabled sets field value
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) SetPrice ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) SetPrice(v float32)
SetPrice sets field value
func (*UpdateListingInventoryRequestProductsInnerOfferingsInner) SetQuantity ¶
func (o *UpdateListingInventoryRequestProductsInnerOfferingsInner) SetQuantity(v int64)
SetQuantity sets field value
func (UpdateListingInventoryRequestProductsInnerOfferingsInner) ToMap ¶
func (o UpdateListingInventoryRequestProductsInnerOfferingsInner) ToMap() (map[string]interface{}, error)
type UpdateListingInventoryRequestProductsInnerPropertyValuesInner ¶
type UpdateListingInventoryRequestProductsInnerPropertyValuesInner struct { // The unique ID of an Etsy [listing property](/documentation/reference#operation/getListingProperties). PropertyId int64 `json:"property_id"` // An array of unique IDs of multiple Etsy [listing property](/documentation/reference#operation/getListingProperties) values. For example, if your listing offers different sizes of a product, then the value ID list contains value IDs for each size. ValueIds []int64 `json:"value_ids"` // The numeric ID of a single Etsy.com measurement scale. For example, for shoe size, there are three `scale_id`s available - `UK`, `US/Canada`, and `EU`, where `US/Canada` has `scale_id` 19. ScaleId NullableInt64 `json:"scale_id,omitempty"` // The name of the property, in the requested locale language. PropertyName *string `json:"property_name,omitempty"` // A list of property value entries for this product. Note: parenthesis characters (`(` and `)`) are not allowed. Values []string `json:"values"` AdditionalProperties map[string]interface{} }
UpdateListingInventoryRequestProductsInnerPropertyValuesInner struct for UpdateListingInventoryRequestProductsInnerPropertyValuesInner
func NewUpdateListingInventoryRequestProductsInnerPropertyValuesInner ¶
func NewUpdateListingInventoryRequestProductsInnerPropertyValuesInner(propertyId int64, valueIds []int64, values []string) *UpdateListingInventoryRequestProductsInnerPropertyValuesInner
NewUpdateListingInventoryRequestProductsInnerPropertyValuesInner instantiates a new UpdateListingInventoryRequestProductsInnerPropertyValuesInner 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
func NewUpdateListingInventoryRequestProductsInnerPropertyValuesInnerWithDefaults ¶
func NewUpdateListingInventoryRequestProductsInnerPropertyValuesInnerWithDefaults() *UpdateListingInventoryRequestProductsInnerPropertyValuesInner
NewUpdateListingInventoryRequestProductsInnerPropertyValuesInnerWithDefaults instantiates a new UpdateListingInventoryRequestProductsInnerPropertyValuesInner 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
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyId ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyId() int64
GetPropertyId returns the PropertyId field value
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyIdOk ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyIdOk() (*int64, bool)
GetPropertyIdOk returns a tuple with the PropertyId field value and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyName ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyName() string
GetPropertyName returns the PropertyName field value if set, zero value otherwise.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyNameOk ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetPropertyNameOk() (*string, bool)
GetPropertyNameOk returns a tuple with the PropertyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetScaleId ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetScaleId() int64
GetScaleId returns the ScaleId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetScaleIdOk ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetScaleIdOk() (*int64, bool)
GetScaleIdOk returns a tuple with the ScaleId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValueIds ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValueIds() []int64
GetValueIds returns the ValueIds field value
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValueIdsOk ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValueIdsOk() ([]int64, bool)
GetValueIdsOk returns a tuple with the ValueIds field value and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValues ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValues() []string
GetValues returns the Values field value
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValuesOk ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) GetValuesOk() ([]string, bool)
GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) HasPropertyName ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) HasPropertyName() bool
HasPropertyName returns a boolean if a field has been set.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) HasScaleId ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) HasScaleId() bool
HasScaleId returns a boolean if a field has been set.
func (UpdateListingInventoryRequestProductsInnerPropertyValuesInner) MarshalJSON ¶
func (o UpdateListingInventoryRequestProductsInnerPropertyValuesInner) MarshalJSON() ([]byte, error)
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetPropertyId ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetPropertyId(v int64)
SetPropertyId sets field value
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetPropertyName ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetPropertyName(v string)
SetPropertyName gets a reference to the given string and assigns it to the PropertyName field.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetScaleId ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetScaleId(v int64)
SetScaleId gets a reference to the given NullableInt64 and assigns it to the ScaleId field.
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetScaleIdNil ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetScaleIdNil()
SetScaleIdNil sets the value for ScaleId to be an explicit nil
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetValueIds ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetValueIds(v []int64)
SetValueIds sets field value
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetValues ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) SetValues(v []string)
SetValues sets field value
func (UpdateListingInventoryRequestProductsInnerPropertyValuesInner) ToMap ¶
func (o UpdateListingInventoryRequestProductsInnerPropertyValuesInner) ToMap() (map[string]interface{}, error)
func (*UpdateListingInventoryRequestProductsInnerPropertyValuesInner) UnsetScaleId ¶
func (o *UpdateListingInventoryRequestProductsInnerPropertyValuesInner) UnsetScaleId()
UnsetScaleId ensures that no value is present for ScaleId, not even an explicit nil
type UpdateListingRequestItemDimensionsUnit ¶
type UpdateListingRequestItemDimensionsUnit string
UpdateListingRequestItemDimensionsUnit A string defining the units used to measure the dimensions of the product. Default value is null.
const ( UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_EMPTY UpdateListingRequestItemDimensionsUnit = "" UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_IN UpdateListingRequestItemDimensionsUnit = "in" UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_FT UpdateListingRequestItemDimensionsUnit = "ft" UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_MM UpdateListingRequestItemDimensionsUnit = "mm" UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_CM UpdateListingRequestItemDimensionsUnit = "cm" UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_M UpdateListingRequestItemDimensionsUnit = "m" UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_YD UpdateListingRequestItemDimensionsUnit = "yd" UPDATELISTINGREQUESTITEMDIMENSIONSUNIT_INCHES UpdateListingRequestItemDimensionsUnit = "inches" )
List of updateListing_request_item_dimensions_unit
func NewUpdateListingRequestItemDimensionsUnitFromValue ¶
func NewUpdateListingRequestItemDimensionsUnitFromValue(v string) (*UpdateListingRequestItemDimensionsUnit, error)
NewUpdateListingRequestItemDimensionsUnitFromValue returns a pointer to a valid UpdateListingRequestItemDimensionsUnit for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UpdateListingRequestItemDimensionsUnit) IsValid ¶
func (v UpdateListingRequestItemDimensionsUnit) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UpdateListingRequestItemDimensionsUnit) Ptr ¶
Ptr returns reference to updateListing_request_item_dimensions_unit value
func (*UpdateListingRequestItemDimensionsUnit) UnmarshalJSON ¶
func (v *UpdateListingRequestItemDimensionsUnit) UnmarshalJSON(src []byte) error
type UpdateListingRequestItemWeightUnit ¶
type UpdateListingRequestItemWeightUnit string
UpdateListingRequestItemWeightUnit A string defining the units used to measure the weight of the product. Default value is null.
const ( UPDATELISTINGREQUESTITEMWEIGHTUNIT_EMPTY UpdateListingRequestItemWeightUnit = "" UPDATELISTINGREQUESTITEMWEIGHTUNIT_OZ UpdateListingRequestItemWeightUnit = "oz" UPDATELISTINGREQUESTITEMWEIGHTUNIT_LB UpdateListingRequestItemWeightUnit = "lb" UPDATELISTINGREQUESTITEMWEIGHTUNIT_G UpdateListingRequestItemWeightUnit = "g" UPDATELISTINGREQUESTITEMWEIGHTUNIT_KG UpdateListingRequestItemWeightUnit = "kg" )
List of updateListing_request_item_weight_unit
func NewUpdateListingRequestItemWeightUnitFromValue ¶
func NewUpdateListingRequestItemWeightUnitFromValue(v string) (*UpdateListingRequestItemWeightUnit, error)
NewUpdateListingRequestItemWeightUnitFromValue returns a pointer to a valid UpdateListingRequestItemWeightUnit for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UpdateListingRequestItemWeightUnit) IsValid ¶
func (v UpdateListingRequestItemWeightUnit) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UpdateListingRequestItemWeightUnit) Ptr ¶
func (v UpdateListingRequestItemWeightUnit) Ptr() *UpdateListingRequestItemWeightUnit
Ptr returns reference to updateListing_request_item_weight_unit value
func (*UpdateListingRequestItemWeightUnit) UnmarshalJSON ¶
func (v *UpdateListingRequestItemWeightUnit) UnmarshalJSON(src []byte) error
type UpdateVariationImagesRequest ¶
type UpdateVariationImagesRequest struct { // A list of variation image data. VariationImages []UpdateVariationImagesRequestVariationImagesInner `json:"variation_images"` AdditionalProperties map[string]interface{} }
UpdateVariationImagesRequest struct for UpdateVariationImagesRequest
func NewUpdateVariationImagesRequest ¶
func NewUpdateVariationImagesRequest(variationImages []UpdateVariationImagesRequestVariationImagesInner) *UpdateVariationImagesRequest
NewUpdateVariationImagesRequest instantiates a new UpdateVariationImagesRequest 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
func NewUpdateVariationImagesRequestWithDefaults ¶
func NewUpdateVariationImagesRequestWithDefaults() *UpdateVariationImagesRequest
NewUpdateVariationImagesRequestWithDefaults instantiates a new UpdateVariationImagesRequest 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
func (*UpdateVariationImagesRequest) GetVariationImages ¶
func (o *UpdateVariationImagesRequest) GetVariationImages() []UpdateVariationImagesRequestVariationImagesInner
GetVariationImages returns the VariationImages field value
func (*UpdateVariationImagesRequest) GetVariationImagesOk ¶
func (o *UpdateVariationImagesRequest) GetVariationImagesOk() ([]UpdateVariationImagesRequestVariationImagesInner, bool)
GetVariationImagesOk returns a tuple with the VariationImages field value and a boolean to check if the value has been set.
func (UpdateVariationImagesRequest) MarshalJSON ¶
func (o UpdateVariationImagesRequest) MarshalJSON() ([]byte, error)
func (*UpdateVariationImagesRequest) SetVariationImages ¶
func (o *UpdateVariationImagesRequest) SetVariationImages(v []UpdateVariationImagesRequestVariationImagesInner)
SetVariationImages sets field value
func (UpdateVariationImagesRequest) ToMap ¶
func (o UpdateVariationImagesRequest) ToMap() (map[string]interface{}, error)
type UpdateVariationImagesRequestVariationImagesInner ¶
type UpdateVariationImagesRequestVariationImagesInner struct { PropertyId int64 `json:"property_id"` ValueId int64 `json:"value_id"` ImageId int64 `json:"image_id"` AdditionalProperties map[string]interface{} }
UpdateVariationImagesRequestVariationImagesInner struct for UpdateVariationImagesRequestVariationImagesInner
func NewUpdateVariationImagesRequestVariationImagesInner ¶
func NewUpdateVariationImagesRequestVariationImagesInner(propertyId int64, valueId int64, imageId int64) *UpdateVariationImagesRequestVariationImagesInner
NewUpdateVariationImagesRequestVariationImagesInner instantiates a new UpdateVariationImagesRequestVariationImagesInner 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
func NewUpdateVariationImagesRequestVariationImagesInnerWithDefaults ¶
func NewUpdateVariationImagesRequestVariationImagesInnerWithDefaults() *UpdateVariationImagesRequestVariationImagesInner
NewUpdateVariationImagesRequestVariationImagesInnerWithDefaults instantiates a new UpdateVariationImagesRequestVariationImagesInner 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
func (*UpdateVariationImagesRequestVariationImagesInner) GetImageId ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) GetImageId() int64
GetImageId returns the ImageId field value
func (*UpdateVariationImagesRequestVariationImagesInner) GetImageIdOk ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) GetImageIdOk() (*int64, bool)
GetImageIdOk returns a tuple with the ImageId field value and a boolean to check if the value has been set.
func (*UpdateVariationImagesRequestVariationImagesInner) GetPropertyId ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) GetPropertyId() int64
GetPropertyId returns the PropertyId field value
func (*UpdateVariationImagesRequestVariationImagesInner) GetPropertyIdOk ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) GetPropertyIdOk() (*int64, bool)
GetPropertyIdOk returns a tuple with the PropertyId field value and a boolean to check if the value has been set.
func (*UpdateVariationImagesRequestVariationImagesInner) GetValueId ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) GetValueId() int64
GetValueId returns the ValueId field value
func (*UpdateVariationImagesRequestVariationImagesInner) GetValueIdOk ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) GetValueIdOk() (*int64, bool)
GetValueIdOk returns a tuple with the ValueId field value and a boolean to check if the value has been set.
func (UpdateVariationImagesRequestVariationImagesInner) MarshalJSON ¶
func (o UpdateVariationImagesRequestVariationImagesInner) MarshalJSON() ([]byte, error)
func (*UpdateVariationImagesRequestVariationImagesInner) SetImageId ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) SetImageId(v int64)
SetImageId sets field value
func (*UpdateVariationImagesRequestVariationImagesInner) SetPropertyId ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) SetPropertyId(v int64)
SetPropertyId sets field value
func (*UpdateVariationImagesRequestVariationImagesInner) SetValueId ¶
func (o *UpdateVariationImagesRequestVariationImagesInner) SetValueId(v int64)
SetValueId sets field value
func (UpdateVariationImagesRequestVariationImagesInner) ToMap ¶
func (o UpdateVariationImagesRequestVariationImagesInner) ToMap() (map[string]interface{}, error)
type User ¶
type User struct { // The numeric ID of a user. This number is also a valid shop ID for the user\\'s shop. UserId *int64 `json:"user_id,omitempty"` // An email address string for the user\\'s primary email address. Access to this field is granted on a case by case basis for third-party integrations that require full access PrimaryEmail NullableString `json:"primary_email,omitempty"` // The user\\'s first name. FirstName NullableString `json:"first_name,omitempty"` // The user\\'s last name. LastName NullableString `json:"last_name,omitempty"` // The user\\'s avatar URL. ImageUrl75x75 NullableString `json:"image_url_75x75,omitempty"` AdditionalProperties map[string]interface{} }
User Represents a single user of the site
func NewUser ¶
func NewUser() *User
NewUser instantiates a new User 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
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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
func (*User) GetFirstName ¶
GetFirstName returns the FirstName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetFirstNameOk ¶
GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetImageUrl75x75 ¶
GetImageUrl75x75 returns the ImageUrl75x75 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetImageUrl75x75Ok ¶
GetImageUrl75x75Ok returns a tuple with the ImageUrl75x75 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetLastName ¶
GetLastName returns the LastName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetLastNameOk ¶
GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetPrimaryEmail ¶
GetPrimaryEmail returns the PrimaryEmail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetPrimaryEmailOk ¶
GetPrimaryEmailOk returns a tuple with the PrimaryEmail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetUserIdOk ¶
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) HasFirstName ¶
HasFirstName returns a boolean if a field has been set.
func (*User) HasImageUrl75x75 ¶
HasImageUrl75x75 returns a boolean if a field has been set.
func (*User) HasLastName ¶
HasLastName returns a boolean if a field has been set.
func (*User) HasPrimaryEmail ¶
HasPrimaryEmail returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetFirstName ¶
SetFirstName gets a reference to the given NullableString and assigns it to the FirstName field.
func (*User) SetFirstNameNil ¶
func (o *User) SetFirstNameNil()
SetFirstNameNil sets the value for FirstName to be an explicit nil
func (*User) SetImageUrl75x75 ¶
SetImageUrl75x75 gets a reference to the given NullableString and assigns it to the ImageUrl75x75 field.
func (*User) SetImageUrl75x75Nil ¶
func (o *User) SetImageUrl75x75Nil()
SetImageUrl75x75Nil sets the value for ImageUrl75x75 to be an explicit nil
func (*User) SetLastName ¶
SetLastName gets a reference to the given NullableString and assigns it to the LastName field.
func (*User) SetLastNameNil ¶
func (o *User) SetLastNameNil()
SetLastNameNil sets the value for LastName to be an explicit nil
func (*User) SetPrimaryEmail ¶
SetPrimaryEmail gets a reference to the given NullableString and assigns it to the PrimaryEmail field.
func (*User) SetPrimaryEmailNil ¶
func (o *User) SetPrimaryEmailNil()
SetPrimaryEmailNil sets the value for PrimaryEmail to be an explicit nil
func (*User) SetUserId ¶
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (*User) UnsetFirstName ¶
func (o *User) UnsetFirstName()
UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil
func (*User) UnsetImageUrl75x75 ¶
func (o *User) UnsetImageUrl75x75()
UnsetImageUrl75x75 ensures that no value is present for ImageUrl75x75, not even an explicit nil
func (*User) UnsetLastName ¶
func (o *User) UnsetLastName()
UnsetLastName ensures that no value is present for LastName, not even an explicit nil
func (*User) UnsetPrimaryEmail ¶
func (o *User) UnsetPrimaryEmail()
UnsetPrimaryEmail ensures that no value is present for PrimaryEmail, not even an explicit nil
type UserAPI ¶
type UserAPI interface { /* GetMe Method for GetMe <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Returns basic info for the user making the request. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIGetMeRequest */ GetMe(ctx context.Context) UserAPIGetMeRequest // GetMeExecute executes the request // @return Self GetMeExecute(r UserAPIGetMeRequest) (*Self, *http.Response, error) /* GetUser Method for GetUser <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Retrieves a user profile based on a unique user ID. Access is limited to profiles of the authenticated user or linked buyers. For the primary_email field, specific app-based permissions are required and granted case-by-case. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UserAPIGetUserRequest */ GetUser(ctx context.Context, userId int64) UserAPIGetUserRequest // GetUserExecute executes the request // @return User GetUserExecute(r UserAPIGetUserRequest) (*User, *http.Response, error) }
type UserAPIGetMeRequest ¶
type UserAPIGetMeRequest struct { ApiService UserAPI // contains filtered or unexported fields }
type UserAPIGetUserRequest ¶
type UserAPIGetUserRequest struct { ApiService UserAPI // contains filtered or unexported fields }
type UserAPIService ¶
type UserAPIService service
UserAPIService UserAPI service
func (*UserAPIService) GetMe ¶
func (a *UserAPIService) GetMe(ctx context.Context) UserAPIGetMeRequest
GetMe Method for GetMe
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Returns basic info for the user making the request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAPIGetMeRequest
func (*UserAPIService) GetMeExecute ¶
func (a *UserAPIService) GetMeExecute(r UserAPIGetMeRequest) (*Self, *http.Response, error)
Execute executes the request
@return Self
func (*UserAPIService) GetUser ¶
func (a *UserAPIService) GetUser(ctx context.Context, userId int64) UserAPIGetUserRequest
GetUser Method for GetUser
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Retrieves a user profile based on a unique user ID. Access is limited to profiles of the authenticated user or linked buyers. For the primary_email field, specific app-based permissions are required and granted case-by-case.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return UserAPIGetUserRequest
func (*UserAPIService) GetUserExecute ¶
func (a *UserAPIService) GetUserExecute(r UserAPIGetUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
type UserAddress ¶
type UserAddress struct { // The numeric ID of the user's address. UserAddressId *int64 `json:"user_address_id,omitempty"` // The user's numeric ID. UserId *int64 `json:"user_id,omitempty"` // The user's name for this address. Name *string `json:"name,omitempty"` // The first line of the user's address. FirstLine *string `json:"first_line,omitempty"` // The second line of the user's address. SecondLine NullableString `json:"second_line,omitempty"` // The city field of the user's address. City *string `json:"city,omitempty"` // The state field of the user's address. State NullableString `json:"state,omitempty"` // The zip code field of the user's address. Zip NullableString `json:"zip,omitempty"` // The ISO code of the country in this address. IsoCountryCode NullableString `json:"iso_country_code,omitempty"` // The name of the user's country. CountryName NullableString `json:"country_name,omitempty"` // Is this the user's default shipping address. IsDefaultShippingAddress *bool `json:"is_default_shipping_address,omitempty"` AdditionalProperties map[string]interface{} }
UserAddress Represents a user's address.
func NewUserAddress ¶
func NewUserAddress() *UserAddress
NewUserAddress instantiates a new UserAddress 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
func NewUserAddressWithDefaults ¶
func NewUserAddressWithDefaults() *UserAddress
NewUserAddressWithDefaults instantiates a new UserAddress 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
func (*UserAddress) GetCity ¶
func (o *UserAddress) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*UserAddress) GetCityOk ¶
func (o *UserAddress) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddress) GetCountryName ¶
func (o *UserAddress) GetCountryName() string
GetCountryName returns the CountryName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserAddress) GetCountryNameOk ¶
func (o *UserAddress) GetCountryNameOk() (*string, bool)
GetCountryNameOk returns a tuple with the CountryName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserAddress) GetFirstLine ¶
func (o *UserAddress) GetFirstLine() string
GetFirstLine returns the FirstLine field value if set, zero value otherwise.
func (*UserAddress) GetFirstLineOk ¶
func (o *UserAddress) GetFirstLineOk() (*string, bool)
GetFirstLineOk returns a tuple with the FirstLine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddress) GetIsDefaultShippingAddress ¶
func (o *UserAddress) GetIsDefaultShippingAddress() bool
GetIsDefaultShippingAddress returns the IsDefaultShippingAddress field value if set, zero value otherwise.
func (*UserAddress) GetIsDefaultShippingAddressOk ¶
func (o *UserAddress) GetIsDefaultShippingAddressOk() (*bool, bool)
GetIsDefaultShippingAddressOk returns a tuple with the IsDefaultShippingAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddress) GetIsoCountryCode ¶
func (o *UserAddress) GetIsoCountryCode() string
GetIsoCountryCode returns the IsoCountryCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserAddress) GetIsoCountryCodeOk ¶
func (o *UserAddress) GetIsoCountryCodeOk() (*string, bool)
GetIsoCountryCodeOk returns a tuple with the IsoCountryCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserAddress) GetName ¶
func (o *UserAddress) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UserAddress) GetNameOk ¶
func (o *UserAddress) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddress) GetSecondLine ¶
func (o *UserAddress) GetSecondLine() string
GetSecondLine returns the SecondLine field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserAddress) GetSecondLineOk ¶
func (o *UserAddress) GetSecondLineOk() (*string, bool)
GetSecondLineOk returns a tuple with the SecondLine field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserAddress) GetState ¶
func (o *UserAddress) GetState() string
GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserAddress) GetStateOk ¶
func (o *UserAddress) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserAddress) GetUserAddressId ¶
func (o *UserAddress) GetUserAddressId() int64
GetUserAddressId returns the UserAddressId field value if set, zero value otherwise.
func (*UserAddress) GetUserAddressIdOk ¶
func (o *UserAddress) GetUserAddressIdOk() (*int64, bool)
GetUserAddressIdOk returns a tuple with the UserAddressId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddress) GetUserId ¶
func (o *UserAddress) GetUserId() int64
GetUserId returns the UserId field value if set, zero value otherwise.
func (*UserAddress) GetUserIdOk ¶
func (o *UserAddress) GetUserIdOk() (*int64, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddress) GetZip ¶
func (o *UserAddress) GetZip() string
GetZip returns the Zip field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserAddress) GetZipOk ¶
func (o *UserAddress) GetZipOk() (*string, bool)
GetZipOk returns a tuple with the Zip field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UserAddress) HasCity ¶
func (o *UserAddress) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*UserAddress) HasCountryName ¶
func (o *UserAddress) HasCountryName() bool
HasCountryName returns a boolean if a field has been set.
func (*UserAddress) HasFirstLine ¶
func (o *UserAddress) HasFirstLine() bool
HasFirstLine returns a boolean if a field has been set.
func (*UserAddress) HasIsDefaultShippingAddress ¶
func (o *UserAddress) HasIsDefaultShippingAddress() bool
HasIsDefaultShippingAddress returns a boolean if a field has been set.
func (*UserAddress) HasIsoCountryCode ¶
func (o *UserAddress) HasIsoCountryCode() bool
HasIsoCountryCode returns a boolean if a field has been set.
func (*UserAddress) HasName ¶
func (o *UserAddress) HasName() bool
HasName returns a boolean if a field has been set.
func (*UserAddress) HasSecondLine ¶
func (o *UserAddress) HasSecondLine() bool
HasSecondLine returns a boolean if a field has been set.
func (*UserAddress) HasState ¶
func (o *UserAddress) HasState() bool
HasState returns a boolean if a field has been set.
func (*UserAddress) HasUserAddressId ¶
func (o *UserAddress) HasUserAddressId() bool
HasUserAddressId returns a boolean if a field has been set.
func (*UserAddress) HasUserId ¶
func (o *UserAddress) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (*UserAddress) HasZip ¶
func (o *UserAddress) HasZip() bool
HasZip returns a boolean if a field has been set.
func (UserAddress) MarshalJSON ¶
func (o UserAddress) MarshalJSON() ([]byte, error)
func (*UserAddress) SetCity ¶
func (o *UserAddress) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*UserAddress) SetCountryName ¶
func (o *UserAddress) SetCountryName(v string)
SetCountryName gets a reference to the given NullableString and assigns it to the CountryName field.
func (*UserAddress) SetCountryNameNil ¶
func (o *UserAddress) SetCountryNameNil()
SetCountryNameNil sets the value for CountryName to be an explicit nil
func (*UserAddress) SetFirstLine ¶
func (o *UserAddress) SetFirstLine(v string)
SetFirstLine gets a reference to the given string and assigns it to the FirstLine field.
func (*UserAddress) SetIsDefaultShippingAddress ¶
func (o *UserAddress) SetIsDefaultShippingAddress(v bool)
SetIsDefaultShippingAddress gets a reference to the given bool and assigns it to the IsDefaultShippingAddress field.
func (*UserAddress) SetIsoCountryCode ¶
func (o *UserAddress) SetIsoCountryCode(v string)
SetIsoCountryCode gets a reference to the given NullableString and assigns it to the IsoCountryCode field.
func (*UserAddress) SetIsoCountryCodeNil ¶
func (o *UserAddress) SetIsoCountryCodeNil()
SetIsoCountryCodeNil sets the value for IsoCountryCode to be an explicit nil
func (*UserAddress) SetName ¶
func (o *UserAddress) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UserAddress) SetSecondLine ¶
func (o *UserAddress) SetSecondLine(v string)
SetSecondLine gets a reference to the given NullableString and assigns it to the SecondLine field.
func (*UserAddress) SetSecondLineNil ¶
func (o *UserAddress) SetSecondLineNil()
SetSecondLineNil sets the value for SecondLine to be an explicit nil
func (*UserAddress) SetState ¶
func (o *UserAddress) SetState(v string)
SetState gets a reference to the given NullableString and assigns it to the State field.
func (*UserAddress) SetStateNil ¶
func (o *UserAddress) SetStateNil()
SetStateNil sets the value for State to be an explicit nil
func (*UserAddress) SetUserAddressId ¶
func (o *UserAddress) SetUserAddressId(v int64)
SetUserAddressId gets a reference to the given int64 and assigns it to the UserAddressId field.
func (*UserAddress) SetUserId ¶
func (o *UserAddress) SetUserId(v int64)
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (*UserAddress) SetZip ¶
func (o *UserAddress) SetZip(v string)
SetZip gets a reference to the given NullableString and assigns it to the Zip field.
func (*UserAddress) SetZipNil ¶
func (o *UserAddress) SetZipNil()
SetZipNil sets the value for Zip to be an explicit nil
func (UserAddress) ToMap ¶
func (o UserAddress) ToMap() (map[string]interface{}, error)
func (*UserAddress) UnsetCountryName ¶
func (o *UserAddress) UnsetCountryName()
UnsetCountryName ensures that no value is present for CountryName, not even an explicit nil
func (*UserAddress) UnsetIsoCountryCode ¶
func (o *UserAddress) UnsetIsoCountryCode()
UnsetIsoCountryCode ensures that no value is present for IsoCountryCode, not even an explicit nil
func (*UserAddress) UnsetSecondLine ¶
func (o *UserAddress) UnsetSecondLine()
UnsetSecondLine ensures that no value is present for SecondLine, not even an explicit nil
func (*UserAddress) UnsetState ¶
func (o *UserAddress) UnsetState()
UnsetState ensures that no value is present for State, not even an explicit nil
func (*UserAddress) UnsetZip ¶
func (o *UserAddress) UnsetZip()
UnsetZip ensures that no value is present for Zip, not even an explicit nil
type UserAddressAPI ¶
type UserAddressAPI interface { /* DeleteUserAddress Method for DeleteUserAddress <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 endpoint to delete a UserAddress for a User. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userAddressId The numeric ID of the user's address. @return UserAddressAPIDeleteUserAddressRequest */ DeleteUserAddress(ctx context.Context, userAddressId int64) UserAddressAPIDeleteUserAddressRequest // DeleteUserAddressExecute executes the request DeleteUserAddressExecute(r UserAddressAPIDeleteUserAddressRequest) (*http.Response, error) /* GetUserAddress Method for GetUserAddress <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationTertiary wt-mr-xs-2"> Feedback only </span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Give feedback</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">Development for this endpoint is in progress. It will only return a 501 response.</p></div> Open API V3 endpoint to retrieve a UserAddress for a User. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userAddressId The numeric ID of the user's address. @return UserAddressAPIGetUserAddressRequest */ GetUserAddress(ctx context.Context, userAddressId int64) UserAddressAPIGetUserAddressRequest // GetUserAddressExecute executes the request // @return UserAddress GetUserAddressExecute(r UserAddressAPIGetUserAddressRequest) (*UserAddress, *http.Response, error) /* GetUserAddresses Method for GetUserAddresses <div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div> Open API V3 endpoint to retrieve UserAddresses for a User. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAddressAPIGetUserAddressesRequest */ GetUserAddresses(ctx context.Context) UserAddressAPIGetUserAddressesRequest // GetUserAddressesExecute executes the request // @return UserAddresses GetUserAddressesExecute(r UserAddressAPIGetUserAddressesRequest) (*UserAddresses, *http.Response, error) }
type UserAddressAPIDeleteUserAddressRequest ¶
type UserAddressAPIDeleteUserAddressRequest struct { ApiService UserAddressAPI // contains filtered or unexported fields }
type UserAddressAPIGetUserAddressRequest ¶
type UserAddressAPIGetUserAddressRequest struct { ApiService UserAddressAPI // contains filtered or unexported fields }
func (UserAddressAPIGetUserAddressRequest) Execute ¶
func (r UserAddressAPIGetUserAddressRequest) Execute() (*UserAddress, *http.Response, error)
type UserAddressAPIGetUserAddressesRequest ¶
type UserAddressAPIGetUserAddressesRequest struct { ApiService UserAddressAPI // contains filtered or unexported fields }
func (UserAddressAPIGetUserAddressesRequest) Execute ¶
func (r UserAddressAPIGetUserAddressesRequest) Execute() (*UserAddresses, *http.Response, error)
func (UserAddressAPIGetUserAddressesRequest) Limit ¶
func (r UserAddressAPIGetUserAddressesRequest) Limit(limit int64) UserAddressAPIGetUserAddressesRequest
The maximum number of results to return.
func (UserAddressAPIGetUserAddressesRequest) Offset ¶
func (r UserAddressAPIGetUserAddressesRequest) Offset(offset int64) UserAddressAPIGetUserAddressesRequest
The number of records to skip before selecting the first result.
type UserAddressAPIService ¶
type UserAddressAPIService service
UserAddressAPIService UserAddressAPI service
func (*UserAddressAPIService) DeleteUserAddress ¶
func (a *UserAddressAPIService) DeleteUserAddress(ctx context.Context, userAddressId int64) UserAddressAPIDeleteUserAddressRequest
DeleteUserAddress Method for DeleteUserAddress
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 endpoint to delete a UserAddress for a User.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userAddressId The numeric ID of the user's address. @return UserAddressAPIDeleteUserAddressRequest
func (*UserAddressAPIService) DeleteUserAddressExecute ¶
func (a *UserAddressAPIService) DeleteUserAddressExecute(r UserAddressAPIDeleteUserAddressRequest) (*http.Response, error)
Execute executes the request
func (*UserAddressAPIService) GetUserAddress ¶
func (a *UserAddressAPIService) GetUserAddress(ctx context.Context, userAddressId int64) UserAddressAPIGetUserAddressRequest
GetUserAddress Method for GetUserAddress
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationTertiary wt-mr-xs-2"> Feedback only </span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Give feedback</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">Development for this endpoint is in progress. It will only return a 501 response.</p></div>
Open API V3 endpoint to retrieve a UserAddress for a User.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userAddressId The numeric ID of the user's address. @return UserAddressAPIGetUserAddressRequest
func (*UserAddressAPIService) GetUserAddressExecute ¶
func (a *UserAddressAPIService) GetUserAddressExecute(r UserAddressAPIGetUserAddressRequest) (*UserAddress, *http.Response, error)
Execute executes the request
@return UserAddress
func (*UserAddressAPIService) GetUserAddresses ¶
func (a *UserAddressAPIService) GetUserAddresses(ctx context.Context) UserAddressAPIGetUserAddressesRequest
GetUserAddresses Method for GetUserAddresses
<div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><span class="wt-badge wt-badge--notificationPrimary wt-bg-slime-tint wt-mr-xs-2">General Release</span><a class="wt-text-link" href="https://github.com/etsy/open-api/discussions" target="_blank" rel="noopener noreferrer">Report bug</a></div><div class="wt-display-flex-xs wt-align-items-center wt-mt-xs-2 wt-mb-xs-3"><p class="wt-text-body-01 banner-text">This endpoint is ready for production use.</p></div>
Open API V3 endpoint to retrieve UserAddresses for a User.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return UserAddressAPIGetUserAddressesRequest
func (*UserAddressAPIService) GetUserAddressesExecute ¶
func (a *UserAddressAPIService) GetUserAddressesExecute(r UserAddressAPIGetUserAddressesRequest) (*UserAddresses, *http.Response, error)
Execute executes the request
@return UserAddresses
type UserAddresses ¶
type UserAddresses struct { // The number of UserAddress records being returned. Count *int64 `json:"count,omitempty"` // An array of UserAddress resources. Results []UserAddress `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
UserAddresses Represents several UserAddress records.
func NewUserAddresses ¶
func NewUserAddresses() *UserAddresses
NewUserAddresses instantiates a new UserAddresses 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
func NewUserAddressesWithDefaults ¶
func NewUserAddressesWithDefaults() *UserAddresses
NewUserAddressesWithDefaults instantiates a new UserAddresses 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
func (*UserAddresses) GetCount ¶
func (o *UserAddresses) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*UserAddresses) GetCountOk ¶
func (o *UserAddresses) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddresses) GetResults ¶
func (o *UserAddresses) GetResults() []UserAddress
GetResults returns the Results field value if set, zero value otherwise.
func (*UserAddresses) GetResultsOk ¶
func (o *UserAddresses) GetResultsOk() ([]UserAddress, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAddresses) HasCount ¶
func (o *UserAddresses) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*UserAddresses) HasResults ¶
func (o *UserAddresses) HasResults() bool
HasResults returns a boolean if a field has been set.
func (UserAddresses) MarshalJSON ¶
func (o UserAddresses) MarshalJSON() ([]byte, error)
func (*UserAddresses) SetCount ¶
func (o *UserAddresses) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*UserAddresses) SetResults ¶
func (o *UserAddresses) SetResults(v []UserAddress)
SetResults gets a reference to the given []UserAddress and assigns it to the Results field.
func (UserAddresses) ToMap ¶
func (o UserAddresses) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_buyer_taxonomy.go
- api_ledger_entry.go
- api_other.go
- api_payment.go
- api_review.go
- api_seller_taxonomy.go
- api_shop.go
- api_shop_holiday_preferences.go
- api_shop_listing.go
- api_shop_listing_file.go
- api_shop_listing_image.go
- api_shop_listing_inventory.go
- api_shop_listing_offering.go
- api_shop_listing_product.go
- api_shop_listing_translation.go
- api_shop_listing_variation_image.go
- api_shop_listing_video.go
- api_shop_production_partner.go
- api_shop_receipt.go
- api_shop_receipt_transactions.go
- api_shop_return_policy.go
- api_shop_section.go
- api_shop_shipping_profile.go
- api_user.go
- api_user_address.go
- client.go
- configuration.go
- model_buyer_taxonomy_node.go
- model_buyer_taxonomy_node_properties.go
- model_buyer_taxonomy_node_property.go
- model_buyer_taxonomy_nodes.go
- model_buyer_taxonomy_property_scale.go
- model_buyer_taxonomy_property_value.go
- model_create_draft_listing_request_item_dimensions_unit.go
- model_create_draft_listing_request_item_weight_unit.go
- model_create_draft_listing_request_type.go
- model_create_draft_listing_request_when_made.go
- model_create_draft_listing_request_who_made.go
- model_create_shop_shipping_profile_request_destination_region.go
- model_create_shop_shipping_profile_request_processing_time_unit.go
- model_create_shop_shipping_profile_upgrade_request_type.go
- model_error_schema.go
- model_get_listing_inventory_includes_parameter.go
- model_get_listings_by_shop_includes_parameter_inner.go
- model_get_listings_by_shop_sort_on_parameter.go
- model_get_listings_by_shop_sort_order_parameter.go
- model_get_listings_by_shop_state_parameter.go
- model_get_shop_receipts_sort_on_parameter.go
- model_get_shop_receipts_sort_order_parameter.go
- model_listing_image.go
- model_listing_images.go
- model_listing_inventory.go
- model_listing_inventory_product.go
- model_listing_inventory_product_offering.go
- model_listing_inventory_with_associations.go
- model_listing_property_value.go
- model_listing_property_values.go
- model_listing_review.go
- model_listing_reviews.go
- model_listing_translation.go
- model_listing_translations.go
- model_listing_variation_image.go
- model_listing_variation_images.go
- model_listing_video.go
- model_listing_video_video_state.go
- model_listing_videos.go
- model_money.go
- model_payment.go
- model_payment_account_ledger_entries.go
- model_payment_account_ledger_entry.go
- model_payment_adjustment.go
- model_payment_adjustment_item.go
- model_payments.go
- model_pong.go
- model_self.go
- model_seller_taxonomy_node.go
- model_seller_taxonomy_nodes.go
- model_shipping_carrier.go
- model_shipping_carrier_mail_class.go
- model_shipping_carriers.go
- model_shop.go
- model_shop_holiday_preference.go
- model_shop_listing.go
- model_shop_listing_file.go
- model_shop_listing_files.go
- model_shop_listing_state.go
- model_shop_listing_when_made.go
- model_shop_listing_who_made.go
- model_shop_listing_with_associations.go
- model_shop_listings.go
- model_shop_listings_with_associations.go
- model_shop_production_partner.go
- model_shop_production_partners.go
- model_shop_receipt.go
- model_shop_receipt_shipment.go
- model_shop_receipt_status.go
- model_shop_receipt_transaction.go
- model_shop_receipt_transactions.go
- model_shop_receipts.go
- model_shop_refund.go
- model_shop_return_policies.go
- model_shop_return_policy.go
- model_shop_section.go
- model_shop_sections.go
- model_shop_shipping_profile.go
- model_shop_shipping_profile_destination.go
- model_shop_shipping_profile_destination_destination_region.go
- model_shop_shipping_profile_destinations.go
- model_shop_shipping_profile_profile_type.go
- model_shop_shipping_profile_upgrade.go
- model_shop_shipping_profile_upgrades.go
- model_shop_shipping_profiles.go
- model_shops.go
- model_taxonomy_node_properties.go
- model_taxonomy_node_property.go
- model_taxonomy_property_scale.go
- model_taxonomy_property_value.go
- model_transaction_review.go
- model_transaction_reviews.go
- model_transaction_variations.go
- model_type_discriminator.go
- model_update_holiday_preferences_holiday_id_parameter.go
- model_update_listing_deprecated_request_state.go
- model_update_listing_deprecated_request_type.go
- model_update_listing_inventory_request.go
- model_update_listing_inventory_request_products_inner.go
- model_update_listing_inventory_request_products_inner_offerings_inner.go
- model_update_listing_inventory_request_products_inner_property_values_inner.go
- model_update_listing_request_item_dimensions_unit.go
- model_update_listing_request_item_weight_unit.go
- model_update_variation_images_request.go
- model_update_variation_images_request_variation_images_inner.go
- model_user.go
- model_user_address.go
- model_user_addresses.go
- response.go
- utils.go