Click or drag to resize

ArticleWeb Class

Data contract for an aticle item that can be sold for a specific rental object.
Inheritance Hierarchy

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 ArticleWeb : ArticleBaseWeb

The ArticleWeb type exposes the following members.

Constructors
  NameDescription
Public methodArticleWeb
Top
Properties
  NameDescription
Public propertyArticleNo
The article number of the article. The article number is a unique number that identifies the article or extra serviec that the agency offers.
(Inherited from ArticleBaseWeb.)
Public propertyCount
The count property is only relevant in a booking scenario. Fill this property with the requested number of articles.
(Inherited from ArticleBaseWeb.)
Public propertyId
Unique Id for the entity. This Id is unchanged throughout the entity's lifetime.
(Inherited from DataContractEntityWeb.)
Public propertyLineNo
The order line number of the article. If applicable. Is and should remain null in all cases except when returned from the service method "OrderInfo" or when calling service method UpdateOrder. See also remarks.
(Inherited from ArticleBaseWeb.)
Public propertyPriceExamples
This property contains a list of 20 PriceExampleWeb that holds information about what the price would be if ordering xx amounts. Articles may have complex volume discount schemes which makes it problematic to give 1 single price regardless of the volume of purchase. Use this collection to extract the correct price based on the end customers requested volume of the article. If the article has no volume discount the collection will only contain item(s) where count is one.
Public propertyPriceIntervalDate
The property is only relevant for either the Booking or the UpdateOrder methods and for articles of the type Ticket. Fill this property with PriceExampleWeb.ValidFrom date to select an alternative price/validity interval. If this property is NOT filled out the price/validity interval containing the arrival date will be selected.
(Inherited from ArticleBaseWeb.)
Public propertySubType
The sub type of the article. For consumption articles this field is assigned the name of one of the values from the enum ConsumptionMeterTypeWebEnum
Public propertyText
A description of the article
Public propertyType
Articles are divided into different types of articles in EasyBook.NET. Use this property to distinguish the different types.
Public propertyUnit
The unit type of the article. For instance pcs, or kg or kw/h.
Top
Methods
  NameDescription
Public methodGetPriceCountOne
Get the price for 1 article item. If date is null the first price for count one is returned.
Public methodGetPriceWithoutCountOne
Get the price for 1 article item. If date is null the first price for count one is returned.
Top
See Also