Click or drag to resize

CompanyWeb Class

Data contract for a company customer in the "Booking" service.
Inheritance Hierarchy
SystemObject
  DataContractBase
    Tse.EasyBook.Server.DataContractsDataContractEntityWeb
      Tse.EasyBook.Server.DataContractsCompanyWeb

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 CompanyWeb : DataContractEntityWeb

The CompanyWeb type exposes the following members.

Constructors
  NameDescription
Public methodCompanyWeb
Top
Properties
  NameDescription
Public propertyAdditionalAddress
AdditionalAddress
Public propertyAttentionPerson
Public propertyCity
City for the address
Public propertyCountryIsoCode
ISO 3166-1 country code.
Public propertyEanLocationNumber
For electronic invoicing to the public sector, this is the EAN location number.
Public propertyEmail
Company email.
Public propertyFaxNo
The companys fax number. Only digits and whitespaces are allowed.
Public propertyId
Unique Id for the entity. This Id is unchanged throughout the entity's lifetime.
(Inherited from DataContractEntityWeb.)
Public propertyLanguageIsoCode
Language code. International code (2 letters) for the language(ISO 639-1).
Public propertyMobileNo
The companys mobile number. Only digits and whitespaces are allowed. Please note that either a PhoneNo or MobileNo is required!
Public propertyName
The company name.
Public propertyPhoneNo
The companys phone number. Only digits and whitespaces are allowed. Please note that either a PhoneNo or MobileNo is required!
Public propertyPostalArea
Postal area code for the address
Public propertyPostalCode
PostalCode for the address
Public propertyStreetName
The address streetname.
Public propertyVatFree
Set this to true if the company is VAT exempted.
Public propertyVatNumber
The CVR number of the company
Top
Remarks
Either the CompanyWeb or PersonWeb must be filled out during a booking.
See Also