Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::LodgingDatum::Host

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_params.rb

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1810

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

#addressObject

Address of the host.



1794
1795
1796
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1794

def address
  @address
end

#country_of_domicileObject

Host's country of domicile.



1796
1797
1798
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1796

def country_of_domicile
  @country_of_domicile
end

#host_referenceObject

Reference number for the host.



1798
1799
1800
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1798

def host_reference
  @host_reference
end

#host_typeObject

Type of host.



1800
1801
1802
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1800

def host_type
  @host_type
end

#nameObject

Name of the lodging property or host.



1802
1803
1804
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1802

def name
  @name
end

#number_of_reservationsObject

Total number of reservations for the host.



1804
1805
1806
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1804

def number_of_reservations
  @number_of_reservations
end

#property_phone_numberObject

Property phone number.



1806
1807
1808
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1806

def property_phone_number
  @property_phone_number
end

#registered_atObject

Host's registration date.



1808
1809
1810
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1808

def registered_at
  @registered_at
end