mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-20 00:01:05 -05:00
Update generated code for v1628
This commit is contained in:
parent
fe9bf1eb16
commit
18b4454856
@ -13,6 +13,12 @@ module Stripe
|
||||
|
||||
class Countries < Stripe::StripeObject
|
||||
class Field < Stripe::StripeObject
|
||||
class LocalNameHuman < Stripe::StripeObject
|
||||
# Attribute for field content
|
||||
attr_reader :content
|
||||
# Attribute for field localization_key
|
||||
attr_reader :localization_key
|
||||
end
|
||||
# The local name of the field.
|
||||
attr_reader :local_name
|
||||
# The human readable local name of the field.
|
||||
|
||||
@ -9,11 +9,19 @@ module Stripe
|
||||
class PayoutMethodsBankAccountSpec < APIResource
|
||||
class Countries < Stripe::StripeObject
|
||||
class Field < Stripe::StripeObject
|
||||
class LocalNameHuman < Stripe::StripeObject
|
||||
# Attribute for field content
|
||||
sig { returns(String) }
|
||||
attr_reader :content
|
||||
# Attribute for field localization_key
|
||||
sig { returns(String) }
|
||||
attr_reader :localization_key
|
||||
end
|
||||
# The local name of the field.
|
||||
sig { returns(String) }
|
||||
attr_reader :local_name
|
||||
# The human readable local name of the field.
|
||||
sig { returns(String) }
|
||||
sig { returns(LocalNameHuman) }
|
||||
attr_reader :local_name_human
|
||||
# The maximum length of the field.
|
||||
sig { returns(Integer) }
|
||||
|
||||
@ -8091,7 +8091,7 @@ module Stripe
|
||||
:get,
|
||||
"#{Stripe::DEFAULT_API_BASE}/v2/money_management/payout_methods_bank_account_spec"
|
||||
).to_return(
|
||||
body: '{"countries":{"undefined":{"fields":[{"local_name":"local_name","local_name_human":"local_name_human","max_length":1111390753,"min_length":711577229,"placeholder":"placeholder","stripe_name":"stripe_name","validation_regex":"validation_regex"}]}},"object":"v2.money_management.payout_methods_bank_account_spec"}',
|
||||
body: '{"countries":{"undefined":{"fields":[{"local_name":"local_name","local_name_human":{"content":"content","localization_key":"localization_key"},"max_length":1111390753,"min_length":711577229,"placeholder":"placeholder","stripe_name":"stripe_name","validation_regex":"validation_regex"}]}},"object":"v2.money_management.payout_methods_bank_account_spec"}',
|
||||
status: 200
|
||||
)
|
||||
client = StripeClient.new("sk_test_123")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user