View Source GoogleApi.Content.V2.Model.OrderReturn (google_api_content v0.67.1)

Attributes

  • actor (type: String.t, default: nil) - The actor that created the refund. Acceptable values are: - "customer" - "googleBot" - "googleCustomerService" - "googlePayments" - "googleSabre" - "merchant"
  • creationDate (type: String.t, default: nil) - Date on which the item has been created, in ISO 8601 format.
  • quantity (type: integer(), default: nil) - Quantity that is returned.
  • reason (type: String.t, default: nil) - The reason for the return. Acceptable values are: - "customerDiscretionaryReturn" - "customerInitiatedMerchantCancel" - "deliveredTooLate" - "expiredItem" - "invalidCoupon" - "malformedShippingAddress" - "other" - "productArrivedDamaged" - "productNotAsDescribed" - "qualityNotAsExpected" - "undeliverableShippingAddress" - "unsupportedPoBoxAddress" - "wrongProductShipped"
  • 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.V2.Model.OrderReturn{
  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.