google_api_content v0.40.0 GoogleApi.Content.V21.Model.OrdersCancelRequest View Source

Attributes

  • operationId (type: String.t, default: nil) - The ID of the operation. Unique across all operations for a given order.

  • reason (type: String.t, default: nil) - The reason for the cancellation.

    Acceptable values are:

    • "customerInitiatedCancel"
    • "invalidCoupon"
    • "malformedShippingAddress"
    • "noInventory"
    • "other"
    • "priceError"
    • "shippingPriceError"
    • "taxError"
    • "undeliverableShippingAddress"
    • "unsupportedPoBoxAddress"
  • reasonText (type: String.t, default: nil) - The explanation of the reason.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.OrdersCancelRequest{
  operationId: String.t(),
  reason: String.t(),
  reasonText: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.