Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Host

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_capture_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.



1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1695

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.



1679
1680
1681
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1679

def address
  @address
end

#country_of_domicileObject

Host’s country of domicile.



1681
1682
1683
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1681

def country_of_domicile
  @country_of_domicile
end

#host_referenceObject

Reference number for the host.



1683
1684
1685
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1683

def host_reference
  @host_reference
end

#host_typeObject

Type of host.



1685
1686
1687
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1685

def host_type
  @host_type
end

#nameObject

Name of the lodging property or host.



1687
1688
1689
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1687

def name
  @name
end

#number_of_reservationsObject

Total number of reservations for the host.



1689
1690
1691
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1689

def number_of_reservations
  @number_of_reservations
end

#property_phone_numberObject

Property phone number.



1691
1692
1693
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1691

def property_phone_number
  @property_phone_number
end

#registered_atObject

Host’s registration date.



1693
1694
1695
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1693

def registered_at
  @registered_at
end