Skip to content

Commit

Permalink
feat(precise-amounts): Add precise amounts to fee object (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivannovosad authored Sep 4, 2024
1 parent e50ff93 commit eb954b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,11 @@ type Fee struct {
AmountCents int `json:"amount_cents,omitempty"`
AmountDetails map[string]interface{} `json:"amount_details,omitempty"`
PreciseUnitAmount string `json:"precise_unit_amount,omitempty"`
PreciseAmount string `json:"precise_amount,omitempty"`
PreciseTotalAmount string `json:"precise_total_amount,omitempty"`
AmountCurrency string `json:"amount_currency,omitempty"`
TaxesAmountCents int `json:"taxes_amount_cents,omitempty"`
TaxesPreciseAmount string `json:"taxes_precise_amount,omitempty"`
TaxesRate float32 `json:"taxes_rate,omitempty"`
TotalAmountCents int `json:"total_amount_cents,omitempty"`
TotalAmountCurrency string `json:"total_amount_currency,omitempty"`
Expand Down

0 comments on commit eb954b2

Please sign in to comment.