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

Input field that needs to be available to the merchant. If the field is marked as required, then a value needs to be provided for a successful processing of the request.

Attributes

  • checkboxInput (type: GoogleApi.Content.V21.Model.InputFieldCheckboxInput.t, default: nil) - Input field to provide a boolean value. Corresponds to the html input type=checkbox.
  • choiceInput (type: GoogleApi.Content.V21.Model.InputFieldChoiceInput.t, default: nil) - Input field to select one of the offered choices. Corresponds to the html input type=radio.
  • id (type: String.t, default: nil) - Not for display but need to be sent back for the given input field.
  • label (type: GoogleApi.Content.V21.Model.TextWithTooltip.t, default: nil) - Input field label. There may be more information to be shown in a tooltip.
  • required (type: boolean(), default: nil) - Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.
  • textInput (type: GoogleApi.Content.V21.Model.InputFieldTextInput.t, default: nil) - Input field to provide text information. Corresponds to the html input type=text or html textarea.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.InputField{
  checkboxInput: GoogleApi.Content.V21.Model.InputFieldCheckboxInput.t() | nil,
  choiceInput: GoogleApi.Content.V21.Model.InputFieldChoiceInput.t() | nil,
  id: String.t() | nil,
  label: GoogleApi.Content.V21.Model.TextWithTooltip.t() | nil,
  required: boolean() | nil,
  textInput: GoogleApi.Content.V21.Model.InputFieldTextInput.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.