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 |
getCommodityCode()
Gets an international description code of the item.
|
String |
getDescription()
Gets a description of the line item.
|
Collection<TransactionDisplayDiscount> |
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.
|
String |
getProductCode()
Gets a merchant-defined description code of the item.
|
float |
getQuantity()
Gets the quantity of the line item.
|
String |
getUnitCode()
Gets an alphanumeric code for units of measurement as used in international trade.
|
void |
setCommodityCode(String value)
Sets an international description code of the item.
|
void |
setDescription(String value)
Sets a description of the line item.
|
void |
setDiscounts(Collection<TransactionDisplayDiscount> 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 |
setProductCode(String value)
Sets a merchant-defined description code of the item.
|
void |
setQuantity(float value)
Sets the quantity of the line item.
|
void |
setUnitCode(String value)
Sets an alphanumeric code for units of measurement as used in international trade.
|
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 setUnitCode(String value)
value
- an alphanumeric code for units of measurement as used in
international trade.public String getUnitCode()
public void setCommodityCode(String value)
value
- an international description code of the item.public String getCommodityCode()
public void setProductCode(String value)
value
- a merchant-defined description code of the item.public String getProductCode()
public void setDiscounts(Collection<TransactionDisplayDiscount> value)
value
- are displayed under their corresponding item.public Collection<TransactionDisplayDiscount> getDiscounts()
public void addDiscount(TransactionDisplayDiscount value)
value
- are displayed under their corresponding item.Copyright © 2022 BlockChyp, Inc.. All rights reserved.