Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::Flight::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentDetails::Flight::Delivery
- Defined in:
- lib/stripe/params/payment_intent_confirm_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.
1019 1020 1021 1022 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1019 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
1015 1016 1017 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1015 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
1017 1018 1019 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1017 def recipient @recipient end |