Skip to content

Commit

Permalink
Merge pull request #189 from recurly/v3-v2019-10-10-1682539917
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2019-10-10
  • Loading branch information
judith authored Apr 26, 2023
2 parents 65eea71 + 26f5719 commit 0d3e401
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
3 changes: 3 additions & 0 deletions billing_info_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,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
1 change: 1 addition & 0 deletions custom_field_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ type CustomFieldDefinition struct {
// - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but
// editing will only be available via the API.
// - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
// - `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
UserAccess string `json:"user_access,omitempty"`

// Used to label the field when viewing and editing the field in Recurly's admin UI.
Expand Down
3 changes: 3 additions & 0 deletions invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ type Invoice struct {
// Tax info
TaxInfo TaxInfo `json:"tax_info,omitempty"`

// Will be `true` when the invoice had a successful response from the tax service and `false` when the invoice was not sent to tax service due to a lack of address or enabled jurisdiction or was processed without tax due to a non-blocking error returned from the tax service.
UsedTaxService bool `json:"used_tax_service,omitempty"`

// VAT registration number for the customer on this invoice. This will come from the VAT Number field in the Billing Info or the Account Info depending on your tax settings and the invoice collection method.
VatNumber string `json:"vat_number,omitempty"`

Expand Down
20 changes: 18 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ tags:
x-displayName: Site
- name: custom_field_definition
x-displayName: Custom Field Definition
description: Describes the fields that can use used as custom fields on accounts
or subscriptions.
description: Describes the fields that can be used as custom fields on accounts,
items, line-items (one time charges), plans, or subscriptions.
- name: item
x-displayName: Item
description: |-
Expand Down Expand Up @@ -15561,7 +15561,9 @@ components:
- es-MX
- es-US
- fi-FI
- fr-BE
- fr-CA
- fr-CH
- fr-FR
- hi-IN
- it-IT
Expand Down Expand Up @@ -15698,7 +15700,9 @@ components:
- es-MX
- es-US
- fi-FI
- fr-BE
- fr-CA
- fr-CH
- fr-FR
- hi-IN
- it-IT
Expand Down Expand Up @@ -16619,6 +16623,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 @@ -17468,10 +17475,12 @@ components:
- `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but
editing will only be available via the API.
- `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
- `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
enum:
- api_only
- read_only
- write
- set_only
display_name:
type: string
title: Display name
Expand Down Expand Up @@ -17966,6 +17975,13 @@ components:
description: The outstanding balance remaining on this invoice.
tax_info:
"$ref": "#/components/schemas/TaxInfo"
used_tax_service:
type: boolean
title: Used Tax Service?
description: Will be `true` when the invoice had a successful response from
the tax service and `false` when the invoice was not sent to tax service
due to a lack of address or enabled jurisdiction or was processed without
tax due to a non-blocking error returned from the tax service.
vat_number:
type: string
title: VAT number
Expand Down

0 comments on commit 0d3e401

Please sign in to comment.