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.



1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1584

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.



1568
1569
1570
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1568

def address
  @address
end

#country_of_domicileObject

Host’s country of domicile.



1570
1571
1572
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1570

def country_of_domicile
  @country_of_domicile
end

#host_referenceObject

Reference number for the host.



1572
1573
1574
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1572

def host_reference
  @host_reference
end

#host_typeObject

Type of host.



1574
1575
1576
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1574

def host_type
  @host_type
end

#nameObject

Name of the lodging property or host.



1576
1577
1578
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1576

def name
  @name
end

#number_of_reservationsObject

Total number of reservations for the host.



1578
1579
1580
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1578

def number_of_reservations
  @number_of_reservations
end

#property_phone_numberObject

Property phone number.



1580
1581
1582
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1580

def property_phone_number
  @property_phone_number
end

#registered_atObject

Host’s registration date.



1582
1583
1584
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1582

def registered_at
  @registered_at
end