Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class InputValue.
Input provided by the business for input field.
Generated from protobuf message google.shopping.merchant.issueresolution.v1.InputValue
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ text_input_value |
InputValue\TextInputValue
Value for text input field. |
↳ choice_input_value |
InputValue\ChoiceInputValue
Value for choice input field. |
↳ checkbox_input_value |
InputValue\CheckboxInputValue
Value for checkbox input field. |
↳ input_field_id |
string
Required. Id of the corresponding input field. |
getTextInputValue
Value for text input field.
Returns | |
---|---|
Type | Description |
InputValue\TextInputValue|null |
hasTextInputValue
setTextInputValue
Value for text input field.
Parameter | |
---|---|
Name | Description |
var |
InputValue\TextInputValue
|
Returns | |
---|---|
Type | Description |
$this |
getChoiceInputValue
Value for choice input field.
Returns | |
---|---|
Type | Description |
InputValue\ChoiceInputValue|null |
hasChoiceInputValue
setChoiceInputValue
Value for choice input field.
Parameter | |
---|---|
Name | Description |
var |
InputValue\ChoiceInputValue
|
Returns | |
---|---|
Type | Description |
$this |
getCheckboxInputValue
Value for checkbox input field.
Returns | |
---|---|
Type | Description |
InputValue\CheckboxInputValue|null |
hasCheckboxInputValue
setCheckboxInputValue
Value for checkbox input field.
Parameter | |
---|---|
Name | Description |
var |
InputValue\CheckboxInputValue
|
Returns | |
---|---|
Type | Description |
$this |
getInputFieldId
Required. Id of the corresponding input field.
Returns | |
---|---|
Type | Description |
string |
setInputFieldId
Required. Id of the corresponding input field.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |