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.



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

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.



62
63
64
# File 'lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb', line 62

def amount
  @amount
end

#delivery_optionsObject

Method to be used to send the OutboundPayment.



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

def delivery_options
  @delivery_options
end

#fromObject

Request details about the sender of an OutboundPaymentQuote.



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

def from
  @from
end

#toObject

Request details about the recipient of an OutboundPaymentQuote.



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

def to
  @to
end