Skip to main content

RestoreTravelBookingInput

Defines the input for restoring a travel booking.

input RestoreTravelBookingInput {
contactId: ID!
eventId: ID!
payingContactId: ID
paymentStatus: PaymentStatusInput!
splitChargeAmount: Float
travelBookingId: ID!
}

Fields​

RestoreTravelBookingInput.contactId ● ID! non-null scalar​

The identifier of the contact the travel booking is associated with.

RestoreTravelBookingInput.eventId ● ID! non-null scalar​

The identifier of the event the travel booking is associated with.

RestoreTravelBookingInput.payingContactId ● ID scalar​

The identifier of the contact who pays for the item or who pays for part of the charge. Optional.

If specified the paying contact must be different from the contact who owns the item and the record's payment status must be CHARGE_TO_ANOTHER_CONTACT, CANCELED_CHARGE_TO_ANOTHER_CONTACT or SPLIT_CHARGE.

RestoreTravelBookingInput.paymentStatus ● PaymentStatusInput! non-null enum​

The new payment status for the travel booking.

RestoreTravelBookingInput.splitChargeAmount ● Float scalar​

The amount that the other contact is paying when the paymentStatus is SPLIT_CHARGE. Optional.

Value is required if paymentStatus is set to SPLIT_CHARGE. Must be greater than 0.

RestoreTravelBookingInput.travelBookingId ● ID! non-null scalar​

The identifier of the travel booking.

Member Of​

restoreTravelBooking mutation