Class: Stripe::ChargeService::UpdateParams::PaymentDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeService::UpdateParams::PaymentDetails
- Defined in:
- lib/stripe/services/charge_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.
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/stripe/services/charge_service.rb', line 1039 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.
1025 1026 1027 |
# File 'lib/stripe/services/charge_service.rb', line 1025 def car_rental @car_rental end |
#event_details ⇒ Object
Event details for this PaymentIntent
1028 1029 1030 |
# File 'lib/stripe/services/charge_service.rb', line 1028 def event_details @event_details end |
#flight ⇒ Object
Flight reservation details for this PaymentIntent
1031 1032 1033 |
# File 'lib/stripe/services/charge_service.rb', line 1031 def flight @flight end |
#lodging ⇒ Object
Lodging reservation details for this PaymentIntent
1034 1035 1036 |
# File 'lib/stripe/services/charge_service.rb', line 1034 def lodging @lodging end |
#subscription ⇒ Object
Subscription details for this PaymentIntent
1037 1038 1039 |
# File 'lib/stripe/services/charge_service.rb', line 1037 def subscription @subscription end |