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.



991
992
993
994
# File 'lib/stripe/params/payment_intent_create_params.rb', line 991

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

Instance Attribute Details

#modeObject

The delivery method for the payment



987
988
989
# File 'lib/stripe/params/payment_intent_create_params.rb', line 987

def mode
  @mode
end

#recipientObject

Details of the recipient.



989
990
991
# File 'lib/stripe/params/payment_intent_create_params.rb', line 989

def recipient
  @recipient
end