Skip to main content

UpdatePaymentScheduleItemInput

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

input UpdatePaymentScheduleItemInput {
alternateCurrencyAmounts: [MoneyInput!]
id: ID
invoiceDate: LocalDate
invoiceTermDays: NonNegativeInt!
type: PaymentScheduleItemType!
value: Float
}

Fields

UpdatePaymentScheduleItemInput.alternateCurrencyAmounts ● [MoneyInput!] list input

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

UpdatePaymentScheduleItemInput.id ● ID scalar

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

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

UpdatePaymentScheduleItemInput.invoiceDate ● LocalDate scalar

The date the payment schedule item is due. Optional.

If not specified the due date is date of booking + invoice terms days.

UpdatePaymentScheduleItemInput.invoiceTermDays ● NonNegativeInt! non-null scalar

The number of days for the invoice term.

UpdatePaymentScheduleItemInput.type ● PaymentScheduleItemType! non-null enum

The type of the payment schedule item. The type of NUMBER_OF_NIGHTS is only valid for hotel bookings.

UpdatePaymentScheduleItemInput.value ● Float scalar

The value for the payment schedule item. Optional.

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

Member Of

UpdateItemPaymentPolicyInput input