Skip to content

Commit e8ef769

Browse files
committed
Fix price attributes struct
1 parent be38531 commit e8ef769

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

price.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ type PriceAttributes struct {
2727

2828
// PriceAttributesTiers is list of pricing tier objects when using volume and graduated pricing.
2929
type PriceAttributesTiers struct {
30-
LastUnit int `json:"last_unit"`
31-
UnitPrice int `json:"unit_price"`
32-
UnitPriceDecimal any `json:"unit_price_decimal"`
33-
FixedFee int `json:"fixed_fee"`
30+
LastUnit any `json:"last_unit"`
31+
UnitPrice int `json:"unit_price"`
32+
UnitPriceDecimal *string `json:"unit_price_decimal"`
33+
FixedFee int `json:"fixed_fee"`
3434
}
3535

3636
// APIResponseRelationshipsPrice relationships of a variant

0 commit comments

Comments
 (0)