Class: Stripe::V2::MoneyManagement::OutboundPaymentQuoteService::CreateParams

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

Defined Under Namespace

Classes: 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) ⇒ CreateParams

Returns a new instance of CreateParams.



59
60
61
62
63
64
# File 'lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb', line 59

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.



51
52
53
# File 'lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb', line 51

def amount
  @amount
end

#delivery_optionsObject

Method to be used to send the OutboundPayment.



53
54
55
# File 'lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb', line 53

def delivery_options
  @delivery_options
end

#fromObject

Request details about the sender of an OutboundPaymentQuote.



55
56
57
# File 'lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb', line 55

def from
  @from
end

#toObject

Request details about the recipient of an OutboundPaymentQuote.



57
58
59
# File 'lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb', line 57

def to
  @to
end