Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Flight::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::Flight::Delivery
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Defined Under Namespace
Classes: Recipient
Instance Attribute Summary collapse
-
#mode ⇒ Object
The delivery method for the payment.
-
#recipient ⇒ Object
Details of the recipient.
Instance Method Summary collapse
-
#initialize(mode: nil, recipient: nil) ⇒ Delivery
constructor
A new instance of Delivery.
Methods inherited from RequestParams
Constructor Details
#initialize(mode: nil, recipient: nil) ⇒ Delivery
Returns a new instance of Delivery.
602 603 604 605 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 602 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
598 599 600 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 598 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
600 601 602 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 600 def recipient @recipient end |