Click or drag to resize

ESDRecordPrice Class

Ecommerce Standards Record that holds data for a single product price. The price may be assigned to a price-level, a price-group, or a customer account
Inheritance Hierarchy
SystemObject
  EcommerceStandardsDocumentsESDRecordPrice

Namespace:  EcommerceStandardsDocuments
Assembly:  EcommerceStandardsDocuments.Library (in EcommerceStandardsDocuments.Library.dll) Version: 1.3.0.0 (1.0.0.0)

The ESDRecordPrice type exposes the following members.

Constructors
  NameDescription
Public methodESDRecordPrice
Initializes a new instance of the ESDRecordPrice class
Top
Properties
  NameDescription
Public propertydrop
Data Record OPeration. Denotes an operation that may need to be performed on the record when it is being processed. Set null, or set it to one of the ESD_RECORD_OPERATION constants in the ESDocumentConstants class to allow the record to be inserted, updated, deleted, or ignored.
Public propertyinternalID
Stores an identifier that is relevant only to the system referencing and storing the record for its own needs.
Public propertykeyAccountID
Key of the customer account record that the price is linked to. This can be set to null if the price is not linked to any customer account.
Public propertykeyDownloadID
Key of the download record that links the price to the download
Public propertykeyLabourID
Key of the labour record that links the price to the labour
Public propertykeyPriceGroupID
Key of the price group that the price is linked. This can be set to null if the price is not assigned to any price group.
Public propertykeyPriceLevelID
Key of the price level record that the price is linked to. This can be set to null if the price is not linked to a price level
Public propertykeyProductID
Key of the product record that links the price to the product
Public propertykeySellUnitID
Key of the sell unit that the price is linked to. This can be set to null, and if so then the price should be assigned to the the default unit of a product.
Public propertyprice
Monetary amount of the price. This price may be exclusive or inclusive of tax, depending on the IsInclusive settings of a product. The currency of the price is based on the system where the price was set.
Public propertyquantity
The amount of product units that the price is set to. This should always be a positive number.
Public propertyreferenceID
ID of an entity that the price is referenced to. Typically it could be an ID of a contract, or promotion
Public propertyreferenceType
Type of entity that the price is referenced to. Typically use one of the PRICE constants in this class to set this field, or leave it empty.
Public propertytaxRate
The tax rate that applies to the price. This can be set to null, and if so then the tax rate of taxcode assigned to the product should be used instead to calculate the product's price.
Top
Fields
  NameDescription
Public fieldStatic memberPRICE_CONTRACT
Price has been set in a contract
Public fieldStatic memberPRICE_CONTRACT_FORCED
Price has been set in a contract, and it the price should override other pricing (Contract Forced Pricing)
Public fieldStatic memberPRICE_PROMOTION
Price has been set in a promotion
Top
See Also