Class: Stripe::V2::MoneyManagement::OutboundPaymentQuoteCreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb

Defined Under Namespace

Classes: Amount, DeliveryOptions, From, To

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil, delivery_options: nil, from: nil, to: nil) ⇒ OutboundPaymentQuoteCreateParams

Returns a new instance of OutboundPaymentQuoteCreateParams.



73
74
75
76
77
78
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 73

def initialize(amount: nil, delivery_options: nil, from: nil, to: nil)
  @amount = amount
  @delivery_options = delivery_options
  @from = from
  @to = to
end

Instance Attribute Details

#amountObject

The “presentment amount” to be sent to the recipient.



65
66
67
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 65

def amount
  @amount
end

#delivery_optionsObject

Method to be used to send the OutboundPayment.



67
68
69
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 67

def delivery_options
  @delivery_options
end

#fromObject

Request details about the sender of an OutboundPaymentQuote.



69
70
71
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 69

def from
  @from
end

#toObject

Request details about the recipient of an OutboundPaymentQuote.



71
72
73
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 71

def to
  @to
end