-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
724 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPartnerPayScoreRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package com.github.binarywang.wxpay.bean.payscore; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import lombok.experimental.Accessors; | ||
import lombok.experimental.SuperBuilder; | ||
import me.chanjar.weixin.common.util.json.WxGsonBuilder; | ||
|
||
/** | ||
* @author hallkk | ||
* @date 2022/05/18 | ||
*/ | ||
@Data | ||
@SuperBuilder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Accessors(chain = true) | ||
public class WxPartnerPayScoreRequest extends WxPayScoreRequest { | ||
private static final long serialVersionUID = 6269843192878112955L; | ||
|
||
public String toJson() { | ||
return WxGsonBuilder.create().toJson(this); | ||
} | ||
|
||
@SerializedName("sub_appid") | ||
private String subAppid; | ||
|
||
@SerializedName("sub_mchid") | ||
private String subMchid; | ||
|
||
@SerializedName("out_apply_no") | ||
private String outApplyNo; | ||
|
||
@SerializedName("result_notify_url") | ||
private String resultNotifyUrl; | ||
|
||
} |
42 changes: 42 additions & 0 deletions
42
...-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/WxPartnerPayScoreResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package com.github.binarywang.wxpay.bean.payscore; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import me.chanjar.weixin.common.util.json.WxGsonBuilder; | ||
|
||
/** | ||
* @author hallkk | ||
* @date 2022/05/18 | ||
*/ | ||
@Data | ||
@NoArgsConstructor | ||
public class WxPartnerPayScoreResult extends WxPayScoreResult { | ||
private static final long serialVersionUID = 718267574622164410L; | ||
|
||
public static WxPartnerPayScoreResult fromJson(String json) { | ||
return WxGsonBuilder.create().fromJson(json, WxPartnerPayScoreResult.class); | ||
} | ||
|
||
@SerializedName("sub_appid") | ||
private String subAppid; | ||
|
||
@SerializedName("sub_mchid") | ||
private String subMchid; | ||
|
||
@SerializedName("sub_openid") | ||
private String subOpenId; | ||
|
||
@SerializedName("out_apply_no") | ||
private String outApplyNo; | ||
|
||
@SerializedName("result_notify_url") | ||
private String resultNotifyUrl; | ||
|
||
@SerializedName("apply_state") | ||
private String applyState; | ||
|
||
@SerializedName("reject_reason") | ||
private String rejectReason; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.