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: DeliveryOptions, From, To

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = delivery_options
  @from = from
  @to = to
end

Instance Attribute Details

#amountObject

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_optionsObject

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
  @delivery_options
end

#fromObject

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

#toObject

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