public class TransactionDisplayItem extends Object
| Constructor and Description |
|---|
TransactionDisplayItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDiscount(TransactionDisplayDiscount value)
Adds a are displayed under their corresponding item.
|
String |
getDescription()
Gets a description of the line item.
|
Collection |
getDiscounts()
Gets are displayed under their corresponding item.
|
String |
getExtended()
Gets an item category in a transaction display.
|
String |
getId()
Gets a unique value identifying the item.
|
String |
getPrice()
Gets the price of the line item.
|
float |
getQuantity()
Gets the quantity of the line item.
|
void |
setDescription(String value)
Sets a description of the line item.
|
void |
setDiscounts(Collection value)
Sets are displayed under their corresponding item.
|
void |
setExtended(String value)
Sets an item category in a transaction display.
|
void |
setId(String value)
Sets a unique value identifying the item.
|
void |
setPrice(String value)
Sets the price of the line item.
|
void |
setQuantity(float value)
Sets the quantity of the line item.
|
public void setId(String value)
value - a unique value identifying the item. This is not required, but
recommended since it is required to update or delete line items.public String getId()
public void setDescription(String value)
value - a description of the line item.public String getDescription()
public void setPrice(String value)
value - the price of the line item.public String getPrice()
public void setQuantity(float value)
value - the quantity of the line item.public float getQuantity()
public void setExtended(String value)
value - an item category in a transaction display. Groups combine if their
descriptions match. Calculated subtotal amounts are rounded to two decimal
places of precision. Quantity is a floating point number that is not rounded at
all.public String getExtended()
public void setDiscounts(Collection value)
value - are displayed under their corresponding item.public Collection getDiscounts()
public void addDiscount(TransactionDisplayDiscount value)
value - are displayed under their corresponding item.Copyright © 2020 BlockChyp, Inc.. All rights reserved.