LineItem
acme.billing.v1.LineItem
Fields
| Field | Number | Type | Cardinality | Validation | Description |
|---|---|---|---|---|---|
| description | 1 | string | implicit | — | —Details
|
| quantity | 2 | int32 | implicit | int32.gte=1 | —Details
(buf.validate.field) = {
int32: {
gte: 1
}
}
|
| unit_amount | 3 | acme.billing.v1.Money | optional | — | —Details
|
Example JSON
{
"description": "string",
"quantity": 1,
"unitAmount": {
"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.