Class: Stripe::V2::Payments::SettlementAllocationIntents::SplitCreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = 
  @amount = amount
  @metadata = 
  @type = type
end

Instance Attribute Details

#accountObject

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
end

#amountObject

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

#metadataObject

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

#typeObject

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