Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Lodging::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::Lodging::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.
1412 1413 1414 1415 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1412 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
1408 1409 1410 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1408 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
1410 1411 1412 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1410 def recipient @recipient end |