Class: Stripe::V2::Payments::SettlementAllocationIntents::SplitCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Payments::SettlementAllocationIntents::SplitCreateParams
- Defined in:
- lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb
Defined Under Namespace
Classes: Amount
Instance Attribute Summary collapse
-
#account ⇒ Object
The target account for settling the SettlementAllocationIntentSplit.
-
#amount ⇒ Object
The amount and currency of the SettlementAllocationIntentSplit.
-
#metadata ⇒ Object
Metadata associated with the SettlementAllocationIntentSplit.
-
#type ⇒ Object
The type of the fund transfer.
Instance Method Summary collapse
-
#initialize(account: nil, amount: nil, metadata: nil, type: nil) ⇒ SplitCreateParams
constructor
A new instance of SplitCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(account: nil, amount: nil, metadata: nil, type: nil) ⇒ SplitCreateParams
Returns a new instance of SplitCreateParams.
29 30 31 32 33 34 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 29 def initialize(account: nil, amount: nil, metadata: nil, type: nil) @account = account @amount = amount @metadata = @type = type end |
Instance Attribute Details
#account ⇒ Object
The target account for settling the SettlementAllocationIntentSplit.
21 22 23 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 21 def account @account end |
#amount ⇒ Object
The amount and currency of the SettlementAllocationIntentSplit.
23 24 25 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 23 def amount @amount end |
#metadata ⇒ Object
Metadata associated with the SettlementAllocationIntentSplit.
25 26 27 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 25 def @metadata end |
#type ⇒ Object
The type of the fund transfer.
27 28 29 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 27 def type @type end |