Struct google_content2::api::OrderCancellation[][src]

pub struct OrderCancellation {
    pub actor: Option<String>,
    pub creation_date: Option<String>,
    pub quantity: Option<u32>,
    pub reason: Option<String>,
    pub reason_text: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

actor: Option<String>

The actor that created the cancellation. Acceptable values are: - “customer” - “googleBot” - “googleCustomerService” - “googlePayments” - “googleSabre” - “merchant

creation_date: Option<String>

Date on which the cancellation has been created, in ISO 8601 format.

quantity: Option<u32>

The quantity that was canceled.

reason: Option<String>

The reason for the cancellation. Orders that are canceled with a noInventory reason will lead to the removal of the product from Buy on Google until you make an update to that product. This will not affect your Shopping ads. Acceptable values are: - “autoPostInternal” - “autoPostInvalidBillingAddress” - “autoPostNoInventory” - “autoPostPriceError” - “autoPostUndeliverableShippingAddress” - “couponAbuse” - “customerCanceled” - “customerInitiatedCancel” - “customerSupportRequested” - “failToPushOrderGoogleError” - “failToPushOrderMerchantError” - “failToPushOrderMerchantFulfillmentError” - “failToPushOrderToMerchant” - “failToPushOrderToMerchantOutOfStock” - “invalidCoupon” - “malformedShippingAddress” - “merchantDidNotShipOnTime” - “noInventory” - “orderTimeout” - “other” - “paymentAbuse” - “paymentDeclined” - “priceError” - “returnRefundAbuse” - “shippingPriceError” - “taxError” - “undeliverableShippingAddress” - “unsupportedPoBoxAddress

reason_text: Option<String>

The explanation of the reason.

Trait Implementations

impl Clone for OrderCancellation[src]

impl Debug for OrderCancellation[src]

impl Default for OrderCancellation[src]

impl<'de> Deserialize<'de> for OrderCancellation[src]

impl Part for OrderCancellation[src]

impl Serialize for OrderCancellation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.