Class CreditNote.DiscountAmount

    • Constructor Detail

      • DiscountAmount

        public DiscountAmount()
    • Method Detail

      • getDiscount

        public java.lang.String getDiscount()
        Get ID of expandable discount object.
      • setDiscount

        public void setDiscount​(java.lang.String id)
      • getDiscountObject

        public Discount getDiscountObject()
        Get expanded discount.
      • setDiscountObject

        public void setDiscountObject​(Discount expandableObject)
      • getAmount

        public java.lang.Long getAmount()
        The amount, in %s, of the discount.
      • setAmount

        public void setAmount​(java.lang.Long amount)
        The amount, in %s, of the discount.
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object