| Package | Description |
|---|---|
| com.blockchyp.client.dto |
| Modifier and Type | Method and Description |
|---|---|
TransactionDisplayItem |
TransactionDisplayItem.withDiscount(TransactionDisplayDiscount discount)
Add a single discount to an existing line item.
|
TransactionDisplayItem |
TransactionDisplayItem.withDiscounts(Collection newDiscounts)
Adds discounts to an existing line item.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionDisplayTransaction.addItem(TransactionDisplayItem item)
Adds a line item to the transaction.
|
TransactionDisplayTransaction |
TransactionDisplayTransaction.withItem(TransactionDisplayItem item)
Add a single line item to an existing transaction for those developers who like the builder pattern.
|
Copyright © 2019 BlockChyp, Inc.. All rights reserved.