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

Defined Under Namespace

Classes: Amount

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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

Instance Attribute Details

#accountObject

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
end

#amountObject

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

#metadataObject

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

#typeObject

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