Class: Stripe::PaymentIntent::PaymentDetails::LodgingDatum

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Defined Under Namespace

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

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#accommodationObject (readonly)

Attribute for field accommodation



2646
2647
2648
# File 'lib/stripe/resources/payment_intent.rb', line 2646

def accommodation
  @accommodation
end

#affiliateObject (readonly)

Attribute for field affiliate



2648
2649
2650
# File 'lib/stripe/resources/payment_intent.rb', line 2648

def affiliate
  @affiliate
end

#booking_numberObject (readonly)

Booking confirmation number for the lodging.



2650
2651
2652
# File 'lib/stripe/resources/payment_intent.rb', line 2650

def booking_number
  @booking_number
end

#checkin_atObject (readonly)

Check-in date.



2652
2653
2654
# File 'lib/stripe/resources/payment_intent.rb', line 2652

def checkin_at
  @checkin_at
end

#checkout_atObject (readonly)

Check-out date.



2654
2655
2656
# File 'lib/stripe/resources/payment_intent.rb', line 2654

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject (readonly)

Customer service phone number for the lodging company.



2656
2657
2658
# File 'lib/stripe/resources/payment_intent.rb', line 2656

def customer_service_phone_number
  @customer_service_phone_number
end

#fire_safety_act_compliance_indicatorObject (readonly)

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



2658
2659
2660
# File 'lib/stripe/resources/payment_intent.rb', line 2658

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject (readonly)

List of guests for the lodging.



2660
2661
2662
# File 'lib/stripe/resources/payment_intent.rb', line 2660

def guests
  @guests
end

#hostObject (readonly)

Attribute for field host



2662
2663
2664
# File 'lib/stripe/resources/payment_intent.rb', line 2662

def host
  @host
end

#insurancesObject (readonly)

List of insurances for the lodging.



2664
2665
2666
# File 'lib/stripe/resources/payment_intent.rb', line 2664

def insurances
  @insurances
end

#no_show_indicatorObject (readonly)

Whether the renter is a no-show.



2666
2667
2668
# File 'lib/stripe/resources/payment_intent.rb', line 2666

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject (readonly)

Renter ID number for the lodging.



2668
2669
2670
# File 'lib/stripe/resources/payment_intent.rb', line 2668

def renter_id_number
  @renter_id_number
end

#renter_nameObject (readonly)

Renter name for the lodging.



2670
2671
2672
# File 'lib/stripe/resources/payment_intent.rb', line 2670

def renter_name
  @renter_name
end

#totalObject (readonly)

Attribute for field total



2672
2673
2674
# File 'lib/stripe/resources/payment_intent.rb', line 2672

def total
  @total
end

Class Method Details

.field_remappingsObject



2685
2686
2687
# File 'lib/stripe/resources/payment_intent.rb', line 2685

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
# File 'lib/stripe/resources/payment_intent.rb', line 2674

def self.inner_class_types
  @inner_class_types = {
    accommodation: Accommodation,
    affiliate: Affiliate,
    guests: Guest,
    host: Host,
    insurances: Insurance,
    total: Total,
  }
end