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

Attributes

  • annotations (type: list(GoogleApi.Content.V2.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.