Class Allocation


  • @Generated("jsonschema2pojo")
    public class Allocation
    extends Object
    Allocation

    The allocation of line item values to the accounting string.

    • Field Detail

      • allocated

        @JsonPropertyDescription("The portion (or percentage) of the line item amount or quantity allocated to the accounting string. (One of amount, quantity or percent must be specified)")
        private Allocated allocated
        Allocated

        The portion (or percentage) of the line item amount or quantity allocated to the accounting string. (One of amount, quantity or percent must be specified) (Required)

      • taxAmount

        @JsonPropertyDescription("The tax amount associated with the accounting string - overrides the distributed line amounts, if specified.")
        private Object taxAmount
        Tax Amount

        The tax amount associated with the accounting string - overrides the distributed line amounts, if specified.

      • additionalAmount

        @JsonPropertyDescription("Additional charges applied to the accounting string (e.g. freight) - overrides the distributed line item amounts, if specified.")
        private Object additionalAmount
        Additional Amount

        Additional charges applied to the accounting string (e.g. freight) - overrides the distributed line item amounts, if specified.

      • discountAmount

        @JsonPropertyDescription("The discount amount associated with the accounting string - overrides the distributed line amounts, if specified.")
        private Object discountAmount
        Discount Amount

        The discount amount associated with the accounting string - overrides the distributed line amounts, if specified.

    • Constructor Detail

      • Allocation

        public Allocation()
    • Method Detail

      • getAllocated

        public Allocated getAllocated()
        Allocated

        The portion (or percentage) of the line item amount or quantity allocated to the accounting string. (One of amount, quantity or percent must be specified) (Required)

      • setAllocated

        public void setAllocated​(Allocated allocated)
        Allocated

        The portion (or percentage) of the line item amount or quantity allocated to the accounting string. (One of amount, quantity or percent must be specified) (Required)

      • getTaxAmount

        public Object getTaxAmount()
        Tax Amount

        The tax amount associated with the accounting string - overrides the distributed line amounts, if specified.

      • setTaxAmount

        public void setTaxAmount​(Object taxAmount)
        Tax Amount

        The tax amount associated with the accounting string - overrides the distributed line amounts, if specified.

      • getAdditionalAmount

        public Object getAdditionalAmount()
        Additional Amount

        Additional charges applied to the accounting string (e.g. freight) - overrides the distributed line item amounts, if specified.

      • setAdditionalAmount

        public void setAdditionalAmount​(Object additionalAmount)
        Additional Amount

        Additional charges applied to the accounting string (e.g. freight) - overrides the distributed line item amounts, if specified.

      • withAdditionalAmount

        public Allocation withAdditionalAmount​(Object additionalAmount)
      • getDiscountAmount

        public Object getDiscountAmount()
        Discount Amount

        The discount amount associated with the accounting string - overrides the distributed line amounts, if specified.

      • setDiscountAmount

        public void setDiscountAmount​(Object discountAmount)
        Discount Amount

        The discount amount associated with the accounting string - overrides the distributed line amounts, if specified.

      • withDiscountAmount

        public Allocation withDiscountAmount​(Object discountAmount)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object