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.



1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1988

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.



1960
1961
1962
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1960

def accommodation
  @accommodation
end

#affiliateObject

Affiliate details if applicable.



1962
1963
1964
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1962

def affiliate
  @affiliate
end

#booking_numberObject

Booking confirmation number for the lodging.



1964
1965
1966
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1964

def booking_number
  @booking_number
end

#checkin_atObject

Check-in date.



1966
1967
1968
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1966

def checkin_at
  @checkin_at
end

#checkout_atObject

Check-out date.



1968
1969
1970
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1968

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject

Customer service phone number for the lodging company.



1970
1971
1972
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1970

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.



1972
1973
1974
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1972

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject

List of guests for the lodging.



1974
1975
1976
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1974

def guests
  @guests
end

#hostObject

Host details for the lodging.



1976
1977
1978
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1976

def host
  @host
end

#insurancesObject

List of insurances for the lodging.



1978
1979
1980
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1978

def insurances
  @insurances
end

#no_show_indicatorObject

Whether the renter is a no-show.



1980
1981
1982
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1980

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject

Renter ID number for the lodging.



1982
1983
1984
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1982

def renter_id_number
  @renter_id_number
end

#renter_nameObject

Renter name for the lodging.



1984
1985
1986
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1984

def renter_name
  @renter_name
end

#totalObject

Total details for the lodging.



1986
1987
1988
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1986

def total
  @total
end