ESDRecordPrice Class |
Namespace: EcommerceStandardsDocuments
The ESDRecordPrice type exposes the following members.
Name | Description | |
---|---|---|
ESDRecordPrice | Initializes a new instance of the ESDRecordPrice class |
Name | Description | |
---|---|---|
drop | 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. | |
internalID | Stores an identifier that is relevant only to the system referencing and storing the record for its own needs. | |
keyAccountID | 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. | |
keyAssetID | Key of the asset record that links the price to the asset | |
keyDownloadID | Obsolete. Deprecated, use keyAssetID instead. Key of the download record that links the price to the download | |
keyLabourID | Key of the labour record that links the price to the labour | |
keyPriceGroupID | 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. | |
keyPriceLevelID | 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 | |
keyProductID | Key of the product record that links the price to the product | |
keySellUnitID | 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. | |
price | 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. | |
quantity | The amount of product units that the price is set to. This should always be a positive number. | |
referenceID | ID of an entity that the price is referenced to. Typically it could be an ID of a contract, or promotion | |
referenceType | 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. | |
taxRate | 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. |
Name | Description | |
---|---|---|
PRICE_CONTRACT | Price has been set in a contract | |
PRICE_CONTRACT_FORCED | Price has been set in a contract, and it the price should override other pricing (Contract Forced Pricing) | |
PRICE_PROMOTION | Price has been set in a promotion |