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

GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem

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

Individual line item definition of a subscription.

interface GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem {
readonly bundleDetails?: SubscriptionLineItemBundleDetails;
readonly description?: string;
readonly lineItemFreeTrialEndTime?: Date;
readonly lineItemIndex?: number;
product?: string;
readonly recurrenceType?: "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED" | "LINE_ITEM_RECURRENCE_TYPE_PERIODIC" | "LINE_ITEM_RECURRENCE_TYPE_ONE_TIME";
readonly state?:
| "LINE_ITEM_STATE_UNSPECIFIED"
| "LINE_ITEM_STATE_ACTIVE"
| "LINE_ITEM_STATE_INACTIVE"
| "LINE_ITEM_STATE_NEW"
| "LINE_ITEM_STATE_ACTIVATING"
| "LINE_ITEM_STATE_DEACTIVATING"
| "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE"
| "LINE_ITEM_STATE_OFF_CYCLE_CHARGING";
}

§Properties

§

Output only. The price of the product/service in this line item. The amount could be the wholesale price, or it can include a cost of sale based on the contract.

§

Output only. The bundle details for the line item. Only populated if the line item corresponds to a hard bundle.

§
readonly description?: string
[src]

Output only. Description of this line item.

§

Optional. Details for a subscription line item with finite billing cycles. If unset, the line item will be charged indefinitely. Used only with LINE_ITEM_RECURRENCE_TYPE_PERIODIC.

§
readonly lineItemFreeTrialEndTime?: Date
[src]

Output only. The free trial end time will be populated after the line item is successfully processed. End time of the line item free trial period, in ISO 8061 format. For example, "2019-08-31T17:28:54.564Z". It will be set the same as createTime if no free trial promotion is specified.

§
readonly lineItemIndex?: number
[src]

Output only. A unique index of the subscription line item.

§

Optional. The promotions applied on the line item. It can be: - an introductory pricing promotion. - a free trial promotion. This feature is not enabled. If used, the request will be rejected. When used as input in Create or Provision API, specify its resource name only.

§

Output only. Details only set for a ONE_TIME recurrence line item.

§
product?: string
[src]

Required. Product resource name that identifies one the line item The format is 'partners/{partner_id}/products/{product_id}'.

§

Optional. Product specific payload for this line item.

§
readonly recurrenceType?: "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED" | "LINE_ITEM_RECURRENCE_TYPE_PERIODIC" | "LINE_ITEM_RECURRENCE_TYPE_ONE_TIME"
[src]

Output only. The recurrence type of the line item.

§
readonly state?: "LINE_ITEM_STATE_UNSPECIFIED" | "LINE_ITEM_STATE_ACTIVE" | "LINE_ITEM_STATE_INACTIVE" | "LINE_ITEM_STATE_NEW" | "LINE_ITEM_STATE_ACTIVATING" | "LINE_ITEM_STATE_DEACTIVATING" | "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE" | "LINE_ITEM_STATE_OFF_CYCLE_CHARGING"
[src]

Output only. The state of the line item.