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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/payments/settlement_allocation_intent_update_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(amount: nil, reference: nil) ⇒ SettlementAllocationIntentUpdateParams

Returns a new instance of SettlementAllocationIntentUpdateParams.



13
14
15
16
# File 'lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb', line 13

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.



9
10
11
# File 'lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb', line 9

def amount
  @amount
end

#referenceObject

The new reference for the SettlementAllocationIntent.



11
12
13
# File 'lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb', line 11

def reference
  @reference
end