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

#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.



1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1555

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.



1539
1540
1541
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1539

def address
  @address
end

#country_of_domicileObject

Host’s country of domicile.



1541
1542
1543
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1541

def country_of_domicile
  @country_of_domicile
end

#host_referenceObject

Reference number for the host.



1543
1544
1545
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1543

def host_reference
  @host_reference
end

#host_typeObject

Type of host.



1545
1546
1547
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1545

def host_type
  @host_type
end

#nameObject

Name of the lodging property or host.



1547
1548
1549
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1547

def name
  @name
end

#number_of_reservationsObject

Total number of reservations for the host.



1549
1550
1551
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1549

def number_of_reservations
  @number_of_reservations
end

#property_phone_numberObject

Property phone number.



1551
1552
1553
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1551

def property_phone_number
  @property_phone_number
end

#registered_atObject

Host’s registration date.



1553
1554
1555
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1553

def registered_at
  @registered_at
end