Class SetSkuChangeImpl

java.lang.Object
com.commercetools.history.models.change.SetSkuChangeImpl
All Implemented Interfaces:
Change, SetSkuChange, io.vrap.rmf.base.client.ModelBase

public class SetSkuChangeImpl extends Object implements SetSkuChange, io.vrap.rmf.base.client.ModelBase

Change triggered by the Set SKU update action.

  • 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.history.models.change.SetSkuChange

    SET_SKU_CHANGE
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    staged, if the staged ProductCatalogData was updated. current, if the current ProductCatalogData was updated.
    Type of change on a resource that is similar to the update action it relates to, where possible.
    Value after the change.
    Value before the change.
    Unique discriminator value to reliably deserialize the data type.
    int
     
    void
    setCatalogData(String catalogData)
    staged, if the staged ProductCatalogData was updated. current, if the current ProductCatalogData was updated.
    void
    setChange(String change)
    set change
    void
    setNextValue(String nextValue)
    Value after the change.
    void
    setPreviousValue(String previousValue)
    Value before the change.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.commercetools.history.models.change.Change

    withChange

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.history.models.change.SetSkuChange

    withSetSkuChange
  • Constructor Details

    • SetSkuChangeImpl

      public SetSkuChangeImpl()
      create empty instance
  • Method Details

    • getType

      public String getType()
      Description copied from interface: Change

      Unique discriminator value to reliably deserialize the data type.

      Specified by:
      getType in interface Change
      Specified by:
      getType in interface SetSkuChange
      Returns:
      type
    • getChange

      public String getChange()
      Description copied from interface: Change

      Type of change on a resource that is similar to the update action it relates to, where possible. It is not a unique identifier for the data structure, for example, the setDescription change can occur with a localized and non-localized representation.

      Records can be filtered by this value using the changes query parameter.

      Specified by:
      getChange in interface Change
      Specified by:
      getChange in interface SetSkuChange
      Returns:
      change
    • getPreviousValue

      public String getPreviousValue()

      Value before the change.

      Specified by:
      getPreviousValue in interface SetSkuChange
      Returns:
      previousValue
    • getNextValue

      public String getNextValue()

      Value after the change.

      Specified by:
      getNextValue in interface SetSkuChange
      Returns:
      nextValue
    • getCatalogData

      public String getCatalogData()
      • staged, if the staged ProductCatalogData was updated.
      • current, if the current ProductCatalogData was updated.
      Specified by:
      getCatalogData in interface SetSkuChange
      Returns:
      catalogData
    • setChange

      public void setChange(String change)
      Description copied from interface: SetSkuChange
      set change
      Specified by:
      setChange in interface Change
      Specified by:
      setChange in interface SetSkuChange
      Parameters:
      change - value to be set
    • setPreviousValue

      public void setPreviousValue(String previousValue)
      Description copied from interface: SetSkuChange

      Value before the change.

      Specified by:
      setPreviousValue in interface SetSkuChange
      Parameters:
      previousValue - value to be set
    • setNextValue

      public void setNextValue(String nextValue)
      Description copied from interface: SetSkuChange

      Value after the change.

      Specified by:
      setNextValue in interface SetSkuChange
      Parameters:
      nextValue - value to be set
    • setCatalogData

      public void setCatalogData(String catalogData)
      Description copied from interface: SetSkuChange
      • staged, if the staged ProductCatalogData was updated.
      • current, if the current ProductCatalogData was updated.
      Specified by:
      setCatalogData in interface SetSkuChange
      Parameters:
      catalogData - 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