Class: Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Charge::CaptureParams::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.
2536 2537 2538 2539 |
# File 'lib/stripe/resources/charge.rb', line 2536 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
2532 2533 2534 |
# File 'lib/stripe/resources/charge.rb', line 2532 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
2534 2535 2536 |
# File 'lib/stripe/resources/charge.rb', line 2534 def recipient @recipient end |