All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.binarywang.wxpay.bean.notify.ComplaintNotifyResult Maven / Gradle / Ivy

The newest version!
package com.github.binarywang.wxpay.bean.notify;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 投诉通知.
 * 文档见:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_16.shtml
 *
 * @author jmdhappy
 */
@Data
@NoArgsConstructor
public class ComplaintNotifyResult implements Serializable {
  private static final long serialVersionUID = -1L;
  /**
   * 源数据
   */
  private OriginNotifyResponse rawData;
  /**
   * 解密后的数据
   */
  private DecryptNotifyResult result;

  @Data
  @NoArgsConstructor
  public static class DecryptNotifyResult implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 
     * 字段名:投诉单号
     * 是否必填:是
     * 描述:
     *  投诉单对应的投诉单号
     * 
*/ @SerializedName(value = "complaint_id") private String complaintId; /** *
     * 字段名:动作类型
     * 是否必填:是
     * 描述:
     * 触发本次投诉通知回调的具体动作类型,枚举如下:
     * 常规通知:
     * CREATE_COMPLAINT:用户提交投诉
     * CONTINUE_COMPLAINT:用户继续投诉
     * USER_RESPONSE:用户新留言
     * RESPONSE_BY_PLATFORM:平台新留言
     * SELLER_REFUND:商户发起全额退款
     * MERCHANT_RESPONSE:商户新回复
     * MERCHANT_CONFIRM_COMPLETE:商户反馈处理完成
     * USER_APPLY_PLATFORM_SERVICE:用户申请平台协助
     * USER_CANCEL_PLATFORM_SERVICE:用户取消平台协助
     * PLATFORM_SERVICE_FINISHED:客服结束平台协助
     *
     * 申请退款单的附加通知:
     * 以下通知会更新投诉单状态,建议收到后查询投诉单详情。
     * MERCHANT_APPROVE_REFUND:商户同意退款
     * MERCHANT_REJECT_REFUND:商户驳回退款
     * REFUND_SUCCESS:退款到账
     * 
*/ @SerializedName(value = "action_type") private String actionType; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy