Click or drag to resize

BookingCriteria Class

Data contract for the input to the online booking service method
Inheritance Hierarchy
SystemObject
  DataContractBase
    Tse.EasyBook.Server.DataContractsBookingCriteria

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 BookingCriteria : DataContractBase

The BookingCriteria type exposes the following members.

Constructors
  NameDescription
Public methodBookingCriteria
Top
Properties
  NameDescription
Public propertyArrivalDate
The arrival date of the tennancy
Public propertyArticles
A list of additional articles to purchase for the house
Public propertyBankAccount
Bank account details fro the customer. This is used to reverse deposit transactions.
Public propertyCampaignCode
Possible unique single use code from a sales campaign. This field is only relevant for campaigns where the state is SerieUniqueCodes.
Public propertyCurrencyIsoCode
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.
Public propertyCustomerComment
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.
Public propertyCustomerCompany
The details about the customer if the CustomerType is value: Company
Public propertyCustomerPerson
The details about the customer if the CustomerType is value: Person.
Public propertyCustomerProfileId
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.
Public propertyCustomerReferenceNo
The customers own reference number (if known)
Public propertyCustomerType
The customer type. The customer type determines if the CustomerPerson or CustomerCompany are required
Public propertyDepartureDate
The departure date of the tennancy
Public propertyFormOfPayment
The from of payment used to pay the booking.
Public propertyIncludeCleaning
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.
Public propertyInternalAccountingNo
The customers EAN internal accounting number (if known) if the customer is in the public sector.
Public propertyMediaCodeId
A media code. Is not to be used by Partners and Agents.
Public propertyNumberOfAdults
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.
Public propertyNumberOfChildren
The number of children (age 3 or below) to stay in the house.
Public propertyNumberOfChildrenAsAdults
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.
Public propertyNumberOfPets
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.
Public propertyPartnerMemberNo
Possible member number identifying the customer for the partner.
Public propertyPartnerOrderNo
The internal order number by the partner.
Public propertyPartnerRentalObjectNo
The internal rental object number by the partner.
Public propertyPartnerTenantName
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.
Public propertyPaymentExpected
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.
Public propertyRentalObjectNo
The rental object to book.
Public propertyTestBooking
Set to true if the booking should be simulated and not committed to the datastore.
Top
See Also