diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRateConfig.java b/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRateConfig.java index d3b6f8a97..b927fbb89 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRateConfig.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/beans/ClientRateConfig.java @@ -58,6 +58,10 @@ public class ClientRateConfig { this.rateValue = rateValue; } + public void setRateValue(double rateValue) { + this.rateValue = BigDecimal.valueOf(rateValue); + } + public void setActiveTime(Date activeTime) { this.activeTime = activeTime; } @@ -106,6 +110,10 @@ public class ClientRateConfig { this.transactionFee = transactionFee; } + public void setTransactionFee(double transactionFee) { + this.transactionFee = BigDecimal.valueOf(transactionFee); + } + public String getExtRates() { return extRates; }