Skip to main content

UpdateCancelationScheduleItemInput

Defines the input for creating or updating a cancelation schedule item.

input UpdateCancelationScheduleItemInput {
alternateCurrencyAmounts: [MoneyInput!]
fromCancelationDate: LocalDate
id: ID
type: CancelationScheduleItemType
value: Float
}

Fields​

UpdateCancelationScheduleItemInput.alternateCurrencyAmounts ● [MoneyInput!] list input​

The list of alternate currency amounts for the cancelation schedule item when the type is AMOUNT. Optional.

UpdateCancelationScheduleItemInput.fromCancelationDate ● LocalDate scalar​

The date that the cancelation schedule item will apply from. Optional.

When updating an existing item, omitting this field will keep the existing value.

UpdateCancelationScheduleItemInput.id ● ID scalar​

The identifier of the existing cancelation schedule item to update. Optional.

If not set, a new cancelation schedule item will be created.

UpdateCancelationScheduleItemInput.type ● CancelationScheduleItemType enum​

The type of the cancelation item. The type of NUMBER_OF_NIGHTS is only valid for accommodation items. Optional.

Required when creating a new cancelation schedule item (when id is not provided). When updating an existing item, omitting this field will keep the existing value.

UpdateCancelationScheduleItemInput.value ● Float scalar​

The value for the cancelation schedule item. Optional.

If the type is PERCENTAGE the value should be a percentage expressed as a decimal value. Required when creating a new cancelation schedule item (when id is not provided). When updating an existing item, omitting this field will keep the existing value.

Member Of​

UpdateItemCancelationPolicyInput input