Class: Stripe::InvoiceUpdateParams::TransferData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceUpdateParams::TransferData
- Defined in:
- lib/stripe/params/invoice_update_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
The amount that will be transferred automatically when the invoice is paid.
-
#destination ⇒ Object
ID of an existing, connected Stripe account.
Instance Method Summary collapse
-
#initialize(amount: nil, destination: nil) ⇒ TransferData
constructor
A new instance of TransferData.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(amount: nil, destination: nil) ⇒ TransferData
510 511 512 513 |
# File 'lib/stripe/params/invoice_update_params.rb', line 510 def initialize(amount: nil, destination: nil) @amount = amount @destination = destination end |
Instance Attribute Details
#amount ⇒ Object
The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred.
506 507 508 |
# File 'lib/stripe/params/invoice_update_params.rb', line 506 def amount @amount end |
#destination ⇒ Object
ID of an existing, connected Stripe account.
508 509 510 |
# File 'lib/stripe/params/invoice_update_params.rb', line 508 def destination @destination end |