Class TradeDiscount


  • @Generated("jsonschema2pojo")
    public class TradeDiscount
    extends Object
    Trade Discount

    A discount applied to the line item in addition to the overall vendor discount, e.g. discount based on quantity purchased.

    • Field Detail

      • amount

        @JsonPropertyDescription("The amount of the discount.")
        private Object amount
        Amount

        The amount of the discount.

      • percent

        @JsonPropertyDescription("The percentage of the discount.")
        private Object percent
        Percent

        The percentage of the discount.

    • Constructor Detail

      • TradeDiscount

        public TradeDiscount()
    • Method Detail

      • getAmount

        public Object getAmount()
        Amount

        The amount of the discount.

      • setAmount

        public void setAmount​(Object amount)
        Amount

        The amount of the discount.

      • getPercent

        public Object getPercent()
        Percent

        The percentage of the discount.

      • setPercent

        public void setPercent​(Object percent)
        Percent

        The percentage of the discount.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object