ArticleWeb Class |
Namespace: Tse.EasyBook.Server.DataContracts
public class ArticleWeb : ArticleBaseWeb
The ArticleWeb type exposes the following members.
Name | Description | |
---|---|---|
![]() | ArticleWeb |
Name | Description | |
---|---|---|
![]() | ArticleNo |
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.) |
![]() | Count |
The count property is only relevant in a booking scenario. Fill this property with the requested number of articles.
(Inherited from ArticleBaseWeb.) |
![]() | Id |
Unique Id for the entity. This Id is unchanged throughout the entity's lifetime.
(Inherited from DataContractEntityWeb.) |
![]() | LineNo |
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.) |
![]() | PriceExamples |
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.
|
![]() | PriceIntervalDate |
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.) |
![]() | SubType |
The sub type of the article. For consumption articles this field is assigned the name of one of the values from the enum ConsumptionMeterTypeWebEnum |
![]() | Text |
A description of the article
|
![]() | Type |
Articles are divided into different types of articles in EasyBook.NET. Use this property to distinguish the different types.
|
![]() | Unit |
The unit type of the article. For instance pcs, or kg or kw/h.
|
Name | Description | |
---|---|---|
![]() | GetPriceCountOne |
Get the price for 1 article item. If date is null the first price for count one is returned.
|
![]() | GetPriceWithoutCountOne |
Get the price for 1 article item. If date is null the first price for count one is returned.
|