Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TemplateItem

import type { TemplateItem } from "https://googleapis.deno.dev/v1/walletobjects:v1.ts";
interface TemplateItem {
firstValue?: FieldSelector;
predefinedItem?:
| "PREDEFINED_ITEM_UNSPECIFIED"
| "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER"
| "frequentFlyerProgramNameAndNumber"
| "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER"
| "flightNumberAndOperatingFlightNumber";
secondValue?: FieldSelector;
}

§Properties

§
firstValue?: FieldSelector
[src]

A reference to a field to display. If both firstValue and secondValue are populated, they will both appear as one item with a slash between them. For example, values A and B would be shown as "A / B".

§
predefinedItem?: "PREDEFINED_ITEM_UNSPECIFIED" | "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER" | "frequentFlyerProgramNameAndNumber" | "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER" | "flightNumberAndOperatingFlightNumber"
[src]

A predefined item to display. Only one of firstValue or predefinedItem may be set.

§
secondValue?: FieldSelector
[src]

A reference to a field to display. This may only be populated if the firstValue field is populated.