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

com.github.binarywang.wxpay.bean.request.WxPreWithholdRequest Maven / Gradle / Ivy

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

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

import java.io.Serializable;

/**
 * @author chenliang
 * created on  2021-08-02 5:20 下午
 *
 * 
 *   微信预扣款请求参数
 * 
*/ @Data @Builder(builderMethodName = "newBuilder") @NoArgsConstructor @AllArgsConstructor public class WxPreWithholdRequest implements Serializable { private static final long serialVersionUID = 1L; /** * 委托代扣协议ID */ @SerializedName(value = "contract_id") private transient String contractId; /** * 直连商户号 */ @SerializedName(value = "mchid") private String mchId; /** * 公众号ID */ @SerializedName(value = "appid") private String appId; /** * 预计扣款的金额信息 */ @SerializedName(value = "estimated_amount") private EstimateAmount estimateAmount; @Data public static class EstimateAmount implements Serializable { /** * 预计扣费金额 */ private Integer amount; /** * 人民币:CNY * 非必填 */ private String currency; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy