Class: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.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)


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

required :connected_ticket_document_number, String

#credit_reason_indicatorSymbol

Indicates the reason for a credit to the cardholder.

Returns:

  • (Symbol)


1817
1818
1819
1820
1821
1822
1823
# File 'lib/increase/models/card_payment.rb', line 1817

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)


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

required :passenger_name_or_description, String

#servicesArray<Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service>

Additional travel charges, such as baggage fees.



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

required :services,
Increase::ArrayOf.new(-> { Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service })

#ticket_document_numberString

Ticket document number.

Returns:

  • (String)


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

required :ticket_document_number, String