|
|
|
@@ -62,6 +62,9 @@ public class WxPayAccount implements Serializable { |
|
|
|
/**商户模式**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="商户模式-0:普通商户模式1:服务商模式",name="type") |
|
|
|
private Integer type; |
|
|
|
/**是否开启分账**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="0:未开启分账1:开启分账",name="type") |
|
|
|
private boolean share; |
|
|
|
|
|
|
|
public String getTenantId() { |
|
|
|
return tenantId; |
|
|
|
@@ -104,15 +107,18 @@ public class WxPayAccount implements Serializable { |
|
|
|
public void setCertPath(String _certPath) { |
|
|
|
certPath = _certPath; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getType() { |
|
|
|
return type; |
|
|
|
} |
|
|
|
|
|
|
|
public void setType(Integer type) { |
|
|
|
this.type = type; |
|
|
|
} |
|
|
|
|
|
|
|
public boolean isShare() { |
|
|
|
return share; |
|
|
|
} |
|
|
|
public void setShare(boolean share) { |
|
|
|
this.share = share; |
|
|
|
} |
|
|
|
public String getPayNotifyUrl() { |
|
|
|
return notifyUrl + "/pay"; |
|
|
|
} |
|
|
|
@@ -123,6 +129,7 @@ public class WxPayAccount implements Serializable { |
|
|
|
return notifyUrl + "/separate"; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static enum Field |
|
|
|
{ |
|
|
|
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") |
|
|
|
@@ -133,6 +140,7 @@ public class WxPayAccount implements Serializable { |
|
|
|
,NotifyUrl_ASC("`notify_url` ASC"),NotifyUrl_DESC("`notify_url` DESC") |
|
|
|
,CertPath_ASC("`cert_path` ASC"),CertPath_DESC("`cert_path` DESC") |
|
|
|
,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") |
|
|
|
,Share_ASC("`share` ASC"),Share_DESC("`share` DESC") |
|
|
|
; |
|
|
|
private String value; |
|
|
|
Field(String value){ |
|
|
|
|