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

GoogleCloudPaymentsResellerSubscriptionV1Promotion

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

A Promotion resource that defines a promotion for a subscription that can be resold.

interface GoogleCloudPaymentsResellerSubscriptionV1Promotion {
readonly applicableProducts?: string[];
endTime?: Date;
name?: string;
readonly promotionType?: "PROMOTION_TYPE_UNSPECIFIED" | "PROMOTION_TYPE_FREE_TRIAL" | "PROMOTION_TYPE_INTRODUCTORY_PRICING";
readonly regionCodes?: string[];
startTime?: Date;
readonly titles?: GoogleTypeLocalizedText[];
}

§Properties

§
readonly applicableProducts?: string[]
[src]

Output only. The product ids this promotion can be applied to.

§
endTime?: Date
[src]

Optional. Specifies the end time (exclusive) of the period that the promotion is available in. If unset, the promotion is available indefinitely.

§

Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL

§

Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING.

§
name?: string
[src]

Identifier. Response only. Resource name of the subscription promotion. It will have the format of "partners/{partner_id}/promotion/{promotion_id}"

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

Output only. Output Only. Specifies the type of the promotion.

§
readonly regionCodes?: string[]
[src]

Output only. 2-letter ISO region code where the promotion is available in. Ex. "US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1

§
startTime?: Date
[src]

Optional. Specifies the start time (inclusive) of the period that the promotion is available in.

§
readonly titles?: GoogleTypeLocalizedText[]
[src]

Output only. Localized human readable name of the promotion.