Struct google_androidpublisher2::InAppProduct [] [src]

pub struct InAppProduct {
    pub sku: Option<String>,
    pub status: Option<String>,
    pub subscription_period: Option<String>,
    pub season: Option<Season>,
    pub package_name: Option<String>,
    pub listings: Option<HashMap<String, InAppProductListing>>,
    pub trial_period: Option<String>,
    pub purchase_type: Option<String>,
    pub default_language: Option<String>,
    pub prices: Option<HashMap<String, Price>>,
    pub default_price: Option<Price>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The stock-keeping-unit (SKU) of the product, unique within an app.

no description provided

Subscription period, specified in ISO 8601 format. Acceptable values are "P1W" (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "P1Y" (one year).

Definition of a season for a seasonal subscription. Can be defined only for yearly subscriptions.

The package name of the parent app.

List of localized title and description data.

Trial period, specified in ISO 8601 format. Acceptable values are anything between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions cannot have a trial period.

Purchase type enum value. Unmodifiable after creation.

The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".

Prices per buyer region. None of these prices should be zero. In-app products can never be free.

Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency.

Trait Implementations

impl Default for InAppProduct
[src]

[src]

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

impl Clone for InAppProduct
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for InAppProduct
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for InAppProduct
[src]

impl Resource for InAppProduct
[src]

impl ResponseResult for InAppProduct
[src]