Class: Stripe::FxQuoteCreateParams::Usage::Payment
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::FxQuoteCreateParams::Usage::Payment
- Defined in:
- lib/stripe/params/fx_quote_create_params.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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(destination: nil, on_behalf_of: nil) ⇒ Payment
Returns a new instance of Payment.
17 18 19 20 |
# File 'lib/stripe/params/fx_quote_create_params.rb', line 17 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.
11 12 13 |
# File 'lib/stripe/params/fx_quote_create_params.rb', line 11 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.
15 16 17 |
# File 'lib/stripe/params/fx_quote_create_params.rb', line 15 def on_behalf_of @on_behalf_of end |