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
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
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
#amount ⇒ Object
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 |
#reference ⇒ Object
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 |