mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-09 00:01:53 -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
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user