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



2758
2759
2760
# File 'lib/stripe/resources/payment_intent.rb', line 2758

def accommodation
  @accommodation
end

#affiliateObject (readonly)

Attribute for field affiliate



2760
2761
2762
# File 'lib/stripe/resources/payment_intent.rb', line 2760

def affiliate
  @affiliate
end

#booking_numberObject (readonly)

Booking confirmation number for the lodging.



2762
2763
2764
# File 'lib/stripe/resources/payment_intent.rb', line 2762

def booking_number
  @booking_number
end

#checkin_atObject (readonly)

Check-in date.



2764
2765
2766
# File 'lib/stripe/resources/payment_intent.rb', line 2764

def checkin_at
  @checkin_at
end

#checkout_atObject (readonly)

Check-out date.



2766
2767
2768
# File 'lib/stripe/resources/payment_intent.rb', line 2766

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject (readonly)

Customer service phone number for the lodging company.



2768
2769
2770
# File 'lib/stripe/resources/payment_intent.rb', line 2768

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.



2770
2771
2772
# File 'lib/stripe/resources/payment_intent.rb', line 2770

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject (readonly)

List of guests for the lodging.



2772
2773
2774
# File 'lib/stripe/resources/payment_intent.rb', line 2772

def guests
  @guests
end

#hostObject (readonly)

Attribute for field host



2774
2775
2776
# File 'lib/stripe/resources/payment_intent.rb', line 2774

def host
  @host
end

#insurancesObject (readonly)

List of insurances for the lodging.



2776
2777
2778
# File 'lib/stripe/resources/payment_intent.rb', line 2776

def insurances
  @insurances
end

#no_show_indicatorObject (readonly)

Whether the renter is a no-show.



2778
2779
2780
# File 'lib/stripe/resources/payment_intent.rb', line 2778

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject (readonly)

Renter ID number for the lodging.



2780
2781
2782
# File 'lib/stripe/resources/payment_intent.rb', line 2780

def renter_id_number
  @renter_id_number
end

#renter_nameObject (readonly)

Renter name for the lodging.



2782
2783
2784
# File 'lib/stripe/resources/payment_intent.rb', line 2782

def renter_name
  @renter_name
end

#totalObject (readonly)

Attribute for field total



2784
2785
2786
# File 'lib/stripe/resources/payment_intent.rb', line 2784

def total
  @total
end

Class Method Details

.field_remappingsObject



2797
2798
2799
# File 'lib/stripe/resources/payment_intent.rb', line 2797

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
# File 'lib/stripe/resources/payment_intent.rb', line 2786

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