Class: Stripe::FxQuote::CreateParams::Usage::Payment
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::FxQuote::CreateParams::Usage::Payment
- Defined in:
- lib/stripe/resources/fx_quote.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
The Stripe account ID that the funds will be transferred to.
-
#on_behalf_of ⇒ Object
The Stripe account ID that these funds are intended for.
Instance Method Summary collapse
-
#initialize(destination: nil, on_behalf_of: nil) ⇒ Payment
constructor
A new instance of Payment.
Methods inherited from RequestParams
Constructor Details
#initialize(destination: nil, on_behalf_of: nil) ⇒ Payment
Returns a new instance of Payment.
95 96 97 98 |
# File 'lib/stripe/resources/fx_quote.rb', line 95 def initialize(destination: nil, on_behalf_of: nil) @destination = destination @on_behalf_of = on_behalf_of end |
Instance Attribute Details
#destination ⇒ Object
The Stripe account ID that the funds will be transferred to.
This field should match the account ID that would be used in the PaymentIntent’s transfer_data field.
89 90 91 |
# File 'lib/stripe/resources/fx_quote.rb', line 89 def destination @destination end |
#on_behalf_of ⇒ Object
The Stripe account ID that these funds are intended for.
This field should match the account ID that would be used in the PaymentIntent’s on_behalf_of field.
93 94 95 |
# File 'lib/stripe/resources/fx_quote.rb', line 93 def on_behalf_of @on_behalf_of end |