Class: Increase::Models::Transaction::Source::CardRefund::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::CardRefund::PurchaseDetails::CarRental

Fields specific to car rentals.



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

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

#customer_reference_identifierString

An identifier from the merchant for the customer or consumer.

Returns:

  • (String)


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

required :customer_reference_identifier, String

#local_tax_amountInteger

The state or provincial tax amount in minor units.

Returns:

  • (Integer)


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

required :local_tax_amount, Integer

#local_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


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

required :local_tax_currency, String

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

Fields specific to lodging.



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

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

#national_tax_amountInteger

The national tax amount in minor units.

Returns:

  • (Integer)


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

required :national_tax_amount, Integer

#national_tax_currencyString

The ISO 4217 code for the local tax assessed.

Returns:

  • (String)


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

required :national_tax_currency, String

#purchase_identifierString

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

Returns:

  • (String)


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

required :purchase_identifier, String

#purchase_identifier_formatSymbol

The format of the purchase identifier.

Returns:

  • (Symbol)


574
575
576
577
578
579
580
581
# File 'lib/increase/models/transaction.rb', line 574

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

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

Fields specific to travel.



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

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