Skip to content

Commit

Permalink
Merge pull request #867 from recurly/v3-v2021-02-25-6786635673
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25
  • Loading branch information
jsanderson1130 authored Nov 7, 2023
2 parents 4407d59 + 40dd77d commit 2b473b9
Show file tree
Hide file tree
Showing 14 changed files with 71 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/recurly/requests/account_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class AccountCreate < Request
define_attribute :first_name, String

# @!attribute invoice_template_id
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
define_attribute :invoice_template_id, String

# @!attribute last_name
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/requests/account_purchase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class AccountPurchase < Request
define_attribute :id, String

# @!attribute invoice_template_id
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
define_attribute :invoice_template_id, String

# @!attribute last_name
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/requests/account_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class AccountUpdate < Request
define_attribute :first_name, String

# @!attribute invoice_template_id
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
define_attribute :invoice_template_id, String

# @!attribute last_name
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class Address < Request
# @return [String] Country, 2-letter ISO 3166-1 alpha-2 code.
define_attribute :country, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute phone
# @return [String] Phone number
define_attribute :phone, String
Expand Down
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 @@ -102,6 +102,10 @@ class BillingInfoCreate < Request
# @return [Boolean] The `primary_payment_method` field is used to designate the primary billing info on the account. The first billing info created on an account will always become primary. Adding additional billing infos provides the flexibility to mark another billing info as primary, or adding additional non-primary billing infos. This can be accomplished by passing the `primary_payment_method` with a value of `true`. When adding billing infos via the billing_info and /accounts endpoints, this value is not permitted, and will return an error if provided.
define_attribute :primary_payment_method, :Boolean

# @!attribute roku_billing_agreement_id
# @return [String] Roku's CIB if billing through Roku
define_attribute :roku_billing_agreement_id, String

# @!attribute routing_number
# @return [String] The bank's rounting number. (ACH only)
define_attribute :routing_number, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/invoice_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class InvoiceAddress < Request
# @return [String] First name
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String] Last name
define_attribute :last_name, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/shipping_address_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class ShippingAddressCreate < Request
# @return [String]
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String]
define_attribute :last_name, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/requests/shipping_address_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class ShippingAddressUpdate < Request
# @return [String]
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute id
# @return [String] Shipping Address ID
define_attribute :id, String
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/resources/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Account < Resource
define_attribute :id, String

# @!attribute invoice_template_id
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify if a non-default invoice template will be used to generate invoices for the account. For sites without multiple invoice templates enabled, the default template will always be used.
# @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify if a non-default invoice template will be used to generate invoices for the account. For sites without multiple invoice templates enabled, the default template will always be used.
define_attribute :invoice_template_id, String

# @!attribute last_name
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class Address < Resource
# @return [String] Country, 2-letter ISO 3166-1 alpha-2 code.
define_attribute :country, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute phone
# @return [String] Phone number
define_attribute :phone, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/address_with_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class AddressWithName < Resource
# @return [String] First name
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String] Last name
define_attribute :last_name, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/invoice_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class InvoiceAddress < Resource
# @return [String] First name
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute last_name
# @return [String] Last name
define_attribute :last_name, String
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/resources/shipping_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ class ShippingAddress < Resource
# @return [String]
define_attribute :first_name, String

# @!attribute geo_code
# @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
define_attribute :geo_code, String

# @!attribute id
# @return [String] Shipping Address ID
define_attribute :id, String
Expand Down
37 changes: 31 additions & 6 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17256,8 +17256,8 @@ components:
type: string
title: Invoice Template ID
description: Unique ID to identify an invoice template. Available when
the site is on a Pro or Enterprise plan. Used to specify which invoice
template, if any, should be used to generate invoices for the account.
the site is on a Pro or Elite plan. Used to specify which invoice template,
if any, should be used to generate invoices for the account.
address:
"$ref": "#/components/schemas/Address"
billing_info:
Expand Down Expand Up @@ -17355,10 +17355,10 @@ components:
type: string
title: Invoice Template ID
description: Unique ID to identify an invoice template. Available when the
site is on a Pro or Enterprise plan. Used to specify if a non-default
invoice template will be used to generate invoices for the account. For
sites without multiple invoice templates enabled, the default template
will always be used.
site is on a Pro or Elite plan. Used to specify if a non-default invoice
template will be used to generate invoices for the account. For sites
without multiple invoice templates enabled, the default template will
always be used.
address:
"$ref": "#/components/schemas/Address"
billing_info:
Expand Down Expand Up @@ -17511,6 +17511,11 @@ components:
type: string
title: Country
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
AddressWithName:
allOf:
- "$ref": "#/components/schemas/Address"
Expand Down Expand Up @@ -18215,6 +18220,9 @@ components:
paypal_billing_agreement_id:
type: string
title: PayPal billing agreement ID
roku_billing_agreement_id:
type: string
title: Roku's CIB if billing through Roku
fraud_session_id:
type: string
title: Fraud Session ID
Expand Down Expand Up @@ -21107,6 +21115,11 @@ components:
type: string
maxLength: 50
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
created_at:
type: string
title: Created at
Expand Down Expand Up @@ -21158,6 +21171,11 @@ components:
type: string
maxLength: 20
description: Zip or postal code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
country:
type: string
maxLength: 50
Expand Down Expand Up @@ -21412,6 +21430,11 @@ components:
type: string
maxLength: 50
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
Site:
type: object
properties:
Expand Down Expand Up @@ -24979,6 +25002,7 @@ components:
- check
- credit_card
- eft
- google_pay
- money_order
- other
- paypal
Expand Down Expand Up @@ -25172,6 +25196,7 @@ components:
- credit_card
- eft
- gateway_token
- google_pay
- iban_bank_account
- money_order
- other
Expand Down

0 comments on commit 2b473b9

Please sign in to comment.