parent
318c661057
commit
3ce990059b
@ -0,0 +1,32 @@
|
||||
package au.com.royalpay.payment.manage.merchants.entity.impls;
|
||||
|
||||
import au.com.royalpay.payment.manage.merchants.entity.ClientConfigModify;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* Create by yixian at 2018-04-12 16:43
|
||||
*/
|
||||
public class EmailSendStandByModify extends ClientConfigModify {
|
||||
private BigDecimal max_order_amount;
|
||||
|
||||
|
||||
public EmailSendStandByModify(JSONObject account, String clientMoniker, BigDecimal max_order_amount) {
|
||||
super(account, clientMoniker);
|
||||
this.max_order_amount = max_order_amount;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String business() {
|
||||
return "修改商户最大订单额为:"+max_order_amount;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JSONObject getModifyResult() {
|
||||
JSONObject modify = new JSONObject();
|
||||
modify.put("max_order_amount", max_order_amount);
|
||||
return modify;
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package au.com.royalpay.payment.manage.merchants.entity.impls;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
import au.com.royalpay.payment.manage.merchants.entity.ClientModify;
|
||||
|
||||
/**
|
||||
* Create by yixian at 2018-04-12 16:43
|
||||
*/
|
||||
public class RefuseModify extends ClientModify {
|
||||
private int source;
|
||||
|
||||
public RefuseModify(JSONObject account, String clientMoniker, int source) {
|
||||
super(account, clientMoniker);
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String business() {
|
||||
return "修改商户source状态为:" + source;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JSONObject getModifyResult() {
|
||||
JSONObject modify = new JSONObject();
|
||||
modify.put("source", source);
|
||||
return modify;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue