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

Contains the price change information for a subscription that can be used to control the user journey for the price change in the app. This can be in the form of seeking confirmation from the user or tailoring the experience for a successful conversion.

Attributes

  • newPrice (type: GoogleApi.AndroidPublisher.V3.Model.Price.t, default: nil) - The new price the subscription will renew with if the price change is accepted by the user.
  • state (type: integer(), default: nil) - The current state of the price change. Possible values are: 0. Outstanding: State for a pending price change waiting for the user to agree. In this state, you can optionally seek confirmation from the user using the In-App API. 1. Accepted: State for an accepted price change that the subscription will renew with unless it's canceled. The price change takes effect on a future date when the subscription renews. Note that the change might not occur when the subscription is renewed next.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.SubscriptionPriceChange{
  newPrice: GoogleApi.AndroidPublisher.V3.Model.Price.t() | nil,
  state: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.