From 6fe412d82651e521df15bbfc233d11c1a48f2198 Mon Sep 17 00:00:00 2001 From: DX Codefresh Date: Wed, 26 Apr 2023 20:14:45 +0000 Subject: [PATCH] Generated Latest Changes for v2019-10-10 --- lib/recurly/requests/billing_info_create.rb | 4 ++++ .../resources/custom_field_definition.rb | 2 +- lib/recurly/resources/invoice.rb | 4 ++++ openapi/api.yaml | 20 +++++++++++++++++-- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/lib/recurly/requests/billing_info_create.rb b/lib/recurly/requests/billing_info_create.rb index ffc7cbf1d..768527124 100644 --- a/lib/recurly/requests/billing_info_create.rb +++ b/lib/recurly/requests/billing_info_create.rb @@ -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 diff --git a/lib/recurly/resources/custom_field_definition.rb b/lib/recurly/resources/custom_field_definition.rb index b35c9b659..8cb6bcd6b 100644 --- a/lib/recurly/resources/custom_field_definition.rb +++ b/lib/recurly/resources/custom_field_definition.rb @@ -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 diff --git a/lib/recurly/resources/invoice.rb b/lib/recurly/resources/invoice.rb index ec1cecc25..0e379f1d5 100644 --- a/lib/recurly/resources/invoice.rb +++ b/lib/recurly/resources/invoice.rb @@ -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 diff --git a/openapi/api.yaml b/openapi/api.yaml index 10fdb2318..b553f47ed 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -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: |- @@ -15561,7 +15561,9 @@ components: - es-MX - es-US - fi-FI + - fr-BE - fr-CA + - fr-CH - fr-FR - hi-IN - it-IT @@ -15698,7 +15700,9 @@ components: - es-MX - es-US - fi-FI + - fr-BE - fr-CA + - fr-CH - fr-FR - hi-IN - it-IT @@ -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 @@ -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 @@ -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