-
-
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
5 changed files
with
181 additions
and
3 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
37 changes: 37 additions & 0 deletions
37
...c/main/java/cn/binarywang/wx/miniapp/bean/shop/request/WxMaShopPayOrderRefundRequest.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,37 @@ | ||
package cn.binarywang.wx.miniapp.bean.shop.request; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* @author liming1019 | ||
* created on 2022/8/31 | ||
*/ | ||
@Data | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class WxMaShopPayOrderRefundRequest implements Serializable { | ||
private static final long serialVersionUID = -5850024411710741165L; | ||
|
||
@SerializedName("openid") | ||
private String openid; | ||
@SerializedName("mchid") | ||
private String mchid; | ||
@SerializedName("trade_no") | ||
private String tradeNo; | ||
@SerializedName("transaction_id") | ||
private String transactionId; | ||
@SerializedName("refund_no") | ||
private String refundNo; | ||
@SerializedName("total_amount") | ||
private int totalAmount; | ||
@SerializedName("refund_amount") | ||
private int refundAmount; | ||
} | ||
|
102 changes: 102 additions & 0 deletions
102
...rc/main/java/cn/binarywang/wx/miniapp/bean/shop/response/WxMaShopPayGetOrderResponse.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,102 @@ | ||
package cn.binarywang.wx.miniapp.bean.shop.response; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
/** | ||
* @author liming1019 | ||
* created on 2022/8/31 | ||
*/ | ||
@Data | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class WxMaShopPayGetOrderResponse extends WxMaShopBaseResponse implements Serializable { | ||
private static final long serialVersionUID = -3329915987130142268L; | ||
|
||
@SerializedName("order") | ||
private OrderBean order; | ||
|
||
@Data | ||
public static class OrderBean implements Serializable { | ||
@SerializedName("trade_no") | ||
private String tradeNo; | ||
@SerializedName("transaction_id") | ||
private String transactionId; | ||
@SerializedName("combine_trade_no") | ||
private String combineTradeNo; | ||
@SerializedName("mchid") | ||
private String mchid; | ||
@SerializedName("create_time") | ||
private int createTime; | ||
@SerializedName("update_time") | ||
private int updateTime; | ||
@SerializedName("pay_time") | ||
private int payTime; | ||
@SerializedName("expire_time") | ||
private int expireTime; | ||
@SerializedName("amount") | ||
private int amount; | ||
@SerializedName("description") | ||
private String description; | ||
@SerializedName("profit_sharing_delay") | ||
private int profitSharingDelay; | ||
@SerializedName("profit_sharing_frozen") | ||
private int profitSharingFrozen; | ||
@SerializedName("refund_list") | ||
private List<RefundListBean> refundList; | ||
@SerializedName("profit_sharing_list") | ||
private List<ProfitSharingListBean> profitSharingList; | ||
|
||
@Data | ||
public static class RefundListBean implements Serializable { | ||
@SerializedName("amount") | ||
private int amount; | ||
@SerializedName("create_time") | ||
private int createTime; | ||
@SerializedName("finish_time") | ||
private int finishTime; | ||
@SerializedName("result") | ||
private String result; | ||
@SerializedName("refund_id") | ||
private String refundId; | ||
@SerializedName("refund_no") | ||
private String refundNo; | ||
} | ||
|
||
@Data | ||
public static class ProfitSharingListBean implements Serializable { | ||
/** | ||
* mchid : 1623426221 | ||
* amount : 1 | ||
* create_time : 1648880985 | ||
* finish_time : 1648881016 | ||
* result : SUCCESS | ||
* profit_sharing_id : 30002107912022040228952584675 | ||
* profit_sharing_no : 512341 | ||
*/ | ||
|
||
@SerializedName("mchid") | ||
private String mchid; | ||
@SerializedName("amount") | ||
private int amount; | ||
@SerializedName("create_time") | ||
private int createTime; | ||
@SerializedName("finish_time") | ||
private int finishTime; | ||
@SerializedName("result") | ||
private String result; | ||
@SerializedName("profit_sharing_id") | ||
private String profitSharingId; | ||
@SerializedName("profit_sharing_no") | ||
private String profitSharingNo; | ||
} | ||
} | ||
} | ||
|
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