Class CustomFieldInput
java.lang.Object
com.commercetools.graphql.api.types.CustomFieldInput
A key-value pair representing the field name and value of one single custom field.
The value of this custom field consists of escaped JSON based on the FieldDefinition of the Type.
Examples for `value`:
* FieldType `String`: `"\"This is a string\""`
* FieldType `DateTimeType`: `"\"2018-10-12T14:00:00.000Z\""`
* FieldType `Number`: `"4"`
* FieldType `Set` with an elementType of `String`: `"[\"This is a string\", \"This is another string\"]"`
* FieldType `Reference`: `"{\"id\": \"b911b62d-353a-4388-93ee-8d488d9af962\", \"typeId\": \"product\"}"`
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()getValue()The value of this custom field consists of escaped JSON based on the FieldDefinition of the Type.inthashCode()static CustomFieldInput.BuildervoidvoidtoString()
-
Constructor Details
-
CustomFieldInput
public CustomFieldInput() -
CustomFieldInput
-
-
Method Details
-
getName
-
setName
-
getValue
The value of this custom field consists of escaped JSON based on the FieldDefinition of the Type. Examples for `value`: * FieldType `String`: `"\"This is a string\""` * FieldType `DateTimeType`: `"\"2018-10-12T14:00:00.000Z\""` * FieldType `Number`: `"4"` * FieldType `Set` with an elementType of `String`: `"[\"This is a string\", \"This is another string\"]"` * FieldType `Reference`: `"{\"id\": \"b911b62d-353a-4388-93ee-8d488d9af962\", \"typeId\": \"product\"}"` -
setValue
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-