Class: Stripe::ChargeService::CaptureParams::TransferData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeService::CaptureParams::TransferData
- Defined in:
- lib/stripe/services/charge_service.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
The amount transferred to the destination account, if specified.
Instance Method Summary collapse
-
#initialize(amount: nil) ⇒ TransferData
constructor
A new instance of TransferData.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil) ⇒ TransferData
Returns a new instance of TransferData.
360 361 362 |
# File 'lib/stripe/services/charge_service.rb', line 360 def initialize(amount: nil) @amount = amount end |
Instance Attribute Details
#amount ⇒ Object
The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
358 359 360 |
# File 'lib/stripe/services/charge_service.rb', line 358 def amount @amount end |