BookingCriteria Class |
Namespace: Tse.EasyBook.Server.DataContracts
public class BookingCriteria : DataContractBase
The BookingCriteria type exposes the following members.
Name | Description | |
---|---|---|
![]() | BookingCriteria |
Name | Description | |
---|---|---|
![]() | ArrivalDate |
The arrival date of the tennancy
|
![]() | Articles |
A list of additional articles to purchase for the house
|
![]() | BankAccount |
Bank account details fro the customer. This is used to reverse deposit transactions.
|
![]() | CampaignCode |
Possible unique single use code from a sales campaign.
This field is only relevant for campaigns where the state is SerieUniqueCodes.
|
![]() | CurrencyIsoCode |
The ISO 4217 currency code. The resulting order will be created in this currency.
If the customer is matched to an existing customer, and the currency codes differs from the registered currency, this currency code is ignored.
|
![]() | CustomerComment |
A customer comment to the order. Please note that this will result in a manual processing of the order.
The final order confirmation by the agency may thus take somewhat longer.
|
![]() | CustomerCompany |
The details about the customer if the CustomerType is value: Company
|
![]() | CustomerPerson |
The details about the customer if the CustomerType is value: Person.
|
![]() | CustomerProfileId |
Possible existing customer profile id. If filled out the server will attempt a direct match to an existing customer with the same profile ID.
This is useful because the new order can be placed on the existing (known) customer instead of creating a new customer in the datastore.
It is recommended to always use the profile ID if known beforehand.
|
![]() | CustomerReferenceNo |
The customers own reference number (if known)
|
![]() | CustomerType |
The customer type. The customer type determines if the CustomerPerson or CustomerCompany are required
|
![]() | DepartureDate |
The departure date of the tennancy
|
![]() | FormOfPayment |
The from of payment used to pay the booking.
|
![]() | IncludeCleaning |
For houses with optional cleaning set this this to true
to include cleaning on the order. If the house has cleaning included in the price, this property is ignored.
|
![]() | InternalAccountingNo |
The customers EAN internal accounting number (if known) if the customer is in the public sector.
|
![]() | MediaCodeId |
A media code. Is not to be used by Partners and Agents.
|
![]() | NumberOfAdults |
The number of adults to stay in the house.
When determining if the house can accomodate the required number of persons, the properties NumberOfAdults and NumberOfChildrenAsAdults
are added together. Please note that these two numbers combined may not surpass the NumberOfPersons for the specific rental object.
|
![]() | NumberOfChildren |
The number of children (age 3 or below) to stay in the house.
|
![]() | NumberOfChildrenAsAdults |
The number of adolescents (age 4-11) to stay in the house.
When determining if the house can accomodate the required number of persons, the properties NumberOfAdults and NumberOfChildrenAsAdults
are added together. Please note that these two numbers combined may not surpass the NumberOfPersons for the specific rental object.
|
![]() | NumberOfPets |
The number of pets to stay in the house. Please note that if the rental object doesnt allow pets, setting this to a value greater than zero will result in an error.
Please note that this numbers may not surpass the NumberOfPets for the specific rental object.
|
![]() | PartnerMemberNo |
Possible member number identifying the customer for the partner.
|
![]() | PartnerOrderNo |
The internal order number by the partner.
|
![]() | PartnerRentalObjectNo |
The internal rental object number by the partner.
|
![]() | PartnerTenantName |
This is used if the name of the tenant differs from the customer name.
This property is only required for partner bookings where the partner handles fulfillment.
The full name of the tenant should be provided if that is the case. Leave blank otherwise.
|
![]() | PaymentExpected |
Set to true if the booking expects a payment in a short period after creation. If the payment isn't received within the time period, the invoice on the booking will be credited after the period ends.
|
![]() | RentalObjectNo |
The rental object to book.
|
![]() | TestBooking |
Set to true if the booking should be simulated and not committed to the datastore.
|