Class CustomerGroupResourceIdentifierImpl
java.lang.Object
com.commercetools.api.models.customer_group.CustomerGroupResourceIdentifierImpl
- All Implemented Interfaces:
ResourceIdentifier
,CustomerGroupResourceIdentifier
,Identifiable<CustomerGroup>
,WithKey
,io.vrap.rmf.base.client.ModelBase
public class CustomerGroupResourceIdentifierImpl
extends Object
implements CustomerGroupResourceIdentifier, io.vrap.rmf.base.client.ModelBase
ResourceIdentifier to a CustomerGroup.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.customer_group.CustomerGroupResourceIdentifier
CUSTOMER_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the referenced CustomerGroup.getKey()
User-defined unique identifier of the referenced CustomerGroup.Type of referenced resource.int
hashCode()
void
Unique identifier of the referenced CustomerGroup.void
User-defined unique identifier of the referenced 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.CustomerGroupResourceIdentifier
withCustomerGroupResourceIdentifier
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.common.ResourceIdentifier
withResourceIdentifier
-
Constructor Details
-
CustomerGroupResourceIdentifierImpl
public CustomerGroupResourceIdentifierImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource. If given, it must match the expected ReferenceTypeId of the referenced resource.
- Specified by:
getTypeId
in interfaceResourceIdentifier
- Returns:
- typeId
-
getId
Unique identifier of the referenced CustomerGroup. Either
id
orkey
is required.- Specified by:
getId
in interfaceCustomerGroupResourceIdentifier
- Specified by:
getId
in interfaceIdentifiable<CustomerGroup>
- Specified by:
getId
in interfaceResourceIdentifier
- Returns:
- id
-
getKey
User-defined unique identifier of the referenced CustomerGroup. Either
id
orkey
is required.- Specified by:
getKey
in interfaceCustomerGroupResourceIdentifier
- Specified by:
getKey
in interfaceResourceIdentifier
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
setId
Description copied from interface:CustomerGroupResourceIdentifier
Unique identifier of the referenced CustomerGroup. Either
id
orkey
is required.- Specified by:
setId
in interfaceCustomerGroupResourceIdentifier
- Specified by:
setId
in interfaceResourceIdentifier
- Parameters:
id
- value to be set
-
setKey
Description copied from interface:CustomerGroupResourceIdentifier
User-defined unique identifier of the referenced CustomerGroup. Either
id
orkey
is required.- Specified by:
setKey
in interfaceCustomerGroupResourceIdentifier
- Specified by:
setKey
in interfaceResourceIdentifier
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode()
-