Class: Stripe::PaymentIntentService::UpdateParams::PaymentDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentService::UpdateParams::PaymentDetails
- Defined in:
- lib/stripe/services/payment_intent_service.rb
Defined Under Namespace
Classes: CarRental, EventDetails, Flight, Lodging, Subscription
Instance Attribute Summary collapse
-
#car_rental ⇒ Object
Car rental details for this PaymentIntent.
-
#event_details ⇒ Object
Event details for this PaymentIntent.
-
#flight ⇒ Object
Flight reservation details for this PaymentIntent.
-
#lodging ⇒ Object
Lodging reservation details for this PaymentIntent.
-
#subscription ⇒ Object
Subscription details for this PaymentIntent.
Instance Method Summary collapse
-
#initialize(car_rental: nil, event_details: nil, flight: nil, lodging: nil, subscription: nil) ⇒ PaymentDetails
constructor
A new instance of PaymentDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(car_rental: nil, event_details: nil, flight: nil, lodging: nil, subscription: nil) ⇒ PaymentDetails
Returns a new instance of PaymentDetails.
4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4286 def initialize( car_rental: nil, event_details: nil, flight: nil, lodging: nil, subscription: nil ) @car_rental = car_rental @event_details = event_details @flight = flight @lodging = lodging @subscription = subscription end |
Instance Attribute Details
#car_rental ⇒ Object
Car rental details for this PaymentIntent.
4276 4277 4278 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4276 def car_rental @car_rental end |
#event_details ⇒ Object
Event details for this PaymentIntent
4278 4279 4280 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4278 def event_details @event_details end |
#flight ⇒ Object
Flight reservation details for this PaymentIntent
4280 4281 4282 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4280 def flight @flight end |
#lodging ⇒ Object
Lodging reservation details for this PaymentIntent
4282 4283 4284 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4282 def lodging @lodging end |
#subscription ⇒ Object
Subscription details for this PaymentIntent
4284 4285 4286 |
# File 'lib/stripe/services/payment_intent_service.rb', line 4284 def subscription @subscription end |