| | |
| | | public class OrderItemPHisDto { |
| | | /**必填 商品类型(OrderItemConstants) crm填默认project,充值就填recharge,纯商品订单填retail零售, */ |
| | | private String type; |
| | | /**必填 子单总价,实付价格(元)*/ |
| | | /**必填 子单总价,实付价格(元)(暂时用不上)*/ |
| | | private BigDecimal total; |
| | | /**必填 子单总积分,实付积分*/ |
| | | /**必填 子单总积分,实付积分(暂时用不上)*/ |
| | | private BigDecimal totalIntegral; |
| | | /**必填 折扣(单位:百分比) 必填,默认100*/ |
| | | /**非必填 子单总积分,开单时应付总积分(CRM积分订单时必填)*/ |
| | | private BigDecimal totalPoints; |
| | | /**必填 折扣算法*/ |
| | | private Integer discountAlgorithm = DISCOUNT_ALGORITHM_PRICE; |
| | | /**非必填 折扣(单位:百分比) 必填,默认100,不传后台默认100*/ |
| | | private BigDecimal discount; |
| | | /**当前是否允许低分抵扣现金*/ |
| | | private Boolean isCanUseIntegralCash = false; |
| | | /** 优惠券金额(元)必填,不传则默认0 */ |
| | | private BigDecimal couponTotal; |
| | | /** 优惠福利总金额(元)必填,不传则默认0 */ |
| | | private BigDecimal preferentialTotal; |
| | | /**抵扣现金金额*/ |
| | | private BigDecimal cash = BigDecimal.ZERO; |
| | | /**抵扣现金金额需要支付的积分*/ |
| | | private BigDecimal integralCash = BigDecimal.ZERO; |
| | | /**必填 购买数量 必填,默认0*/ |
| | | private Integer buyNum; |
| | | /**必填 项目id/商品id/套餐标识/其他标识(公用标识) 必填*/ |
| | |
| | | |
| | | /**非必填 第三方item标识 */ |
| | | private String commonItemId; |
| | | /**非必填 第三方item的spu标识 */ |
| | | private String commonItemGoodsId; |
| | | /**非必填 身体部位标识 */ |
| | | private String bodyPartsId; |
| | | /**非必填 身体部位名称 */ |
| | |
| | | private String userCardId; |
| | | /**非必填 平台类型关联商品id 在phis下单crm商品必填*/ |
| | | private String platformTypeId; |
| | | /**非必填 平台类型(艾心荟、p-his、其他,默认p-his)*/ |
| | | private String platformType; |
| | | /**非必填 是否限购(0:否,1:是),默认:1*/ |
| | | private String isLimitBug; |
| | | |
| | | /**过渡商品类型必填信息*/ |
| | | private OrderTransitionGoodsVo orderTransitionGoods; |
| | | /**商品积分信息,这里不为空就以这里为主*/ |
| | | private OrderItemIntegralVo orderItemIntegral; |
| | | |
| | | /**非必填 卡包标识 */ |
| | | private List<CardItemInfoDto> cardItemInfoIds; |
| | | |
| | | /** 诉求分类idList */ |
| | | private List<String> appealTypeIdList; |
| | | |
| | | /** 子单优惠福利数据 */ |
| | | private List<OrderItemPreferentialDto> orderItemPreferentialList; |
| | | |
| | | /**折扣算法-单价算(单价乘以折扣)*/ |
| | | public static final int DISCOUNT_ALGORITHM_PRICE = 0; |
| | | /**折扣算法-总价算(总价乘以折扣)*/ |
| | | public static final int DISCOUNT_ALGORITHM_TOTAL = 1; |
| | | |
| | | } |