Skip to content

Commit

Permalink
Merge pull request #36 from goark/fix-bugs-and-testing
Browse files Browse the repository at this point in the history
Add VariationAttribute in entity
  • Loading branch information
spiegel-im-spiegel committed Feb 13, 2024
2 parents 17c8339 + abd0cbf commit 25c35c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions entity/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ type GenPriceInfo struct {
PricePerUnit float64 `json:",omitempty"`
}

type VariationAttribute struct {
Name string `json:",omitempty"`
Value string `json:",omitempty"`
}

type Item struct {
ASIN string
ParentASIN string
Expand Down Expand Up @@ -177,6 +182,7 @@ type Item struct {
Currency string
}
} `json:",omitempty"`
VariationAttributes []VariationAttribute `json:",omitempty"`
}
Offers *struct {
Listings *[]struct {
Expand Down

0 comments on commit 25c35c2

Please sign in to comment.