me.chanjar.weixin.mp.bean.invoice.reimburse.InvoiceInfoRequest Maven / Gradle / Ivy
The newest version!
package me.chanjar.weixin.mp.bean.invoice.reimburse;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
import java.io.Serializable;
/**
*
* 查询报销发票信息参数对象
*
* @author xiaoyu
* @since 2021-03-23
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InvoiceInfoRequest implements Serializable {
private static final long serialVersionUID = 7854633127026139444L;
/**
* 发票卡券的card_id
*
* 是否必填: 是
*
*/
@SerializedName("card_id")
private String cardId;
/**
* 发票卡券的加密code,和card_id共同构成一张发票卡券的唯一标识
*
* 是否必填: 是
*
*/
@SerializedName("encrypt_code")
private String encryptCode;
public String toJson() {
return WxMpGsonBuilder.create().toJson(this);
}
}