Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::LodgingDatum::Accommodation
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentConfirmParams::PaymentDetails::LodgingDatum::Accommodation
- Defined in:
- lib/stripe/params/payment_intent_confirm_params.rb
Instance Attribute Summary collapse
-
#accommodation_type ⇒ Object
Type of accommodation.
-
#bed_type ⇒ Object
Bed type.
-
#daily_rate_amount ⇒ Object
Daily accommodation rate in cents.
-
#nights ⇒ Object
Number of nights.
-
#number_of_rooms ⇒ Object
Number of rooms, cabanas, apartments, and so on.
-
#rate_type ⇒ Object
Rate type.
-
#smoking_indicator ⇒ Object
Whether smoking is allowed.
Instance Method Summary collapse
-
#initialize(accommodation_type: nil, bed_type: nil, daily_rate_amount: nil, nights: nil, number_of_rooms: nil, rate_type: nil, smoking_indicator: nil) ⇒ Accommodation
constructor
A new instance of Accommodation.
Methods inherited from RequestParams
Constructor Details
#initialize(accommodation_type: nil, bed_type: nil, daily_rate_amount: nil, nights: nil, number_of_rooms: nil, rate_type: nil, smoking_indicator: nil) ⇒ Accommodation
Returns a new instance of Accommodation.
1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1519 def initialize( accommodation_type: nil, bed_type: nil, daily_rate_amount: nil, nights: nil, number_of_rooms: nil, rate_type: nil, smoking_indicator: nil ) @accommodation_type = accommodation_type @bed_type = bed_type @daily_rate_amount = daily_rate_amount @nights = nights @number_of_rooms = number_of_rooms @rate_type = rate_type @smoking_indicator = smoking_indicator end |
Instance Attribute Details
#accommodation_type ⇒ Object
Type of accommodation.
1505 1506 1507 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1505 def accommodation_type @accommodation_type end |
#bed_type ⇒ Object
Bed type.
1507 1508 1509 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1507 def bed_type @bed_type end |
#daily_rate_amount ⇒ Object
Daily accommodation rate in cents.
1509 1510 1511 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1509 def daily_rate_amount @daily_rate_amount end |
#nights ⇒ Object
Number of nights.
1511 1512 1513 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1511 def nights @nights end |
#number_of_rooms ⇒ Object
Number of rooms, cabanas, apartments, and so on.
1513 1514 1515 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1513 def number_of_rooms @number_of_rooms end |
#rate_type ⇒ Object
Rate type.
1515 1516 1517 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1515 def rate_type @rate_type end |
#smoking_indicator ⇒ Object
Whether smoking is allowed.
1517 1518 1519 |
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1517 def smoking_indicator @smoking_indicator end |