Class: Stripe::TestHelpers::Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetails::Lodging

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_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

Returns a new instance of Lodging.



235
236
237
238
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 235

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.



231
232
233
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 231

def check_in_at
  @check_in_at
end

#nightsObject

The number of nights stayed at the lodging.



233
234
235
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 233

def nights
  @nights
end