Class LineItem

    • Field Detail

      • lineItemNumber

        @JsonPropertyDescription("A system generated number to identify the line item. User specified values will be overwritten.")
        private String lineItemNumber
        Line Item Number

        A system generated number to identify the line item. User specified values will be overwritten.

      • description

        @JsonPropertyDescription("The description of the commodity specified by the line item.")
        private String description
        Description

        The description of the commodity specified by the line item. (Required)

      • commodityCode

        @JsonPropertyDescription("The commodity code associated with the line item.")
        private Object commodityCode
        Commodity Code

        The commodity code associated with the line item.

      • partNumber

        @JsonPropertyDescription("The vendor part number for the line item.")
        private String partNumber
        Part Number

        The vendor part number for the line item.

      • desiredDate

        @JsonPropertyDescription("The date when the item specified for the line item is needed.")
        private Object desiredDate
        Desired Date

        The date when the item specified for the line item is needed.

      • quantity

        @JsonPropertyDescription("The quantity of the line item.")
        private Double quantity
        Quantity

        The quantity of the line item. (Required)

      • unitOfMeasure

        @JsonPropertyDescription("The unit of measure used for the line item.")
        private Object unitOfMeasure
        Unit Of Measure

        The unit of measure used for the line item.

      • unitPrice

        @JsonPropertyDescription("The price per unit for the commodity specified for the line item.")
        private UnitPrice unitPrice
        Unit Price

        The price per unit for the commodity specified for the line item. (Required)

      • additionalAmount

        @JsonPropertyDescription("Additional charges/discounts applied to the line item (e.g. freight).")
        private Object additionalAmount
        Additional Amount

        Additional charges/discounts applied to the line item (e.g. freight).

      • taxCodes

        @JsonPropertyDescription("The tax codes applicable to the line item.")
        private List<TaxCode> taxCodes
        Tax Codes

        The tax codes applicable to the line item.

      • discountAmount

        @JsonPropertyDescription("The discount amount applied to the line item, which may be calculated from the overall discount or overridden.")
        private Object discountAmount
        Discount Amount

        The discount amount applied to the line item, which may be calculated from the overall discount or overridden.

      • tradeDiscount

        @JsonPropertyDescription("A discount applied to the line item in addition to the overall vendor discount, e.g. discount based on quantity purchased.")
        private Object tradeDiscount
        Trade Discount

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

      • comments

        @JsonPropertyDescription("The comments associated with the line item.")
        private List<Comment__1> comments
        Comments

        The comments associated with the line item.

      • reference

        @JsonPropertyDescription("The reference associated with the line item.")
        private Object reference
        Reference

        The reference associated with the line item.

      • accountDetails

        @JsonPropertyDescription("The account details associated with the line item.")
        private List<AccountDetail> accountDetails
        Account Details

        The account details associated with the line item. (Required)

    • Constructor Detail

      • LineItem

        public LineItem()
    • Method Detail

      • getLineItemNumber

        public String getLineItemNumber()
        Line Item Number

        A system generated number to identify the line item. User specified values will be overwritten.

      • setLineItemNumber

        public void setLineItemNumber​(String lineItemNumber)
        Line Item Number

        A system generated number to identify the line item. User specified values will be overwritten.

      • withLineItemNumber

        public LineItem withLineItemNumber​(String lineItemNumber)
      • getDescription

        public String getDescription()
        Description

        The description of the commodity specified by the line item. (Required)

      • setDescription

        public void setDescription​(String description)
        Description

        The description of the commodity specified by the line item. (Required)

      • withDescription

        public LineItem withDescription​(String description)
      • getCommodityCode

        public Object getCommodityCode()
        Commodity Code

        The commodity code associated with the line item.

      • setCommodityCode

        public void setCommodityCode​(Object commodityCode)
        Commodity Code

        The commodity code associated with the line item.

      • withCommodityCode

        public LineItem withCommodityCode​(Object commodityCode)
      • getPartNumber

        public String getPartNumber()
        Part Number

        The vendor part number for the line item.

      • setPartNumber

        public void setPartNumber​(String partNumber)
        Part Number

        The vendor part number for the line item.

      • withPartNumber

        public LineItem withPartNumber​(String partNumber)
      • getDesiredDate

        public Object getDesiredDate()
        Desired Date

        The date when the item specified for the line item is needed.

      • setDesiredDate

        public void setDesiredDate​(Object desiredDate)
        Desired Date

        The date when the item specified for the line item is needed.

      • withDesiredDate

        public LineItem withDesiredDate​(Object desiredDate)
      • getQuantity

        public Double getQuantity()
        Quantity

        The quantity of the line item. (Required)

      • setQuantity

        public void setQuantity​(Double quantity)
        Quantity

        The quantity of the line item. (Required)

      • getUnitOfMeasure

        public Object getUnitOfMeasure()
        Unit Of Measure

        The unit of measure used for the line item.

      • setUnitOfMeasure

        public void setUnitOfMeasure​(Object unitOfMeasure)
        Unit Of Measure

        The unit of measure used for the line item.

      • withUnitOfMeasure

        public LineItem withUnitOfMeasure​(Object unitOfMeasure)
      • getUnitPrice

        public UnitPrice getUnitPrice()
        Unit Price

        The price per unit for the commodity specified for the line item. (Required)

      • setUnitPrice

        public void setUnitPrice​(UnitPrice unitPrice)
        Unit Price

        The price per unit for the commodity specified for the line item. (Required)

      • getAdditionalAmount

        public Object getAdditionalAmount()
        Additional Amount

        Additional charges/discounts applied to the line item (e.g. freight).

      • setAdditionalAmount

        public void setAdditionalAmount​(Object additionalAmount)
        Additional Amount

        Additional charges/discounts applied to the line item (e.g. freight).

      • withAdditionalAmount

        public LineItem withAdditionalAmount​(Object additionalAmount)
      • getTaxCodes

        public List<TaxCode> getTaxCodes()
        Tax Codes

        The tax codes applicable to the line item.

      • setTaxCodes

        public void setTaxCodes​(List<TaxCode> taxCodes)
        Tax Codes

        The tax codes applicable to the line item.

      • getDiscountAmount

        public Object getDiscountAmount()
        Discount Amount

        The discount amount applied to the line item, which may be calculated from the overall discount or overridden.

      • setDiscountAmount

        public void setDiscountAmount​(Object discountAmount)
        Discount Amount

        The discount amount applied to the line item, which may be calculated from the overall discount or overridden.

      • withDiscountAmount

        public LineItem withDiscountAmount​(Object discountAmount)
      • getTradeDiscount

        public Object getTradeDiscount()
        Trade Discount

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

      • setTradeDiscount

        public void setTradeDiscount​(Object tradeDiscount)
        Trade Discount

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

      • withTradeDiscount

        public LineItem withTradeDiscount​(Object tradeDiscount)
      • getComments

        public List<Comment__1> getComments()
        Comments

        The comments associated with the line item.

      • setComments

        public void setComments​(List<Comment__1> comments)
        Comments

        The comments associated with the line item.

      • getReference

        public Object getReference()
        Reference

        The reference associated with the line item.

      • setReference

        public void setReference​(Object reference)
        Reference

        The reference associated with the line item.

      • getAccountDetails

        public List<AccountDetail> getAccountDetails()
        Account Details

        The account details associated with the line item. (Required)

      • setAccountDetails

        public void setAccountDetails​(List<AccountDetail> accountDetails)
        Account Details

        The account details associated with the line item. (Required)

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object