Class: Stripe::CustomerCreateFundingInstructionsParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CustomerCreateFundingInstructionsParams
- Defined in:
- lib/stripe/params/customer_create_funding_instructions_params.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) ⇒ CustomerCreateFundingInstructionsParams
constructor
A new instance of CustomerCreateFundingInstructionsParams.
Methods inherited from RequestParams
Constructor Details
#initialize(bank_transfer: nil, currency: nil, expand: nil, funding_type: nil) ⇒ CustomerCreateFundingInstructionsParams
Returns a new instance of CustomerCreateFundingInstructionsParams.
39 40 41 42 43 44 |
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 39 def initialize(bank_transfer: nil, currency: nil, expand: nil, funding_type: nil) @bank_transfer = bank_transfer @currency = currency = @funding_type = funding_type end |
Instance Attribute Details
#bank_transfer ⇒ Object
Additional parameters for ‘bank_transfer` funding types
31 32 33 |
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 31 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).
33 34 35 |
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 33 def currency @currency end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
35 36 37 |
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 35 def end |
#funding_type ⇒ Object
The ‘funding_type` to get the instructions for.
37 38 39 |
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 37 def funding_type @funding_type end |