Class: Stripe::Issuing::AuthorizationCaptureParams::PurchaseDetails::Lodging
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::AuthorizationCaptureParams::PurchaseDetails::Lodging
- Defined in:
- lib/stripe/params/issuing/authorization_capture_params.rb
Instance Attribute Summary collapse
-
#check_in_at ⇒ Object
The time of checking into the lodging.
-
#nights ⇒ Object
The number of nights stayed at the lodging.
Instance Method Summary collapse
-
#initialize(check_in_at: nil, nights: nil) ⇒ Lodging
constructor
A new instance of Lodging.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(check_in_at: nil, nights: nil) ⇒ Lodging
246 247 248 249 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 246 def initialize(check_in_at: nil, nights: nil) @check_in_at = check_in_at @nights = nights end |
Instance Attribute Details
#check_in_at ⇒ Object
The time of checking into the lodging.
242 243 244 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 242 def check_in_at @check_in_at end |
#nights ⇒ Object
The number of nights stayed at the lodging.
244 245 246 |
# File 'lib/stripe/params/issuing/authorization_capture_params.rb', line 244 def nights @nights end |