mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-06 00:00:29 -05:00
Update generated code (#1597)
* Update generated code for v1719 * Update generated code for v1719 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
This commit is contained in:
parent
cdce6c3f56
commit
6c90c710d8
@ -607,7 +607,7 @@ module Stripe
|
||||
attr_accessor :country
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
attr_accessor :routing_number
|
||||
|
||||
def initialize(
|
||||
@ -2606,7 +2606,7 @@ module Stripe
|
||||
attr_accessor :country
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
attr_accessor :routing_number
|
||||
|
||||
def initialize(
|
||||
|
||||
@ -220,15 +220,12 @@ module Stripe
|
||||
attr_accessor :name
|
||||
# Billing phone number (including extension).
|
||||
attr_accessor :phone
|
||||
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
||||
attr_accessor :tax_id
|
||||
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
||||
@address = address
|
||||
@email = email
|
||||
@name = name
|
||||
@phone = phone
|
||||
@tax_id = tax_id
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -137,7 +137,7 @@ module Stripe
|
||||
attr_accessor :country
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
attr_accessor :routing_number
|
||||
|
||||
def initialize(
|
||||
|
||||
@ -39,7 +39,7 @@ module Stripe
|
||||
attr_accessor :country
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
attr_accessor :routing_number
|
||||
|
||||
def initialize(
|
||||
@ -2047,7 +2047,7 @@ module Stripe
|
||||
attr_accessor :country
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
attr_accessor :routing_number
|
||||
|
||||
def initialize(
|
||||
|
||||
@ -101,15 +101,12 @@ module Stripe
|
||||
attr_accessor :name
|
||||
# Billing phone number (including extension).
|
||||
attr_accessor :phone
|
||||
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
||||
attr_accessor :tax_id
|
||||
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
||||
@address = address
|
||||
@email = email
|
||||
@name = name
|
||||
@phone = phone
|
||||
@tax_id = tax_id
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -863,7 +863,7 @@ module Stripe
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :routing_number
|
||||
sig {
|
||||
@ -2811,7 +2811,7 @@ module Stripe
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :routing_number
|
||||
sig {
|
||||
|
||||
@ -319,13 +319,10 @@ module Stripe
|
||||
# Billing phone number (including extension).
|
||||
sig { returns(T.nilable(T.nilable(String))) }
|
||||
attr_accessor :phone
|
||||
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :tax_id
|
||||
sig {
|
||||
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
|
||||
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
|
||||
}
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil); end
|
||||
end
|
||||
class UsBankAccount < Stripe::RequestParams
|
||||
# Account holder type: individual or company.
|
||||
|
||||
@ -150,7 +150,7 @@ module Stripe
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :routing_number
|
||||
sig {
|
||||
|
||||
@ -38,7 +38,7 @@ module Stripe
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :routing_number
|
||||
sig {
|
||||
@ -2083,7 +2083,7 @@ module Stripe
|
||||
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :currency
|
||||
# The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
|
||||
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :routing_number
|
||||
sig {
|
||||
|
||||
@ -112,13 +112,10 @@ module Stripe
|
||||
# Billing phone number (including extension).
|
||||
sig { returns(T.nilable(T.nilable(String))) }
|
||||
attr_accessor :phone
|
||||
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
||||
sig { returns(T.nilable(String)) }
|
||||
attr_accessor :tax_id
|
||||
sig {
|
||||
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPaymentService::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
|
||||
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPaymentService::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
|
||||
}
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
||||
def initialize(address: nil, email: nil, name: nil, phone: nil); end
|
||||
end
|
||||
class UsBankAccount < Stripe::RequestParams
|
||||
# Account holder type: individual or company.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user