| Package | Description |
|---|---|
| com.onlinepayments.domain |
| Modifier and Type | Method and Description |
|---|---|
Discount |
Order.getDiscount()
Object to apply a discount to the total basket by adding a discount line.
|
Discount |
Discount.withAmount(Long value)
Amount in the smallest currency unit, i.e.:
* EUR is a 2-decimals currency, the value 1234 will result in EUR 12.34
* KWD is a 3-decimals currency, the value 1234 will result in KWD 1.234
* JPY is a zero-decimal currency, the value 1234 will result in JPY 1234
|
| Modifier and Type | Method and Description |
|---|---|
void |
Order.setDiscount(Discount value)
Object to apply a discount to the total basket by adding a discount line.
|
Order |
Order.withDiscount(Discount value)
Object to apply a discount to the total basket by adding a discount line.
|
Copyright © 2024 Worldline Online Payments Direct. All rights reserved.