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

com.alipay.api.domain.ReceiptEnergyInfoDTO Maven / Gradle / Ivy

Go to download

Alipay openapi SDK for Java Copyright © 2018 杭州蚂蚁金服 All rights reserved. 版权所有 (C)杭州蚂蚁金服 http://open.alipay.com

There is a newer version: 4.39.218.ALL
Show newest version
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, 2022-01-12 11:36:42
 */
public class ReceiptEnergyInfoDTO extends AlipayObject {

	private static final long serialVersionUID = 5242599765356237927L;

	/**
	 * 失败错误码
	 */
	@ApiField("code")
	private String code;

	/**
	 * 能量明细。level是detail的时候返回
	 */
	@ApiListField("energy_generated")
	@ApiField("energy_generated_d_t_o")
	private List energyGenerated;

	/**
	 * 小票总能量g数
	 */
	@ApiField("full_energy")
	private Long fullEnergy;

	/**
	 * 商家外部订单号
	 */
	@ApiField("out_biz_no")
	private String outBizNo;

	/**
	 * 可重试标识
	 */
	@ApiField("retryable")
	private Boolean retryable;

	/**
	 * 发能量请求成功
	 */
	@ApiField("success")
	private Boolean success;

	public String getCode() {
		return this.code;
	}
	public void setCode(String code) {
		this.code = code;
	}

	public List getEnergyGenerated() {
		return this.energyGenerated;
	}
	public void setEnergyGenerated(List energyGenerated) {
		this.energyGenerated = energyGenerated;
	}

	public Long getFullEnergy() {
		return this.fullEnergy;
	}
	public void setFullEnergy(Long fullEnergy) {
		this.fullEnergy = fullEnergy;
	}

	public String getOutBizNo() {
		return this.outBizNo;
	}
	public void setOutBizNo(String outBizNo) {
		this.outBizNo = outBizNo;
	}

	public Boolean getRetryable() {
		return this.retryable;
	}
	public void setRetryable(Boolean retryable) {
		this.retryable = retryable;
	}

	public Boolean getSuccess() {
		return this.success;
	}
	public void setSuccess(Boolean success) {
		this.success = success;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy