Click or drag to resize

TicketArticleWeb Class

Data contract for the aticle item attached to a 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 TicketArticleWeb : ArticleWeb

The TicketArticleWeb type exposes the following members.

Constructors
  NameDescription
Public methodTicketArticleWeb
Top
Properties
  NameDescription
Public propertyAgeInterval
Associated AgeInterval for the ticket article. An attraction typically has 1 or more age intervals which again has a ticket article associated.
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 propertyAttractionId
The Id of the attraction that references this ticket article.
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.
(Inherited from ArticleWeb.)
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
(Inherited from ArticleWeb.)
Public propertyText
A description of the article
(Inherited from ArticleWeb.)
Public propertyType
Articles are divided into different types of articles in EasyBook.NET. Use this property to distinguish the different types.
(Inherited from ArticleWeb.)
Public propertyUnit
The unit type of the article. For instance pcs, or kg or kw/h.
(Inherited from ArticleWeb.)
Top
Methods
  NameDescription
Public methodGetPriceCountOne
Get the price for 1 article item. If date is null the first price for count one is returned.
(Inherited from ArticleWeb.)
Public methodGetPriceWithoutCountOne
Get the price for 1 article item. If date is null the first price for count one is returned.
(Inherited from ArticleWeb.)
Top
See Also