Class: Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::Host
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::Host
- Defined in:
- lib/stripe/params/payment_intent_create_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.
1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1774 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.
1758 1759 1760 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1758 def address @address end |
#country_of_domicile ⇒ Object
Host’s country of domicile.
1760 1761 1762 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1760 def country_of_domicile @country_of_domicile end |
#host_reference ⇒ Object
Reference number for the host.
1762 1763 1764 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1762 def host_reference @host_reference end |
#host_type ⇒ Object
Type of host.
1764 1765 1766 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1764 def host_type @host_type end |
#name ⇒ Object
Name of the lodging property or host.
1766 1767 1768 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1766 def name @name end |
#number_of_reservations ⇒ Object
Total number of reservations for the host.
1768 1769 1770 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1768 def number_of_reservations @number_of_reservations end |
#property_phone_number ⇒ Object
Property phone number.
1770 1771 1772 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1770 def property_phone_number @property_phone_number end |
#registered_at ⇒ Object
Host’s registration date.
1772 1773 1774 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1772 def registered_at @registered_at end |