Class: Stripe::Charge::UpdateParams::PaymentDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Charge::UpdateParams::PaymentDetails
- Defined in:
- lib/stripe/resources/charge.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.
2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 |
# File 'lib/stripe/resources/charge.rb', line 2588 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.
2574 2575 2576 |
# File 'lib/stripe/resources/charge.rb', line 2574 def car_rental @car_rental end |
#event_details ⇒ Object
Event details for this PaymentIntent
2577 2578 2579 |
# File 'lib/stripe/resources/charge.rb', line 2577 def event_details @event_details end |
#flight ⇒ Object
Flight reservation details for this PaymentIntent
2580 2581 2582 |
# File 'lib/stripe/resources/charge.rb', line 2580 def flight @flight end |
#lodging ⇒ Object
Lodging reservation details for this PaymentIntent
2583 2584 2585 |
# File 'lib/stripe/resources/charge.rb', line 2583 def lodging @lodging end |
#subscription ⇒ Object
Subscription details for this PaymentIntent
2586 2587 2588 |
# File 'lib/stripe/resources/charge.rb', line 2586 def subscription @subscription end |