Struct google_androidpublisher3::SubscriptionPriceChange [−][src]
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
state: Option<i32>
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.
new_price: Option<Price>
The new price the subscription will renew with if the price change is accepted by the user.
Trait Implementations
impl Default for SubscriptionPriceChange
[src]
impl Default for SubscriptionPriceChange
fn default() -> SubscriptionPriceChange
[src]
fn default() -> SubscriptionPriceChange
Returns the "default value" for a type. Read more
impl Clone for SubscriptionPriceChange
[src]
impl Clone for SubscriptionPriceChange
fn clone(&self) -> SubscriptionPriceChange
[src]
fn clone(&self) -> SubscriptionPriceChange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SubscriptionPriceChange
[src]
impl Debug for SubscriptionPriceChange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for SubscriptionPriceChange
[src]
impl Part for SubscriptionPriceChange
Auto Trait Implementations
impl Send for SubscriptionPriceChange
impl Send for SubscriptionPriceChange
impl Sync for SubscriptionPriceChange
impl Sync for SubscriptionPriceChange