-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurrency.go
23 lines (22 loc) · 1.42 KB
/
currency.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package shopware
// Currency see:
// https://github.com/shopware/platform/blob/6.2/src/Core/System/Currency/CurrencyEntity.php
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"`
}