package cn.freemud.entities.dto.order;

import com.freemud.sdk.api.assortment.order.entities.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;
}
