Class: Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery
- Defined in:
- lib/stripe/services/charge_service.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.
1062 1063 1064 1065 |
# File 'lib/stripe/services/charge_service.rb', line 1062 def initialize(mode: nil, recipient: nil) @mode = mode @recipient = recipient end |
Instance Attribute Details
#mode ⇒ Object
The delivery method for the payment
1058 1059 1060 |
# File 'lib/stripe/services/charge_service.rb', line 1058 def mode @mode end |
#recipient ⇒ Object
Details of the recipient.
1060 1061 1062 |
# File 'lib/stripe/services/charge_service.rb', line 1060 def recipient @recipient end |