au.org.consumerdatastandards.api.common.models.CommonCurrencyAmount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-model Show documentation
Show all versions of api-model Show documentation
This artefact describes the Consumer Data Standards using Java classes and annotations in a way suitable for automatic generation of Open API Specification, documentation, Server Stub, Client Libraries and Reference Test.
package au.org.consumerdatastandards.api.common.models;
import au.org.consumerdatastandards.support.data.*;
@DataDefinition
public class CommonCurrencyAmount {
@Property(
description = "The current balance of the account at this time. Should align to the current balance available via other channels such as ATM balance enquiry or Internet Banking",
required = true
)
@CDSDataType(CustomDataType.Amount)
String amount;
@Property(
description = "If not present assumes AUD",
required = false
)
@CDSDataType(CustomDataType.Currency)
String currency;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy