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