support datafields in projection
This commit is contained in:
1 parent
b128608316
commit
d04679daf5
4 files changed
+64
-7
No files matched your search
@@ -92,13 +92,14 @@ type Projection struct {
|
||||
// TaxClass uses a string identifier (see platform/tax class constants).
|
||||
// Empty string means "unclassified"; the consumer's tax.Provider is what
|
||||
// resolves the identifier to a numeric rate.
|
||||
TaxClass string `json:"tax_class"`
|
||||
InventoryTracked bool `json:"inventory_tracked"`
|
||||
DropShip bool `json:"drop_ship"`
|
||||
Category string `json:"category,omitempty"`
|
||||
Brand string `json:"brand,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
UpdatedAt int64 `json:"updated_at"`
|
||||
Attributes json.RawMessage `json:"attributes,omitempty"`
|
||||
TaxClass string `json:"tax_class"`
|
||||
InventoryTracked bool `json:"inventory_tracked"`
|
||||
DropShip bool `json:"drop_ship"`
|
||||
Category string `json:"category,omitempty"`
|
||||
Brand string `json:"brand,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
UpdatedAt int64 `json:"updated_at"`
|
||||
}
|
||||
|
||||
// PayloadKey is the envelope key producers use when publishing a slice of
|
||||
|
||||
Reference in new issue
Block a user