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

GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec

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

Describes the spec for one promotion.

interface GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec {
promotion?: string;
readonly type?: "PROMOTION_TYPE_UNSPECIFIED" | "PROMOTION_TYPE_FREE_TRIAL" | "PROMOTION_TYPE_INTRODUCTORY_PRICING";
}

§Properties

§

Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.

§

Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING.

§
promotion?: string
[src]

Required. Promotion resource name that identifies a promotion. The format is 'partners/{partner_id}/promotions/{promotion_id}'.

§
readonly type?: "PROMOTION_TYPE_UNSPECIFIED" | "PROMOTION_TYPE_FREE_TRIAL" | "PROMOTION_TYPE_INTRODUCTORY_PRICING"
[src]

Output only. The type of the promotion for the spec.