Class: Stripe::ChargeUpdateParams::PaymentDetails::LodgingDatum

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



1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
# File 'lib/stripe/params/charge_update_params.rb', line 1617

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.



1589
1590
1591
# File 'lib/stripe/params/charge_update_params.rb', line 1589

def accommodation
  @accommodation
end

#affiliateObject

Affiliate details if applicable.



1591
1592
1593
# File 'lib/stripe/params/charge_update_params.rb', line 1591

def affiliate
  @affiliate
end

#booking_numberObject

Booking confirmation number for the lodging.



1593
1594
1595
# File 'lib/stripe/params/charge_update_params.rb', line 1593

def booking_number
  @booking_number
end

#checkin_atObject

Check-in date.



1595
1596
1597
# File 'lib/stripe/params/charge_update_params.rb', line 1595

def checkin_at
  @checkin_at
end

#checkout_atObject

Check-out date.



1597
1598
1599
# File 'lib/stripe/params/charge_update_params.rb', line 1597

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject

Customer service phone number for the lodging company.



1599
1600
1601
# File 'lib/stripe/params/charge_update_params.rb', line 1599

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.



1601
1602
1603
# File 'lib/stripe/params/charge_update_params.rb', line 1601

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject

List of guests for the lodging.



1603
1604
1605
# File 'lib/stripe/params/charge_update_params.rb', line 1603

def guests
  @guests
end

#hostObject

Host details for the lodging.



1605
1606
1607
# File 'lib/stripe/params/charge_update_params.rb', line 1605

def host
  @host
end

#insurancesObject

List of insurances for the lodging.



1607
1608
1609
# File 'lib/stripe/params/charge_update_params.rb', line 1607

def insurances
  @insurances
end

#no_show_indicatorObject

Whether the renter is a no-show.



1609
1610
1611
# File 'lib/stripe/params/charge_update_params.rb', line 1609

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject

Renter ID number for the lodging.



1611
1612
1613
# File 'lib/stripe/params/charge_update_params.rb', line 1611

def renter_id_number
  @renter_id_number
end

#renter_nameObject

Renter name for the lodging.



1613
1614
1615
# File 'lib/stripe/params/charge_update_params.rb', line 1613

def renter_name
  @renter_name
end

#totalObject

Total details for the lodging.



1615
1616
1617
# File 'lib/stripe/params/charge_update_params.rb', line 1615

def total
  @total
end