Money
acme.billing.v1.Money
Fields
| Field | Number | Type | Cardinality | Validation | Description |
|---|---|---|---|---|---|
| currency_code | 1 | string | implicit | string.min_len=3string.max_len=3 | —Details
(buf.validate.field) = {
string: {
min_len: 3
max_len: 3
}
}
|
| units | 2 | int64 | implicit | — | —Details
|
| nanos | 3 | int32 | implicit | int32.lte=999999999int32.gte=-999999999 | —Details
(buf.validate.field) = {
int32: {
lte: 999999999
gte: -999999999
}
}
|
Example JSON
{
"currencyCode": "string",
"units": 1,
"nanos": 1
}Effective features
- json_format: ALLOWinherited from acme/billing/v1/invoice
Used by
What will be affected if this symbol changes.