package org.springblade.payment.cmcc.request;

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

import java.util.List;

/**
 * @Author: Silent
 * @Description
 * @Date: Created in 16:48 2021/11/11
 * @Modified By:
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("移动订单创建参数")
public class CmccPlaceOrderRequest extends CmccRequest{
	@ApiModelProperty(value = "商户订单号全局唯一",required = true)
	private String outOrderId;

	@ApiModelProperty(value = "订单总扣减积分值",required = true)
	private String points;

	@ApiModelProperty(value = "通付盾参数",required = true)
	private String sessionId;

	@ApiModelProperty(value = "同盾设备指纹",required = true)
	private String fingerprint;

	@ApiModelProperty("商品列表")
	private String productItemList;

	@ApiModel("商品")
	@Data
	public static class ProductItem{
		@ApiModelProperty("商品 ID,坤彪会供商品列表")
		private String productId;

		@ApiModelProperty("数量")
		private String num;
	}
}
