google-wallet
Version:
Google wallet library for Node.js
12 lines (11 loc) • 479 B
TypeScript
import { DateFormatEnum } from "./DateFormat.js";
export type FieldReference = {
/**
* Path to the field being referenced, prefixed with "object" or "class" and separated with dots. For example, it may be the string "object.purchaseDetails.purchasePrice".
*/
fieldPath?: string;
/**
* Only valid if the fieldPath references a date field. Chooses how the date field will be formatted and displayed in the UI.
*/
dateFormat?: DateFormatEnum;
};