Skip to content

Commit

Permalink
replace PreciseUnitAmount type string to int
Browse files Browse the repository at this point in the history
  • Loading branch information
hlippa committed Nov 29, 2023
1 parent 0e42407 commit 388e325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ type Fee struct {
AmountCents int `json:"amount_cents,omitempty"`
AmountDetails map[string]interface{} `json:"amount_details,omitempty"`
UnitAmountCents int `json:"unit_amount_cents,omitempty"` // deprecated
PreciseUnitAmount int `json:"precise_unit_amount,omitempty"`
PreciseUnitAmount string `json:"precise_unit_amount,omitempty"`
AmountCurrency string `json:"amount_currency,omitempty"`
TaxesAmountCents int `json:"taxes_amount_cents,omitempty"`
TaxesRate float32 `json:"taxes_rate,omitempty"`
Expand Down

0 comments on commit 388e325

Please sign in to comment.