[−][src]Struct google_androidpublisher2::InAppProduct
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).
- patch inappproducts (request|response)
- insert inappproducts (request|response)
- get inappproducts (response)
- update inappproducts (request|response)
Fields
sku: Option<String>
The stock-keeping-unit (SKU) of the product, unique within an app.
status: Option<String>
no description provided
subscription_period: Option<String>
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).
grace_period: Option<String>
Grace period of the subscription, specified in ISO 8601 format. It will allow developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values = "P3D" (three days), "P7D" (seven days), "P14D" (fourteen days), and "P30D" (thirty days)
package_name: Option<String>
The package name of the parent app.
listings: Option<HashMap<String, InAppProductListing>>
List of localized title and description data.
trial_period: Option<String>
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: Option<String>
Purchase type enum value. Unmodifiable after creation.
default_language: Option<String>
The default language of the localized data, as defined by BCP 47. e.g. "en-US", "en-GB".
prices: Option<HashMap<String, Price>>
Prices per buyer region. None of these prices should be zero. In-app products can never be free.
default_price: Option<Price>
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 Clone for InAppProduct
[src]
fn clone(&self) -> InAppProduct
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InAppProduct
[src]
impl Default for InAppProduct
[src]
fn default() -> InAppProduct
[src]
impl<'de> Deserialize<'de> for InAppProduct
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for InAppProduct
[src]
impl Resource for InAppProduct
[src]
impl ResponseResult for InAppProduct
[src]
impl Serialize for InAppProduct
[src]
Auto Trait Implementations
impl RefUnwindSafe for InAppProduct
impl Send for InAppProduct
impl Sync for InAppProduct
impl Unpin for InAppProduct
impl UnwindSafe for InAppProduct
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,