RoomTypeInventoryRateInput
Defines the inventory details for a room type.
input RoomTypeInventoryRateInput {
alternateCurrencyCancelationAmount: [MoneyInput!]
alternateCurrencyFixedNightlyRoomRates: [MoneyInput!]
cancelationAmount: Float
dailyInventoriesAndRates: [RoomTypeInventoryRateByDateInput!]
fixedNightlyRoomCost: Float
fixedNightlyRoomRate: Float
inventoryType: RoomTypeInventoryType
numberOfNightsForMinimumStay: NonNegativeInt
otherRoomTypeId: ID
rateType: RoomTypeRateType
}
Fields
RoomTypeInventoryRateInput.alternateCurrencyCancelationAmount ● [MoneyInput!] list input
The collection of cancelation amounts for this room type in alternate currencies. Optional.
RoomTypeInventoryRateInput.alternateCurrencyFixedNightlyRoomRates ● [MoneyInput!] list input
The collection of nightly room rates for the room type in alternate currencies when the rate type is FIXED. Optional.
RoomTypeInventoryRateInput.cancelationAmount ● Float scalar
The cancelation amount for this room type in the default event currency. Optional.
The default value is 0.
RoomTypeInventoryRateInput.dailyInventoriesAndRates ● [RoomTypeInventoryRateByDateInput!] list input
The list of inventories and/or rates for each day for this room type. Optional.
The list must be sequential without gaps in the dates.
When creating a room type and inventoryType is LIMITED_TO_ROOM_TYPE and/or rateType is DYNAMIC then dailyInventoriesAndRates is required.
RoomTypeInventoryRateInput.fixedNightlyRoomCost ● Float scalar
The nightly room cost of the room type in the default event currency when the rate type is FIXED. Optional.
The default value is 0.
RoomTypeInventoryRateInput.fixedNightlyRoomRate ● Float scalar
The nightly room rate of the room type in the default event currency when the rate type is FIXED. Optional.
The default value is 0.
RoomTypeInventoryRateInput.inventoryType ● RoomTypeInventoryType enum
The inventory type for this room type. Optional.
The default value is UNLIMITED.
If inventoryType is set to LIMITED_TO_ROOM_TYPE then dailyInventoriesAndRates must be specified.
RoomTypeInventoryRateInput.numberOfNightsForMinimumStay ● NonNegativeInt scalar
The number of nights needed for a minimum stay for this room type. Optional.
The default value is 0. If set to 0 there is no minimum stay for this room type.
RoomTypeInventoryRateInput.otherRoomTypeId ● ID scalar
The identifier of the room type that is the other room type that inventory for this room type is coming from. Optional.
If inventoryType is set to LIMITED_TO_OTHER_ROOM_TYPE a value must be specified. Only room types where inventoryType is set to LIMITED_TO_ROOM_TYPE are valid values.
RoomTypeInventoryRateInput.rateType ● RoomTypeRateType enum
The rate type for the room type. Optional.
The default value is FIXED. If rateType is set to DYNAMIC then dailyInventoriesAndRates must be specified.
Member Of
CreateRoomTypeInput input ● UpdateRoomTypeInput input