parent
498b30c519
commit
ad08428964
@ -0,0 +1,30 @@
|
||||
package au.com.royalpay.payment.manage.merchants.entity.impls;
|
||||
|
||||
import au.com.royalpay.payment.manage.merchants.entity.ClientModify;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/**
|
||||
* Create by yixian at 2018-04-12 16:43
|
||||
*/
|
||||
public class DisableModify extends ClientModify {
|
||||
private boolean is_valid;
|
||||
|
||||
|
||||
public DisableModify(JSONObject account, String clientMoniker, boolean is_valid) {
|
||||
super(account, clientMoniker);
|
||||
this.is_valid = is_valid;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String business() {
|
||||
return is_valid?"开启":"禁用";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JSONObject getModifyResult() {
|
||||
JSONObject modify = new JSONObject();
|
||||
modify.put("is_valid", is_valid);
|
||||
return modify;
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package au.com.royalpay.payment.manage.merchants.entity.impls;
|
||||
|
||||
import au.com.royalpay.payment.manage.merchants.entity.ClientConfigModify;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/**
|
||||
* Create by yixian at 2018-04-12 16:43
|
||||
*/
|
||||
public class RefundPWDModify extends ClientConfigModify {
|
||||
private String refund_pwd;
|
||||
private String refund_pwd_salt;
|
||||
|
||||
public RefundPWDModify(JSONObject account, String clientMoniker, String refund_pwd, String refund_pwd_salt) {
|
||||
super(account, clientMoniker);
|
||||
this.refund_pwd = refund_pwd;
|
||||
this.refund_pwd_salt = refund_pwd_salt;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String business() {
|
||||
|
||||
return "修改退款密码为:"+refund_pwd;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JSONObject getModifyResult() {
|
||||
JSONObject modify = new JSONObject();
|
||||
modify.put("refund_pwd", refund_pwd);
|
||||
modify.put("refund_pwd_salt", refund_pwd_salt);
|
||||
return modify;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue