GoogleApi.Content.V2.Model.MerchantOrderReturnItem (google_api_content v0.58.1) View Source

Attributes

  • customerReturnReason (type: GoogleApi.Content.V2.Model.CustomerReturnReason.t, default: nil) - The reason that the customer chooses to return an item.
  • itemId (type: String.t, default: nil) - Product level item ID. If the returned items are of the same product, they will have the same ID.
  • merchantReturnReason (type: GoogleApi.Content.V2.Model.RefundReason.t, default: nil) - The reason that merchant chooses to accept a return item.
  • product (type: GoogleApi.Content.V2.Model.OrderLineItemProduct.t, default: nil) - Product data from the time of the order placement.
  • returnShipmentIds (type: list(String.t), default: nil) - IDs of the return shipments that this return item belongs to.
  • state (type: String.t, default: nil) - State of the item. Acceptable values are: - "canceled" - "new" - "received" - "refunded" - "rejected"

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.Model.MerchantOrderReturnItem{
  customerReturnReason:
    GoogleApi.Content.V2.Model.CustomerReturnReason.t() | nil,
  itemId: String.t() | nil,
  merchantReturnReason: GoogleApi.Content.V2.Model.RefundReason.t() | nil,
  product: GoogleApi.Content.V2.Model.OrderLineItemProduct.t() | nil,
  returnShipmentIds: [String.t()] | nil,
  state: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.