mirror of
https://github.com/valitydev/adapter-flow-lib.git
synced 2024-11-06 00:05:22 +00:00
Add currency exponent (#49)
This commit is contained in:
parent
a9c74a51a0
commit
c6c9ff11fe
2
pom.xml
2
pom.xml
@ -12,7 +12,7 @@
|
||||
</parent>
|
||||
|
||||
<artifactId>adapter-flow-lib</artifactId>
|
||||
<version>0.1.17</version>
|
||||
<version>0.1.18</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>adapter-flow-lib</name>
|
||||
|
@ -12,12 +12,18 @@ import lombok.experimental.SuperBuilder;
|
||||
public class Currency {
|
||||
|
||||
/**
|
||||
* Currency in symbolic formats (example: "USD").
|
||||
* Currency code ISO 4217 in symbolic format (e.g., "USD" for United States dollar)
|
||||
*/
|
||||
private String symbolicCode;
|
||||
|
||||
/**
|
||||
* Currency in symbolic formats (example: "USD").
|
||||
* Currency code ISO 4217 in numeric format (e.g., "840" for United States dollar)
|
||||
*/
|
||||
private Short numericCode;
|
||||
|
||||
/**
|
||||
* Number of decimal places between the smallest defined currency unit
|
||||
* and a whole currency unit ("2" for most currencies)
|
||||
*/
|
||||
private Short exponent;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user