Class QuoteReferenceImpl

java.lang.Object
com.commercetools.api.models.quote.QuoteReferenceImpl
All Implemented Interfaces:
Reference, ReferenceMixin, Identifiable<Quote>, QuoteReference, io.vrap.rmf.base.client.ModelBase

public class QuoteReferenceImpl extends Object implements QuoteReference, io.vrap.rmf.base.client.ModelBase

Reference to a Quote.

  • 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.quote.QuoteReference

    QUOTE
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Unique ID of the referenced resource.
    Contains the representation of the expanded Quote.
    Type of referenced resource.
    int
     
    void
    Unique ID of the referenced resource.
    void
    Contains the representation of the expanded Quote.

    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.quote.QuoteReference

    withQuoteReference

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

    withReference

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

    toResourceIdentifier
  • Constructor Details

    • QuoteReferenceImpl

      public QuoteReferenceImpl()
      create empty instance
  • Method Details

    • getTypeId

      public ReferenceTypeId getTypeId()

      Type of referenced resource.

      Specified by:
      getTypeId in interface Reference
      Specified by:
      getTypeId in interface ReferenceMixin
      Returns:
      typeId
    • getId

      public String getId()

      Unique ID of the referenced resource.

      Specified by:
      getId in interface Identifiable<Quote>
      Specified by:
      getId in interface Reference
      Specified by:
      getId in interface ReferenceMixin
      Returns:
      id
    • getObj

      public Quote getObj()

      Contains the representation of the expanded Quote. Only present in responses to requests with Reference Expansion for Quote.

      Specified by:
      getObj in interface QuoteReference
      Returns:
      obj
    • setId

      public void setId(String id)
      Description copied from interface: Reference

      Unique ID of the referenced resource.

      Specified by:
      setId in interface Reference
      Parameters:
      id - value to be set
    • setObj

      public void setObj(Quote obj)
      Description copied from interface: QuoteReference

      Contains the representation of the expanded Quote. Only present in responses to requests with Reference Expansion for Quote.

      Specified by:
      setObj in interface QuoteReference
      Parameters:
      obj - value to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object