Class: Stripe::SubscriptionCreateParams::PaymentSettings::PaymentMethodOptions::CustomerBalance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SubscriptionCreateParams::PaymentSettings::PaymentMethodOptions::CustomerBalance
- Defined in:
- lib/stripe/params/subscription_create_params.rb
Defined Under Namespace
Classes: BankTransfer
Instance Attribute Summary collapse
-
#bank_transfer ⇒ Object
Configuration for the bank transfer funding type, if the
funding_typeis set tobank_transfer. -
#funding_type ⇒ Object
The funding method type to be used when there are not enough funds in the customer balance.
Instance Method Summary collapse
-
#initialize(bank_transfer: nil, funding_type: nil) ⇒ CustomerBalance
constructor
A new instance of CustomerBalance.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(bank_transfer: nil, funding_type: nil) ⇒ CustomerBalance
Returns a new instance of CustomerBalance.
440 441 442 443 |
# File 'lib/stripe/params/subscription_create_params.rb', line 440 def initialize(bank_transfer: nil, funding_type: nil) @bank_transfer = bank_transfer @funding_type = funding_type end |
Instance Attribute Details
#bank_transfer ⇒ Object
Configuration for the bank transfer funding type, if the funding_type is set to bank_transfer.
436 437 438 |
# File 'lib/stripe/params/subscription_create_params.rb', line 436 def bank_transfer @bank_transfer end |
#funding_type ⇒ Object
The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: bank_transfer.
438 439 440 |
# File 'lib/stripe/params/subscription_create_params.rb', line 438 def funding_type @funding_type end |