|
|
|
@@ -5,15 +5,17 @@ import lombok.Data; |
|
|
|
@Data |
|
|
|
public class WxComposeChildOrderPrice { |
|
|
|
|
|
|
|
public WxComposeChildOrderPrice(Integer productSinglePrice,Integer productNumber,Long productId) { |
|
|
|
public WxComposeChildOrderPrice(Integer productSinglePrice,Integer productNumber,Integer freightPrice, Long productId) { |
|
|
|
this.productSinglePrice = productSinglePrice; |
|
|
|
this.productNumber = productNumber; |
|
|
|
this.freightPrice = freightPrice; |
|
|
|
this.productId = productId; |
|
|
|
this.realPayMent = productSinglePrice*productNumber; |
|
|
|
this.realPayMent = productSinglePrice*productNumber+freightPrice; |
|
|
|
} |
|
|
|
|
|
|
|
private Integer realPayMent;//真实支付价格 |
|
|
|
private Integer productSinglePrice;//产品单价 |
|
|
|
private Integer productNumber;//产品数量 |
|
|
|
private Integer freightPrice;//运费 |
|
|
|
private Long productId;//产品编号 |
|
|
|
} |