Class: Stripe::TestHelpers::Issuing::AuthorizationCaptureParams::PurchaseDetails::Lodging

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(check_in_at: nil, nights: nil) ⇒ Lodging



192
193
194
195
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 192

def initialize(check_in_at: nil, nights: nil)
  @check_in_at = check_in_at
  @nights = nights
end

Instance Attribute Details

#check_in_atObject

The time of checking into the lodging.



188
189
190
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 188

def check_in_at
  @check_in_at
end

#nightsObject

The number of nights stayed at the lodging.



190
191
192
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 190

def nights
  @nights
end