|
1 | 1 | package com.github.binarywang.wxpay.bean.notify; |
2 | 2 |
|
| 3 | +import com.github.binarywang.wxpay.v3.SpecEncrypt; |
3 | 4 | import com.google.gson.annotations.SerializedName; |
4 | 5 | import lombok.Data; |
5 | 6 | import lombok.NoArgsConstructor; |
@@ -69,6 +70,113 @@ public static class DecryptNotifyResult implements Serializable { |
69 | 70 | @SerializedName(value = "action_type") |
70 | 71 | private String actionType; |
71 | 72 |
|
| 73 | + /** |
| 74 | + * <pre> |
| 75 | + * 字段名:商户订单号 |
| 76 | + * 是否必填:是 |
| 77 | + * 描述: |
| 78 | + * 投诉单关联的商户订单号 |
| 79 | + * </pre> |
| 80 | + */ |
| 81 | + @SerializedName("out_trade_no") |
| 82 | + private String outTradeNo; |
| 83 | + |
| 84 | + /** |
| 85 | + * <pre> |
| 86 | + * 字段名:投诉时间 |
| 87 | + * 是否必填:是 |
| 88 | + * 描述:投诉时间,遵循rfc3339标准格式,格式为yyyy-MM-DDTHH:mm:ss.sss+TIMEZONE,yyyy-MM-DD表示年月日, |
| 89 | + * T出现在字符串中,表示time元素的开头,HH:mm:ss.sss表示时分秒毫秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。 |
| 90 | + * 例如:2015-05-20T13:29:35.120+08:00表示北京时间2015年05月20日13点29分35秒 |
| 91 | + * 示例值:2015-05-20T13:29:35.120+08:00 |
| 92 | + * </pre> |
| 93 | + */ |
| 94 | + @SerializedName("complaint_time") |
| 95 | + private String complaintTime; |
| 96 | + |
| 97 | + /** |
| 98 | + * <pre> |
| 99 | + * 字段名:订单金额 |
| 100 | + * 是否必填:是 |
| 101 | + * 描述: |
| 102 | + * 订单金额,单位(分) |
| 103 | + * </pre> |
| 104 | + */ |
| 105 | + @SerializedName("amount") |
| 106 | + private Integer amount; |
| 107 | + |
| 108 | + /** |
| 109 | + * <pre> |
| 110 | + * 字段名:投诉人联系方式 |
| 111 | + * 是否必填:否 |
| 112 | + * 投诉人联系方式。该字段已做加密处理,具体解密方法详见敏感信息加密说明。 |
| 113 | + * </pre> |
| 114 | + */ |
| 115 | + @SerializedName("payer_phone") |
| 116 | + @SpecEncrypt |
| 117 | + private String payerPhone; |
| 118 | + |
| 119 | + /** |
| 120 | + * <pre> |
| 121 | + * 字段名:投诉详情 |
| 122 | + * 是否必填:是 |
| 123 | + * 投诉的具体描述 |
| 124 | + * </pre> |
| 125 | + */ |
| 126 | + @SerializedName("complaint_detail") |
| 127 | + private String complaintDetail; |
| 128 | + |
| 129 | + /** |
| 130 | + * <pre> |
| 131 | + * 字段名:投诉单状态 |
| 132 | + * 是否必填:是 |
| 133 | + * 标识当前投诉单所处的处理阶段,具体状态如下所示: |
| 134 | + * PENDING:待处理 |
| 135 | + * PROCESSING:处理中 |
| 136 | + * PROCESSED:已处理完成 |
| 137 | + * </pre> |
| 138 | + */ |
| 139 | + @SerializedName("complaint_state") |
| 140 | + private String complaintState; |
| 141 | + |
| 142 | + /** |
| 143 | + * <pre> |
| 144 | + * 字段名:微信订单号 |
| 145 | + * 是否必填:是 |
| 146 | + * 描述: |
| 147 | + * 投诉单关联的微信订单号 |
| 148 | + * </pre> |
| 149 | + */ |
| 150 | + @SerializedName("transaction_id") |
| 151 | + private String transactionId; |
| 152 | + |
| 153 | + /** |
| 154 | + * <pre> |
| 155 | + * 字段名:商户处理状态 |
| 156 | + * 是否必填:是 |
| 157 | + * 描述: |
| 158 | + * 触发本次投诉通知回调的具体动作类型,枚举如下: |
| 159 | + * 常规通知: |
| 160 | + * CREATE_COMPLAINT:用户提交投诉 |
| 161 | + * CONTINUE_COMPLAINT:用户继续投诉 |
| 162 | + * USER_RESPONSE:用户新留言 |
| 163 | + * RESPONSE_BY_PLATFORM:平台新留言 |
| 164 | + * SELLER_REFUND:商户发起全额退款 |
| 165 | + * MERCHANT_RESPONSE:商户新回复 |
| 166 | + * MERCHANT_CONFIRM_COMPLETE:商户反馈处理完成 |
| 167 | + * USER_APPLY_PLATFORM_SERVICE:用户申请平台协助 |
| 168 | + * USER_CANCEL_PLATFORM_SERVICE:用户取消平台协助 |
| 169 | + * PLATFORM_SERVICE_FINISHED:客服结束平台协助 |
| 170 | + * |
| 171 | + * 申请退款单的附加通知: |
| 172 | + * 以下通知会更新投诉单状态,建议收到后查询投诉单详情。 |
| 173 | + * MERCHANT_APPROVE_REFUND:商户同意退款 |
| 174 | + * MERCHANT_REJECT_REFUND:商户驳回退款 |
| 175 | + * REFUND_SUCCESS:退款到账 |
| 176 | + * </pre> |
| 177 | + */ |
| 178 | + @SerializedName("complaint_handle_state") |
| 179 | + private String complaintHandleState; |
72 | 180 | } |
73 | 181 |
|
74 | 182 | } |
0 commit comments