message

LineItem

acme.billing.v1.LineItem

Fields

FieldNumberTypeCardinalityValidationDescription
description1stringimplicit——
Details
  • JSON name: description
  • Presence: IMPLICIT
quantity2int32implicit
int32.gte=1
—
Details
  • JSON name: quantity
  • Presence: IMPLICIT
(buf.validate.field) = {
  int32: {
    gte: 1
  }
}
unit_amount3acme.billing.v1.Moneyoptional——
Details
  • JSON name: unitAmount
  • Presence: EXPLICIT

Example JSON

{
  "description": "string",
  "quantity": 1,
  "unitAmount": {
    "currencyCode": "string",
    "units": 1,
    "nanos": 1
  }
}

Effective features

  • json_format: ALLOW
    inherited from acme/billing/v1/invoice

Used by

What will be affected if this symbol changes.