public class Discount extends Object
| Constructor and Description |
|---|
Discount() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAmount()
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
|
void |
setAmount(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
|
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
|
public Long getAmount()
public void setAmount(Long value)
public Discount withAmount(Long value)
Copyright © 2024 Worldline Online Payments Direct. All rights reserved.