View Source GoogleApi.AndroidPublisher.V3.Model.BasePlan (google_api_android_publisher v0.34.1)

A single base plan for a subscription.

Attributes

  • autoRenewingBasePlanType (type: GoogleApi.AndroidPublisher.V3.Model.AutoRenewingBasePlanType.t, default: nil) - Set when the base plan automatically renews at a regular interval.
  • basePlanId (type: String.t, default: nil) - Required. Immutable. The unique identifier of this base plan. Must be unique within the subscription, and conform with RFC-1034. That is, this ID can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 63 characters.
  • offerTags (type: list(GoogleApi.AndroidPublisher.V3.Model.OfferTag.t), default: nil) - List of up to 20 custom tags specified for this base plan, and returned to the app through the billing library. Subscription offers for this base plan will also receive these offer tags in the billing library.
  • otherRegionsConfig (type: GoogleApi.AndroidPublisher.V3.Model.OtherRegionsBasePlanConfig.t, default: nil) - Pricing information for any new locations Play may launch in the future. If omitted, the BasePlan will not be automatically available any new locations Play may launch in the future.
  • prepaidBasePlanType (type: GoogleApi.AndroidPublisher.V3.Model.PrepaidBasePlanType.t, default: nil) - Set when the base plan does not automatically renew at the end of the billing period.
  • regionalConfigs (type: list(GoogleApi.AndroidPublisher.V3.Model.RegionalBasePlanConfig.t), default: nil) - Region-specific information for this base plan.
  • state (type: String.t, default: nil) - Output only. The state of the base plan, i.e. whether it's active. Draft and inactive base plans can be activated or deleted. Active base plans can be made inactive. Inactive base plans can be canceled. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.BasePlan{
  autoRenewingBasePlanType:
    GoogleApi.AndroidPublisher.V3.Model.AutoRenewingBasePlanType.t() | nil,
  basePlanId: String.t() | nil,
  offerTags: [GoogleApi.AndroidPublisher.V3.Model.OfferTag.t()] | nil,
  otherRegionsConfig:
    GoogleApi.AndroidPublisher.V3.Model.OtherRegionsBasePlanConfig.t() | nil,
  prepaidBasePlanType:
    GoogleApi.AndroidPublisher.V3.Model.PrepaidBasePlanType.t() | nil,
  regionalConfigs:
    [GoogleApi.AndroidPublisher.V3.Model.RegionalBasePlanConfig.t()] | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.