Class: Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum

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



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1819

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.



1791
1792
1793
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1791

def accommodation
  @accommodation
end

#affiliateObject

Affiliate details if applicable.



1793
1794
1795
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1793

def affiliate
  @affiliate
end

#booking_numberObject

Booking confirmation number for the lodging.



1795
1796
1797
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1795

def booking_number
  @booking_number
end

#checkin_atObject

Check-in date.



1797
1798
1799
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1797

def checkin_at
  @checkin_at
end

#checkout_atObject

Check-out date.



1799
1800
1801
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1799

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject

Customer service phone number for the lodging company.



1801
1802
1803
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1801

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.



1803
1804
1805
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1803

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject

List of guests for the lodging.



1805
1806
1807
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1805

def guests
  @guests
end

#hostObject

Host details for the lodging.



1807
1808
1809
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1807

def host
  @host
end

#insurancesObject

List of insurances for the lodging.



1809
1810
1811
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1809

def insurances
  @insurances
end

#no_show_indicatorObject

Whether the renter is a no-show.



1811
1812
1813
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1811

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject

Renter ID number for the lodging.



1813
1814
1815
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1813

def renter_id_number
  @renter_id_number
end

#renter_nameObject

Renter name for the lodging.



1815
1816
1817
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1815

def renter_name
  @renter_name
end

#totalObject

Total details for the lodging.



1817
1818
1819
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1817

def total
  @total
end