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.
58 59 60 61 62 63 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 58 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.
50 51 52 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 50 def amount @amount end |
#delivery_options ⇒ Object
Method to be used to send the OutboundPayment.
52 53 54 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 52 def @delivery_options end |
#from ⇒ Object
Request details about the sender of an OutboundPaymentQuote.
54 55 56 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 54 def from @from end |
#to ⇒ Object
Request details about the recipient of an OutboundPaymentQuote.
56 57 58 |
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 56 def to @to end |