class Google::Apis::MybusinesslodgingV1::PaymentOptions

Forms of payment accepted at the property.

Attributes

cash[RW]

Cash. The hotel accepts payment by paper/coin currency. Corresponds to the JSON property `cash` @return [Boolean]

cash?[RW]

Cash. The hotel accepts payment by paper/coin currency. Corresponds to the JSON property `cash` @return [Boolean]

cash_exception[RW]

Cash exception. Corresponds to the JSON property `cashException` @return [String]

cheque[RW]

Cheque. The hotel accepts a printed document issued by the guest's bank in the guest's name as a form of payment. Corresponds to the JSON property `cheque` @return [Boolean]

cheque?[RW]

Cheque. The hotel accepts a printed document issued by the guest's bank in the guest's name as a form of payment. Corresponds to the JSON property `cheque` @return [Boolean]

cheque_exception[RW]

Cheque exception. Corresponds to the JSON property `chequeException` @return [String]

credit_card[RW]

Credit card. The hotel accepts payment by a card issued by a bank or credit card company. Also known as charge card, debit card, bank card, or charge plate. Corresponds to the JSON property `creditCard` @return [Boolean]

credit_card?[RW]

Credit card. The hotel accepts payment by a card issued by a bank or credit card company. Also known as charge card, debit card, bank card, or charge plate. Corresponds to the JSON property `creditCard` @return [Boolean]

credit_card_exception[RW]

Credit card exception. Corresponds to the JSON property `creditCardException` @return [String]

debit_card[RW]

Debit card. The hotel accepts a bank-issued card that immediately deducts the charged funds from the guest's bank account upon processing. Corresponds to the JSON property `debitCard` @return [Boolean]

debit_card?[RW]

Debit card. The hotel accepts a bank-issued card that immediately deducts the charged funds from the guest's bank account upon processing. Corresponds to the JSON property `debitCard` @return [Boolean]

debit_card_exception[RW]

Debit card exception. Corresponds to the JSON property `debitCardException` @return [String]

mobile_nfc[RW]

Mobile nfc. The hotel has the compatible computer hardware terminal that reads and charges a payment app on the guest's smartphone without requiring the two devices to make physical contact. Also known as Apple Pay, Google Pay, Samsung Pay. Corresponds to the JSON property `mobileNfc` @return [Boolean]

mobile_nfc?[RW]

Mobile nfc. The hotel has the compatible computer hardware terminal that reads and charges a payment app on the guest's smartphone without requiring the two devices to make physical contact. Also known as Apple Pay, Google Pay, Samsung Pay. Corresponds to the JSON property `mobileNfc` @return [Boolean]

mobile_nfc_exception[RW]

Mobile nfc exception. Corresponds to the JSON property `mobileNfcException` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 2768
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 2773
def update!(**args)
  @cash = args[:cash] if args.key?(:cash)
  @cash_exception = args[:cash_exception] if args.key?(:cash_exception)
  @cheque = args[:cheque] if args.key?(:cheque)
  @cheque_exception = args[:cheque_exception] if args.key?(:cheque_exception)
  @credit_card = args[:credit_card] if args.key?(:credit_card)
  @credit_card_exception = args[:credit_card_exception] if args.key?(:credit_card_exception)
  @debit_card = args[:debit_card] if args.key?(:debit_card)
  @debit_card_exception = args[:debit_card_exception] if args.key?(:debit_card_exception)
  @mobile_nfc = args[:mobile_nfc] if args.key?(:mobile_nfc)
  @mobile_nfc_exception = args[:mobile_nfc_exception] if args.key?(:mobile_nfc_exception)
end