-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsales_channel.go
65 lines (64 loc) · 5.02 KB
/
sales_channel.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package shopware
// SalesChannel see:
// https://github.com/shopware/platform/blob/6.2/src/Core/System/SalesChannel/SalesChannelEntity.php
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"`
NavigationCategoryID string `json:"navigationCategoryId"`
NavigationCategoryDepth int `json:"navigationCategoryDepth"`
FooterCategoryID string `json:"footerCategoryId"`
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"`
NavigationCategory *Category `json:"navigationCategory"`
FooterCategory *Category `json:"footerCategory"`
ServiceCategory *Category `json:"serviceCategory"`
ProductVisibilities []*ProductVisibility `json:"productVisibilities"`
MailTemplates []*MailTemplateSalesChannel `json:"mailTemplates"`
MailHeaderFooterID string `json:"mailHeaderFooterId"`
NumberRangeSalesChannels []*NumberRangeSalesChannel `json:"numberRangeSalesChannels"`
MailHeaderFooter string `json:"mailHeaderFooter"`
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"`
}