Click or drag to resize

AvailabilityCriteria Class

Data contract for the input criteria for the "Availability" service
Inheritance Hierarchy
SystemObject
  DataContractBase
    Tse.EasyBook.Server.DataContractsAvailabilityCriteria

Namespace:  Tse.EasyBook.Server.DataContracts
Assembly:  Tse.EasyBook.Server.DataContracts (in Tse.EasyBook.Server.DataContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class AvailabilityCriteria : DataContractBase

The AvailabilityCriteria type exposes the following members.

Constructors
  NameDescription
Public methodAvailabilityCriteria
Top
Properties
  NameDescription
Public propertyArrivalDate
The arrival date of the period to check availability
Public propertyCurrencyIsoCode
The ISO 4217 currency code
Public propertyCustomerType
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).
Public propertyDepartureDate
The departure date of the period to check availability
Public propertyIncludeCleaning
To incude the DetailsResult.Installments collection, set this property to true.
Public propertyIncludeDeposit
To incude the deposit price in the DetailsResult.Installments collection, set this property to true.
Public propertyIncludeInstallments
Set this property to true to include installments from the service reply. The [!:AvailibilityResult.Installments] will then be filed out.
Public propertyNumberOfPersons
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.
Public propertyRentalObjectNo
The rental object for which to check availability
Top
See Also