Skip to content

Commit

Permalink
Fix price attributes struct
Browse files Browse the repository at this point in the history
  • Loading branch information
AchoArnold committed May 11, 2024
1 parent be38531 commit e8ef769
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions price.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ type PriceAttributes struct {

// PriceAttributesTiers is list of pricing tier objects when using volume and graduated pricing.
type PriceAttributesTiers struct {
LastUnit int `json:"last_unit"`
UnitPrice int `json:"unit_price"`
UnitPriceDecimal any `json:"unit_price_decimal"`
FixedFee int `json:"fixed_fee"`
LastUnit any `json:"last_unit"`
UnitPrice int `json:"unit_price"`
UnitPriceDecimal *string `json:"unit_price_decimal"`
FixedFee int `json:"fixed_fee"`
}

// APIResponseRelationshipsPrice relationships of a variant
Expand Down

0 comments on commit e8ef769

Please sign in to comment.