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 RefundQueryDto {

	@NotBlank
	@ApiModelProperty(value = "收款交易对应的商户收款请求号", required = true)
	private String orderId;

	@NotBlank
	@ApiModelProperty(value = "商户退款请求号，可包含字母、数字、下划线；需要保证在商户端不重复。", required = true)
	private String refundRequestId;

	@NotBlank
	@ApiModelProperty(value = "发起方商户编号。与交易下单传入的保持一致", required = true)
	private String parentMerchantNo;

	@NotBlank
	@ApiModelProperty(value = "收款商户编号", required = true)
	private String merchantNo;

	@ApiModelProperty(value = "商户退款请求对应在易宝的退款单号")
	private String uniqueOrderNo;
}
