Class: Stripe::ChargeUpdateParams::PaymentDetails::LodgingDatum::Host
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeUpdateParams::PaymentDetails::LodgingDatum::Host
- Defined in:
- lib/stripe/params/charge_update_params.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
Address of the host.
-
#country_of_domicile ⇒ Object
Host’s country of domicile.
-
#host_reference ⇒ Object
Reference number for the host.
-
#host_type ⇒ Object
Type of host.
-
#name ⇒ Object
Name of the lodging property or host.
-
#number_of_reservations ⇒ Object
Total number of reservations for the host.
-
#property_phone_number ⇒ Object
Property phone number.
-
#registered_at ⇒ Object
Host’s registration date.
Instance Method Summary collapse
-
#initialize(address: nil, country_of_domicile: nil, host_reference: nil, host_type: nil, name: nil, number_of_reservations: nil, property_phone_number: nil, registered_at: nil) ⇒ Host
constructor
A new instance of Host.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(address: nil, country_of_domicile: nil, host_reference: nil, host_type: nil, name: nil, number_of_reservations: nil, property_phone_number: nil, registered_at: nil) ⇒ Host
Returns a new instance of Host.
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 |
# File 'lib/stripe/params/charge_update_params.rb', line 1461 def initialize( address: nil, country_of_domicile: nil, host_reference: nil, host_type: nil, name: nil, number_of_reservations: nil, property_phone_number: nil, registered_at: nil ) @address = address @country_of_domicile = country_of_domicile @host_reference = host_reference @host_type = host_type @name = name @number_of_reservations = number_of_reservations @property_phone_number = property_phone_number @registered_at = registered_at end |
Instance Attribute Details
#address ⇒ Object
Address of the host.
1445 1446 1447 |
# File 'lib/stripe/params/charge_update_params.rb', line 1445 def address @address end |
#country_of_domicile ⇒ Object
Host’s country of domicile.
1447 1448 1449 |
# File 'lib/stripe/params/charge_update_params.rb', line 1447 def country_of_domicile @country_of_domicile end |
#host_reference ⇒ Object
Reference number for the host.
1449 1450 1451 |
# File 'lib/stripe/params/charge_update_params.rb', line 1449 def host_reference @host_reference end |
#host_type ⇒ Object
Type of host.
1451 1452 1453 |
# File 'lib/stripe/params/charge_update_params.rb', line 1451 def host_type @host_type end |
#name ⇒ Object
Name of the lodging property or host.
1453 1454 1455 |
# File 'lib/stripe/params/charge_update_params.rb', line 1453 def name @name end |
#number_of_reservations ⇒ Object
Total number of reservations for the host.
1455 1456 1457 |
# File 'lib/stripe/params/charge_update_params.rb', line 1455 def number_of_reservations @number_of_reservations end |
#property_phone_number ⇒ Object
Property phone number.
1457 1458 1459 |
# File 'lib/stripe/params/charge_update_params.rb', line 1457 def property_phone_number @property_phone_number end |
#registered_at ⇒ Object
Host’s registration date.
1459 1460 1461 |
# File 'lib/stripe/params/charge_update_params.rb', line 1459 def registered_at @registered_at end |