Class: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary

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

Defined Under Namespace

Classes: Service

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#connected_ticket_document_numberString

If this purchase has a connection or relationship to another purchase, such as a baggage fee for a passenger transport ticket, this field should contain the ticket document number for the other purchase.

Returns:

  • (String)


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

required :connected_ticket_document_number, String

#credit_reason_indicatorSymbol

Indicates the reason for a credit to the cardholder.

Returns:

  • (Symbol)


842
843
844
845
846
847
848
# File 'lib/increase/models/transaction.rb', line 842

required :credit_reason_indicator,
Increase::Enum.new(
  :no_credit,
  :passenger_transport_ancillary_purchase_cancellation,
  :airline_ticket_and_passenger_transport_ancillary_purchase_cancellation,
  :other
)

#passenger_name_or_descriptionString

Name of the passenger or description of the ancillary purchase.

Returns:

  • (String)


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

required :passenger_name_or_description, String

#servicesArray<Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service>

Additional travel charges, such as baggage fees.



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

required :services,
Increase::ArrayOf.new(-> { Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service })

#ticket_document_numberString

Ticket document number.

Returns:

  • (String)


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

required :ticket_document_number, String