Class: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_payment.rb

Overview

See Also:

Defined Under Namespace

Modules: ExtraCharges, NoShowIndicator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(check_in_date:, daily_room_rate_amount:, daily_room_rate_currency:, extra_charges:, folio_cash_advances_amount:, folio_cash_advances_currency:, food_beverage_charges_amount:, food_beverage_charges_currency:, no_show_indicator:, prepaid_expenses_amount:, prepaid_expenses_currency:, room_nights:, total_room_tax_amount:, total_room_tax_currency:, total_tax_amount:, total_tax_currency:) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging for more details.

Fields specific to lodging.

Parameters:



# File 'lib/increase/models/card_payment.rb', line 7151

Instance Attribute Details

#check_in_dateDate?

Date the customer checked in.

Returns:

  • (Date, nil)


7044
# File 'lib/increase/models/card_payment.rb', line 7044

required :check_in_date, Date, nil?: true

#daily_room_rate_amountInteger?

Daily rate being charged for the room.

Returns:

  • (Integer, nil)


7050
# File 'lib/increase/models/card_payment.rb', line 7050

required :daily_room_rate_amount, Integer, nil?: true

#daily_room_rate_currencyString?

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the daily room rate.

Returns:

  • (String, nil)


7057
# File 'lib/increase/models/card_payment.rb', line 7057

required :daily_room_rate_currency, String, nil?: true

#extra_chargesSymbol, ...

Additional charges (phone, late check-out, etc.) being billed.



7063
7064
7065
7066
7067
# File 'lib/increase/models/card_payment.rb', line 7063

required :extra_charges,
enum: -> {
  Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::ExtraCharges
},
nil?: true

#folio_cash_advances_amountInteger?

Folio cash advances for the room.

Returns:

  • (Integer, nil)


7073
# File 'lib/increase/models/card_payment.rb', line 7073

required :folio_cash_advances_amount, Integer, nil?: true

#folio_cash_advances_currencyString?

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the folio cash advances.

Returns:

  • (String, nil)


7080
# File 'lib/increase/models/card_payment.rb', line 7080

required :folio_cash_advances_currency, String, nil?: true

#food_beverage_charges_amountInteger?

Food and beverage charges for the room.

Returns:

  • (Integer, nil)


7086
# File 'lib/increase/models/card_payment.rb', line 7086

required :food_beverage_charges_amount, Integer, nil?: true

#food_beverage_charges_currencyString?

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the food and beverage charges.

Returns:

  • (String, nil)


7093
# File 'lib/increase/models/card_payment.rb', line 7093

required :food_beverage_charges_currency, String, nil?: true

#no_show_indicatorSymbol, ...

Indicator that the cardholder is being billed for a reserved room that was not actually used.



7100
7101
7102
7103
7104
# File 'lib/increase/models/card_payment.rb', line 7100

required :no_show_indicator,
enum: -> {
  Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::NoShowIndicator
},
nil?: true

#prepaid_expenses_amountInteger?

Prepaid expenses being charged for the room.

Returns:

  • (Integer, nil)


7110
# File 'lib/increase/models/card_payment.rb', line 7110

required :prepaid_expenses_amount, Integer, nil?: true

#prepaid_expenses_currencyString?

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the prepaid expenses.

Returns:

  • (String, nil)


7117
# File 'lib/increase/models/card_payment.rb', line 7117

required :prepaid_expenses_currency, String, nil?: true

#room_nightsInteger?

Number of nights the room was rented.

Returns:

  • (Integer, nil)


7123
# File 'lib/increase/models/card_payment.rb', line 7123

required :room_nights, Integer, nil?: true

#total_room_tax_amountInteger?

Total room tax being charged.

Returns:

  • (Integer, nil)


7129
# File 'lib/increase/models/card_payment.rb', line 7129

required :total_room_tax_amount, Integer, nil?: true

#total_room_tax_currencyString?

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the total room tax.

Returns:

  • (String, nil)


7136
# File 'lib/increase/models/card_payment.rb', line 7136

required :total_room_tax_currency, String, nil?: true

#total_tax_amountInteger?

Total tax being charged for the room.

Returns:

  • (Integer, nil)


7142
# File 'lib/increase/models/card_payment.rb', line 7142

required :total_tax_amount, Integer, nil?: true

#total_tax_currencyString?

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the total tax assessed.

Returns:

  • (String, nil)


7149
# File 'lib/increase/models/card_payment.rb', line 7149

required :total_tax_currency, String, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_payment.rb', line 7217