Class: Stripe::Charge::CaptureParams::PaymentDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Charge::CaptureParams::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.
2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 |
# File 'lib/stripe/resources/charge.rb', line 2888 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.
2878 2879 2880 |
# File 'lib/stripe/resources/charge.rb', line 2878 def car_rental @car_rental end |
#event_details ⇒ Object
Event details for this PaymentIntent
2880 2881 2882 |
# File 'lib/stripe/resources/charge.rb', line 2880 def event_details @event_details end |
#flight ⇒ Object
Flight reservation details for this PaymentIntent
2882 2883 2884 |
# File 'lib/stripe/resources/charge.rb', line 2882 def flight @flight end |
#lodging ⇒ Object
Lodging reservation details for this PaymentIntent
2884 2885 2886 |
# File 'lib/stripe/resources/charge.rb', line 2884 def lodging @lodging end |
#subscription ⇒ Object
Subscription details for this PaymentIntent
2886 2887 2888 |
# File 'lib/stripe/resources/charge.rb', line 2886 def subscription @subscription end |