Skip to content

Commit 25c35c2

Browse files
Merge pull request #36 from goark/fix-bugs-and-testing
Add VariationAttribute in entity
2 parents 17c8339 + abd0cbf commit 25c35c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

entity/entity.go

+6
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ type GenPriceInfo struct {
6666
PricePerUnit float64 `json:",omitempty"`
6767
}
6868

69+
type VariationAttribute struct {
70+
Name string `json:",omitempty"`
71+
Value string `json:",omitempty"`
72+
}
73+
6974
type Item struct {
7075
ASIN string
7176
ParentASIN string
@@ -177,6 +182,7 @@ type Item struct {
177182
Currency string
178183
}
179184
} `json:",omitempty"`
185+
VariationAttributes []VariationAttribute `json:",omitempty"`
180186
}
181187
Offers *struct {
182188
Listings *[]struct {

0 commit comments

Comments
 (0)