content: package com.alipay.api.domain;
  
  import java.util.List;
  
  import com.alipay.api.AlipayObject;
  import com.alipay.api.internal.mapping.ApiField;
  import com.alipay.api.internal.mapping.ApiListField;
  
  /**
   * 凭证核销结果
   *
   * @author auto create
   * @since 1.0, 2024-11-08 14:49:19
   */
  public class CertificateUseResult extends AlipayObject {
  
  	private static final long serialVersionUID = 6112263256748671272L;
  
  	/**
  	 * 凭证实例的金额信息，在异常场景下可能为空，需要判断是否有值才可进行使用。
  	 */
  	@ApiField("amount_info")
  	private CertificateInstanceAmountInfo amountInfo;
  
  	/**
  	 * 凭证id
  	 */
  	@ApiField("certificate_id")
  	private String certificateId;
  
  	/**
  	 * 三方码
  	 */
  	@ApiField("code")
  	private String code;
  
  	/**
  	 * 核销准备返回的支付宝平台加密券码
  	 */
  	@ApiField("encrypted_code")
  	private String encryptedCode;
  
  	/**
  	 * 结果说明
  	 */
  	@ApiField("msg")
  	private String msg;
  
  	/**
  	 * 购买商品的订单id。
  	 */
  	@ApiField("order_id")
  	private String orderId;
  
  	/**
  	 * 商家侧核销对应的交易订单id
  	 */
  	@ApiField("out_order_id")
  	private String outOrderId;
  
  	/**
  	 * 核销结果枚举
  	 */
  	@ApiField("result")
  	private String result;
  
  	/**
  	 * 本次核销的次序号信息
  	 */
  	@ApiListField("serial_info_list")
  	@ApiField("certificate_serial_info")
  	private List<CertificateSerialInfo> serialInfoList;
  
  	/**
  	 * 商品信息
  	 */
  	@ApiField("sku_info")
  	private CertificateSkuInfo skuInfo;
  
  	/**
  	 * 核销操作单号
  	 */
  	@ApiField("use_order_no")
  	private String useOrderNo;
  
  	public CertificateInstanceAmountInfo getAmountInfo() {
  		return this.amountInfo;
  	}
  	public void setAmountInfo(CertificateInstanceAmountInfo amountInfo) {
  		this.amountInfo = amountInfo;
  	}
  
  	public String getCertificateId() {
  		return this.certificateId;
  	}
  	public void setCertificateId(String certificateId) {
  		this.certificateId = certificateId;
  	}
  
  	public String getCode() {
  		return this.code;
  	}
  	public void setCode(String code) {
  		this.code = code;
  	}
  
  	public String getEncryptedCode() {
  		return this.encryptedCode;
  	}
  	public void setEncryptedCode(String encryptedCode) {
  		this.encryptedCode = encryptedCode;
  	}
  
  	public String getMsg() {
  		return this.msg;
  	}
  	public void setMsg(String msg) {
  		this.msg = msg;
  	}
  
  	public String getOrderId() {
  		return this.orderId;
  	}
  	public void setOrderId(String orderId) {
  		this.orderId = orderId;
  	}
  
  	public String getOutOrderId() {
  		return this.outOrderId;
  	}
  	public void setOutOrderId(String outOrderId) {
  		this.outOrderId = outOrderId;
  	}
  
  	public String getResult() {
  		return this.result;
  	}
  	public void setResult(String result) {
  		this.result = result;
  	}
  
  	public List<CertificateSerialInfo> getSerialInfoList() {
  		return this.serialInfoList;
  	}
  	public void setSerialInfoList(List<CertificateSerialInfo> serialInfoList) {
  		this.serialInfoList = serialInfoList;
  	}
  
  	public CertificateSkuInfo getSkuInfo() {
  		return this.skuInfo;
  	}
  	public void setSkuInfo(CertificateSkuInfo skuInfo) {
  		this.skuInfo = skuInfo;
  	}
  
  	public String getUseOrderNo() {
  		return this.useOrderNo;
  	}
  	public void setUseOrderNo(String useOrderNo) {
  		this.useOrderNo = useOrderNo;
  	}
  
  }
  