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

Configuration for a base plan specific to a region.

Attributes

  • newSubscriberAvailability (type: boolean(), default: nil) - Whether the base plan in the specified region is available for new subscribers. Existing subscribers will not have their subscription canceled if this value is set to false. If not specified, this will default to false.
  • price (type: GoogleApi.AndroidPublisher.V3.Model.Money.t, default: nil) - The price of the base plan in the specified region. Must be set if the base plan is available to new subscribers. Must be set in the currency that is linked to the specified region.
  • regionCode (type: String.t, default: nil) - Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.RegionalBasePlanConfig{
  newSubscriberAvailability: boolean() | nil,
  price: GoogleApi.AndroidPublisher.V3.Model.Money.t() | nil,
  regionCode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.