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:
stripe-openapi[bot] 2025-04-28 15:02:27 -07:00 committed by GitHub
parent cdce6c3f56
commit 6c90c710d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 16 additions and 28 deletions

View File

@ -607,7 +607,7 @@ module Stripe
attr_accessor :country attr_accessor :country
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
attr_accessor :currency 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 attr_accessor :routing_number
def initialize( def initialize(
@ -2606,7 +2606,7 @@ module Stripe
attr_accessor :country attr_accessor :country
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
attr_accessor :currency 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 attr_accessor :routing_number
def initialize( def initialize(

View File

@ -220,15 +220,12 @@ module Stripe
attr_accessor :name attr_accessor :name
# Billing phone number (including extension). # Billing phone number (including extension).
attr_accessor :phone 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 @address = address
@email = email @email = email
@name = name @name = name
@phone = phone @phone = phone
@tax_id = tax_id
end end
end end

View File

@ -137,7 +137,7 @@ module Stripe
attr_accessor :country attr_accessor :country
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
attr_accessor :currency 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 attr_accessor :routing_number
def initialize( def initialize(

View File

@ -39,7 +39,7 @@ module Stripe
attr_accessor :country attr_accessor :country
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
attr_accessor :currency 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 attr_accessor :routing_number
def initialize( def initialize(
@ -2047,7 +2047,7 @@ module Stripe
attr_accessor :country attr_accessor :country
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
attr_accessor :currency 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 attr_accessor :routing_number
def initialize( def initialize(

View File

@ -101,15 +101,12 @@ module Stripe
attr_accessor :name attr_accessor :name
# Billing phone number (including extension). # Billing phone number (including extension).
attr_accessor :phone 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 @address = address
@email = email @email = email
@name = name @name = name
@phone = phone @phone = phone
@tax_id = tax_id
end end
end end

View File

@ -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) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
sig { returns(T.nilable(String)) } sig { returns(T.nilable(String)) }
attr_accessor :currency 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)) } sig { returns(T.nilable(String)) }
attr_accessor :routing_number attr_accessor :routing_number
sig { 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) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
sig { returns(T.nilable(String)) } sig { returns(T.nilable(String)) }
attr_accessor :currency 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)) } sig { returns(T.nilable(String)) }
attr_accessor :routing_number attr_accessor :routing_number
sig { sig {

View File

@ -319,13 +319,10 @@ module Stripe
# Billing phone number (including extension). # Billing phone number (including extension).
sig { returns(T.nilable(T.nilable(String))) } sig { returns(T.nilable(T.nilable(String))) }
attr_accessor :phone 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 { 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 end
class UsBankAccount < Stripe::RequestParams class UsBankAccount < Stripe::RequestParams
# Account holder type: individual or company. # Account holder type: individual or company.

View File

@ -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) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
sig { returns(T.nilable(String)) } sig { returns(T.nilable(String)) }
attr_accessor :currency 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)) } sig { returns(T.nilable(String)) }
attr_accessor :routing_number attr_accessor :routing_number
sig { sig {

View File

@ -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) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
sig { returns(T.nilable(String)) } sig { returns(T.nilable(String)) }
attr_accessor :currency 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)) } sig { returns(T.nilable(String)) }
attr_accessor :routing_number attr_accessor :routing_number
sig { 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) # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
sig { returns(T.nilable(String)) } sig { returns(T.nilable(String)) }
attr_accessor :currency 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)) } sig { returns(T.nilable(String)) }
attr_accessor :routing_number attr_accessor :routing_number
sig { sig {

View File

@ -112,13 +112,10 @@ module Stripe
# Billing phone number (including extension). # Billing phone number (including extension).
sig { returns(T.nilable(T.nilable(String))) } sig { returns(T.nilable(T.nilable(String))) }
attr_accessor :phone 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 { 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 end
class UsBankAccount < Stripe::RequestParams class UsBankAccount < Stripe::RequestParams
# Account holder type: individual or company. # Account holder type: individual or company.