[−][src]Struct google_androidpublisher2::ProductPurchase
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).
- products get purchases (response)
Fields
order_id: Option<String>
The order id associated with the purchase of the inapp product.
consumption_state: Option<i32>
The consumption state of the inapp product. Possible values are:
- Yet to be consumed
- Consumed
kind: Option<String>
This kind represents an inappPurchase object in the androidpublisher service.
purchase_time_millis: Option<String>
The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
developer_payload: Option<String>
A developer-specified string that contains supplemental information about an order.
purchase_state: Option<i32>
The purchase state of the order. Possible values are:
- Purchased
- Canceled
- Pending
purchase_type: Option<i32>
The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are:
- Test (i.e. purchased from a license testing account)
- Promo (i.e. purchased using a promo code)
- Rewarded (i.e. from watching a video ad instead of paying)
Trait Implementations
impl Clone for ProductPurchase
[src]
fn clone(&self) -> ProductPurchase
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProductPurchase
[src]
impl Default for ProductPurchase
[src]
fn default() -> ProductPurchase
[src]
impl<'de> Deserialize<'de> for ProductPurchase
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ResponseResult for ProductPurchase
[src]
impl Serialize for ProductPurchase
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProductPurchase
impl Send for ProductPurchase
impl Sync for ProductPurchase
impl Unpin for ProductPurchase
impl UnwindSafe for ProductPurchase
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,