ProfitSharingReturnResult.java

  1. package com.foxinmy.weixin4j.pay.profitsharing;

  2. import com.alibaba.fastjson.annotation.JSONField;
  3. import com.foxinmy.weixin4j.pay.payment.mch.MerchantResult;
  4. import com.foxinmy.weixin4j.pay.type.profitsharing.ReturnAccountType;

  5. import javax.xml.bind.annotation.XmlElement;

  6. /**
  7.  * 分帐回退/回退查询返回内容
  8.  *
  9.  * @author kit(kit.li@qq.com)
  10.  * @date 2020年05年25日
  11.  * @since weixin4j-pay 1.1.0
  12.  */
  13. public class ProfitSharingReturnResult extends MerchantResult {
  14.     /**
  15.      * 微信分账单号
  16.      */
  17.     @XmlElement(name = "order_id")
  18.     @JSONField(name = "order_id")
  19.     private String orderId;
  20.     /**
  21.      * 商户分账单号
  22.      */
  23.     @XmlElement(name = "out_order_no")
  24.     @JSONField(name = "out_order_no")
  25.     private String outOrderNo;
  26.     /**
  27.      * 商户回退单号
  28.      */
  29.     @XmlElement(name = "out_return_no")
  30.     @JSONField(name = "out_return_no")
  31.     private String outReturnNo;
  32.     /**
  33.      * 微信回退单号
  34.      */
  35.     @XmlElement(name = "return_no")
  36.     @JSONField(name = "return_no")
  37.     private String returnNo;
  38.     /**
  39.      * 回退方类型
  40.      */
  41.     @XmlElement(name = "return_account_type")
  42.     @JSONField(name = "return_account_type")
  43.     private ReturnAccountType returnAccountType;
  44.     /**
  45.      * 回退方账号
  46.      */
  47.     @XmlElement(name = "return_account")
  48.     @JSONField(name = "return_account")
  49.     private String returnAccount;
  50.     /**
  51.      * 回退金额
  52.      */
  53.     @XmlElement(name = "return_amount")
  54.     @JSONField(name = "return_amount")
  55.     private Integer returnAmount;
  56.     /**
  57.      * 回退描述
  58.      */
  59.     private String description;
  60.     /**
  61.      * 回退结果
  62.      */
  63.     private String result;
  64.     /**
  65.      * 失败原因
  66.      */
  67.     @XmlElement(name = "fail_reason")
  68.     @JSONField(name = "fail_reason")
  69.     private String failReason;
  70.     /**
  71.      * 完成时间
  72.      */
  73.     @XmlElement(name = "finish_time")
  74.     @JSONField(name = "finish_time")
  75.     private String finishTime;

  76.     public String getOrderId() {
  77.         return orderId;
  78.     }

  79.     public void setOrderId(String orderId) {
  80.         this.orderId = orderId;
  81.     }

  82.     public String getOutOrderNo() {
  83.         return outOrderNo;
  84.     }

  85.     public void setOutOrderNo(String outOrderNo) {
  86.         this.outOrderNo = outOrderNo;
  87.     }

  88.     public String getOutReturnNo() {
  89.         return outReturnNo;
  90.     }

  91.     public void setOutReturnNo(String outReturnNo) {
  92.         this.outReturnNo = outReturnNo;
  93.     }

  94.     public String getReturnNo() {
  95.         return returnNo;
  96.     }

  97.     public void setReturnNo(String returnNo) {
  98.         this.returnNo = returnNo;
  99.     }

  100.     public ReturnAccountType getReturnAccountType() {
  101.         return returnAccountType;
  102.     }

  103.     public void setReturnAccountType(ReturnAccountType returnAccountType) {
  104.         this.returnAccountType = returnAccountType;
  105.     }

  106.     public String getReturnAccount() {
  107.         return returnAccount;
  108.     }

  109.     public void setReturnAccount(String returnAccount) {
  110.         this.returnAccount = returnAccount;
  111.     }

  112.     public Integer getReturnAmount() {
  113.         return returnAmount;
  114.     }

  115.     public void setReturnAmount(Integer returnAmount) {
  116.         this.returnAmount = returnAmount;
  117.     }

  118.     public String getDescription() {
  119.         return description;
  120.     }

  121.     public void setDescription(String description) {
  122.         this.description = description;
  123.     }

  124.     public String getResult() {
  125.         return result;
  126.     }

  127.     public void setResult(String result) {
  128.         this.result = result;
  129.     }

  130.     public String getFailReason() {
  131.         return failReason;
  132.     }

  133.     public void setFailReason(String failReason) {
  134.         this.failReason = failReason;
  135.     }

  136.     public String getFinishTime() {
  137.         return finishTime;
  138.     }

  139.     public void setFinishTime(String finishTime) {
  140.         this.finishTime = finishTime;
  141.     }
  142. }