Skip to content

Commit abd0cbf

Browse files
Add VariationAttribute in entity
1 parent 17c8339 commit abd0cbf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

entity/entity.go

Lines changed: 6 additions & 0 deletions
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)