This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk/extension / CurrencyCodeOptions

CurrencyCodeOptions ​

Options of currencyCode.

Properties ​

allowEmpty? ​

optional allowEmpty?: boolean

Also accepts '', for fields where the gateway omits the currency when the value is zero (protojson does not write empty text). Missing/null still fail: use z._default(..., '') if the field may be missing. Default false.