Skip to content

Commit

Permalink
Add VariationAttribute in entity
Browse files Browse the repository at this point in the history
  • Loading branch information
spiegel-im-spiegel committed Feb 13, 2024
1 parent 17c8339 commit abd0cbf
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 abd0cbf

Please sign in to comment.