me.chanjar.weixin.mp.bean.invoice.reimburse.UpdateInvoiceStatusRequest Maven / Gradle / Ivy
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 UpdateInvoiceStatusRequest implements Serializable {
private static final long serialVersionUID = -4122242332481909977L;
/**
* 发票卡券的card_id
*
* 是否必填: 是
*
*/
@SerializedName("card_id")
private String cardId;
/**
* 发票卡券的加密code,和card_id共同构成一张发票卡券的唯一标识
*
* 是否必填: 是
*
*/
@SerializedName("encrypt_code")
private String encryptCode;
/**
* 发票报销状态
*
* 是否必填: 是
*
*/
@SerializedName("reimburse_status")
private String reimburseStatus;
public String toJson() {
return WxMpGsonBuilder.create().toJson(this);
}
}