package io.renren.common.vo.trans;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 电子回单生成 请求参数
 * @author lsy
 */

@Data
@ApiModel(value = "电子回单生成")
public class ReceiptReq {
	
	@NotBlank(message = "tradeAccpTxno is not null")
	@ApiModelProperty(value = "原交易ACCP系统单号")
	private String tradeAccpTxno;
	
	@NotBlank(message = "tradeBillType is not null")
	@ApiModelProperty(value = "原交易订单类型。PAYBILL:支付（包含充值，消费，内部代发，担保消费，担保确认）；CASHOUT:外部代发，提现；REFUND:退款")
	private String tradeBillType;
	
	@NotBlank(message = "totalAmount is not null")
	@ApiModelProperty(value = "订单总金额，单位为元，精确到小数点后两位。")
	private Double totalAmount;
	
}
