cn.binarywang.wx.miniapp.bean.invoice.reimburse.InvoiceInfoRequest Maven / Gradle / Ivy
package cn.binarywang.wx.miniapp.bean.invoice.reimburse;
import cn.binarywang.wx.miniapp.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
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 WxMaGsonBuilder.create().toJson(this);
}
}