Class: Stripe::V2::Payments::SettlementAllocationIntentUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Payments::SettlementAllocationIntentUpdateParams
- Defined in:
- lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb
Defined Under Namespace
Classes: Amount
Instance Attribute Summary collapse
-
#amount ⇒ Object
The new amount for the SettlementAllocationIntent.
-
#reference ⇒ Object
The new reference for the SettlementAllocationIntent.
Instance Method Summary collapse
-
#initialize(amount: nil, reference: nil) ⇒ SettlementAllocationIntentUpdateParams
constructor
A new instance of SettlementAllocationIntentUpdateParams.
Methods inherited from RequestParams
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
#amount ⇒ Object
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 |
#reference ⇒ Object
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 |