CreateTravelTypeInput
Defines the input for creating a travel type.
input CreateTravelTypeInput {
additionalPaymentStatuses: [AdditionalPaymentStatus!]
alternateCurrencyCancelationAmounts: [MoneyInput!]
cancelationAmount: Float
cancelationTaxes: [TaxItemInput!]
creditHours: Float
customFields: [CustomFieldInput!]
eventId: ID!
includeTravelTaxBeforeTaxCalculation: Boolean
incomeAccountId: ID
name: String!
taxes: [TaxItemInput!]
uniqueCode: String
}
Fields
CreateTravelTypeInput.additionalPaymentStatuses ● [AdditionalPaymentStatus!] list enum
The additional valid payment statuses for this travel type. Optional.
CreateTravelTypeInput.alternateCurrencyCancelationAmounts ● [MoneyInput!] list input
The collection of cancelation amounts for this travel type in alternate currencies. Optional.
CreateTravelTypeInput.cancelationAmount ● Float scalar
The cancelation amount for this travel type in the default event currency. Optional.
The default value is 0.
CreateTravelTypeInput.cancelationTaxes ● [TaxItemInput!] list input
The collection of taxes for the cancelation fee for the travel type. Optional.
Defaults to the default taxes for the event.
CreateTravelTypeInput.creditHours ● Float scalar
The number of credit hours for the travel type. Optional.
The default value is 0.
CreateTravelTypeInput.customFields ● [CustomFieldInput!] list input
The custom fields to create for the travel type. Optional.
CreateTravelTypeInput.eventId ● ID! non-null scalar
The identifier of the event the travel type is associated with.
CreateTravelTypeInput.includeTravelTaxBeforeTaxCalculation ● Boolean scalar
A flag indicating whether travel tax should be included before the tax calculation for this travel type. Optional.
The default value is false.
CreateTravelTypeInput.incomeAccountId ● ID scalar
The identifier of the income account for the travel type. Optional.
The value will default to the ID of the first income account in account number order.
CreateTravelTypeInput.name ● String! non-null scalar
A UTF-8 string representing the name of the travel type.
CreateTravelTypeInput.taxes ● [TaxItemInput!] list input
The collection of taxes for the travel type. Optional.
Defaults to the default taxes for the event.
CreateTravelTypeInput.uniqueCode ● String scalar
A customer supplied, UTF-8 string value that represents a unique code for the travel type. Optional.
The value must be unique across all travel types for an event.
Member Of
createTravelType mutation