diff --git a/fee.go b/fee.go index 89015d7..3c7143e 100644 --- a/fee.go +++ b/fee.go @@ -108,7 +108,8 @@ type Fee struct { ExternalSubscriptionID string `json:"external_subscription_id,omitempty"` AmountCents int `json:"amount_cents,omitempty"` - UnitAmountCents int `json:"unit_amount_cents,omitempty"` + UnitAmountCents int `json:"unit_amount_cents,omitempty"` // deprecated + PreciseUnitAmount int `json:"precise_unit_amount,omitempty"` AmountCurrency string `json:"amount_currency,omitempty"` TaxesAmountCents int `json:"taxes_amount_cents,omitempty"` TaxesRate float32 `json:"taxes_rate,omitempty"` @@ -118,7 +119,7 @@ type Fee struct { Invoiceable bool `json:"invoiceable,omitempty"` FromDate string `json:"from_date,omitempty"` ToDate string `json:"to_date,omitempty"` - InvoiceDisplayName string `json:"invoice_display_name,omitempty"` + InvoiceDisplayName string `json:"invoice_display_name,omitempty"` Units string `json:"units,omitempty"` Description string `json:"description,omitempty"`