Class: Stripe::TestHelpers::Treasury::ReceivedDebitCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Treasury::ReceivedDebitCreateParams
- Defined in:
- lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb
Defined Under Namespace
Classes: InitiatingPaymentMethodDetails
Instance Attribute Summary collapse
-
#amount ⇒ Object
Amount (in cents) to be transferred.
-
#currency ⇒ Object
Three-letter ISO currency code, in lowercase.
-
#description ⇒ Object
An arbitrary string attached to the object.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#financial_account ⇒ Object
The FinancialAccount to pull funds from.
-
#initiating_payment_method_details ⇒ Object
Initiating payment method details for the object.
-
#network ⇒ Object
Specifies the network rails to be used.
Instance Method Summary collapse
-
#initialize(amount: nil, currency: nil, description: nil, expand: nil, financial_account: nil, initiating_payment_method_details: nil, network: nil) ⇒ ReceivedDebitCreateParams
constructor
A new instance of ReceivedDebitCreateParams.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(amount: nil, currency: nil, description: nil, expand: nil, financial_account: nil, initiating_payment_method_details: nil, network: nil) ⇒ ReceivedDebitCreateParams
Returns a new instance of ReceivedDebitCreateParams.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 48 def initialize( amount: nil, currency: nil, description: nil, expand: nil, financial_account: nil, initiating_payment_method_details: nil, network: nil ) @amount = amount @currency = currency @description = description @expand = @financial_account = financial_account @initiating_payment_method_details = initiating_payment_method_details @network = network end |
Instance Attribute Details
#amount ⇒ Object
Amount (in cents) to be transferred.
34 35 36 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 34 def amount @amount end |
#currency ⇒ Object
Three-letter ISO currency code, in lowercase. Must be a supported currency.
36 37 38 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 36 def currency @currency end |
#description ⇒ Object
An arbitrary string attached to the object. Often useful for displaying to users.
38 39 40 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 38 def description @description end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
40 41 42 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 40 def @expand end |
#financial_account ⇒ Object
The FinancialAccount to pull funds from.
42 43 44 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 42 def financial_account @financial_account end |
#initiating_payment_method_details ⇒ Object
Initiating payment method details for the object.
44 45 46 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 44 def initiating_payment_method_details @initiating_payment_method_details end |
#network ⇒ Object
Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the docs to learn more about money movement timelines for each network type.
46 47 48 |
# File 'lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb', line 46 def network @network end |