Class OrderLineDetails

java.lang.Object
com.onlinepayments.domain.OrderLineDetails

public class OrderLineDetails extends Object
  • Constructor Details

    • OrderLineDetails

      public OrderLineDetails()
  • Method Details

    • getDiscountAmount

      public Long getDiscountAmount()
      Discount on the line item, with the last two digits implied as decimal places
    • setDiscountAmount

      public void setDiscountAmount(Long value)
      Discount on the line item, with the last two digits implied as decimal places
    • withDiscountAmount

      public OrderLineDetails withDiscountAmount(Long value)
      Discount on the line item, with the last two digits implied as decimal places
    • getProductBrand

      public String getProductBrand()
      The brand of the product.
    • setProductBrand

      public void setProductBrand(String value)
      The brand of the product.
    • withProductBrand

      public OrderLineDetails withProductBrand(String value)
      The brand of the product.
    • getProductCode

      public String getProductCode()
      Product or UPC Code
    • setProductCode

      public void setProductCode(String value)
      Product or UPC Code
    • withProductCode

      public OrderLineDetails withProductCode(String value)
      Product or UPC Code
    • getProductName

      public String getProductName()
      The name of the product.
    • setProductName

      public void setProductName(String value)
      The name of the product.
    • withProductName

      public OrderLineDetails withProductName(String value)
      The name of the product.
    • getProductPrice

      public Long getProductPrice()
      The price of one unit of the product, the value should be zero or greater
    • setProductPrice

      public void setProductPrice(Long value)
      The price of one unit of the product, the value should be zero or greater
    • withProductPrice

      public OrderLineDetails withProductPrice(Long value)
      The price of one unit of the product, the value should be zero or greater
    • getProductType

      public String getProductType()
      Code used to classify items that are purchased
    • setProductType

      public void setProductType(String value)
      Code used to classify items that are purchased
    • withProductType

      public OrderLineDetails withProductType(String value)
      Code used to classify items that are purchased
    • getQuantity

      public Long getQuantity()
      Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeros
    • setQuantity

      public void setQuantity(Long value)
      Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeros
    • withQuantity

      public OrderLineDetails withQuantity(Long value)
      Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeros
    • getTaxAmount

      public Long getTaxAmount()
      Tax on the line item, with the last two digits implied as decimal places
    • setTaxAmount

      public void setTaxAmount(Long value)
      Tax on the line item, with the last two digits implied as decimal places
    • withTaxAmount

      public OrderLineDetails withTaxAmount(Long value)
      Tax on the line item, with the last two digits implied as decimal places
    • getUnit

      public String getUnit()
      Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.
    • setUnit

      public void setUnit(String value)
      Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.
    • withUnit

      public OrderLineDetails withUnit(String value)
      Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.