Class: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel

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

Defined Under Namespace

Classes: Ancillary, TripLeg

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#ancillaryIncrease::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary

Ancillary purchases in addition to the airfare.



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

required :ancillary,
-> { Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary }

#computerized_reservation_systemString

Indicates the computerized reservation system used to book the ticket.

Returns:

  • (String)


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

required :computerized_reservation_system, String

#credit_reason_indicatorSymbol

Indicates the reason for a credit to the cardholder.

Returns:

  • (Symbol)


1166
1167
1168
1169
1170
1171
1172
1173
1174
# File 'lib/increase/models/card_payment.rb', line 1166

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

#departure_dateString

Date of departure.

Returns:

  • (String)


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

required :departure_date, String

#origination_city_airport_codeString

Code for the originating city or airport.

Returns:

  • (String)


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

required :origination_city_airport_code, String

#passenger_nameString

Name of the passenger.

Returns:

  • (String)


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

required :passenger_name, String

#restricted_ticket_indicatorSymbol

Indicates whether this ticket is non-refundable.

Returns:

  • (Symbol)


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

required :restricted_ticket_indicator,
Increase::Enum.new(:no_restrictions, :restricted_non_refundable_ticket)

#ticket_change_indicatorSymbol

Indicates why a ticket was changed.

Returns:

  • (Symbol)


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

required :ticket_change_indicator, Increase::Enum.new(:none, :change_to_existing_ticket, :new_ticket)

#ticket_numberString

Ticket number.

Returns:

  • (String)


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

required :ticket_number, String

#travel_agency_codeString

Code for the travel agency if the ticket was issued by a travel agency.

Returns:

  • (String)


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

required :travel_agency_code, String

#travel_agency_nameString

Name of the travel agency if the ticket was issued by a travel agency.

Returns:

  • (String)


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

required :travel_agency_name, String

#trip_legsArray<Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg>

Fields specific to each leg of the journey.



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

required :trip_legs,
Increase::ArrayOf.new(-> { Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg })