Class: Increase::Models::CardPayment::Element::CardSettlement::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::CardSettlement::PurchaseDetails::CarRental

Fields specific to car rentals.



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

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

#customer_reference_identifierString

An identifier from the merchant for the customer or consumer.

Returns:

  • (String)


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

required :customer_reference_identifier, String

#local_tax_amountInteger

The state or provincial tax amount in minor units.

Returns:

  • (Integer)


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

required :local_tax_amount, Integer

#local_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


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

required :local_tax_currency, String

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

Fields specific to lodging.



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

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

#national_tax_amountInteger

The national tax amount in minor units.

Returns:

  • (Integer)


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

required :national_tax_amount, Integer

#national_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


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

required :national_tax_currency, String

#purchase_identifierString

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

Returns:

  • (String)


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

required :purchase_identifier, String

#purchase_identifier_formatSymbol

The format of the purchase identifier.

Returns:

  • (Symbol)


1549
1550
1551
1552
1553
1554
1555
1556
# File 'lib/increase/models/card_payment.rb', line 1549

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

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

Fields specific to travel.



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

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