GoogleApi.Content.V21.Model.OrdersSetLineItemMetadataRequest (google_api_content v0.58.1) View Source

Attributes

  • annotations (type: list(GoogleApi.Content.V21.Model.OrderMerchantProvidedAnnotation.t), default: nil) -
  • lineItemId (type: String.t, default: nil) - The ID of the line item to set metadata. Either lineItemId or productId is required.
  • operationId (type: String.t, default: nil) - The ID of the operation. Unique across all operations for a given order.
  • productId (type: String.t, default: nil) - The ID of the product to set metadata. This is the REST ID used in the products service. Either lineItemId or productId is required.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.OrdersSetLineItemMetadataRequest{
  annotations:
    [GoogleApi.Content.V21.Model.OrderMerchantProvidedAnnotation.t()] | nil,
  lineItemId: String.t() | nil,
  operationId: String.t() | nil,
  productId: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.