Class QuoteLabelImpl

java.lang.Object
com.commercetools.history.models.label.QuoteLabelImpl
All Implemented Interfaces:
Label, QuoteLabel, io.vrap.rmf.base.client.ModelBase

public class QuoteLabelImpl extends Object implements QuoteLabel, io.vrap.rmf.base.client.ModelBase
QuoteLabel
  • Constructor Details

    • QuoteLabelImpl

      public QuoteLabelImpl()
      create empty instance
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Label
      Specified by:
      getType in interface QuoteLabel
      Returns:
      type
    • getKey

      public String getKey()

      User-defined unique identifier of the Quote.

      Specified by:
      getKey in interface QuoteLabel
      Returns:
      key
    • getCustomer

      public Reference getCustomer()

      The Buyer who requested the Quote.

      Specified by:
      getCustomer in interface QuoteLabel
      Returns:
      customer
    • getStagedQuote

      public Reference getStagedQuote()

      Staged Quote related to the Quote.

      Specified by:
      getStagedQuote in interface QuoteLabel
      Returns:
      stagedQuote
    • getQuoteRequest

      public Reference getQuoteRequest()

      Quote Request related to the Quote.

      Specified by:
      getQuoteRequest in interface QuoteLabel
      Returns:
      quoteRequest
    • setKey

      public void setKey(String key)
      Description copied from interface: QuoteLabel

      User-defined unique identifier of the Quote.

      Specified by:
      setKey in interface QuoteLabel
      Parameters:
      key - value to be set
    • setCustomer

      public void setCustomer(Reference customer)
      Description copied from interface: QuoteLabel

      The Buyer who requested the Quote.

      Specified by:
      setCustomer in interface QuoteLabel
      Parameters:
      customer - value to be set
    • setStagedQuote

      public void setStagedQuote(Reference stagedQuote)
      Description copied from interface: QuoteLabel

      Staged Quote related to the Quote.

      Specified by:
      setStagedQuote in interface QuoteLabel
      Parameters:
      stagedQuote - value to be set
    • setQuoteRequest

      public void setQuoteRequest(Reference quoteRequest)
      Description copied from interface: QuoteLabel

      Quote Request related to the Quote.

      Specified by:
      setQuoteRequest in interface QuoteLabel
      Parameters:
      quoteRequest - value to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object