🎨 优化部分代码
This commit is contained in:
@@ -14,6 +14,7 @@ import java.util.List;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class ApplymentsStatusResult implements Serializable {
|
||||
private static final long serialVersionUID = 1488464536143984732L;
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:申请状态
|
||||
|
||||
@@ -17,6 +17,7 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
public class CombineTransactionsNotifyResult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4710926828683593250L;
|
||||
/**
|
||||
* 源数据
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,7 @@ import java.util.List;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class CombineTransactionsRequest implements Serializable {
|
||||
private static final long serialVersionUID = -1242741645939606441L;
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:合单商户appid
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class NotifyResponse implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 341873114458149365L;
|
||||
@SerializedName(value = "id")
|
||||
private String id;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import java.util.List;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class PartnerTransactionsNotifyResult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6602962275015706689L;
|
||||
/**
|
||||
* 源数据
|
||||
*/
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.util.List;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class PartnerTransactionsRequest implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1550405819444680465L;
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:服务商公众号ID
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.io.Serializable;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class SignatureHeader implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6958015499416059949L;
|
||||
/**
|
||||
* 时间戳
|
||||
*/
|
||||
|
||||
@@ -16,7 +16,7 @@ import java.security.PrivateKey;
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class TransactionsResult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1760592667519950149L;
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:预支付交易会话标识 (APP支付、JSAPI支付 会返回)
|
||||
|
||||
@@ -9,12 +9,22 @@ import lombok.Getter;
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum TradeTypeEnum {
|
||||
|
||||
APP("/v3/combine-transactions/app","/v3/pay/partner/transactions/app"),
|
||||
JSAPI("/v3/combine-transactions/jsapi","/v3/pay/partner/transactions/jsapi"),
|
||||
NATIVE("/v3/combine-transactions/native","/v3/pay/partner/transactions/native"),
|
||||
MWEB("/v3/combine-transactions/h5","/v3/pay/partner/transactions/h5")
|
||||
;
|
||||
/**
|
||||
* APP
|
||||
*/
|
||||
APP("/v3/combine-transactions/app", "/v3/pay/partner/transactions/app"),
|
||||
/**
|
||||
* JSAPI
|
||||
*/
|
||||
JSAPI("/v3/combine-transactions/jsapi", "/v3/pay/partner/transactions/jsapi"),
|
||||
/**
|
||||
* NATIVE
|
||||
*/
|
||||
NATIVE("/v3/combine-transactions/native", "/v3/pay/partner/transactions/native"),
|
||||
/**
|
||||
* MWEB
|
||||
*/
|
||||
MWEB("/v3/combine-transactions/h5", "/v3/pay/partner/transactions/h5");
|
||||
|
||||
/**
|
||||
* 合单url
|
||||
|
||||
Reference in New Issue
Block a user