Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum

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

#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.



1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1711

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.



1683
1684
1685
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1683

def accommodation
  @accommodation
end

#affiliateObject

Affiliate details if applicable.



1685
1686
1687
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1685

def affiliate
  @affiliate
end

#booking_numberObject

Booking confirmation number for the lodging.



1687
1688
1689
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1687

def booking_number
  @booking_number
end

#checkin_atObject

Check-in date.



1689
1690
1691
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1689

def checkin_at
  @checkin_at
end

#checkout_atObject

Check-out date.



1691
1692
1693
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1691

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject

Customer service phone number for the lodging company.



1693
1694
1695
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1693

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.



1695
1696
1697
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1695

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject

List of guests for the lodging.



1697
1698
1699
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1697

def guests
  @guests
end

#hostObject

Host details for the lodging.



1699
1700
1701
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1699

def host
  @host
end

#insurancesObject

List of insurances for the lodging.



1701
1702
1703
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1701

def insurances
  @insurances
end

#no_show_indicatorObject

Whether the renter is a no-show.



1703
1704
1705
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1703

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject

Renter ID number for the lodging.



1705
1706
1707
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1705

def renter_id_number
  @renter_id_number
end

#renter_nameObject

Renter name for the lodging.



1707
1708
1709
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1707

def renter_name
  @renter_name
end

#totalObject

Total details for the lodging.



1709
1710
1711
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1709

def total
  @total
end