PaymentSDK
Mobile payment SDK
|
Public Instance Methods | |
OrderItem (String name, String description, String articleNumber, BigDecimal amount, BigDecimal taxAmount, BigDecimal taxRate, int quantity) | |
Constructor. More... | |
OrderItem () | |
Constructor. More... | |
String | getName () |
Returns name of the item in basket. More... | |
void | setName (String name) |
Sets name of the item in basket. More... | |
String | getDescription () |
Returns item description. More... | |
void | setDescription (String description) |
Sets item description. More... | |
String | getArticleNumber () |
Returns item EAN or other article identifier. More... | |
void | setArticleNumber (String articleNumber) |
Sets item EAN or other article identifier. More... | |
int | getQuantity () |
Returns total count of the item in the order. More... | |
void | setQuantity (int quantity) |
Sets total count of the item in the order. More... | |
BigDecimal | getTaxRate () |
Returns item tax rate per unit. More... | |
void | setTaxRate (BigDecimal taxRate) |
Sets item tax rate per unit. More... | |
BigDecimal | getAmount () |
Returns item price per unit. More... | |
void | setAmount (BigDecimal amount) |
Sets item price per unit. More... | |
BigDecimal | getTaxAmount () |
Returns item tax per unit. More... | |
void | setTaxAmount (BigDecimal taxAmount) |
Sets item tax per unit. More... | |
Private Fields | |
String | name |
Name of the item in basket. More... | |
String | description |
Item description. More... | |
String | articleNumber |
Item EAN or other article identifier. More... | |
BigDecimal | amount |
Item price per unit. More... | |
BigDecimal | taxAmount |
Item tax per unit. More... | |
BigDecimal | taxRate |
Item tax rate per unit. More... | |
int | quantity = -1 |
Total count of the item in the order. More... | |
Order item data.
|
inline |
Constructor.
name | Name of the item in basket. |
description | Item description. |
articleNumber | Item EAN or other article identifier. |
amount | Item price per unit. |
taxAmount | Item tax per unit. |
taxRate | Item tax rate per unit. |
quantity | Total count of the item in the order. |
|
inline |
Constructor.
|
inline |
Returns item price per unit.
|
inline |
Returns item EAN or other article identifier.
|
inline |
Returns item description.
|
inline |
Returns name of the item in basket.
|
inline |
Returns total count of the item in the order.
|
inline |
Returns item tax per unit.
|
inline |
Returns item tax rate per unit.
|
inline |
Sets item price per unit.
amount |
|
inline |
Sets item EAN or other article identifier.
articleNumber |
|
inline |
Sets item description.
description |
|
inline |
Sets name of the item in basket.
name |
|
inline |
Sets total count of the item in the order.
quantity |
|
inline |
Sets item tax per unit.
taxAmount |
|
inline |
Sets item tax rate per unit.
taxRate |
|
private |
Item price per unit.
Order item amount always includes tax.
|
private |
Item EAN or other article identifier.
|
private |
Item description.
|
private |
Name of the item in basket.
|
private |
Total count of the item in the order.
|
private |
Item tax per unit.
|
private |
Item tax rate per unit.