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

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" - "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.OrdersCancelRequest{
  operationId: String.t() | nil,
  reason: String.t() | nil,
  reasonText: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.