Class: Stripe::Customer::CreateFundingInstructionsParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Customer::CreateFundingInstructionsParams
- Defined in:
- lib/stripe/resources/customer.rb
Defined Under Namespace
Classes: BankTransfer
Instance Attribute Summary collapse
-
#bank_transfer ⇒ Object
Additional parameters for ‘bank_transfer` funding types.
-
#currency ⇒ Object
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#funding_type ⇒ Object
The ‘funding_type` to get the instructions for.
Instance Method Summary collapse
-
#initialize(bank_transfer: nil, currency: nil, expand: nil, funding_type: nil) ⇒ CreateFundingInstructionsParams
constructor
A new instance of CreateFundingInstructionsParams.
Methods inherited from RequestParams
Constructor Details
#initialize(bank_transfer: nil, currency: nil, expand: nil, funding_type: nil) ⇒ CreateFundingInstructionsParams
Returns a new instance of CreateFundingInstructionsParams.
750 751 752 753 754 755 |
# File 'lib/stripe/resources/customer.rb', line 750 def initialize(bank_transfer: nil, currency: nil, expand: nil, funding_type: nil) @bank_transfer = bank_transfer @currency = currency @expand = @funding_type = funding_type end |
Instance Attribute Details
#bank_transfer ⇒ Object
Additional parameters for ‘bank_transfer` funding types
742 743 744 |
# File 'lib/stripe/resources/customer.rb', line 742 def bank_transfer @bank_transfer end |
#currency ⇒ Object
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).
744 745 746 |
# File 'lib/stripe/resources/customer.rb', line 744 def currency @currency end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
746 747 748 |
# File 'lib/stripe/resources/customer.rb', line 746 def @expand end |
#funding_type ⇒ Object
The ‘funding_type` to get the instructions for.
748 749 750 |
# File 'lib/stripe/resources/customer.rb', line 748 def funding_type @funding_type end |