Class CartReferenceImpl
java.lang.Object
com.commercetools.api.models.cart.CartReferenceImpl
- All Implemented Interfaces:
CartReference
,Reference
,ReferenceMixin
,Identifiable<Cart>
,io.vrap.rmf.base.client.ModelBase
public class CartReferenceImpl
extends Object
implements CartReference, io.vrap.rmf.base.client.ModelBase
Reference to a Cart.
-
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.cart.CartReference
CART
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartReference
withCartReference
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
-
CartReferenceImpl
public CartReferenceImpl()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 Cart.
- Specified by:
getId
in interfaceCartReference
- Specified by:
getId
in interfaceIdentifiable<Cart>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Returns:
- id
-
getObj
Contains the representation of the expanded Cart. Only present in responses to requests with Reference Expansion for Carts.
- Specified by:
getObj
in interfaceCartReference
- Returns:
- obj
-
setId
Description copied from interface:CartReference
Unique identifier of the referenced Cart.
- Specified by:
setId
in interfaceCartReference
- Specified by:
setId
in interfaceReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:CartReference
Contains the representation of the expanded Cart. Only present in responses to requests with Reference Expansion for Carts.
- Specified by:
setObj
in interfaceCartReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
-