View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem (google_api_payments_reseller_subscription v0.4.0)

Individual line item definition of a subscription.

Attributes

  • amount (type: GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Amount.t, default: nil) - 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.
  • bundleDetails (type: GoogleApi.PaymentsResellerSubscription.V1.Model.SubscriptionLineItemBundleDetails.t, default: nil) - Output only. The bundle details for the line item. Only populated if the line item corresponds to a hard bundle.
  • description (type: String.t, default: nil) - Output only. Description of this line item.
  • finiteBillingCycleDetails (type: GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails.t, default: nil) - 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.
  • lineItemFreeTrialEndTime (type: DateTime.t, default: nil) - 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.
  • lineItemIndex (type: integer(), default: nil) - Output only. A unique index of the subscription line item.
  • lineItemPromotionSpecs (type: list(GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec.t), default: nil) - 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.
  • oneTimeRecurrenceDetails (type: GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails.t, default: nil) - Output only. Details only set for a ONE_TIME recurrence line item.
  • product (type: String.t, default: nil) - Required. Product resource name that identifies one the line item The format is 'partners/{partner_id}/products/{product_id}'.
  • productPayload (type: GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1ProductPayload.t, default: nil) - Optional. Product specific payload for this line item.
  • recurrenceType (type: String.t, default: nil) - Output only. The recurrence type of the line item.
  • state (type: String.t, default: nil) - Output only. The state of the line item.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.