Skip to main content

OfferDto

Represents an offer data transfer object.

type OfferDto {
rateCode: String
code: String
isActive: Boolean!
description: String
nightsType: NightsType!
maxLos: Int
minLos: Int
applyFrom: DateTime
applyTo: DateTime
numberOfNights: Int
roomCodes: [String]
mon: Boolean
tue: Boolean
wed: Boolean
thu: Boolean
fri: Boolean
sat: Boolean
sun: Boolean
}

Fields

OfferDto.rateCode ● String scalar

The rate code of the offer.

OfferDto.code ● String scalar

The offer code.

OfferDto.isActive ● Boolean! non-null scalar

Indicates whether the offer is active.

OfferDto.description ● String scalar

The description of the offer.

OfferDto.nightsType ● NightsType! non-null enum

The type of the offer.

OfferDto.maxLos ● Int scalar

The maximum length of stay for the offer.

OfferDto.minLos ● Int scalar

The minimum length of stay for the offer.

OfferDto.applyFrom ● DateTime scalar

The start date when the offer applies.

OfferDto.applyTo ● DateTime scalar

The end date when the offer applies.

OfferDto.numberOfNights ● Int scalar

The number of free nights for the offer.

OfferDto.roomCodes ● [String] list scalar

The room codes associated with the offer.

OfferDto.mon ● Boolean scalar

Indicates whether the offer applies on Monday.

OfferDto.tue ● Boolean scalar

Indicates whether the offer applies on Tuesday.

OfferDto.wed ● Boolean scalar

Indicates whether the offer applies on Wednesday.

OfferDto.thu ● Boolean scalar

Indicates whether the offer applies on Thursday.

OfferDto.fri ● Boolean scalar

Indicates whether the offer applies on Friday.

OfferDto.sat ● Boolean scalar

Indicates whether the offer applies on Saturday.

OfferDto.sun ● Boolean scalar

Indicates whether the offer applies on Sunday.

Member Of

OffersRs object