google_api_content v0.30.0 GoogleApi.Content.V2.Model.MerchantOrderReturnItem 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.