Class: Stripe::PaymentIntentCreateParams::PaymentDetails::LodgingDatum::Host

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

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, 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.



1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1647

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.



1631
1632
1633
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1631

def address
  @address
end

#country_of_domicileObject

Host’s country of domicile.



1633
1634
1635
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1633

def country_of_domicile
  @country_of_domicile
end

#host_referenceObject

Reference number for the host.



1635
1636
1637
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1635

def host_reference
  @host_reference
end

#host_typeObject

Type of host.



1637
1638
1639
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1637

def host_type
  @host_type
end

#nameObject

Name of the lodging property or host.



1639
1640
1641
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1639

def name
  @name
end

#number_of_reservationsObject

Total number of reservations for the host.



1641
1642
1643
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1641

def number_of_reservations
  @number_of_reservations
end

#property_phone_numberObject

Property phone number.



1643
1644
1645
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1643

def property_phone_number
  @property_phone_number
end

#registered_atObject

Host’s registration date.



1645
1646
1647
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1645

def registered_at
  @registered_at
end