View Source GoogleApi.Content.V21.Model.OrderCancellation (google_api_content v0.67.1)

Attributes

  • actor (type: String.t, default: nil) - The actor that created the cancellation. Acceptable values are: - "customer" - "googleBot" - "googleCustomerService" - "googlePayments" - "googleSabre" - "merchant"
  • creationDate (type: String.t, default: nil) - Date on which the cancellation has been created, in ISO 8601 format.
  • quantity (type: integer(), default: nil) - The quantity that was canceled.
  • reason (type: String.t, default: nil) - 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 won't 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" - "failedToCaptureFunds"
  • reasonText (type: String.t, default: nil) - The explanation of the reason.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.OrderCancellation{
  actor: String.t() | nil,
  creationDate: String.t() | nil,
  quantity: integer() | nil,
  reason: String.t() | nil,
  reasonText: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.