Open nils-work opened 1 year ago
Is there an identified need for this change? The addition of currency
beside additionalValue
fundamentally breaks the abstraction provided for the additional information. I question the point of doing the proposed change unless there's an identified product that needs to actively describe constraints & eligibility in a currency other than the base currency of the product.
Description
A number of schemas are missing a currency field to directly associate to an amount provided in an
additionalValue
or other 'amount' field. For accuracy and flexibility, these schemas may require a 'currency' field to be added.Area Affected
Schemas in table below.
Change Proposed
additionalValue
currency
additionalValue
currency
• Get Account Detail
amount
An
amountCurrency
field could assume the currency of the fee when absent.• Get Account Detail
additionalValue
additionalValueCurrency
• Get Account Detail
additionalValue
currency
• Get Bulk Direct Debits
• Get Direct Debits For Specific Accounts
lastDebitAmount
currency
. May not be required if Direct Debits are always assumed to be AUD or match the currency of the account balance.