Class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem
Individual line item definition of a subscription.
Implements
Inherited Members
Namespace: Google.Apis.PaymentsResellerSubscription.v1.Data
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem : IDirectResponseSchema
Properties
Amount
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.
Declaration
[JsonProperty("amount")]
public virtual GoogleCloudPaymentsResellerSubscriptionV1Amount Amount { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudPaymentsResellerSubscriptionV1Amount |
BundleDetails
Output only. The bundle details for the line item. Only populated if the line item corresponds to a hard bundle.
Declaration
[JsonProperty("bundleDetails")]
public virtual SubscriptionLineItemBundleDetails BundleDetails { get; set; }
Property Value
Type | Description |
---|---|
SubscriptionLineItemBundleDetails |
Description
Output only. Description of this line item.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FiniteBillingCycleDetails
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.
Declaration
[JsonProperty("finiteBillingCycleDetails")]
public virtual GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails FiniteBillingCycleDetails { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails |
LineItemFreeTrialEndTime
object representation of LineItemFreeTrialEndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LineItemFreeTrialEndTimeDateTimeOffset instead.")]
public virtual object LineItemFreeTrialEndTime { get; set; }
Property Value
Type | Description |
---|---|
object |
LineItemFreeTrialEndTimeDateTimeOffset
DateTimeOffset representation of LineItemFreeTrialEndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? LineItemFreeTrialEndTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
LineItemFreeTrialEndTimeRaw
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.
Declaration
[JsonProperty("lineItemFreeTrialEndTime")]
public virtual string LineItemFreeTrialEndTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
LineItemIndex
Output only. A unique index of the subscription line item.
Declaration
[JsonProperty("lineItemIndex")]
public virtual int? LineItemIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
LineItemPromotionSpecs
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.
Declaration
[JsonProperty("lineItemPromotionSpecs")]
public virtual IList<GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec> LineItemPromotionSpecs { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec> |
OneTimeRecurrenceDetails
Output only. Details only set for a ONE_TIME recurrence line item.
Declaration
[JsonProperty("oneTimeRecurrenceDetails")]
public virtual GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails OneTimeRecurrenceDetails { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails |
Product
Required. Product resource name that identifies one the line item The format is 'partners/{partner_id}/products/{product_id}'.
Declaration
[JsonProperty("product")]
public virtual string Product { get; set; }
Property Value
Type | Description |
---|---|
string |
ProductPayload
Optional. Product specific payload for this line item.
Declaration
[JsonProperty("productPayload")]
public virtual GoogleCloudPaymentsResellerSubscriptionV1ProductPayload ProductPayload { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudPaymentsResellerSubscriptionV1ProductPayload |
RecurrenceType
Output only. The recurrence type of the line item.
Declaration
[JsonProperty("recurrenceType")]
public virtual string RecurrenceType { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. The state of the line item.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |