public class OrderLineDetails extends Object
| Constructor and Description |
|---|
OrderLineDetails() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getDiscountAmount()
Discount on the line item, with the last two digits implied as decimal places
|
String |
getProductCode()
Product or UPC Code
|
String |
getProductName()
The name of the product.
|
Long |
getProductPrice()
The price of one unit of the product, the value should be zero or greater
|
String |
getProductType()
Code used to classify items that are purchased
|
Long |
getQuantity()
Quantity of the units being purchased, should be greater than zero
Note: Must not be all spaces or all zeros
|
Long |
getTaxAmount()
Tax on the line item, with the last two digits implied as decimal places
|
String |
getUnit()
Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.
|
void |
setDiscountAmount(Long value)
Discount on the line item, with the last two digits implied as decimal places
|
void |
setProductCode(String value)
Product or UPC Code
|
void |
setProductName(String value)
The name of the product.
|
void |
setProductPrice(Long value)
The price of one unit of the product, the value should be zero or greater
|
void |
setProductType(String value)
Code used to classify items that are purchased
|
void |
setQuantity(Long value)
Quantity of the units being purchased, should be greater than zero
Note: Must not be all spaces or all zeros
|
void |
setTaxAmount(Long value)
Tax on the line item, with the last two digits implied as decimal places
|
void |
setUnit(String value)
Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.
|
OrderLineDetails |
withDiscountAmount(Long value)
Discount on the line item, with the last two digits implied as decimal places
|
OrderLineDetails |
withProductCode(String value)
Product or UPC Code
|
OrderLineDetails |
withProductName(String value)
The name of the product.
|
OrderLineDetails |
withProductPrice(Long value)
The price of one unit of the product, the value should be zero or greater
|
OrderLineDetails |
withProductType(String value)
Code used to classify items that are purchased
|
OrderLineDetails |
withQuantity(Long value)
Quantity of the units being purchased, should be greater than zero
Note: Must not be all spaces or all zeros
|
OrderLineDetails |
withTaxAmount(Long value)
Tax on the line item, with the last two digits implied as decimal places
|
OrderLineDetails |
withUnit(String value)
Indicates the line item unit of measure; for example: each, kit, pair, gallon, month, etc.
|
public Long getDiscountAmount()
public void setDiscountAmount(Long value)
public OrderLineDetails withDiscountAmount(Long value)
public String getProductCode()
public void setProductCode(String value)
public OrderLineDetails withProductCode(String value)
public String getProductName()
public void setProductName(String value)
public OrderLineDetails withProductName(String value)
public Long getProductPrice()
public void setProductPrice(Long value)
public OrderLineDetails withProductPrice(Long value)
public String getProductType()
public void setProductType(String value)
public OrderLineDetails withProductType(String value)
public Long getQuantity()
public void setQuantity(Long value)
public OrderLineDetails withQuantity(Long value)
public Long getTaxAmount()
public void setTaxAmount(Long value)
public OrderLineDetails withTaxAmount(Long value)
public String getUnit()
public void setUnit(String value)
public OrderLineDetails withUnit(String value)
Copyright © 2024 Worldline Online Payments Direct. All rights reserved.