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

DiscoverableProgram

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

Information about how a class may be discovered and instantiated from within the Android Pay app. This is done by searching for a loyalty or gift card program and scanning or manually entering.

interface DiscoverableProgram {
state?:
| "STATE_UNSPECIFIED"
| "TRUSTED_TESTERS"
| "trustedTesters"
| "LIVE"
| "live"
| "DISABLED"
| "disabled";
}

§Properties

§

Information about the ability to signin and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled.

§

Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled.

§
state?: "STATE_UNSPECIFIED" | "TRUSTED_TESTERS" | "trustedTesters" | "LIVE" | "live" | "DISABLED" | "disabled"
[src]

Visibility state of the discoverable program.