Class: Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery
- Defined in:
- lib/stripe/resources/charge.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.
1796 1797 1798 1799 |
# File 'lib/stripe/resources/charge.rb', line 1796 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
1792 1793 1794 |
# File 'lib/stripe/resources/charge.rb', line 1792 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
1794 1795 1796 |
# File 'lib/stripe/resources/charge.rb', line 1794 def recipient @recipient end |