Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Flight::Delivery

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Defined Under Namespace

Classes: Recipient

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(mode: nil, recipient: nil) ⇒ Delivery

Returns a new instance of Delivery.



1017
1018
1019
1020
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1017

def initialize(mode: nil, recipient: nil)
  @mode = mode
  @recipient = recipient
end

Instance Attribute Details

#modeObject

The delivery method for the payment



1013
1014
1015
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1013

def mode
  @mode
end

#recipientObject

Details of the recipient.



1015
1016
1017
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1015

def recipient
  @recipient
end