Appearance
Express Docs / GooglePayDisplayItem
Interface: GooglePayDisplayItem
Defined in: src/types.ts:736
A single line item displayed in the Google Pay payment sheet.
See
https://developers.google.com/pay/api/web/reference/request-objects#DisplayItem
Properties
label
label:
string
Defined in: src/types.ts:738
Label for the line item (e.g. 'Subtotal', 'Tax').
price
price:
string
Defined in: src/types.ts:747
Amount as a decimal string (e.g. '9.99').
status?
optionalstatus?:"FINAL"|"PENDING"
Defined in: src/types.ts:749
Whether the price is 'FINAL' or 'PENDING'. Defaults to 'FINAL'.
type
type:
"LINE_ITEM"|"SUBTOTAL"|"TAX"
Defined in: src/types.ts:745
Item type.
LINE_ITEM— a regular line itemSUBTOTAL— subtotal before tax/feesTAX— tax amount
