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?, #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



2461
2462
2463
# File 'lib/stripe/resources/payment_intent.rb', line 2461

def accommodation
  @accommodation
end

#affiliateObject (readonly)

Attribute for field affiliate



2463
2464
2465
# File 'lib/stripe/resources/payment_intent.rb', line 2463

def affiliate
  @affiliate
end

#booking_numberObject (readonly)

Booking confirmation number for the lodging.



2465
2466
2467
# File 'lib/stripe/resources/payment_intent.rb', line 2465

def booking_number
  @booking_number
end

#checkin_atObject (readonly)

Check-in date.



2467
2468
2469
# File 'lib/stripe/resources/payment_intent.rb', line 2467

def checkin_at
  @checkin_at
end

#checkout_atObject (readonly)

Check-out date.



2469
2470
2471
# File 'lib/stripe/resources/payment_intent.rb', line 2469

def checkout_at
  @checkout_at
end

#customer_service_phone_numberObject (readonly)

Customer service phone number for the lodging company.



2471
2472
2473
# File 'lib/stripe/resources/payment_intent.rb', line 2471

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.



2473
2474
2475
# File 'lib/stripe/resources/payment_intent.rb', line 2473

def fire_safety_act_compliance_indicator
  @fire_safety_act_compliance_indicator
end

#guestsObject (readonly)

List of guests for the lodging.



2475
2476
2477
# File 'lib/stripe/resources/payment_intent.rb', line 2475

def guests
  @guests
end

#hostObject (readonly)

Attribute for field host



2477
2478
2479
# File 'lib/stripe/resources/payment_intent.rb', line 2477

def host
  @host
end

#insurancesObject (readonly)

List of insurances for the lodging.



2479
2480
2481
# File 'lib/stripe/resources/payment_intent.rb', line 2479

def insurances
  @insurances
end

#no_show_indicatorObject (readonly)

Whether the renter is a no-show.



2481
2482
2483
# File 'lib/stripe/resources/payment_intent.rb', line 2481

def no_show_indicator
  @no_show_indicator
end

#renter_id_numberObject (readonly)

Renter ID number for the lodging.



2483
2484
2485
# File 'lib/stripe/resources/payment_intent.rb', line 2483

def renter_id_number
  @renter_id_number
end

#renter_nameObject (readonly)

Renter name for the lodging.



2485
2486
2487
# File 'lib/stripe/resources/payment_intent.rb', line 2485

def renter_name
  @renter_name
end

#totalObject (readonly)

Attribute for field total



2487
2488
2489
# File 'lib/stripe/resources/payment_intent.rb', line 2487

def total
  @total
end

Class Method Details

.field_remappingsObject



2500
2501
2502
# File 'lib/stripe/resources/payment_intent.rb', line 2500

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
# File 'lib/stripe/resources/payment_intent.rb', line 2489

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