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