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

Order return. Production access (all methods) requires the order manager role. Sandbox access does not.

Attributes

  • creationDate (type: String.t, default: nil) - The date of creation of the return, in ISO 8601 format.
  • merchantOrderId (type: String.t, default: nil) - Merchant defined order ID.
  • orderId (type: String.t, default: nil) - Google order ID.
  • orderReturnId (type: String.t, default: nil) - Order return ID generated by Google.
  • returnItems (type: list(GoogleApi.Content.V21.Model.MerchantOrderReturnItem.t), default: nil) - Items of the return.
  • returnPricingInfo (type: GoogleApi.Content.V21.Model.ReturnPricingInfo.t, default: nil) - Information about shipping costs.
  • returnShipments (type: list(GoogleApi.Content.V21.Model.ReturnShipment.t), default: nil) - Shipments of the return.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.MerchantOrderReturn{
  creationDate: String.t() | nil,
  merchantOrderId: String.t() | nil,
  orderId: String.t() | nil,
  orderReturnId: String.t() | nil,
  returnItems: [GoogleApi.Content.V21.Model.MerchantOrderReturnItem.t()] | nil,
  returnPricingInfo: GoogleApi.Content.V21.Model.ReturnPricingInfo.t() | nil,
  returnShipments: [GoogleApi.Content.V21.Model.ReturnShipment.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.