Add currency exponent (#49)

This commit is contained in:
Alexander Romanov 2022-10-10 16:09:47 +04:00 committed by GitHub
parent a9c74a51a0
commit c6c9ff11fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -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>

View File

@ -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;
}