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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Delivery.



1007
1008
1009
1010
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1007

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

Instance Attribute Details

#modeObject

The delivery method for the payment



1003
1004
1005
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1003

def mode
  @mode
end

#recipientObject

Details of the recipient.



1005
1006
1007
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1005

def recipient
  @recipient
end