Class InputField
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.
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class InputField : IDirectResponseSchema
Properties
CheckboxInput
Input field to provide a boolean value. Corresponds to the html input type=checkbox.
Declaration
[JsonProperty("checkboxInput")]
public virtual InputFieldCheckboxInput CheckboxInput { get; set; }
Property Value
Type | Description |
---|---|
InputFieldCheckboxInput |
ChoiceInput
Input field to select one of the offered choices. Corresponds to the html input type=radio.
Declaration
[JsonProperty("choiceInput")]
public virtual InputFieldChoiceInput ChoiceInput { get; set; }
Property Value
Type | Description |
---|---|
InputFieldChoiceInput |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Not for display but need to be sent back for the given input field.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Label
Input field label. There may be more information to be shown in a tooltip.
Declaration
[JsonProperty("label")]
public virtual TextWithTooltip Label { get; set; }
Property Value
Type | Description |
---|---|
TextWithTooltip |
Required
Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.
Declaration
[JsonProperty("required")]
public virtual bool? Required { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TextInput
Input field to provide text information. Corresponds to the html input type=text or html textarea.
Declaration
[JsonProperty("textInput")]
public virtual InputFieldTextInput TextInput { get; set; }
Property Value
Type | Description |
---|---|
InputFieldTextInput |