Class ShoppingCart.ProductPromoUseInfo

    • Field Detail

      • productPromoId

        public java.lang.String productPromoId
      • productPromoCodeId

        public java.lang.String productPromoCodeId
      • totalDiscountAmount

        public java.math.BigDecimal totalDiscountAmount
      • quantityLeftInActions

        public java.math.BigDecimal quantityLeftInActions
    • Constructor Detail

      • ProductPromoUseInfo

        public ProductPromoUseInfo​(java.lang.String productPromoId,
                                   java.lang.String productPromoCodeId,
                                   java.math.BigDecimal totalDiscountAmount,
                                   java.math.BigDecimal quantityLeftInActions,
                                   java.util.Map<ShoppingCartItem,​java.math.BigDecimal> usageInfoMap)
    • Method Detail

      • getProductPromoId

        public java.lang.String getProductPromoId()
      • getProductPromoCodeId

        public java.lang.String getProductPromoCodeId()
      • getTotalDiscountAmount

        public java.math.BigDecimal getTotalDiscountAmount()
      • getQuantityLeftInActions

        public java.math.BigDecimal getQuantityLeftInActions()
      • getUsageInfoMap

        public java.util.Map<ShoppingCartItem,​java.math.BigDecimal> getUsageInfoMap()
      • getUsageWeight

        public java.math.BigDecimal getUsageWeight()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object