Package com.onlinepayments.domain
Class OrderLineDetails
java.lang.Object
com.onlinepayments.domain.OrderLineDetails
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDiscount on the line item, with the last two digits implied as decimal placesThe brand of the product.Product or UPC CodeThe name of the product.The price of one unit of the product, the value should be zero or greaterCode used to classify items that are purchasedQuantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zerosTax on the line item, with the last two digits implied as decimal placesgetUnit()Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.voidsetDiscountAmount(Long value) Discount on the line item, with the last two digits implied as decimal placesvoidsetProductBrand(String value) The brand of the product.voidsetProductCode(String value) Product or UPC CodevoidsetProductName(String value) The name of the product.voidsetProductPrice(Long value) The price of one unit of the product, the value should be zero or greatervoidsetProductType(String value) Code used to classify items that are purchasedvoidsetQuantity(Long value) Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zerosvoidsetTaxAmount(Long value) Tax on the line item, with the last two digits implied as decimal placesvoidIndicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.withDiscountAmount(Long value) Discount on the line item, with the last two digits implied as decimal placeswithProductBrand(String value) The brand of the product.withProductCode(String value) Product or UPC CodewithProductName(String value) The name of the product.withProductPrice(Long value) The price of one unit of the product, the value should be zero or greaterwithProductType(String value) Code used to classify items that are purchasedwithQuantity(Long value) Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeroswithTaxAmount(Long value) Tax on the line item, with the last two digits implied as decimal placesIndicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.
-
Constructor Details
-
OrderLineDetails
public OrderLineDetails()
-
-
Method Details
-
getDiscountAmount
Discount on the line item, with the last two digits implied as decimal places -
setDiscountAmount
Discount on the line item, with the last two digits implied as decimal places -
withDiscountAmount
Discount on the line item, with the last two digits implied as decimal places -
getProductBrand
The brand of the product. -
setProductBrand
The brand of the product. -
withProductBrand
The brand of the product. -
getProductCode
Product or UPC Code -
setProductCode
Product or UPC Code -
withProductCode
Product or UPC Code -
getProductName
The name of the product. -
setProductName
The name of the product. -
withProductName
The name of the product. -
getProductPrice
The price of one unit of the product, the value should be zero or greater -
setProductPrice
The price of one unit of the product, the value should be zero or greater -
withProductPrice
The price of one unit of the product, the value should be zero or greater -
getProductType
Code used to classify items that are purchased -
setProductType
Code used to classify items that are purchased -
withProductType
Code used to classify items that are purchased -
getQuantity
Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeros -
setQuantity
Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeros -
withQuantity
Quantity of the units being purchased, should be greater than zero Note: Must not be all spaces or all zeros -
getTaxAmount
Tax on the line item, with the last two digits implied as decimal places -
setTaxAmount
Tax on the line item, with the last two digits implied as decimal places -
withTaxAmount
Tax on the line item, with the last two digits implied as decimal places -
getUnit
Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc. -
setUnit
Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc. -
withUnit
Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.
-