Update generated code for v1719

This commit is contained in:
Stripe OpenAPI 2025-04-28 19:10:00 +00:00
parent 5dc8ccf60a
commit d4995cec92
5 changed files with 10 additions and 28 deletions

View File

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

View File

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

View File

@ -107530,13 +107530,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.
@ -183329,13 +183326,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.

View File

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

View File

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