View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Product (google_api_payments_reseller_subscription v0.7.0)

A Product resource that defines a subscription service that can be resold.

Attributes

  • bundleDetails (type: GoogleApi.PaymentsResellerSubscription.V1.Model.ProductBundleDetails.t, default: nil) - Output only. Output Only. Specifies the details for a bundle product.
  • 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.
  • name (type: String.t, default: nil) - Identifier. Response only. Resource name of the product. It will have the format of "partners/{partner_id}/products/{product_id}"
  • priceConfigs (type: list(GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig.t), default: nil) - Output only. Price configs for the product in the available regions.
  • productType (type: String.t, default: nil) - Output only. Output Only. Specifies the type of the product.
  • regionCodes (type: list(String.t), default: nil) - 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
  • subscriptionBillingCycleDuration (type: GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Duration.t, default: nil) - Output only. Specifies the length of the billing cycle of the subscription.
  • titles (type: list(GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleTypeLocalizedText.t), default: nil) - Output only. Localized human readable name of the product.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Product{
    bundleDetails:
      GoogleApi.PaymentsResellerSubscription.V1.Model.ProductBundleDetails.t()
      | nil,
    finiteBillingCycleDetails:
      GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails.t()
      | nil,
    name: String.t() | nil,
    priceConfigs:
      [
        GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig.t()
      ]
      | nil,
    productType: String.t() | nil,
    regionCodes: [String.t()] | nil,
    subscriptionBillingCycleDuration:
      GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Duration.t()
      | nil,
    titles:
      [
        GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleTypeLocalizedText.t()
      ]
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.