Skip to content

Commit

Permalink
Merge pull request #186 from recurly/v3-v2021-02-25-1680632114
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25
  • Loading branch information
amandamfielding authored Apr 5, 2023
2 parents fda3125 + 2885875 commit 0d87f19
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions billing_info_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ type BillingInfoCreate struct {
// *STRONGLY RECOMMENDED*
Cvv *string `json:"cvv,omitempty"`

// 3-letter ISO 4217 currency code.
Currency *string `json:"currency,omitempty"`

// VAT number
VatNumber *string `json:"vat_number,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion external_charge.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type ExternalCharge struct {
Currency string `json:"currency,omitempty"`

// Unit Amount
UnitAmount float64 `json:"unit_amount,omitempty"`
UnitAmount string `json:"unit_amount,omitempty"`

Quantity int `json:"quantity,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion external_invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ExternalInvoice struct {
State string `json:"state,omitempty"`

// Total
Total float64 `json:"total,omitempty"`
Total string `json:"total,omitempty"`

// 3-letter ISO 4217 currency code.
Currency string `json:"currency,omitempty"`
Expand Down
11 changes: 7 additions & 4 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17604,6 +17604,9 @@ components:
title: Security code or CVV
description: "*STRONGLY RECOMMENDED*"
maxLength: 4
currency:
type: string
description: 3-letter ISO 4217 currency code.
vat_number:
type: string
title: VAT number
Expand Down Expand Up @@ -23089,8 +23092,8 @@ components:
state:
"$ref": "#/components/schemas/ExternalInvoiceStateEnum"
total:
type: number
format: float
type: string
format: decimal
title: Total
currency:
type: string
Expand Down Expand Up @@ -23150,8 +23153,8 @@ components:
title: Currency
description: 3-letter ISO 4217 currency code.
unit_amount:
type: number
format: float
type: string
format: decimal
title: Unit Amount
quantity:
type: integer
Expand Down

0 comments on commit 0d87f19

Please sign in to comment.