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

Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to merchant and will help them with resolving the issue. The application should point the merchant to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to merchant and provide them with instructions how to solve the issue.

Attributes

  • additionalContent (type: GoogleApi.Content.V21.Model.BuiltInSimpleActionAdditionalContent.t, default: nil) - Long text from an external source that should be available to the merchant. Present when the type is SHOW_ADDITIONAL_CONTENT.
  • attributeCode (type: String.t, default: nil) - The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.
  • type (type: String.t, default: nil) - The type of action that represents a functionality that is expected to be available in third-party application.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.BuiltInSimpleAction{
  additionalContent:
    GoogleApi.Content.V21.Model.BuiltInSimpleActionAdditionalContent.t() | nil,
  attributeCode: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.