Struct google_androidpublisher2::ProductPurchase [] [src]

pub struct ProductPurchase {
    pub consumption_state: Option<i32>,
    pub developer_payload: Option<String>,
    pub kind: Option<String>,
    pub purchase_time_millis: Option<String>,
    pub purchase_state: Option<i32>,
}

A ProductPurchase resource indicates the status of a user's inapp product purchase.

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 consumption state of the inapp product. Possible values are:
- Yet to be consumed - Consumed

A developer-specified string that contains supplemental information about an order.

This kind represents an inappPurchase object in the androidpublisher service.

The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).

The purchase state of the order. Possible values are:
- Purchased - Cancelled

Trait Implementations

impl Default for ProductPurchase
[src]

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

impl Clone for ProductPurchase
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ProductPurchase
[src]

Formats the value using the given formatter.

impl ResponseResult for ProductPurchase
[src]