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

@ -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

@ -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

@ -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

@ -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.