Class: Stripe::V2::Payments::SettlementAllocationIntentUpdateParams

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

Defined Under Namespace

Classes: Amount

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(amount: nil, reference: nil) ⇒ SettlementAllocationIntentUpdateParams

Returns a new instance of SettlementAllocationIntentUpdateParams.



24
25
26
27
# File 'lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb', line 24

def initialize(amount: nil, reference: nil)
  @amount = amount
  @reference = reference
end

Instance Attribute Details

#amountObject

The new amount for the SettlementAllocationIntent. Only amount.value can be updated and currency must remain same.



20
21
22
# File 'lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb', line 20

def amount
  @amount
end

#referenceObject

The new reference for the SettlementAllocationIntent.



22
23
24
# File 'lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb', line 22

def reference
  @reference
end