AvailabilityCriteria Class |
Namespace: Tse.EasyBook.Server.DataContracts
public class AvailabilityCriteria : DataContractBase
The AvailabilityCriteria type exposes the following members.
| Name | Description | |
|---|---|---|
| AvailabilityCriteria |
| Name | Description | |
|---|---|---|
| ArrivalDate |
The arrival date of the period to check availability
| |
| CurrencyIsoCode |
The ISO 4217 currency code
| |
| CustomerType |
The customer type is used by the "Availibility" service to calculate a correct set of suggested installments.
Payment terms may differ if the customer is a person or company. Setting this to the appropriate customer type will ensure that
the installment calculation returns the correct installments (ie. the same installments that the booking service will calculate).
| |
| DepartureDate |
The departure date of the period to check availability
| |
| IncludeCleaning |
To incude the DetailsResult.Installments collection, set this property to true.
| |
| IncludeDeposit |
To incude the deposit price in the DetailsResult.Installments collection, set this property to true.
| |
| IncludeInstallments |
Set this property to true to include installments from the service reply. The [!:AvailibilityResult.Installments] will then be filed out.
| |
| NumberOfPersons |
This property is used to calculate any person related discounts if available.
This should hold the value as the number of adults, adolescents and children combined.
| |
| RentalObjectNo |
The rental object for which to check availability
|