Skip to content

Commit

Permalink
Merge pull request #838 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 a491f0b + 6fe412d commit 4085a60
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
4 changes: 4 additions & 0 deletions lib/recurly/requests/billing_info_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ class BillingInfoCreate < Request
# @return [String] Company name
define_attribute :company, String

# @!attribute currency
# @return [String] 3-letter ISO 4217 currency code.
define_attribute :currency, String

# @!attribute cvv
# @return [String] *STRONGLY RECOMMENDED*
define_attribute :cvv, String
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/resources/custom_field_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CustomFieldDefinition < Resource
define_attribute :updated_at, DateTime

# @!attribute user_access
# @return [String] The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `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.
# @return [String] The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `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.
define_attribute :user_access, String
end
end
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/invoice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ class Invoice < Resource
# @return [DateTime] Last updated at
define_attribute :updated_at, DateTime

# @!attribute used_tax_service
# @return [Boolean] 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.
define_attribute :used_tax_service, :Boolean

# @!attribute vat_number
# @return [String] 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.
define_attribute :vat_number, String
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 4085a60

Please sign in to comment.