Struct google_androidpublisher3::SubscriptionPriceChange[][src]

pub struct SubscriptionPriceChange {
    pub state: Option<i32>,
    pub new_price: Option<Price>,
}

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.

This type is not used in any activity, and only used as part of another schema.

Fields

The current state of the price change. Possible values are:

  • 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.
  • 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.

The new price the subscription will renew with if the price change is accepted by the user.

Trait Implementations

impl Default for SubscriptionPriceChange
[src]

Returns the "default value" for a type. Read more

impl Clone for SubscriptionPriceChange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SubscriptionPriceChange
[src]

Formats the value using the given formatter. Read more

impl Part for SubscriptionPriceChange
[src]

Auto Trait Implementations