package org.springblade.yeePay.entity.saas.trade;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel("关闭订单入参")
public class TradeOrderCloseDto {

	@NotBlank
	@ApiModelProperty(value = "商户收款请求号。可包含字母、数字、下划线；需保证在商户端不重复。合单收款场景中，此参数为合单收款请求号")
	private String orderId;

	@NotBlank
	@ApiModelProperty(value = "易宝收款订单号,合单收款场景中是主单易宝收款订单号。", required = true)
	private String uniqueOrderNo;

	@NotBlank
	@ApiModelProperty(value = "发起方商户编号标准商户收付款方案中此参数与收款商户编号一致，平台商户收付款方案中此参数为平台商商户编号）", required = true)
	private String parentMerchantNo;

	@ApiModelProperty(value = "收款商户商编，单笔收款必传；合单收款场景中不用上送。")
	private String merchantNo;

}
