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

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

Overview

See Also:

Defined Under Namespace

Modules: CreditReasonIndicator Classes: Service

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(connected_ticket_document_number: , credit_reason_indicator: , passenger_name_or_description: , services: , ticket_document_number: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary for more details.

Ancillary purchases in addition to the airfare.

Parameters:



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


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, nil)


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

required :connected_ticket_document_number, String, nil?: true

#credit_reason_indicatorSymbol, ...

Indicates the reason for a credit to the cardholder.



7847
7848
7849
7850
7851
# File 'lib/increase/models/card_payment.rb', line 7847

required :credit_reason_indicator,
enum: -> {
  Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator
},
nil?: true

#passenger_name_or_descriptionString?

Name of the passenger or description of the ancillary purchase.

Returns:

  • (String, nil)


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

required :passenger_name_or_description, String, nil?: true

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

Additional travel charges, such as baggage fees.



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

required :services,
-> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service] }

#ticket_document_numberString?

Ticket document number.

Returns:

  • (String, nil)


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

required :ticket_document_number, String, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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