Class: Increase::Models::CardPayment::Element::CardRefund::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)


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

required :connected_ticket_document_number, String

#credit_reason_indicatorSymbol

Indicates the reason for a credit to the cardholder.

Returns:

  • (Symbol)


1232
1233
1234
1235
1236
1237
1238
# File 'lib/increase/models/card_payment.rb', line 1232

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)


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

required :passenger_name_or_description, String

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

Additional travel charges, such as baggage fees.



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

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

#ticket_document_numberString

Ticket document number.

Returns:

  • (String)


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

required :ticket_document_number, String