-
public class OxRevenueDiscountManager价值打折比例配置,例:Organic'{BI:[1,3,4],Perc:[0.1,0.3,0.5]};OxAll'{BI:[1,2,6],Perc:[0.2]}
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringCONFIG_AD_AIR_DISCOUNTprivate static volatile OxRevenueDiscountManagerinstance
-
Method Summary
Modifier and Type Method Description static OxRevenueDiscountManagergetInstance()synchronized voidinitialize()voidgetRevenueDiscountConfig()价值打折比例配置,例:channel:XXX;BI:1,2,3;Perc:0. floatgetPercentage(DataPlatform dataPlatform)intgetIndex(List<Integer> arr, int target)-
-
Method Detail
-
getInstance
static OxRevenueDiscountManager getInstance()
-
initialize
synchronized void initialize()
-
getRevenueDiscountConfig
void getRevenueDiscountConfig()
价值打折比例配置,例:channel:XXX;BI:1,2,3;Perc:0.3
-
getPercentage
float getPercentage(DataPlatform dataPlatform)
-
-
-
-