Class: Stripe::V2::MoneyManagement::OutboundPaymentQuoteCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::MoneyManagement::OutboundPaymentQuoteCreateParams
- Defined in:
- lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb
Defined Under Namespace
Classes: DeliveryOptions, From, To
Instance Attribute Summary collapse
-
#amount ⇒ Object
The “presentment amount” to be sent to the recipient.
-
#delivery_options ⇒ Object
Method to be used to send the OutboundPayment.
-
#from ⇒ Object
Request details about the sender of an OutboundPaymentQuote.
-
#to ⇒ Object
Request details about the recipient of an OutboundPaymentQuote.
Instance Method Summary collapse
-
#initialize(amount: nil, delivery_options: nil, from: nil, to: nil) ⇒ OutboundPaymentQuoteCreateParams
constructor
A new instance of OutboundPaymentQuoteCreateParams.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(amount: nil, delivery_options: nil, from: nil, to: nil) ⇒ OutboundPaymentQuoteCreateParams
Returns a new instance of OutboundPaymentQuoteCreateParams.
61 62 63 64 65 66 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 61 def initialize(amount: nil, delivery_options: nil, from: nil, to: nil) @amount = amount @delivery_options = @from = from @to = to end |
Instance Attribute Details
#amount ⇒ Object
The “presentment amount” to be sent to the recipient.
53 54 55 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 53 def amount @amount end |
#delivery_options ⇒ Object
Method to be used to send the OutboundPayment.
55 56 57 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 55 def @delivery_options end |
#from ⇒ Object
Request details about the sender of an OutboundPaymentQuote.
57 58 59 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 57 def from @from end |
#to ⇒ Object
Request details about the recipient of an OutboundPaymentQuote.
59 60 61 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 59 def to @to end |