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>,
}Expand description
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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for OrderCancellation
impl Send for OrderCancellation
impl Sync for OrderCancellation
impl Unpin for OrderCancellation
impl UnwindSafe for OrderCancellation
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more