com.ziqni.transformers.domain.ZiqniProduct.scala Maven / Gradle / Ivy
/***
* Copyright (C) Ziqni Ltd, Inc - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Ziqni Ltd, 2021
*/
package com.ziqni.transformers.domain
abstract class ZiqniProduct {
/**
*
* @return Product Ref Id of remote system
*/
def getProductReferenceId: String
/**
*
* @return Name of the Product
*/
def getName: String
/**
*
* @return List of providers this product belongs to
*/
def getProviders: Array[String]
/**
*
* @return Type of product
*/
def getProductType: String
/**
*
* @return Default adjustment factor
*/
def getDefaultAdjustmentFactor: Option[Double]
/**
*
* @return Any metadata associated with product
*/
def getMetaData: Option[Map[String, String]]
/**
*
* @return Product id
*/
def getProductId: String
/**
* Get the custom fields
*
* @return key value pair map of custom field entries
*/
def getCustomFields: Map[String, CustomFieldEntry[_ <: Any]]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy