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

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.rb

Defined Under Namespace

Classes: CarRental, Lodging, Travel

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#car_rentalIncrease::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental

Fields specific to car rentals.



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

required :car_rental,
-> { Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental }

#customer_reference_identifierString

An identifier from the merchant for the customer or consumer.

Returns:

  • (String)


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

required :customer_reference_identifier, String

#local_tax_amountInteger

The state or provincial tax amount in minor units.

Returns:

  • (Integer)


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

required :local_tax_amount, Integer

#local_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


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

required :local_tax_currency, String

#lodgingIncrease::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging

Fields specific to lodging.



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

required :lodging, -> { Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging }

#national_tax_amountInteger

The national tax amount in minor units.

Returns:

  • (Integer)


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

required :national_tax_amount, Integer

#national_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


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

required :national_tax_currency, String

#purchase_identifierString

An identifier from the merchant for the purchase to the issuer and cardholder.

Returns:

  • (String)


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

required :purchase_identifier, String

#purchase_identifier_formatSymbol

The format of the purchase identifier.

Returns:

  • (Symbol)


964
965
966
967
968
969
970
971
# File 'lib/increase/models/card_payment.rb', line 964

required :purchase_identifier_format,
Increase::Enum.new(
  :free_text,
  :order_number,
  :rental_agreement_number,
  :hotel_folio_number,
  :invoice_number
)

#travelIncrease::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel

Fields specific to travel.



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

required :travel, -> { Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel }