update 订单逻辑改造工厂模式

This commit is contained in:
2023-09-01 10:59:50 +08:00
parent 3fd71220de
commit 5a7e130e26
4 changed files with 74 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
package com.jsowell.common.enums.adapay;
/**
* 汇付支付 分账模式
*/
public enum MerchantDelayModelEnum {
DELAY("1", "延时分账"),
NOT_DELAY("0", "非延时分账"),
;
private String value;
private String label;
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
MerchantDelayModelEnum(String value, String label) {
this.value = value;
this.label = label;
}
}