Class OrderResourceIdentifierImpl

java.lang.Object
com.commercetools.api.models.order.OrderResourceIdentifierImpl
All Implemented Interfaces:
ResourceIdentifier, Identifiable<Order>, OrderResourceIdentifier, WithKey, io.vrap.rmf.base.client.ModelBase

@Deprecated public class OrderResourceIdentifierImpl extends Object implements OrderResourceIdentifier, io.vrap.rmf.base.client.ModelBase
Deprecated.
OrderResourceIdentifier
  • 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.OrderResourceIdentifier

    ORDER
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    Deprecated.
    Unique identifier of the referenced resource.
    Deprecated.
    User-defined unique identifier of the referenced resource.
    Deprecated.
    Type of referenced resource.
    int
    Deprecated.
     
    void
    Deprecated.
    Unique identifier of the referenced resource.
    void
    Deprecated.
    User-defined unique identifier of the referenced resource.

    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.OrderResourceIdentifier

    withOrderResourceIdentifier

    Methods inherited from interface com.commercetools.api.models.common.ResourceIdentifier

    withResourceIdentifier
  • Constructor Details

    • OrderResourceIdentifierImpl

      public OrderResourceIdentifierImpl()
      Deprecated.
      create empty instance
  • Method Details

    • getTypeId

      public ReferenceTypeId getTypeId()
      Deprecated.

      Type of referenced resource. If given, it must match the expected ReferenceTypeId of the referenced resource.

      Specified by:
      getTypeId in interface ResourceIdentifier
      Returns:
      typeId
    • getId

      public String getId()
      Deprecated.

      Unique identifier of the referenced resource. Required if key is absent.

      Specified by:
      getId in interface Identifiable<Order>
      Specified by:
      getId in interface ResourceIdentifier
      Returns:
      id
    • getKey

      public String getKey()
      Deprecated.

      User-defined unique identifier of the referenced resource. Required if id is absent.

      Specified by:
      getKey in interface ResourceIdentifier
      Specified by:
      getKey in interface WithKey
      Returns:
      key
    • setId

      public void setId(String id)
      Deprecated.
      Description copied from interface: ResourceIdentifier

      Unique identifier of the referenced resource. Required if key is absent.

      Specified by:
      setId in interface ResourceIdentifier
      Parameters:
      id - value to be set
    • setKey

      public void setKey(String key)
      Deprecated.
      Description copied from interface: ResourceIdentifier

      User-defined unique identifier of the referenced resource. Required if id is absent.

      Specified by:
      setKey in interface ResourceIdentifier
      Parameters:
      key - value to be set
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object