Class: Stripe::ChargeUpdateParams::PaymentDetails::Flight::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeUpdateParams::PaymentDetails::Flight::Delivery
- Defined in:
- lib/stripe/params/charge_update_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.
738 739 740 741 |
# File 'lib/stripe/params/charge_update_params.rb', line 738 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
734 735 736 |
# File 'lib/stripe/params/charge_update_params.rb', line 734 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
736 737 738 |
# File 'lib/stripe/params/charge_update_params.rb', line 736 def recipient @recipient end |