Documentation ¶
Index ¶
- Constants
- type CalculatedListingPrice
- type CalculatedPrice
- type CalculatedTax
- type CartPrice
- type Category
- type CategoryTranslation
- type CmsPage
- type Constraint
- type Context
- type Country
- type CountryState
- type CountryStateTranslation
- type CountryTranslation
- type Currency
- type CurrencyTranslation
- type Customer
- type CustomerAddress
- type CustomerGroup
- type CustomerGroupTranslation
- type CustomerRecovery
- type DeliveryTime
- type DeliveryTimeTranslation
- type Document
- type DocumentBaseConfig
- type DocumentBaseConfigDefinition
- type DocumentBaseConfigSalesChannel
- type DocumentType
- type DocumentTypeTranslation
- type Entity
- type GoogleAccountCredential
- type GoogleShoppingAccount
- type GoogleShoppingMerchantAccount
- type ImageType
- type Language
- type ListAPIOutput
- type ListPrice
- type ListingPrice
- type Locale
- type LocaleTranslation
- type MailTemplateSalesChannel
- type MainCategory
- type MediaEntity
- type MediaFolder
- func (m *MediaFolder) GetAPIAlias() string
- func (m *MediaFolder) GetChildCount() int
- func (m *MediaFolder) GetChildren() []*MediaFolder
- func (m *MediaFolder) GetConfiguration() *MediaFolderConfiguration
- func (m *MediaFolder) GetConfigurationID() string
- func (m *MediaFolder) GetDefaultFolder() *MediaFolder
- func (m *MediaFolder) GetDefaultFolderID() string
- func (m *MediaFolder) GetMedia() []*MediaEntity
- func (m *MediaFolder) GetName() string
- func (m *MediaFolder) GetParent() *MediaFolder
- func (m *MediaFolder) GetParentID() string
- func (m *MediaFolder) GetUseParentConfiguration() bool
- type MediaFolderConfiguration
- type MediaMetaData
- type MediaThumbnail
- func (m *MediaThumbnail) GetAPIAlias() string
- func (m *MediaThumbnail) GetHeight() int
- func (m *MediaThumbnail) GetIdentifier() string
- func (m *MediaThumbnail) GetMedia() *MediaEntity
- func (m *MediaThumbnail) GetMediaID() string
- func (m *MediaThumbnail) GetURL() string
- func (m *MediaThumbnail) GetWidth() int
- type MediaThumbnailSize
- type MediaTranslation
- type MediaType
- type NewsletterRecipient
- type NumberRange
- type NumberRangeSalesChannel
- type NumberRangeState
- type NumberRangeTranslation
- type NumberRangeType
- type NumberRangeTypeTranslation
- type Order
- type OrderAddress
- type OrderCustomer
- type OrderDelivery
- type OrderDeliveryPosition
- type OrderLineItem
- type OrderTransaction
- type PaymentMethod
- type PaymentMethodTranslation
- type Plugin
- type Price
- type PriceDefinitionInterface
- type PriceRule
- type Product
- type ProductConfiguratorSetting
- type ProductCrossSelling
- type ProductCrossSellingAssignedProduct
- type ProductCrossSellingTranslation
- type ProductExport
- type ProductKeywordDictionary
- type ProductManufacturer
- type ProductManufacturerTranslation
- type ProductMediaEntity
- type ProductPrice
- type ProductReview
- type ProductSearchKeyword
- type ProductStream
- type ProductStreamFilter
- type ProductStreamTranslation
- type ProductTranslation
- type ProductVisibility
- type ProductWrapper
- type Promotion
- type PromotionDiscount
- type PromotionDiscountPrice
- type PromotionIndividualCode
- type PromotionSalesChannel
- type PromotionSetGroup
- type PromotionSetGroupRule
- type PromotionTranslation
- type PropertyGroupEntity
- type PropertyGroupOption
- type PropertyGroupOptionTranslation
- type PropertyGroupTranslation
- type QuantityPriceDefinition
- func (q *QuantityPriceDefinition) GetConstraints() *Constraint
- func (q *QuantityPriceDefinition) GetIsCalculated() bool
- func (q *QuantityPriceDefinition) GetPrecision() int
- func (q *QuantityPriceDefinition) GetPrice() float64
- func (q *QuantityPriceDefinition) GetPriority() int
- func (q *QuantityPriceDefinition) GetQuantity() int
- func (q *QuantityPriceDefinition) GetTaxRules() []*TaxRule
- func (q *QuantityPriceDefinition) GetType() string
- func (q *QuantityPriceDefinition) SetPrecision(precision int)
- func (q *QuantityPriceDefinition) SetQuantity(quantity int)
- type ReferencePrice
- type ReferencePriceDefinition
- type Rule
- type RuleCondition
- type SalesChannel
- type SalesChannelAnalytics
- type SalesChannelDomain
- type SalesChannelTranslation
- type SalesChannelType
- type SalesChannelTypeTranslation
- type Salutation
- type SalutationTranslation
- type SeoURL
- type SeoURLTemplate
- type SeoUrlTranslation
- type ShippingMethod
- type ShippingMethodPrice
- type ShippingMethodTranslation
- type SnippetSet
- type StateMachineState
- type SystemConfig
- type Tag
- type Tax
- type TaxRule
- type TaxRuleType
- type TaxRuleTypeTranslation
- type TranslationEntity
- type Unit
- type UnitTranslation
- type User
Constants ¶
const ( TAX_STATE_GROSS = "gross" TAX_STATE_NET = "net" TAX_STATE_FREE = "tax-free" )
const ( /** * SCOPE_CART defines promotion discounts on * the entire cart and its line items. */ SCOPE_CART = "cart" /** * SCOPE_DELIVERY defines promotion discounts on * the delivery costs. */ SCOPE_DELIVERY = "delivery" /** * SCOPE_SET defines promotion discounts on * the whole set of groups */ SCOPE_SET = "set" /** * SCOPE_SETGROUP defines promotion discounts on * a specific set group. */ SCOPE_SETGROUP = "setgroup" /** * TYPE_PERCENTAGE defines a percentage * price definition of the discount. */ TYPE_PERCENTAGE = "percentage" /** * TYPE_ABSOLUTE defines an absolute price * definition of the discount in the * current context currency. */ TYPE_ABSOLUTE = "absolute" // TYPE_FIXED_UNIT defines an fixed unit price // definition of the discount. TYPE_FIXED_UNIT = "fixed_unit" /* TYPE_FIXED defines a fixed price * definition of the discount. */ TYPE_FIXED = "fixed" )
const ACCOUNT_TYPE_BUSINESS = "business"
const ACCOUNT_TYPE_PRIVATE = "private"
const (
CODE_TYPE_NO_CODE = "no_code"
)
const DELIVERY_TIME_DAY = "day"
const DELIVERY_TIME_MONTH = "month"
const DELIVERY_TIME_WEEK = "week"
const ENCODING_ISO88591 = "ISO-8859-1"
const ENCODING_UTF8 = "UTF-8"
const FILE_FORMAT_CSV = "csv"
const FILE_FORMAT_XML = "xml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalculatedListingPrice ¶
type CalculatedPrice ¶
type CalculatedPrice struct { UnitPrice float64 `json:"unitPrice"` Quantity int `json:"quantity"` TotalPrice float64 `json:"totalPrice"` CalculatedTaxes []*CalculatedTax `json:"calculatedTaxes"` TaxRules []*TaxRule `json:"taxRules"` ReferencePrice *ReferencePrice `json:"referencePrice"` ListPrice *ListPrice `json:"listPrice"` }
type CalculatedTax ¶
type CalculatedTax struct{}
type Category ¶
type Category struct { Entity ParentID string `json:"parentId"` AutoIncrement int `json:"autoIncrement"` MediaID string `json:"mediaId"` Name string `json:"name"` Breadcrumb []string `json:"breadcrumb"` Path string `json:"path"` Level int `json:"level"` Active bool `json:"active"` ChildCount int `json:"childCount"` Media *MediaEntity `json:"media"` Products []*Product `json:"products"` NestedProducts []*Product `json:"nestedProducts"` AfterCategoryID string `json:"afterCategoryId"` Tags []*Tag `json:"tags"` CmsPageID string `json:"cmsPageId"` CmsPage *CmsPage `json:"cmsPage"` SlotConfig []string `json:"slotConfig"` ServiceSalesChannels []*SalesChannel `json:"serviceSalesChannels"` ExternalLink string `json:"externalLink"` Visible bool `json:"visible"` Typ string `json:"type"` // shopware: type Description string `json:"description"` MetaTitle string `json:"metaTitle"` MetaDescription string `json:"metaDescription"` Keywords string `json:"keywords"` MainCategories []*MainCategory `json:"mainCategories"` SeoUrls []*SeoURL `json:"seoUrls"` // contains filtered or unexported fields }
type CategoryTranslation ¶
type CategoryTranslation struct { TranslationEntity CategoryID string `json:"categoryId"` Name string `json:"name"` Breadcrumb []string `json:"breadcrumb"` Category *Category `json:"category"` Language *Language `json:"language"` SlotConfig []string `json:"slotConfig"` ExternalLink string `json:"externalLink"` Description string `json:"description"` MetaTitle string `json:"metaTitle"` MetaDescription string `json:"metaDescription"` Keywords string `json:"keywords"` }
type Constraint ¶
type Context ¶
type Context struct { Token string `json:"token"` CurrentCustomerGroup struct { Name string `json:"name"` DisplayGross bool `json:"displayGross"` CustomFields interface{} `json:"customFields"` RegistrationActive bool `json:"registrationActive"` RegistrationTitle interface{} `json:"registrationTitle"` RegistrationIntroduction interface{} `json:"registrationIntroduction"` RegistrationOnlyCompanyRegistration interface{} `json:"registrationOnlyCompanyRegistration"` RegistrationSeoMetaDescription interface{} `json:"registrationSeoMetaDescription"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { Name string `json:"name"` CustomFields []interface{} `json:"customFields"` RegistrationTitle interface{} `json:"registrationTitle"` RegistrationIntroduction interface{} `json:"registrationIntroduction"` RegistrationOnlyCompanyRegistration interface{} `json:"registrationOnlyCompanyRegistration"` RegistrationSeoMetaDescription interface{} `json:"registrationSeoMetaDescription"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"currentCustomerGroup"` FallbackCustomerGroup struct { Name string `json:"name"` DisplayGross bool `json:"displayGross"` CustomFields interface{} `json:"customFields"` RegistrationActive bool `json:"registrationActive"` RegistrationTitle interface{} `json:"registrationTitle"` RegistrationIntroduction interface{} `json:"registrationIntroduction"` RegistrationOnlyCompanyRegistration interface{} `json:"registrationOnlyCompanyRegistration"` RegistrationSeoMetaDescription interface{} `json:"registrationSeoMetaDescription"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { Name string `json:"name"` CustomFields []interface{} `json:"customFields"` RegistrationTitle interface{} `json:"registrationTitle"` RegistrationIntroduction interface{} `json:"registrationIntroduction"` RegistrationOnlyCompanyRegistration interface{} `json:"registrationOnlyCompanyRegistration"` RegistrationSeoMetaDescription interface{} `json:"registrationSeoMetaDescription"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"fallbackCustomerGroup"` Currency struct { IsoCode string `json:"isoCode"` Factor int `json:"factor"` Symbol string `json:"symbol"` ShortName string `json:"shortName"` Name string `json:"name"` Position int `json:"position"` DecimalPrecision int `json:"decimalPrecision"` CustomFields interface{} `json:"customFields"` ShippingMethodPrices interface{} `json:"shippingMethodPrices"` IsSystemDefault bool `json:"isSystemDefault"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { ShortName string `json:"shortName"` Name string `json:"name"` CustomFields []interface{} `json:"customFields"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { InternalMappingStorage struct { APIAlias string `json:"apiAlias"` } `json:"internal_mapping_storage"` ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"currency"` SalesChannel struct { LanguageID string `json:"languageId"` CurrencyID string `json:"currencyId"` PaymentMethodID string `json:"paymentMethodId"` ShippingMethodID string `json:"shippingMethodId"` CountryID string `json:"countryId"` NavigationCategoryID string `json:"navigationCategoryId"` NavigationCategoryDepth int `json:"navigationCategoryDepth"` FooterCategoryID string `json:"footerCategoryId"` ServiceCategoryID interface{} `json:"serviceCategoryId"` Name string `json:"name"` ShortName interface{} `json:"shortName"` Configuration interface{} `json:"configuration"` Active bool `json:"active"` Maintenance bool `json:"maintenance"` TaxCalculationType string `json:"taxCalculationType"` Currency struct { IsoCode string `json:"isoCode"` Factor int `json:"factor"` Symbol string `json:"symbol"` ShortName string `json:"shortName"` Name string `json:"name"` Position int `json:"position"` DecimalPrecision int `json:"decimalPrecision"` CustomFields interface{} `json:"customFields"` ShippingMethodPrices interface{} `json:"shippingMethodPrices"` IsSystemDefault bool `json:"isSystemDefault"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { ShortName string `json:"shortName"` Name string `json:"name"` CustomFields []interface{} `json:"customFields"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { InternalMappingStorage struct { APIAlias string `json:"apiAlias"` } `json:"internal_mapping_storage"` ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"currency"` Language interface{} `json:"language"` PaymentMethod interface{} `json:"paymentMethod"` ShippingMethod interface{} `json:"shippingMethod"` Country interface{} `json:"country"` Domains []struct { URL string `json:"url"` CurrencyID string `json:"currencyId"` Currency interface{} `json:"currency"` SnippetSetID string `json:"snippetSetId"` SalesChannelID string `json:"salesChannelId"` LanguageID string `json:"languageId"` Language interface{} `json:"language"` CustomFields interface{} `json:"customFields"` SalesChannelDefaultHreflang interface{} `json:"salesChannelDefaultHreflang"` HreflangUseOnlyLocale bool `json:"hreflangUseOnlyLocale"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated []interface{} `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"domains"` CustomFields interface{} `json:"customFields"` NavigationCategory interface{} `json:"navigationCategory"` FooterCategory interface{} `json:"footerCategory"` ServiceCategory interface{} `json:"serviceCategory"` MailHeaderFooterID interface{} `json:"mailHeaderFooterId"` CustomerGroupID string `json:"customerGroupId"` HreflangActive bool `json:"hreflangActive"` HreflangDefaultDomainID interface{} `json:"hreflangDefaultDomainId"` HreflangDefaultDomain interface{} `json:"hreflangDefaultDomain"` LandingPages interface{} `json:"landingPages"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { Name string `json:"name"` CustomFields []interface{} `json:"customFields"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` NavigationCategoryVersionID string `json:"navigationCategoryVersionId"` FooterCategoryVersionID interface{} `json:"footerCategoryVersionId"` ServiceCategoryVersionID interface{} `json:"serviceCategoryVersionId"` APIAlias string `json:"apiAlias"` } `json:"salesChannel"` TaxRules []struct { TaxRate int `json:"taxRate"` Name string `json:"name"` CustomFields interface{} `json:"customFields"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated []interface{} `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"taxRules"` Customer interface{} `json:"customer"` PaymentMethod struct { Name string `json:"name"` Description string `json:"description"` Position int `json:"position"` Active bool `json:"active"` AfterOrderEnabled bool `json:"afterOrderEnabled"` Translations interface{} `json:"translations"` MediaID interface{} `json:"mediaId"` Media interface{} `json:"media"` CustomFields interface{} `json:"customFields"` ShortName string `json:"shortName"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { Name string `json:"name"` Description string `json:"description"` CustomFields []interface{} `json:"customFields"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"paymentMethod"` ShippingMethod struct { Name string `json:"name"` Active bool `json:"active"` Description interface{} `json:"description"` TrackingURL interface{} `json:"trackingUrl"` DeliveryTimeID string `json:"deliveryTimeId"` DeliveryTime struct { Name string `json:"name"` Min int `json:"min"` Max int `json:"max"` Unit string `json:"unit"` CustomFields interface{} `json:"customFields"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { Name string `json:"name"` CustomFields []interface{} `json:"customFields"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { InternalMappingStorage struct { APIAlias string `json:"apiAlias"` } `json:"internal_mapping_storage"` ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"deliveryTime"` Translations interface{} `json:"translations"` CustomFields struct { SendcloudServicePointEnabled bool `json:"sendcloud_service_point_enabled"` } `json:"customFields"` AvailabilityRule interface{} `json:"availabilityRule"` Prices []interface{} `json:"prices"` MediaID interface{} `json:"mediaId"` Media interface{} `json:"media"` Tags interface{} `json:"tags"` TaxType string `json:"taxType"` Tax interface{} `json:"tax"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { Name string `json:"name"` CustomFields struct { SendcloudServicePointEnabled bool `json:"sendcloud_service_point_enabled"` } `json:"customFields"` Description interface{} `json:"description"` TrackingURL interface{} `json:"trackingUrl"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"shippingMethod"` ShippingLocation struct { Country struct { Name string `json:"name"` Iso string `json:"iso"` Position int `json:"position"` TaxFree bool `json:"taxFree"` Active bool `json:"active"` ShippingAvailable bool `json:"shippingAvailable"` Iso3 string `json:"iso3"` DisplayStateInRegistration bool `json:"displayStateInRegistration"` ForceStateInRegistration bool `json:"forceStateInRegistration"` CompanyTaxFree bool `json:"companyTaxFree"` CheckVatIDPattern bool `json:"checkVatIdPattern"` VatIDPattern string `json:"vatIdPattern"` States interface{} `json:"states"` Translations interface{} `json:"translations"` CustomFields interface{} `json:"customFields"` UniqueIdentifier string `json:"_uniqueIdentifier"` VersionID interface{} `json:"versionId"` Translated struct { Name string `json:"name"` CustomFields []interface{} `json:"customFields"` } `json:"translated"` CreatedAt time.Time `json:"createdAt"` UpdatedAt interface{} `json:"updatedAt"` Extensions struct { ForeignKeys struct { APIAlias string `json:"apiAlias"` } `json:"foreignKeys"` } `json:"extensions"` ID string `json:"id"` APIAlias string `json:"apiAlias"` } `json:"country"` State interface{} `json:"state"` Address interface{} `json:"address"` APIAlias string `json:"apiAlias"` } `json:"shippingLocation"` RulesIds []string `json:"rulesIds"` RulesLocked bool `json:"rulesLocked"` Permissions []interface{} `json:"permissions"` PermisionsLocked bool `json:"permisionsLocked"` APIAlias string `json:"apiAlias"` }
type Country ¶
type Country struct { Entity Name string `json:"name"` Iso string `json:"iso"` Position int `json:"position"` TaxFree bool `json:"taxFree"` Active bool `json:"active"` ShippingAvailable bool `json:"shippingAvailable"` Iso3 string `json:"iso3"` DisplayStateInRegistration bool `json:"displayStateInRegistration"` ForceStateInRegistration bool `json:"forceStateInRegistration"` States []*CountryState `json:"states"` Translations []*CountryTranslation `json:"translations"` OrderAddresses []*OrderAddress `json:"orderAddresses"` CustomerAddresses []*CustomerAddress `json:"customerAddresses"` SalesChannelDefaultAssignments []*SalesChannel `json:"salesChannelDefaultAssignments"` SalesChannels []*SalesChannel `json:"salesChannels"` TaxRules []*TaxRule `json:"taxRules"` }
type CountryState ¶
type CountryState struct { Entity CountryID string `json:"countryId"` ShortCode string `json:"shortCode"` Name string `json:"name"` Position int `json:"position"` Active bool `json:"active"` Country *Country `json:"country"` Translations []*CountryStateTranslation `json:"translations"` CustomerAddresses []*CustomerAddress `json:"customerAddresses"` OrderAddresses []*OrderAddress `json:"orderAddresses"` }
type CountryStateTranslation ¶
type CountryStateTranslation struct { TranslationEntity CountryStateID string `json:"countryStateId"` Name string `json:"name"` CountryState *CountryState `json:"countryState"` }
type CountryTranslation ¶
type CountryTranslation struct { TranslationEntity CountryID string `json:"countryId"` Name string `json:"name"` Country *Country `json:"country"` }
type Currency ¶
type Currency struct { Entity IsoCode string `json:"isoCode"` Factor float64 `json:"factor"` Symbol string `json:"symbol"` ShortName string `json:"shortName"` Name string `json:"name"` Position string `json:"position"` DecimalPrecision string `json:"decimalPrecision"` Translations []*CurrencyTranslation `json:"translations"` Orders []*Order `json:"orders"` SalesChannels []*SalesChannel `json:"salesChannels"` SalesChannelDefaultAssignments []*SalesChannel `json:"salesChannelDefaultAssignments"` SalesChannelDomains []*SalesChannelDomain `json:"salesChannelDomains"` ShippingMethodPrices []*ShippingMethodPrice `json:"shippingMethodPrices"` PromotionDiscountPrices []*PromotionDiscountPrice `json:"promotionDiscountPrices"` IsSystemDefault bool `json:"isSystemDefault"` ProductExports []*ProductExport `json:"productExports"` }
type CurrencyTranslation ¶
type CurrencyTranslation struct { TranslationEntity CurrencyID string `json:"currencyId"` ShortName string `json:"shortName"` Name string `json:"name"` Currency *Currency `json:"currency"` }
type Customer ¶
type Customer struct { Entity GroupID string `json:"groupId"` DefaultPaymentMethodID string `json:"defaultPaymentMethodId"` SalesChannelID string `json:"salesChannelId"` LanguageID string `json:"languageId"` LastPaymentMethodID string `json:"lastPaymentMethodId"` DefaultBillingAddressID string `json:"defaultBillingAddressId"` DefaultShippingAddressID string `json:"defaultShippingAddressId"` CustomerNumber string `json:"customerNumber"` SalutationID string `json:"salutationId"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Company string `json:"company"` Password string `json:"password"` Email string `json:"email"` Title string `json:"title"` AffiliateCode string `json:"affiliateCode"` CampaignCode string `json:"campaignCode"` Active bool `json:"active"` DoubleOptInRegistration bool `json:"doubleOptInRegistration"` DoubleOptInEmailSentDate string `json:"doubleOptInEmailSentDate"` DoubleOptInConfirmDate string `json:"doubleOptInConfirmDate"` Hash string `json:"hash"` Guest bool `json:"guest"` FirstLogin string `json:"firstLogin"` LastLogin string `json:"lastLogin"` Newsletter bool `json:"newsletter"` Birthday string `json:"birthday"` LastOrderDate string `json:"lastOrderDate"` OrderCount int `json:"orderCount"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` LegacyEncoder string `json:"legacyEncoder"` LegacyPassword string `json:"legacyPassword"` Group *CustomerGroup `json:"group"` DefaultPaymentMethod *PaymentMethod `json:"defaultPaymentMethod"` SalesChannel *SalesChannel `json:"salesChannel"` Language *Language `json:"language"` LastPaymentMethod *PaymentMethod `json:"lastPaymentMethod"` Salutation *Salutation `json:"salutation"` DefaultBillingAddress *CustomerAddress `json:"defaultBillingAddress"` DefaultShippingAddress *CustomerAddress `json:"defaultShippingAddress"` ActiveBillingAddress *CustomerAddress `json:"activeBillingAddress"` ActiveShippingAddress *CustomerAddress `json:"activeShippingAddress"` Addresses []*CustomerAddress `json:"addresses"` OrderCustomers []*OrderCustomer `json:"orderCustomers"` AutoIncrement int `json:"autoIncrement"` Tags []*Tag `json:"tags"` Promotions []*Promotion `json:"promotions"` RecoveryCustomer *CustomerRecovery `json:"recoveryCustomer"` ProductReviews []*ProductReview `json:"productReviews"` RemoteAddress string `json:"remoteAddress"` }
type CustomerAddress ¶
type CustomerAddress struct { Entity CustomerID string `json:"customerId"` CountryID string `json:"countryId"` CountryStateID string `json:"countryStateId"` SalutationID string `json:"salutationId"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Zipcode string `json:"zipcode"` City string `json:"city"` Company string `json:"company"` Department string `json:"department"` Title string `json:"title"` Street string `json:"street"` VatID string `json:"vatId"` PhoneNumber string `json:"phoneNumber"` AdditionalAddressLine1 string `json:"additionalAddressLine1"` AdditionalAddressLine2 string `json:"additionalAddressLine2"` Country *Country `json:"country"` CountryState *CountryState `json:"countryState"` Salutation *Salutation `json:"salutation"` Customer *Customer `json:"customer"` }
type CustomerGroup ¶
type CustomerGroup struct { Entity Name string `json:"name"` DisplayGross bool `json:"displayGross"` Translations []*CustomerGroupTranslation `json:"translations"` Customers []*Customer `json:"customers"` SalesChannels []*SalesChannel `json:"salesChannels"` }
type CustomerGroupTranslation ¶
type CustomerGroupTranslation struct { TranslationEntity CustomerGroupID string `json:"customerGroupId"` Name string `json:"name"` CustomerGroup *CustomerGroup `json:"customerGroup"` }
type CustomerRecovery ¶
type DeliveryTime ¶
type DeliveryTime struct { Entity Name string `json:"name"` Min int `json:"min"` Max int `json:"max"` Unit string `json:"unit"` Translations []*DeliveryTimeTranslation `json:"translations"` ShippingMethods []*ShippingMethod `json:"shippingMethods"` Products []*Product `json:"products"` }
type DeliveryTimeTranslation ¶
type DeliveryTimeTranslation struct { TranslationEntity DeliveryTime *DeliveryTime `json:"deliveryTime"` DeliveryTimeID string `json:"deliveryTimeId"` Name string `json:"name"` }
type Document ¶
type Document struct { Entity OrderID string `json:"orderId"` OrderVersionID string `json:"orderVersionId"` DocumentTypeID string `json:"documentTypeId"` DocumentMediaFileID string `json:"documentMediaFileId"` FileType string `json:"fileType"` Order *Order `json:"order"` Config []string `json:"config"` Sent bool `json:"sent"` Static bool `json:"static"` DeepLinkCode string `json:"deepLinkCode"` DocumentType *DocumentType `json:"documentType"` ReferencedDocumentID string `json:"referencedDocumentId"` ReferencedDocument *Document `json:"referencedDocument"` DependentDocuments []*Document `json:"dependentDocuments"` DocumentMediaFile *MediaEntity `json:"documentMediaFile"` }
type DocumentBaseConfig ¶
type DocumentBaseConfig struct { Entity Name string `json:"name"` FilenamePrefix string `json:"filenamePrefix"` FilenameSuffix string `json:"filenameSuffix"` DocumentNumber string `json:"documentNumber"` Global bool `json:"global"` DocumentTypeID string `json:"documentTypeId"` LogoID string `json:"logoId"` DocumentType *DocumentType `json:"documentType"` Logo *MediaEntity `json:"logo"` // contains filtered or unexported fields }
type DocumentBaseConfigDefinition ¶
type DocumentBaseConfigDefinition struct{}
type DocumentBaseConfigSalesChannel ¶
type DocumentBaseConfigSalesChannel struct { Entity DocumentBaseConfigID string `json:"documentBaseConfigId"` SalesChannelID string `json:"salesChannelId"` DocumentTypeID string `json:"documentTypeId"` DocumentType *DocumentType `json:"documentType"` DocumentBaseConfig *DocumentBaseConfig `json:"documentBaseConfig"` SalesChannel *SalesChannel `json:"salesChannel"` }
type DocumentType ¶
type DocumentType struct { Entity Name string `json:"name"` TechnicalName string `json:"technicalName"` Translations []*DocumentTypeTranslation `json:"translations"` Documents []*Document `json:"documents"` DocumentBaseConfigs []*DocumentBaseConfig `json:"documentBaseConfigs"` DocumentBaseConfigSalesChannels []*DocumentBaseConfigSalesChannel `json:"documentBaseConfigSalesChannels"` }
type DocumentTypeTranslation ¶
type DocumentTypeTranslation struct { TranslationEntity DocumentTypeID string `json:"documentTypeId"` DocumentType *DocumentType `json:"documentType"` Name string `json:"name"` }
type GoogleAccountCredential ¶
type GoogleShoppingAccount ¶
type GoogleShoppingMerchantAccount ¶
type GoogleShoppingMerchantAccount struct { Entity AccountID string `json:"accountId"` MerchantID string `json:"merchantId"` Account *GoogleShoppingAccount `json:"account"` }
type Language ¶
type Language struct { Entity ParentID string `json:"parentId"` LocaleID string `json:"localeId"` TranslationCodeID string `json:"translationCodeId"` TranslationCode *Locale `json:"translationCode"` Name string `json:"name"` Locale *Locale `json:"locale"` Parent *Language `json:"parent"` Children []*Language `json:"children"` SalesChannels []*SalesChannel `json:"salesChannels"` Customers []*Customer `json:"customers"` SalesChannelDefaultAssignments []*SalesChannel `json:"salesChannelDefaultAssignments"` CategoryTranslations []*CategoryTranslation `json:"categoryTranslations"` CountryStateTranslations []*CountryStateTranslation `json:"countryStateTranslations"` CountryTranslations []*CountryTranslation `json:"countryTranslations"` CurrencyTranslations []*CurrencyTranslation `json:"currencyTranslations"` CustomerGroupTranslations []*CustomerGroupTranslation `json:"customerGroupTranslations"` LocaleTranslations []*LocaleTranslation `json:"localeTranslations"` MediaTranslations []*MediaTranslation `json:"mediaTranslations"` PaymentMethodTranslations []*PaymentMethodTranslation `json:"paymentMethodTranslations"` ProductManufacturerTranslations []*ProductManufacturerTranslation `json:"productManufacturerTranslations"` ProductTranslations []*ProductTranslation `json:"productTranslations"` ShippingMethodTranslations []*ShippingMethodTranslation `json:"shippingMethodTranslations"` UnitTranslations []*UnitTranslation `json:"unitTranslations"` PropertyGroupTranslations []*PropertyGroupTranslation `json:"propertyGroupTranslations"` PropertyGroupOptionTranslations []*PropertyGroupOptionTranslation `json:"propertyGroupOptionTranslations"` SalesChannelTranslations []*SalesChannelTranslation `json:"salesChannelTranslations"` SalesChannelTypeTranslations []*SalesChannelTypeTranslation `json:"salesChannelTypeTranslations"` SalutationTranslations []*SalutationTranslation `json:"salutationTranslations"` SalesChannelDomains []*SalesChannelDomain `json:"salesChannelDomains"` ProductStreamTranslations []*ProductStreamTranslation `json:"productStreamTranslations"` DeliveryTimeTranslations []*DeliveryTimeTranslation `json:"deliveryTimeTranslations"` Orders []*Order `json:"orders"` NumberRangeTypeTranslations []*NumberRangeTypeTranslation `json:"numberRangeTypeTranslations"` ProductSearchKeywords []*ProductSearchKeyword `json:"productSearchKeywords"` ProductKeywordDictionaries []*ProductKeywordDictionary `json:"productKeywordDictionaries"` ProductReviews []*ProductReview `json:"productReviews"` SeoUrlTranslations []*SeoUrlTranslation `json:"seoUrlTranslations"` TaxRuleTypeTranslations []*TaxRuleTypeTranslation `json:"taxRuleTypeTranslations"` ProductCrossSellingTranslations []*ProductCrossSellingTranslation `json:"productCrossSellingTranslations"` // contains filtered or unexported fields }
type ListAPIOutput ¶
type ListAPIOutput struct { Count int `json:"count"` NextPageURL *string `json:"next"` PreviousPageURL *string `json:"previous"` Results []json.RawMessage `json:"results"` }
type ListingPrice ¶
type LocaleTranslation ¶
type LocaleTranslation struct { TranslationEntity LocaleID string `json:"localeId"` Name string `json:"name"` Territory string `json:"territory"` Locale *Locale `json:"locale"` }
type MailTemplateSalesChannel ¶
type MailTemplateSalesChannel struct{}
type MainCategory ¶
type MediaEntity ¶
type MediaEntity struct { Entity UserID string `json:"userId"` MimeType string `json:"mimeType"` FileExtension string `json:"fileExtension"` FileSize int `json:"fileSize"` Title string `json:"title"` MetaDataRaw string `json:"metaDataRaw"` MediaTypeRaw string `json:"mediaTypeRaw"` MetaData MediaMetaData `json:"metaData"` MediaType MediaType `json:"mediaType"` UploadedAt string `json:"uploadedAt"` Alt string `json:"alt"` URL string `json:"url"` FileName string `json:"fileName"` Translations []*MediaTranslation `json:"translations"` Categories []*Category `json:"categories"` ProductManufacturers []*ProductManufacturer `json:"productManufacturers"` ProductMedia []*ProductMediaEntity `json:"productMedia"` Thumbnails []*MediaThumbnail `json:"thumbnails"` MediaFolderID string `json:"mediaFolderId"` MediaFolder MediaFolder `json:"mediaFolder"` HasFile bool `json:"hasFile"` Private bool `json:"private"` Tags []*Tag `json:"tags"` ThumbnailsRo string `json:"thumbnailsRo"` }
type MediaFolder ¶
type MediaFolder struct { Entity Name string `json:"name"` ParentID string `json:"parentId"` Parent *MediaFolder `json:"parent"` ChildCount int `json:"childCount"` Media []*MediaEntity `json:"media"` ConfigurationID string `json:"configurationId"` Configuration *MediaFolderConfiguration `json:"configuration"` UseParentConfiguration bool `json:"useParentConfiguration"` Children []*MediaFolder `json:"children"` DefaultFolder *MediaFolder `json:"defaultFolder"` DefaultFolderID string `json:"defaultFolderId"` }
func (*MediaFolder) GetAPIAlias ¶
func (m *MediaFolder) GetAPIAlias() string
GetAPIAlias returns the ApiAlias
func (*MediaFolder) GetChildCount ¶
func (m *MediaFolder) GetChildCount() int
GetChildCount returns the ChildCount
func (*MediaFolder) GetChildren ¶
func (m *MediaFolder) GetChildren() []*MediaFolder
GetChildren returns the Children
func (*MediaFolder) GetConfiguration ¶
func (m *MediaFolder) GetConfiguration() *MediaFolderConfiguration
GetConfiguration returns the Configuration
func (*MediaFolder) GetConfigurationID ¶
func (m *MediaFolder) GetConfigurationID() string
GetConfigurationID returns the ConfigurationID
func (*MediaFolder) GetDefaultFolder ¶
func (m *MediaFolder) GetDefaultFolder() *MediaFolder
GetDefaultFolder returns the DefaultFolder
func (*MediaFolder) GetDefaultFolderID ¶
func (m *MediaFolder) GetDefaultFolderID() string
GetDefaultFolderID returns the DefaultFolderID
func (*MediaFolder) GetMedia ¶
func (m *MediaFolder) GetMedia() []*MediaEntity
GetMedia returns the Media
func (*MediaFolder) GetName ¶
func (m *MediaFolder) GetName() string
GetName returns the name of the media fodler
func (*MediaFolder) GetParent ¶
func (m *MediaFolder) GetParent() *MediaFolder
GetParent returns the Parent
func (*MediaFolder) GetParentID ¶
func (m *MediaFolder) GetParentID() string
GetParentID returns the ParentID
func (*MediaFolder) GetUseParentConfiguration ¶
func (m *MediaFolder) GetUseParentConfiguration() bool
GetUseParentConfiguration returns the UseParentConfiguration
type MediaFolderConfiguration ¶
type MediaFolderConfiguration struct { Entity MediaFolders []*MediaFolder `json:"mediaFolders"` CreateThumbnails bool `json:"createThumbnails"` KeepAspectRatio bool `json:"keepAspectRatio"` ThumbnailQuality int `json:"thumbnailQuality"` Private bool `json:"private"` NoAssociation bool `json:"noAssociation"` MediaThumbnailSizes []*MediaThumbnailSize `json:"mediaThumbnailSizes"` MediaThumbnailSizesRo string `json:"mediaThumbnailSizesRo"` }
type MediaMetaData ¶
type MediaThumbnail ¶
type MediaThumbnail struct { Entity Width int `json:"width"` Height int `json:"height"` URL string `json:"url"` MediaID string `json:"mediaId"` Media *MediaEntity `json:"media"` }
func (*MediaThumbnail) GetAPIAlias ¶
func (m *MediaThumbnail) GetAPIAlias() string
GetAPIAlias returns the ApiAlias of thumbnail
func (*MediaThumbnail) GetHeight ¶
func (m *MediaThumbnail) GetHeight() int
GetHeight returns the height of thumbnail
func (*MediaThumbnail) GetIdentifier ¶
func (m *MediaThumbnail) GetIdentifier() string
GetIdentifier returns the Identifier of thumbnail
func (*MediaThumbnail) GetMedia ¶
func (m *MediaThumbnail) GetMedia() *MediaEntity
GetMedia returns the Media of thumbnail
func (*MediaThumbnail) GetMediaID ¶
func (m *MediaThumbnail) GetMediaID() string
GetMediaID returns the MediaID of thumbnail
func (*MediaThumbnail) GetURL ¶
func (m *MediaThumbnail) GetURL() string
GetURL returns the URL of thumbnail
func (*MediaThumbnail) GetWidth ¶
func (m *MediaThumbnail) GetWidth() int
GetWidth returns the width of thumbnail
type MediaThumbnailSize ¶
type MediaThumbnailSize struct { Entity Width int `json:"width"` Height int `json:"height"` MediaFolderConfigurations []*MediaFolderConfiguration `json:"mediaFolderConfigurations"` }
func (*MediaThumbnailSize) GetAPIAlias ¶
func (m *MediaThumbnailSize) GetAPIAlias() string
GetAPIAlias returns the ApiAlias of thumbnail
func (*MediaThumbnailSize) GetHeight ¶
func (m *MediaThumbnailSize) GetHeight() int
GetHeight returns the height of thumbnail
func (*MediaThumbnailSize) GetWidth ¶
func (m *MediaThumbnailSize) GetWidth() int
GetWidth returns the width of thumbnail
type MediaTranslation ¶
type MediaTranslation struct { TranslationEntity MediaID string `json:"mediaId"` Title string `json:"title"` Alt string `json:"alt"` Media *MediaEntity `json:"media"` }
func (*MediaTranslation) GetAPIAlias ¶
func (m *MediaTranslation) GetAPIAlias() string
GetAPIAlias returns the ApiAlias of thumbnail
func (*MediaTranslation) GetMedia ¶
func (m *MediaTranslation) GetMedia() *MediaEntity
GetMedia returns the Media
func (*MediaTranslation) GetMediaID ¶
func (m *MediaTranslation) GetMediaID() string
GetMediaID returns the mediaId
func (*MediaTranslation) GetTitle ¶
func (m *MediaTranslation) GetTitle() string
GetTitle returns the title
type NewsletterRecipient ¶
type NewsletterRecipient struct{}
type NumberRange ¶
type NumberRange struct { Entity TypeID string `json:"typeId"` Global bool `json:"global"` Name string `json:"name"` Description string `json:"description"` Pattern string `json:"pattern"` Start int `json:"start"` NumberRangeType *NumberRangeType `json:"type"` NumberRangeSalesChannels []*NumberRangeSalesChannel `json:"numberRangeSalesChannels"` State *NumberRangeState `json:"state"` // contains filtered or unexported fields }
type NumberRangeSalesChannel ¶
type NumberRangeSalesChannel struct { Entity NumberRangeID string `json:"numberRangeId"` SalesChannelID string `json:"salesChannelId"` NumberRangeTypeID string `json:"numberRangeTypeId"` NumberRange *NumberRange `json:"numberRange"` SalesChannel *SalesChannel `json:"salesChannel"` NumberRangeType *NumberRangeType `json:"numberRangeType"` }
type NumberRangeState ¶
type NumberRangeState struct { Entity NumberRangeID string `json:"numberRangeId"` LastValue int `json:"lastValue"` NumberRange *NumberRange `json:"numberRange"` }
type NumberRangeTranslation ¶
type NumberRangeTranslation struct { TranslationEntity NumberRangeID string `json:"numberRangeId"` Name string `json:"name"` Description string `json:"description"` NumberRange *NumberRange `json:"numberRange"` }
type NumberRangeType ¶
type NumberRangeType struct { Entity TypeName string `json:"typeName"` TechnicalName string `json:"technicalName"` Global bool `json:"global"` NumberRanges []*NumberRange `json:"numberRanges"` NumberRangeSalesChannels *NumberRangeSalesChannel `json:"numberRangeSalesChannels"` // contains filtered or unexported fields }
type NumberRangeTypeTranslation ¶
type NumberRangeTypeTranslation struct { TranslationEntity NumberRangeTypeID string `json:"numberRangeTypeId"` TypeName string `json:"typeName"` NumberRangeType *NumberRangeType `json:"numberRangeType"` }
type Order ¶
type Order struct { Entity OrderNumber string `json:"orderNumber"` CurrencyID string `json:"currencyId"` CurrencyFactor float64 `json:"currencyFactor"` SalesChannelID string `json:"salesChannelId"` BillingAddressID string `json:"billingAddressId"` OrderDateTime string `json:"orderDateTime"` OrderDate string `json:"orderDate"` Price *CartPrice `json:"price"` AmountTotal float64 `json:"amountTotal"` AmountNet float64 `json:"amountNet"` PositionPrice float64 `json:"positionPrice"` TaxStatus string `json:"taxStatus"` ShippingCosts *CalculatedPrice `json:"shippingCosts"` ShippingTotal float64 `json:"shippingTotal"` OrderCustomer *Customer `json:"orderCustomer"` Currency *Currency `json:"currency"` LanguageID string `json:"languageId"` Language *Language `json:"language"` SalesChannel *SalesChannel `json:"salesChannel"` Addresses []*OrderAddress `json:"addresses"` Deliveries []*OrderDelivery `json:"deliveries"` LineItems []*OrderLineItem `json:"lineItems"` Transactions []*OrderTransaction `json:"transactions"` DeepLinkCode string `json:"deepLinkCode"` AutoIncrement int `json:"autoIncrement"` StateMachineState *StateMachineState `json:"stateMachineState"` StateID string `json:"stateId"` Documents []*Document `json:"documents"` Tags []*Tag `json:"tags"` AffiliateCode string `json:"affiliateCode"` CampaignCode string `json:"campaignCode"` CustomerComment string `json:"customerComment"` }
type OrderAddress ¶
type OrderAddress struct { Entity CountryID string `json:"countryId"` CountryStateID string `json:"countryStateId"` SalutationID string `json:"salutationId"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Street string `json:"street"` Zipcode string `json:"zipcode"` City string `json:"city"` Company string `json:"company"` Department string `json:"department"` Title string `json:"title"` VatID string `json:"vatId"` PhoneNumber string `json:"phoneNumber"` AdditionalAddressLine1 string `json:"additionalAddressLine1"` AdditionalAddressLine2 string `json:"additionalAddressLine2"` Country *Country `json:"country"` CountryState *CountryState `json:"countryState"` Order *Order `json:"order"` Salutation *Salutation `json:"salutation"` OrderDeliveries []*OrderDelivery `json:"orderDeliveries"` OrderID string `json:"orderId"` }
type OrderCustomer ¶
type OrderCustomer struct { Entity Email string `json:"email"` OrderID string `json:"orderId"` SalutationID string `json:"salutationId"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Title string `json:"title"` Company string `json:"company"` CustomerNumber string `json:"customerNumber"` CustomerID string `json:"customerId"` Customer *Customer `json:"customer"` Salutation *Salutation `json:"salutation"` Order *Order `json:"order"` RemoteAddress string `json:"remoteAddress"` }
type OrderDelivery ¶
type OrderDelivery struct { Entity OrderID string `json:"orderId"` ShippingOrderAddressID string `json:"shippingOrderAddressId"` ShippingMethodID string `json:"shippingMethodId"` TrackingCodes []string `json:"trackingCodes"` ShippingDateEarliest string `json:"shippingDateEarliest"` ShippingDateLatest string `json:"shippingDateLatest"` ShippingCosts *CalculatedPrice `json:"shippingCosts"` ShippingOrderAddress *OrderAddress `json:"shippingOrderAddress"` StateID string `json:"stateId"` StateMachineState *StateMachineState `json:"stateMachineState"` ShippingMethod *ShippingMethod `json:"shippingMethod"` Order *Order `json:"order"` Positions []*OrderDeliveryPosition `json:"positions"` }
type OrderDeliveryPosition ¶
type OrderDeliveryPosition struct { Entity OrderDeliveryID string `json:"orderDeliveryId"` OrderLineItemID string `json:"orderLineItemId"` Price *CalculatedPrice `json:"price"` UnitPrice float64 `json:"unitPrice"` TotalPrice float64 `json:"totalPrice"` Quantity int `json:"quantity"` OrderLineItem *OrderLineItem `json:"orderLineItem"` OrderDelivery *OrderDelivery `json:"orderDelivery"` }
type OrderLineItem ¶
type OrderLineItem struct { Entity OrderID string `json:"orderId"` Identifier string `json:"identifier"` ReferencedID string `json:"referencedId"` ProductID string `json:"productId"` Quantity int `json:"quantity"` UnitPrice float64 `json:"unitPrice"` TotalPrice float64 `json:"totalPrice"` Label string `json:"label"` Description string `json:"description"` Good bool `json:"good"` Removable bool `json:"removable"` CoverID string `json:"coverId"` Stackable bool `json:"stackable"` Position int `json:"position"` Price *CalculatedPrice `json:"price"` PriceDefinition *PriceDefinitionInterface `json:"priceDefinition"` Payload []string `json:"payload"` ParentID string `json:"parentId"` Typ string `json:"type"` // shopware: type Order *Order `json:"order"` OrderDeliveryPositions []*OrderDeliveryPosition `json:"orderDeliveryPositions"` Cover *MediaEntity `json:"cover"` Children []*OrderLineItem `json:"children"` Product *Product `json:"product"` }
type OrderTransaction ¶
type OrderTransaction struct{}
type PaymentMethod ¶
type PaymentMethod struct { Entity PluginID string `json:"pluginId"` HandlerIdentifier string `json:"handlerIdentifier"` Name string `json:"name"` Description string `json:"description"` Position int `json:"position"` Active bool `json:"active"` AfterOrderEnabled bool `json:"afterOrderEnabled"` Plugin *Plugin `json:"plugin"` Translations []*PaymentMethodTranslation `json:"translations"` OrderTransactions []*OrderTransaction `json:"orderTransactions"` Customers []*Customer `json:"customers"` SalesChannelDefaultAssignments []*SalesChannel `json:"salesChannelDefaultAssignments"` SalesChannels []*SalesChannel `json:"salesChannels"` AvailabilityRule *Rule `json:"availabilityRule"` AvailabilityRuleID string `json:"availabilityRuleId"` MediaID string `json:"mediaId"` Media *MediaEntity `json:"media"` }
type PaymentMethodTranslation ¶
type PaymentMethodTranslation struct { TranslationEntity PaymentMethodID string `json:"paymentMethodId"` Name string `json:"name"` Description string `json:"description"` PaymentMethod *PaymentMethod `json:"paymentMethod"` }
type Price ¶
type Price struct { CurrencyID string `json:"currencyId"` Net float64 `json:"net"` Gross float64 `json:"gross"` Linked bool `json:"linked"` UnitPrice float64 `json:"unitPrice"` Quantity int `json:"quantity"` TotalPrice float64 `json:"totalPrice"` CalculatedTaxes []CalculatedTax `json:"calculatedTaxes"` TaxRules []TaxRule `json:"taxRules"` ReferencePrice ReferencePrice `json:"referencePrice"` ListPrice interface{} `json:"listPrice"` }
type PriceDefinitionInterface ¶
type PriceDefinitionInterface interface { GetPrecision() int GetType() string GetPriority() string GetConstraints() *Constraint }
type Product ¶
type Product struct { Active bool `json:"active"` AutoIncrement int `json:"autoIncrement"` Available bool `json:"available"` AvailableStock int `json:"availableStock"` BlacklistIDs []string `json:"blacklistIds"` WhitelistIDs []string `json:"whitelistIds"` CalculatedListingPrice CalculatedListingPrice `json:"calculatedListingPrice"` CalculatedPrice CalculatedPrice `json:"calculatedPrice"` Categories []*Category `json:"categories"` CategoriesRo []*Category `json:"categoriesRo"` CategoryTree []string `json:"categoryTree"` Childcount int `json:"childCount"` Children []*Product `json:"children"` ConfiguratorSettings []*ProductConfiguratorSetting `json:"configuratorSettings"` CoverID string `json:"coverId"` Cover ProductMediaEntity `json:"cover"` CrossSellings []*ProductCrossSelling `json:"crossSellings"` CrossSellingAssignedProducts []*ProductCrossSellingAssignedProduct `json:"crossSellingAssignedProducts"` Description string `json:"description"` DeliveryTimeID string `json:"deliveryTimeId"` DisplayGroup string `json:"displayGroup"` EAN string `json:"ean"` Height float64 `json:"height"` ID string `json:"id"` IsCloseout bool `json:"isCloseout"` IsNew bool `json:"isNew"` Keywords string `json:"keywords"` Length float64 `json:"length"` ListingPrices []ListingPrice `json:"listingPrices"` MainCategories []*MainCategory `json:"mainCategories"` MainVariantID string `json:"mainVariantId"` Manufacturer ProductManufacturer `json:"manufacturer"` ManufacturerID string `json:"manufacturerId"` ManufacturerNumber string `json:"manufacturerNumber"` MarkAsTopseller bool `json:"markAsTopseller"` MaxPurchase int `json:"maxPurchase"` Media []*ProductMediaEntity `json:"media"` MetaDescription string `json:"metaDescription"` MetaTitle string `json:"metaTitle"` MinPurchase int `json:"minPurchase"` Name string `json:"name"` OptionIds []string `json:"optionIds"` OrderLineItems []*OrderLineItem `json:"orderLineItems"` PackUnit string `json:"packUnit"` Parent *Product `json:"parent"` ParentID string `json:"parentId"` PurchasePrice float64 `json:"purchasePrice"` PurchaseSteps int `json:"purchaseSteps"` PurchaseUnit float64 `json:"purchaseUnit"` Price []Price `json:"price"` Prices []Price `json:"prices"` ProductNumber string `json:"productNumber"` ProductReviews []*ProductReview `json:"productReviews"` RatingAverage float64 `json:"ratingAverage"` ReleaseDate string `json:"releaseDate"` ReferenceUnit float64 `json:"referenceUnit"` RestockTime int `json:"restockTime"` SeoUrls []*SeoURL `json:"seoUrls"` ShippingFree bool `json:"shippingFree"` Stock int `json:"stock"` Tags []*Tag `json:"tags"` TagIDs []string `json:"tagIds"` Tax Tax `json:"tax"` TaxID string `json:"taxId"` Translated ProductTranslation `json:"translated"` Translations []*ProductTranslation `json:"translations"` UnitID string `json:"unitId"` Unit Unit `json:"unit"` Visibilities []*ProductVisibility `json:"visibilities"` Weight float64 `json:"weight"` Width float64 `json:"width"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` }
type ProductConfiguratorSetting ¶
type ProductConfiguratorSetting struct { Entity ProductID string `json:"productId"` OptionID string `json:"optionId"` MediaID string `json:"mediaId"` Position int `json:"position"` Price []*Price `json:"price"` Option *PropertyGroupOption `json:"option"` Media *MediaEntity `json:"media"` Selected bool `json:"selected"` Product *Product `json:"product"` }
type ProductCrossSelling ¶
type ProductCrossSelling struct { Entity Name string `json:"name"` Position int `json:"position"` SortBy string `json:"sortBy"` SortDirection string `json:"sortDirection"` Limit int `json:"limit"` Active bool `json:"active"` ProductID string `json:"productId"` Product *Product `json:"product"` ProductStreamID string `json:"productStreamId"` ProductStream ProductStream `json:"productStream"` Typ string `json:"type"` // real: type AssignedProducts []*ProductCrossSellingAssignedProduct `json:"assignedProducts"` Translations []*ProductCrossSellingTranslation `json:"translations"` }
type ProductCrossSellingTranslation ¶
type ProductCrossSellingTranslation struct { TranslationEntity ProductCrossSellingID string `json:"productCrossSellingId"` Name string `json:"name"` ProductCrossSelling *ProductCrossSelling `json:"productCrossSelling"` }
type ProductExport ¶
type ProductExport struct { Entity ProductStreamID string `json:"productStreamId"` StorefrontSalesChannelID string `json:"storefrontSalesChannelId"` SalesChannelID string `json:"salesChannelId"` SalesChannelDomainID string `json:"salesChannelDomainId"` CurrencyID string `json:"currencyId"` FileName string `json:"fileName"` AccessKey string `json:"accessKey"` Encoding string `json:"encoding"` FileFormat string `json:"fileFormat"` ProductStream *ProductStream `json:"productStream"` StorefrontSalesChannel *SalesChannel `json:"storefrontSalesChannel"` SalesChannel *SalesChannel `json:"salesChannel"` SalesChannelDomain *SalesChannelDomain `json:"salesChannelDomain"` Currency *Currency `json:"currency"` IncludeVariants bool `json:"includeVariants"` GenerateByCronjob bool `json:"generateByCronjob"` GeneratedAt string `json:"generatedAt"` Interval int `json:"interval"` HeaderTemplate string `json:"headerTemplate"` BodyTemplate string `json:"bodyTemplate"` }
type ProductManufacturer ¶
type ProductManufacturer struct { Entity Description string `json:"description"` Link string `json:"link"` Media MediaEntity `json:"media"` MediaID string `json:"mediaId"` Name string `json:"name"` Products []*Product `json:"products"` Translations []*ProductManufacturerTranslation `json:"translations"` }
type ProductManufacturerTranslation ¶
type ProductManufacturerTranslation struct { TranslationEntity ProductManufacturerID string `json:"productManufacturerId"` Name string `json:"name"` Description string `json:"description"` ProductManufacturer *ProductManufacturer `json:"productManufacturer"` }
type ProductMediaEntity ¶
type ProductPrice ¶
type ProductReview ¶
type ProductReview struct { Entity ProductID string `json:"productID"` CustomerID string `json:"customerId"` SalesChannelID string `json:"salesChannelId"` LanguageID string `json:"languageId"` ExternalUser string `json:"externalUser"` ExternalEmail string `json:"externalEmail"` Points float64 `json:"points"` Status bool `json:"status"` Comment string `json:"comment"` SalesChannel *SalesChannel `json:"salesChannel"` Language *Language `json:"language"` Customer *Customer `json:"customer"` Product *Product `json:"product"` Content string `json:"content"` Title string `json:"title"` }
type ProductSearchKeyword ¶
type ProductStream ¶
type ProductStream struct { Entity Name string `json:"name"` Description string `json:"description"` APIFilter []string `json:"apiFilter"` Filters []*ProductStreamFilter `json:"filters"` Invalid bool `json:"invalid"` Translations []*ProductStreamTranslation `json:"translations"` ProductExports []*ProductExport `json:"productExports"` ProductCrossSellings []*ProductCrossSelling `json:"productCrossSellings"` }
type ProductStreamFilter ¶
type ProductStreamFilter struct { Entity Typ string `json:"type"` // shopware: type Field string `json:"field"` Operator string `json:"operator"` Value string `json:"value"` ProductStreamID string `json:"productStreamId"` ParentID string `json:"parentId"` ProductStream *ProductStream `json:"productStream"` Queries []*ProductStreamFilter `json:"queries"` Parent *ProductStreamFilter `json:"parent"` Position int `json:"position"` Parameters []string `json:"parameters"` }
type ProductStreamTranslation ¶
type ProductStreamTranslation struct { TranslationEntity ProductStreamID string `json:"productStreamId"` Name string `json:"name"` Description string `json:"description"` ProductStream *ProductStream `json:"productStream"` }
type ProductTranslation ¶
type ProductTranslation struct { TranslationEntity Keywords string `json:"keywords"` MetaDescription string `json:"metaDescription"` MetaTitle string `json:"metaTitle"` Name string `json:"name"` PackUnit string `json:"packUnit"` ProductID string `json:"productId"` Product *Product `json:"product"` }
type ProductVisibility ¶
type ProductWrapper ¶
type Promotion ¶
type Promotion struct { Entity Name string `json:"name"` Active bool `json:"active"` ValidFrom string `json:"validFrom"` ValidUntil string `json:"validUntil"` MaxRedemptionsGlobal int `json:"maxRedemptionsGlobal"` MaxRedemptionsPerCustomer int `json:"maxRedemptionsPerCustomer"` Exclusive bool `json:"exclusive"` UseCodes bool `json:"useCodes"` UseSetGroups bool `json:"useSetGroups"` CustomerRestriction bool `json:"customerRestriction"` UseIndividualCodes bool `json:"useIndividualCodes"` IndividualCodePattern string `json:"individualCodePattern"` SalesChannels []*PromotionSalesChannel `json:"salesChannels"` Code string `json:"code"` Discounts []*PromotionDiscount `json:"discounts"` Setgroups []*PromotionSetGroup `json:"setgroups"` OrderRules []*Rule `json:"orderRules"` PersonaRules []*Rule `json:"personaRules"` PersonaCustomers []*Customer `json:"personaCustomers"` CartRules []*Rule `json:"cartRules"` Translations []*PromotionTranslation `json:"translations"` OrderCount int `json:"orderCount"` OrdersPerCustomerCount []string `json:"ordersPerCustomerCount"` ExclusionIDs []string `json:"exclusionIds"` }
type PromotionDiscount ¶
type PromotionDiscount struct { Entity PromotionID string `json:"promotionId"` Scope string `json:"scope"` Typ string `json:"type"` // shopware: type Value float64 `json:"value"` Promotion *Promotion `json:"promotion"` DiscountRules []*Rule `json:"discountRules"` ConsiderAdvancedRules bool `json:"considerAdvancedRules"` MaxValue float64 `json:"maxValue"` PromotionDiscountPrices []*PromotionDiscountPrice `json:"promotionDiscountPrices"` SorterKey string `json:"sorterKey"` ApplierKey string `json:"applierKey"` UsageKey string `json:"usageKey"` }
type PromotionDiscountPrice ¶
type PromotionIndividualCode ¶
type PromotionSalesChannel ¶
type PromotionSetGroup ¶
type PromotionSetGroup struct { Entity // contains filtered or unexported fields }
type PromotionSetGroupRule ¶
type PromotionSetGroupRule struct {
Rule
}
type PromotionTranslation ¶
type PromotionTranslation struct { TranslationEntity PromotionID string `json:"promotionId"` Name string `json:"name"` Promotion *Promotion `json:"promotion"` }
type PropertyGroupEntity ¶
type PropertyGroupEntity struct { Entity Name string `json:"name"` DisplayType string `json:"displayType"` SortingType string `json:"sortingType"` Description string `json:"description"` Position int `json:"position"` Options []*PropertyGroupOption `json:"options"` Translations []*PropertyGroupTranslation `json:"translations"` }
type PropertyGroupOption ¶
type PropertyGroupOption struct { Entity GroupID string `json:"groupId"` Name string `json:"name"` Position int `json:"position"` ColorHexCode string `json:"colorHexCode"` MediaID string `json:"mediaId"` Group *PropertyGroupEntity `json:"group"` Translations []*PropertyGroupOptionTranslation `json:"translations"` ProductConfiguratorSettings []*ProductConfiguratorSetting `json:"productConfiguratorSettings"` ProductProperties []*Product `json:"productProperties"` ProductOptions []*Product `json:"productOptions"` Media *MediaEntity `json:"media"` }
type PropertyGroupOptionTranslation ¶
type PropertyGroupOptionTranslation struct { TranslationEntity PropertyGroupOptionID string `json:"propertyGroupOptionId"` Name string `json:"name"` Position int `json:"position"` PropertyGroupOption *PropertyGroupOption `json:"propertyGroupOption"` }
type PropertyGroupTranslation ¶
type PropertyGroupTranslation struct { TranslationEntity PropertyGroupID string `json:"propertyGroupId"` Name string `json:"name"` Description string `json:"description"` Position int `json:"position"` PropertyGroup *PropertyGroupEntity `json:"propertyGroup"` }
type QuantityPriceDefinition ¶
type QuantityPriceDefinition struct { Price float64 `json:"price"` TaxRules []*TaxRule `json:"taxRules"` Quantity int `json:"quantity"` IsCalculated bool `json:"isCalculated"` Precision int `json:"precision"` ReferencePriceDefinition *ReferencePriceDefinition `json:"referencePriceDefinition"` ListPrice float64 `json:"listPrice"` }
func NewQuantityPriceDefinition ¶
func NewQuantityPriceDefinition(price, listPrice float64, taxRules []*TaxRule, quantity, precision int, isCalculated bool, referencePrice *ReferencePriceDefinition) *QuantityPriceDefinition
func (*QuantityPriceDefinition) GetConstraints ¶
func (q *QuantityPriceDefinition) GetConstraints() *Constraint
GetConstraints returns the constraints
func (*QuantityPriceDefinition) GetIsCalculated ¶
func (q *QuantityPriceDefinition) GetIsCalculated() bool
IsCalculated returns isCalculated
func (*QuantityPriceDefinition) GetPrecision ¶
func (q *QuantityPriceDefinition) GetPrecision() int
GetPrecision returns the precision
func (*QuantityPriceDefinition) GetPrice ¶
func (q *QuantityPriceDefinition) GetPrice() float64
GetPrice returns the Price
func (*QuantityPriceDefinition) GetPriority ¶
func (q *QuantityPriceDefinition) GetPriority() int
GetPriority returns the priority
func (*QuantityPriceDefinition) GetQuantity ¶
func (q *QuantityPriceDefinition) GetQuantity() int
GetQuantity returns the Quantity
func (*QuantityPriceDefinition) GetTaxRules ¶
func (q *QuantityPriceDefinition) GetTaxRules() []*TaxRule
GetTaxRules returns the TaxRules
func (*QuantityPriceDefinition) GetType ¶
func (q *QuantityPriceDefinition) GetType() string
GetType returns the type
func (*QuantityPriceDefinition) SetPrecision ¶
func (q *QuantityPriceDefinition) SetPrecision(precision int)
SetPrecision sets the Precision
func (*QuantityPriceDefinition) SetQuantity ¶
func (q *QuantityPriceDefinition) SetQuantity(quantity int)
SetQuantity sets the Quantity
type ReferencePrice ¶
type ReferencePrice struct { ReferencePriceDefinition Price float64 `json:"price"` }
func NewReferencePrice ¶
func NewReferencePrice(price, purchaseUnit, referenceUnit float64, unitName string) *ReferencePrice
func (*ReferencePrice) GetAPIAlias ¶
func (r *ReferencePrice) GetAPIAlias() string
func (*ReferencePrice) GetPrice ¶
func (r *ReferencePrice) GetPrice() float64
type ReferencePriceDefinition ¶
type ReferencePriceDefinition struct { PurchaseUnit float64 `json:"purchaseUnit"` ReferenceUnit float64 `json:"referenceUnit"` UnitName string `json:"unitName"` }
func NewReferencePriceDefinition ¶
func NewReferencePriceDefinition(purchaseUnit, referenceUnit float64, unitName string) *ReferencePriceDefinition
NewReferencePriceDefinition returns a new ReferencePriceDefinition
func (*ReferencePriceDefinition) GetAPIAlias ¶
func (*ReferencePriceDefinition) GetAPIAlias() string
GetAPIAlias returns the API Alias
func (*ReferencePriceDefinition) GetPurchaseUnit ¶
func (r *ReferencePriceDefinition) GetPurchaseUnit() float64
GetPurchaseUnit returns the PurchaseUnit
func (*ReferencePriceDefinition) GetReferenceUnit ¶
func (r *ReferencePriceDefinition) GetReferenceUnit() float64
GetReferenceUnit returns the ReferenceUnit
func (*ReferencePriceDefinition) GetUnitName ¶
func (r *ReferencePriceDefinition) GetUnitName() string
GetUnitName returns the UnitName
type Rule ¶
type Rule struct { Entity Name string `json:"name"` Description string `json:"description"` Priority int `json:"priority"` Payload interface{} `json:"payload"` // TODO if it's used somewhere within API ModuleTypes []string `json:"moduleTypes"` ProductPrices []*ProductPrice `json:"productPrices"` ShippingMethods []*ShippingMethod `json:"shippingMethods"` PaymentMethods []*PaymentMethod `json:"paymentMethods"` Conditions []*RuleCondition `json:"conditions"` Invalid bool `json:"invalid"` ShippingMethodPrices []*ShippingMethodPrice `json:"shippingMethodPrices"` PromotionDiscounts []*PromotionDiscount `json:"promotionDiscounts"` PromotionSetGroups []*PromotionSetGroup `json:"promotionSetGroups"` ShippingMethodPriceCalculations []*ShippingMethodPrice `json:"shippingMethodPriceCalculations"` PersonaPromotions []*Promotion `json:"personaPromotions"` OrderPromotions []*Promotion `json:"orderPromotions"` CartPromotions []*Promotion `json:"cartPromotions"` }
type RuleCondition ¶
type RuleCondition struct { Entity Typ string `json:"type"` RuleID string `json:"ruleId"` ParentID string `json:"parentId"` Value []string `json:"value"` Rule *Rule `json:"rule"` Children []*RuleCondition `json:"children"` Parent []*RuleCondition `json:"parent"` Position int `json:"position"` }
type SalesChannel ¶
type SalesChannel struct { Entity TypeID string `json:"typeId"` LanguageID string `json:"languageId"` CurrencyID string `json:"currencyId"` PaymentMethodID string `json:"paymentMethodId"` ShippingMethodID string `json:"shippingMethodId"` CountryID string `json:"countryId"` ServiceCategoryID string `json:"serviceCategoryId"` Name string `json:"name"` ShortName string `json:"shortName"` AccessKey string `json:"accessKey"` Currencies []*Currency `json:"currencies"` Languages []*Language `json:"languages"` Configuration []string `json:"configuration"` Active bool `json:"active"` Maintenance bool `json:"maintenance"` MaintenanceIPWhitelistgo []string `json:"maintenanceIpWhitelist"` SalesChannelType *SalesChannelType `json:"type"` Currency *Currency `json:"currency"` Language *Language `json:"language"` PaymentMethod *PaymentMethod `json:"paymentMethod"` ShippingMethod *ShippingMethod `json:"shippingMethod"` Country *Country `json:"country"` Orders []*Order `json:"orders"` Customers []*Customer `json:"customers"` Countries []*Country `json:"countries"` PaymentMethods []*PaymentMethod `json:"paymentMethods"` ShippingMethods []*ShippingMethod `json:"shippingMethods"` Translations []*SalesChannelTranslation `json:"translations"` Domains []*SalesChannelDomain `json:"domains"` SystemConfigs []*SystemConfig `json:"systemConfigs"` ServiceCategory *Category `json:"serviceCategory"` ProductVisibilities []*ProductVisibility `json:"productVisibilities"` MailTemplates []*MailTemplateSalesChannel `json:"mailTemplates"` NumberRangeSalesChannels []*NumberRangeSalesChannel `json:"numberRangeSalesChannels"` CustomerGroupID string `json:"customerGroupId"` CustomerGroup *CustomerGroup `json:"customerGroup"` NewsletterRecipients []*NewsletterRecipient `json:"newsletterRecipients"` PromotionSalesChannels []*PromotionSalesChannel `json:"promotionSalesChannels"` DocumentBaseConfigSalesChannels DocumentBaseConfigDefinition `json:"documentBaseConfigSalesChannels"` ProductReviews []*ProductReview `json:"productReviews"` SeoUrls []*SeoURL `json:"seoUrls"` SeoURLTemplates []*SeoURLTemplate `json:"seoUrlTemplates"` MainCategories []*MainCategory `json:"mainCategories"` PaymentMethodIDs []string `json:"paymentMethodIds"` ProductExports []*ProductExport `json:"productExports"` HreflangActive bool `json:"hreflangActive"` HreflangDefaultDomainID string `json:"hreflangDefaultDomainId"` HreflangDefaultDomain *SalesChannelDomain `json:"hreflangDefaultDomain"` AnalyticsID string `json:"analyticsId"` Analytics *SalesChannelAnalytics `json:"analytics"` GoogleShoppingAccount *GoogleShoppingAccount `json:"googleShoppingAccount"` }
type SalesChannelAnalytics ¶
type SalesChannelAnalytics struct { Entity TrackingID string `json:"trackingId"` Active bool `json:"active"` TrackOrders bool `json:"trackOrders"` SalesChannel *SalesChannel `json:"salesChannel"` }
type SalesChannelDomain ¶
type SalesChannelDomain struct { Entity URL string `json:"url"` CurrencyID string `json:"currencyId"` SnippetSetID string `json:"snippetSetId"` SnippetSet *SnippetSet `json:"snippetSet"` SalesChannelID string `json:"salesChannelId"` SalesChannel *SalesChannel `json:"salesChannel"` LanguageID string `json:"languageId"` Language *Language `json:"language"` ProductExports []*ProductExport `json:"productExports"` SalesChannelDefaultHreflang *SalesChannel `json:"salesChannelDefaultHreflang"` HreflangUseOnlyLocale bool `json:"hreflangUseOnlyLocale"` // contains filtered or unexported fields }
type SalesChannelTranslation ¶
type SalesChannelTranslation struct { TranslationEntity SalesChannelID string `json:"salesChannelId"` Name string `json:"name"` SalesChannel *SalesChannel `json:"salesChannel"` }
type SalesChannelType ¶
type SalesChannelType struct { Entity Name string `json:"name"` Manufacturer string `json:"manufacturer"` Description string `json:"description"` DescriptionLong string `json:"descriptionLong"` CoverURL string `json:"coverUrl"` IconName string `json:"iconName"` ScreenshotUrls []string `json:"screenshotUrls"` SalesChannels []*SalesChannel `json:"salesChannels"` // contains filtered or unexported fields }
type SalesChannelTypeTranslation ¶
type SalesChannelTypeTranslation struct { TranslationEntity SalesChannelTypeID string `json:"salesChannelTypeId"` Name string `json:"name"` Manufacturer string `json:"manufacturer"` Description string `json:"description"` DescriptionLong string `json:"descriptionLong"` SalesChannelType *SalesChannelType `json:"salesChannelType"` }
type Salutation ¶
type Salutation struct { Entity SalutationKey string `json:"salutationKey"` DisplayName string `json:"displayName"` ÖetterName string `json:"letterName"` Translations []*SalutationTranslation `json:"translations"` Customers []*Customer `json:"customers"` CustomerAddresses []*CustomerAddress `json:"customerAddresses"` OrderCustomers []*OrderCustomer `json:"orderCustomers"` OrderAddresses []*OrderAddress `json:"orderAddresses"` NewsletterRecipients []*NewsletterRecipient `json:"newsletterRecipients"` }
type SalutationTranslation ¶
type SalutationTranslation struct { TranslationEntity SalutationID string `json:"salutationId"` DisplayName string `json:"displayName"` LetterName string `json:"letterName"` Salutation *Salutation `json:"salutation"` }
type SeoURL ¶
type SeoURL struct { Entity SalesChannelID string `json:"salesChannelId"` LanguageID string `json:"languageId"` RouteName string `json:"routeName"` ForeignKey string `json:"foreignKey"` PathInfo string `json:"pathInfo"` SeoPathInfo string `json:"seoPathInfo"` IsCanonical bool `json:"isCanonical"` IsModified bool `json:"isModified"` IsDeleted bool `json:"isDeleted"` IsValid bool `json:"isValid"` SalesChannel *SalesChannel `json:"salesChannel"` Language *Language `json:"language"` URL string `json:"url"` Error string `json:"error"` }
type SeoURLTemplate ¶
type SeoUrlTranslation ¶
type SeoUrlTranslation struct{}
type ShippingMethod ¶
type ShippingMethod struct { Entity Name string `json:"name"` Active bool `json:"active"` Description string `json:"description"` TrackingURL string `json:"trackingUrl"` DeliveryTimeID string `json:"deliveryTimeId"` DeliveryTime *DeliveryTime `json:"deliveryTime"` Translations []*ShippingMethodTranslation `json:"translations"` OrderDeliveries []*OrderDelivery `json:"orderDeliveries"` SalesChannelDefaultAssignments []*SalesChannel `json:"salesChannelDefaultAssignments"` SalesChannels []*SalesChannel `json:"salesChannels"` AvailabilityRule *Rule `json:"availabilityRule"` AvailabilityRuleID string `json:"availabilityRuleId"` Prices []*ShippingMethodPrice `json:"prices"` MediaID string `json:"mediaId"` Media *MediaEntity `json:"media"` Tags []*Tag `json:"tags"` }
type ShippingMethodPrice ¶
type ShippingMethodPrice struct { Entity ShippingMethodID string `json:"shippingMethodId"` CurrencyID string `json:"currencyId"` RuleID string `json:"ruleId"` Calculation int `json:"calculation"` QuantityStart float64 `json:"quantityStart"` QuantityEnd float64 `json:"quantityEnd"` Price float64 `json:"price"` ShippingMethod *ShippingMethod `json:"shippingMethod"` Rule *Rule `json:"rule"` Currency *Currency `json:"currency"` CalculationRuleID string `json:"calculationRuleId"` CalculationRule *Rule `json:"calculationRule"` CurrencyPrice []*Price `json:"currencyPrice"` }
type ShippingMethodTranslation ¶
type ShippingMethodTranslation struct { TranslationEntity ShippingMethodID string `json:"shippingMethodId"` Name string `json:"name"` Description string `json:"description"` TrackingURL string `json:"trackingUrl"` ShippingMethod *ShippingMethod `json:"shippingMethod"` }
type SnippetSet ¶
type SnippetSet struct{}
type StateMachineState ¶
type StateMachineState struct{}
type SystemConfig ¶
type SystemConfig struct{}
type TaxRuleType ¶
type TaxRuleType struct { Entity // contains filtered or unexported fields }
type TaxRuleTypeTranslation ¶
type TaxRuleTypeTranslation struct { TranslationEntity TaxRuleTypeID string `json:"taxRuleTypeId"` TypeName string `json:"typeName"` TaxRuleType *TaxRuleType `json:"taxRuleType"` }
type TranslationEntity ¶
type Unit ¶
type Unit struct { Entity ShortCode string `json:"shortCode"` Name string `json:"name"` Translations []*UnitTranslation `json:"translations"` Products []*Product `json:"products"` }
type UnitTranslation ¶
type UnitTranslation struct { TranslationEntity UnitID string `json:"unitId"` ShortCode string `json:"shortCode"` Name string `json:"name"` Unit *Unit `json:"unit"` }
Source Files ¶
- cartcalculatedprice.go
- cartcartprice.go
- cartconstraint.go
- cartlistprice.go
- cartpricedefinitioninterface.go
- cartquantitypricedefinition.go
- cartreferenceprice.go
- cartreferencepricedefinition.go
- category.go
- categorytranslation.go
- common.go
- context.go
- country.go
- countrystate.go
- countrystatetranslation.go
- countrytranslation.go
- currency.go
- currencytranslation.go
- customer.go
- customeraddress.go
- customergroup.go
- customergrouptranslation.go
- customerrecovery.go
- deliverytime.go
- deliverytimetranslation.go
- document.go
- documentbaseconfig.go
- documentbaseconfigsaleschannel.go
- documenttype.go
- documenttypetranslation.go
- entity.go
- googleaccountcredential.go
- googleshoppingaccount.go
- googleshoppingmerchantaccount.go
- language.go
- locale.go
- localetranslation.go
- maincategory.go
- media.go
- mediafolder.go
- mediafolderconfiguration.go
- mediathumbnail.go
- mediathumbnailsize.go
- mediatranslation.go
- numberrange.go
- numberrangesaleschannel.go
- numberrangestate.go
- numberrangetranslation.go
- numberrangetype.go
- numberrangetypetranslation.go
- order.go
- orderaddress.go
- ordercustomer.go
- orderdelivery.go
- orderdeliveryposition.go
- orderlineitem.go
- paymentmethod.go
- paymentmethodtranslation.go
- pricing.go
- product.go
- productconfiguratorsetting.go
- productcrossselling.go
- productcrosssellingassignedproducts.go
- productcrosssellingtranslation.go
- productexport.go
- productkeyworddictionary.go
- productmanufacturer.go
- productmedia.go
- productprice.go
- productreview.go
- productsearchkeyword.go
- productstream.go
- productstreamfilter.go
- productstreamtranslation.go
- producttranslation.go
- productvisibility.go
- promotion.go
- promotiondiscount.go
- promotiondiscountprice.go
- promotionindividualcode.go
- promotionsaleschannel.go
- promotionsetgroup.go
- promotionsetgrouprule.go
- promotiontranslation.go
- property.go
- results.go
- rule.go
- rulecondition.go
- saleschannel.go
- saleschannelanalytics.go
- saleschanneldomain.go
- saleschanneltranslation.go
- saleschanneltype.go
- saleschanneltypetranslation.go
- salutation.go
- salutationtranslation.go
- seourl.go
- seourltemplate.go
- shippingmethod.go
- shippingmethodprice.go
- shippingmethodtranslation.go
- tag.go
- tax.go
- taxrule.go
- taxruletype.go
- taxruletypetranslation.go
- todo.go
- unit.go
- unittranslation.go