io.ziqni.transformers.domain.BasicAwardModel.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ziqni-transformers Show documentation
Show all versions of ziqni-transformers Show documentation
Ziqni transformers project.
/***
* 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 io.ziqni.transformers.domain
abstract class BasicAwardModel {
/**
*
* @return Entity this Reward is linked to
*/
def getEntityId: String
/**
*
* @return Entity type this Reward is linked to
*/
def getEntityType: String
/**
*
* @return MemberId for the issued reward
*/
def getMemberId: String
/**
*
* @return A flag to determine whether award has been claimed by member or not
*/
def claimed: Boolean
/**
*
* @return CL Award id
*/
def getClAwardId: String
/**
*
* @return Rank for the reward
*/
def getRewardRank: String
/**
*
* @return Name of the Reward
*/
def getRewardName: String
/**
*
* @return Value of the Reward
*/
def getRewardValue: Double
/**
*
* @return Reward type key
*/
def getRewardTypeKey: String
/**
*
* @return Description of the Reward
*/
def getRewardDescription: String
/**
*
* @return CL Reward type id
*/
def getRewardTypeId: String
/**
*
* @return CL Reward Id
*/
def getRewardId: String
/**
*
* @return Key value pair of metadata information
*/
def getRewardMetaData: Option[Map[String, String]]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy