Product
import type { Product } from "https://googleapis.deno.dev/v1/paymentsresellersubscription:v1.ts";
A Product resource that defines a subscription service that can be resold.
interface Product {
readonly bundleDetails?: ProductBundleDetails;
finiteBillingCycleDetails?: FiniteBillingCycleDetails;
name?: string;
readonly priceConfigs?: ProductPriceConfig[];
readonly productType?: "PRODUCT_TYPE_UNSPECIFIED" | "PRODUCT_TYPE_SUBSCRIPTION" | "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION";
readonly regionCodes?: string[];
readonly subscriptionBillingCycleDuration?: Duration;
readonly titles?: GoogleTypeLocalizedText[];
}§Properties
§
readonly bundleDetails?: ProductBundleDetails
[src]Output only. Specifies the details for a bundle product.
§
finiteBillingCycleDetails?: FiniteBillingCycleDetails
[src]Optional. Details for a subscription line item with finite billing cycles. If unset, the line item will be charged indefinitely.
§
name?: string
[src]Identifier. Response only. Resource name of the product. It will have the format of "partners/{partner_id}/products/{product_id}"
§
readonly priceConfigs?: ProductPriceConfig[]
[src]Output only. Price configs for the product in the available regions.
§
readonly productType?: "PRODUCT_TYPE_UNSPECIFIED" | "PRODUCT_TYPE_SUBSCRIPTION" | "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION"
[src]Output only. Specifies the type of the product.
§
readonly regionCodes?: string[]
[src]Output only. 2-letter ISO region code where the product is available in. Ex. "US" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
§
readonly titles?: GoogleTypeLocalizedText[]
[src]Output only. Localized human readable name of the product.