/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: OrderSettlementCreateReq
 * @Package com.freemud.application.sdk.api.ordercenter.request
 * @Description:
 * @author: ping.wu
 * @date: 2019/4/1 19:56
 * @version V1.0
 * @Copyright: 2019 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
package com.freemud.application.sdk.api.ordercenter.request.create;

import lombok.Data;

@Data
public class OrderSettlementCreateReq {

    //订单商品ID
    private String productId;

    //商品序号
    private Integer productSeq;

    //外部对象ID 如:活动ID
    private String externalObjectId;

    //OrderSettlementType 枚举类
    private Integer settlementType;

    //结算金额
    private Long settlementAmount;

    //备注
    private String note;
    /**
     * 拓展字段
     */
    private String extInfo;

    //优惠覆盖数量
    private Integer number;

    //平台优惠
    private Long platformDiscountAmount;

    //商家优惠
    private Long shopDiscountAmount;

    //代理商优惠
    private Long agentDiscountAmount;

    //承运商优惠
    private Long carrierDiscountAmount;

    //商户实收总价
    private Long shopAmount;

    //平台服务费
    private Long platformServiceAmount;

    //是否线上 false:不是 true:是
    private Boolean isOnline;

    //外部子对象
    private String externalObjectSubId;

    //外部对象名称 如：活动名称
    private String externalObjectName;

    //是否忽略，不参与优惠计算
    private Boolean ignoreInDiscountAmount;

}
