Interface SkuReferenceFieldType

  • All Superinterfaces:
    EnumeratedType
    All Known Implementing Classes:
    DefaultSkuReferenceFieldType

    public interface SkuReferenceFieldType
    extends EnumeratedType
    Enumerated value to indicate what type of Sku reference we are using to look up inventory. As single SKU can have many references. This allows you to look up SkuInventory records by multiple SKU references, including UPC, EAN, GTIN, SKU External ID, SKU Context ID, or an arbitrary SKU Code. GTIN-14 is a superset of EAN and UPC. EAN-12 is exactly the same as UPC-A. EAN-13 is the same UPC-A with the addition of a single digit country code. When referencing SkuInventory, this allows you to specify how you want to query or lookup records, based on a type of SKU reference. Implementors should provide implementations with values for the following:

    SKU_CODE - SKU code that is unique to a SKU for a given tenant. Default mechanism for addressing inventory.
    EXTERNAL_ID - Typically soft foreign key reference to a 1st or 3rd party system such as an ERP system that may be the master system for SKU data
    UPC - Universal Product Code (typically UPC-A)
    EAN - European Article Number (typically EAN-12 or EAN-13)
    GTIN - Global Trade Item Number (typically GTIN-14 which is a superset of UPC and EAN)

    Author:
    Kelly Tisdell (ktisdell)
    See Also:
    - default implementation of this interface