Class: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/transaction.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::Transaction::Source::CardSettlement::PurchaseDetails::CarRental

Fields specific to car rentals.



1080
1081
# File 'lib/increase/models/transaction.rb', line 1080

required :car_rental,
-> { Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental }

#customer_reference_identifierString

An identifier from the merchant for the customer or consumer.

Returns:

  • (String)


1086
# File 'lib/increase/models/transaction.rb', line 1086

required :customer_reference_identifier, String

#local_tax_amountInteger

The state or provincial tax amount in minor units.

Returns:

  • (Integer)


1091
# File 'lib/increase/models/transaction.rb', line 1091

required :local_tax_amount, Integer

#local_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


1096
# File 'lib/increase/models/transaction.rb', line 1096

required :local_tax_currency, String

#lodgingIncrease::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging

Fields specific to lodging.



1101
# File 'lib/increase/models/transaction.rb', line 1101

required :lodging, -> { Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging }

#national_tax_amountInteger

The national tax amount in minor units.

Returns:

  • (Integer)


1106
# File 'lib/increase/models/transaction.rb', line 1106

required :national_tax_amount, Integer

#national_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


1111
# File 'lib/increase/models/transaction.rb', line 1111

required :national_tax_currency, String

#purchase_identifierString

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

Returns:

  • (String)


1116
# File 'lib/increase/models/transaction.rb', line 1116

required :purchase_identifier, String

#purchase_identifier_formatSymbol

The format of the purchase identifier.

Returns:

  • (Symbol)


1121
1122
1123
1124
1125
1126
1127
1128
# File 'lib/increase/models/transaction.rb', line 1121

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

#travelIncrease::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel

Fields specific to travel.



1133
# File 'lib/increase/models/transaction.rb', line 1133

required :travel, -> { Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel }