Class CustomerGroupDraftImpl
java.lang.Object
com.commercetools.api.models.customer_group.CustomerGroupDraftImpl
- All Implemented Interfaces:
CustomerGroupDraft
,CustomizableDraft<CustomerGroupDraft>
,WithKey
,io.vrap.rmf.base.client.Draft<CustomerGroupDraft>
,io.vrap.rmf.base.client.ModelBase
public class CustomerGroupDraftImpl
extends Object
implements CustomerGroupDraft, io.vrap.rmf.base.client.ModelBase
CustomerGroupDraft
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Custom Fields for the CustomerGroup.Unique value which must be different from any value used forname
in CustomerGroup in the Project.getKey()
User-defined unique identifier for the CustomerGroup.int
hashCode()
void
setCustom
(CustomFieldsDraft custom) Custom Fields for the CustomerGroup.void
setGroupName
(String groupName) Unique value which must be different from any value used forname
in CustomerGroup in the Project.void
User-defined unique identifier for the CustomerGroup.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.customer_group.CustomerGroupDraft
withCustomerGroupDraft
Methods inherited from interface com.commercetools.api.models.CustomizableDraft
unwrapCustomizableDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomerGroupDraftImpl
public CustomerGroupDraftImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier for the CustomerGroup.
- Specified by:
getKey
in interfaceCustomerGroupDraft
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
getGroupName
Unique value which must be different from any value used for
name
in CustomerGroup in the Project. If not, a DuplicateField error is returned.- Specified by:
getGroupName
in interfaceCustomerGroupDraft
- Returns:
- groupName
-
getCustom
Custom Fields for the CustomerGroup.
- Specified by:
getCustom
in interfaceCustomerGroupDraft
- Specified by:
getCustom
in interfaceCustomizableDraft<CustomerGroupDraft>
- Returns:
- custom
-
setKey
Description copied from interface:CustomerGroupDraft
User-defined unique identifier for the CustomerGroup.
- Specified by:
setKey
in interfaceCustomerGroupDraft
- Parameters:
key
- value to be set
-
setGroupName
Description copied from interface:CustomerGroupDraft
Unique value which must be different from any value used for
name
in CustomerGroup in the Project. If not, a DuplicateField error is returned.- Specified by:
setGroupName
in interfaceCustomerGroupDraft
- Parameters:
groupName
- value to be set
-
setCustom
Description copied from interface:CustomerGroupDraft
Custom Fields for the CustomerGroup.
- Specified by:
setCustom
in interfaceCustomerGroupDraft
- Specified by:
setCustom
in interfaceCustomizableDraft<CustomerGroupDraft>
- Parameters:
custom
- value to be set
-
equals
-
hashCode
public int hashCode()
-