Class CustomerGroupReferenceImpl
java.lang.Object
com.commercetools.api.models.customer_group.CustomerGroupReferenceImpl
- All Implemented Interfaces:
Reference
,ReferenceMixin
,CustomerGroupReference
,Identifiable<CustomerGroup>
,io.vrap.rmf.base.client.ModelBase
public class CustomerGroupReferenceImpl
extends Object
implements CustomerGroupReference, io.vrap.rmf.base.client.ModelBase
Reference 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.CustomerGroupReference
CUSTOMER_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the referenced CustomerGroup.getObj()
Contains the representation of the expanded CustomerGroup.Type of referenced resource.int
hashCode()
void
Unique identifier of the referenced CustomerGroup.void
setObj
(CustomerGroup obj) Contains the representation of the expanded 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.CustomerGroupReference
withCustomerGroupReference
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.common.Reference
withReference
Methods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Constructor Details
-
CustomerGroupReferenceImpl
public CustomerGroupReferenceImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeId
in interfaceReference
- Specified by:
getTypeId
in interfaceReferenceMixin
- Returns:
- typeId
-
getId
Unique identifier of the referenced CustomerGroup.
- Specified by:
getId
in interfaceCustomerGroupReference
- Specified by:
getId
in interfaceIdentifiable<CustomerGroup>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Returns:
- id
-
getObj
Contains the representation of the expanded CustomerGroup. Only present in responses to requests with Reference Expansion for CustomerGroups.
- Specified by:
getObj
in interfaceCustomerGroupReference
- Returns:
- obj
-
setId
Description copied from interface:CustomerGroupReference
Unique identifier of the referenced CustomerGroup.
- Specified by:
setId
in interfaceCustomerGroupReference
- Specified by:
setId
in interfaceReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:CustomerGroupReference
Contains the representation of the expanded CustomerGroup. Only present in responses to requests with Reference Expansion for CustomerGroups.
- Specified by:
setObj
in interfaceCustomerGroupReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
public int hashCode()
-