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

Account

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

Represents an account that was established by the customer on the service provider's system.

interface Account {
approvals?: Approval[];
createTime?: Date;
inputProperties?: {
[key: string]: any;
}
;
name?: string;
provider?: string;
resellerParentBillingAccount?: string;
state?: "ACCOUNT_STATE_UNSPECIFIED" | "ACCOUNT_ACTIVATION_REQUESTED" | "ACCOUNT_ACTIVE";
updateTime?: Date;
}

§Properties

§
approvals?: Approval[]
[src]

Output only. The approvals for this account. These approvals are used to track actions that are permitted or have been completed by a customer within the context of the provider. This might include a sign up flow or a provisioning step, for example, that the provider can admit to having happened.

§
createTime?: Date
[src]

Output only. The creation timestamp.

§
inputProperties?: {
[key: string]: any;
}
[src]

Output only. The custom properties that were collected from the user to create this account.

§
name?: string
[src]

Output only. The resource name of the account. Account names have the form accounts/{account_id}.

§
provider?: string
[src]

Output only. The identifier of the service provider that this account was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.

§
resellerParentBillingAccount?: string
[src]

The reseller parent billing account of the account's corresponding billing account, applicable only when the corresponding billing account is a subaccount of a reseller. Included in responses only for view ACCOUNT_VIEW_FULL. Format: billingAccounts/{billing_account_id}

§
state?: "ACCOUNT_STATE_UNSPECIFIED" | "ACCOUNT_ACTIVATION_REQUESTED" | "ACCOUNT_ACTIVE"
[src]

Output only. The state of the account. This is used to decide whether the customer is in good standing with the provider and is able to make purchases. An account might not be able to make a purchase if the billing account is suspended, for example.

§
updateTime?: Date
[src]

Output only. The last update timestamp.