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

ValueAddedModuleData

import type { ValueAddedModuleData } from "https://googleapis.deno.dev/v1/walletobjects:v1.ts";

Data for Value Added module. Required fields are header and uri.

interface ValueAddedModuleData {
header?: LocalizedString;
image?: Image;
sortIndex?: number;
uri?: string;
viewConstraints?: ModuleViewConstraints;
}

§Properties

§

Body to be displayed on the module. Character limit is 50 and longer strings will be truncated.

§
image?: Image
[src]

Image to be displayed on the module. Recommended image ratio is 1:1. Images will be resized to fit this ratio.

§
sortIndex?: number
[src]

The index for sorting the modules. Modules with a lower sort index are shown before modules with a higher sort index. If unspecified, the sort index is assumed to be INT_MAX. For two modules with the same index, the sorting behavior is undefined.

§
uri?: string
[src]

URI that the module leads to on click. This can be a web link or a deep link as mentioned in https://developer.android.com/training/app-links/deep-linking.

§
viewConstraints?: ModuleViewConstraints
[src]

Constraints that all must be met for the module to be shown.