Class OrderReferenceImpl
java.lang.Object
com.commercetools.api.models.order.OrderReferenceImpl
- All Implemented Interfaces:
Reference
,ReferenceMixin
,Identifiable<Order>
,OrderReference
,io.vrap.rmf.base.client.ModelBase
public class OrderReferenceImpl
extends Object
implements OrderReference, io.vrap.rmf.base.client.ModelBase
Reference to an Order.
-
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.order.OrderReference
ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the referenced Order.getObj()
Contains the representation of the expanded Order.Type of referenced resource.int
hashCode()
void
Unique identifier of the referenced Order.void
Contains the representation of the expanded Order.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderReference
withOrderReference
Methods inherited from interface com.commercetools.api.models.common.Reference
withReference
Methods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Constructor Details
-
OrderReferenceImpl
public OrderReferenceImpl()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 Order.
- Specified by:
getId
in interfaceIdentifiable<Order>
- Specified by:
getId
in interfaceOrderReference
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Returns:
- id
-
getObj
Contains the representation of the expanded Order. Only present in responses to requests with Reference Expansion for Orders.
- Specified by:
getObj
in interfaceOrderReference
- Returns:
- obj
-
setId
Description copied from interface:OrderReference
Unique identifier of the referenced Order.
- Specified by:
setId
in interfaceOrderReference
- Specified by:
setId
in interfaceReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:OrderReference
Contains the representation of the expanded Order. Only present in responses to requests with Reference Expansion for Orders.
- Specified by:
setObj
in interfaceOrderReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
public int hashCode()
-