Class: Stripe::PaymentIntentCreateParams::PaymentDetails::CarRental::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::CarRental::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
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.
315 316 317 318 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 315 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
311 312 313 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 311 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
313 314 315 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 313 def recipient @recipient end |