Class: Stripe::ChargeCaptureParams::PaymentDetails::LodgingDatum

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/charge_capture_params.rb

Defined Under Namespace

Classes: Accommodation, Affiliate, Guest, Host, Insurance, Total

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(accommodation: nil, affiliate: nil, booking_number: nil, checkin_at: nil, checkout_at: nil, customer_service_phone_number: nil, fire_safety_act_compliance_indicator: nil, guests: nil, host: nil, insurances: nil, no_show_indicator: nil, renter_id_number: nil, renter_name: nil, total: nil) ⇒ LodgingDatum

Returns a new instance of LodgingDatum.



1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
# File 'lib/stripe/params/charge_capture_params.rb', line 1515

def initialize(
  accommodation: nil,
  affiliate: nil,
  booking_number: nil,
  checkin_at: nil,
  checkout_at: nil,
  customer_service_phone_number: nil,
  fire_safety_act_compliance_indicator: nil,
  guests: nil,
  host: nil,
  insurances: nil,
  no_show_indicator: nil,
  renter_id_number: nil,
  renter_name: nil,
  total: nil
)
  @accommodation = accommodation
  @affiliate = affiliate
  @booking_number = booking_number
  @checkin_at = checkin_at
  @checkout_at = checkout_at
  @customer_service_phone_number = customer_service_phone_number
  @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
  @guests = guests
  @host = host
  @insurances = insurances
  @no_show_indicator = no_show_indicator
  @renter_id_number = renter_id_number
  @renter_name = renter_name
  @total = total
end

Instance Attribute Details

#accommodationObject

Accommodation details for the lodging.



1487
1488
1489
# File 'lib/stripe/params/charge_capture_params.rb', line 1487

def accommodation
  @accommodation
end

#affiliateObject

Affiliate details if applicable.



1489
1490
1491
# File 'lib/stripe/params/charge_capture_params.rb', line 1489

def affiliate
  @affiliate
end

#booking_numberObject

Booking confirmation number for the lodging.



1491
1492
1493
# File 'lib/stripe/params/charge_capture_params.rb', line 1491

def booking_number
  @booking_number
end

#checkin_atObject

Check-in date.



1493
1494
1495
# File 'lib/stripe/params/charge_capture_params.rb', line 1493

def checkin_at
  @checkin_at
end

#checkout_atObject

Check-out date.



1495
1496
1497
# File 'lib/stripe/params/charge_capture_params.rb', line 1495

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject

Customer service phone number for the lodging company.



1497
1498
1499
# File 'lib/stripe/params/charge_capture_params.rb', line 1497

def customer_service_phone_number
  @customer_service_phone_number
end

#fire_safety_act_compliance_indicatorObject

Whether the lodging is compliant with any hotel fire safety regulations.



1499
1500
1501
# File 'lib/stripe/params/charge_capture_params.rb', line 1499

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject

List of guests for the lodging.



1501
1502
1503
# File 'lib/stripe/params/charge_capture_params.rb', line 1501

def guests
  @guests
end

#hostObject

Host details for the lodging.



1503
1504
1505
# File 'lib/stripe/params/charge_capture_params.rb', line 1503

def host
  @host
end

#insurancesObject

List of insurances for the lodging.



1505
1506
1507
# File 'lib/stripe/params/charge_capture_params.rb', line 1505

def insurances
  @insurances
end

#no_show_indicatorObject

Whether the renter is a no-show.



1507
1508
1509
# File 'lib/stripe/params/charge_capture_params.rb', line 1507

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject

Renter ID number for the lodging.



1509
1510
1511
# File 'lib/stripe/params/charge_capture_params.rb', line 1509

def renter_id_number
  @renter_id_number
end

#renter_nameObject

Renter name for the lodging.



1511
1512
1513
# File 'lib/stripe/params/charge_capture_params.rb', line 1511

def renter_name
  @renter_name
end

#totalObject

Total details for the lodging.



1513
1514
1515
# File 'lib/stripe/params/charge_capture_params.rb', line 1513

def total
  @total
end