package cn.freemud.entities.dto.order;

import com.freemud.application.sdk.api.ordercenter.enums.OrderClientType;
import com.freemud.application.sdk.api.ordercenter.request.OrderExtInfoDto;
import com.freemud.sdk.api.assortment.order.response.order.QueryOrdersResponse;
import lombok.Data;

@Data
public class CreatePrepayRequestDto {
    /**
     * 商户id
     */
    private String partnerId;
    /**
     * appid
     */
    private String wxAppId;
    /**
     * 用户openId
     */
    private String openId;
    /**
     * 人脸识别码code
     */
    private String faceCode;
    /**
     * 会员卡code
     */
    private String cardCode;
    /**
     * 支付渠道码
     */
    private String payCode;
    /**
     * 父订单，如果不存在，则值与productOrderBean一致
     */
    private QueryOrdersResponse.DataBean.OrderBean fatherOrderBean;
    /**
     * 商品订单
     */
    private QueryOrdersResponse.DataBean.OrderBean productOrderBean;
    /**
     * 总金额
     */
    private long totalAmount;
    /**
     * 会员卡支付金额
     */
    private int cardAmount;
    /**
     * 订单扩展信息
     */
    private OrderExtInfoDto orderExtInfoDTO;
    /**
     * 交易请求号
     */
    private String transId;

    private OrderClientType orderClient;
}
