[][src]Struct google_content2::OrderReturn

pub struct OrderReturn {
    pub quantity: Option<u32>,
    pub reason: Option<String>,
    pub creation_date: Option<String>,
    pub actor: 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

quantity: Option<u32>

Quantity that is returned.

reason: Option<String>

The reason for the return.

Acceptable values are:

  • "customerDiscretionaryReturn"
  • "customerInitiatedMerchantCancel"
  • "deliveredTooLate"
  • "expiredItem"
  • "invalidCoupon"
  • "malformedShippingAddress"
  • "other"
  • "productArrivedDamaged"
  • "productNotAsDescribed"
  • "qualityNotAsExpected"
  • "undeliverableShippingAddress"
  • "unsupportedPoBoxAddress"
  • "wrongProductShipped"
creation_date: Option<String>

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

actor: Option<String>

The actor that created the refund.

Acceptable values are:

  • "customer"
  • "googleBot"
  • "googleCustomerService"
  • "googlePayments"
  • "googleSabre"
  • "merchant"
reason_text: Option<String>

The explanation of the reason.

Trait Implementations

impl Clone for OrderReturn[src]

impl Debug for OrderReturn[src]

impl Default for OrderReturn[src]

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

impl Part for OrderReturn[src]

impl Serialize for OrderReturn[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, 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.

impl<T> Typeable for T where
    T: Any