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
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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account: nil, amount: nil, metadata: nil, type: nil) ⇒ SplitCreateParams
Returns a new instance of SplitCreateParams.
18 19 20 21 22 23 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 18 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.
10 11 12 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 10 def account @account end |
#amount ⇒ Object
The amount and currency of the SettlementAllocationIntentSplit.
12 13 14 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 12 def amount @amount end |
#metadata ⇒ Object
Metadata associated with the SettlementAllocationIntentSplit.
14 15 16 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 14 def @metadata end |
#type ⇒ Object
The type of the fund transfer.
16 17 18 |
# File 'lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb', line 16 def type @type end |