Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Host
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Host
- Defined in:
- lib/stripe/params/payment_intent_capture_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
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.
1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1568 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.
1552 1553 1554 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1552 def address @address end |
#country_of_domicile ⇒ Object
Host’s country of domicile.
1554 1555 1556 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1554 def country_of_domicile @country_of_domicile end |
#host_reference ⇒ Object
Reference number for the host.
1556 1557 1558 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1556 def host_reference @host_reference end |
#host_type ⇒ Object
Type of host.
1558 1559 1560 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1558 def host_type @host_type end |
#name ⇒ Object
Name of the lodging property or host.
1560 1561 1562 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1560 def name @name end |
#number_of_reservations ⇒ Object
Total number of reservations for the host.
1562 1563 1564 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1562 def number_of_reservations @number_of_reservations end |
#property_phone_number ⇒ Object
Property phone number.
1564 1565 1566 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1564 def property_phone_number @property_phone_number end |
#registered_at ⇒ Object
Host’s registration date.
1566 1567 1568 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1566 def registered_at @registered_at end |