Class SyncInfoImpl

java.lang.Object
com.commercetools.history.models.common.SyncInfoImpl
All Implemented Interfaces:
SyncInfo, io.vrap.rmf.base.client.ModelBase

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

    • SyncInfoImpl

      public SyncInfoImpl()
      create empty instance
  • Method Details

    • getChannel

      public Reference getChannel()
      Specified by:
      getChannel in interface SyncInfo
      Returns:
      channel
    • getExternalId

      public String getExternalId()

      Can be used to reference an external order instance, file etc.

      Specified by:
      getExternalId in interface SyncInfo
      Returns:
      externalId
    • getSyncedAt

      public String getSyncedAt()
      Specified by:
      getSyncedAt in interface SyncInfo
      Returns:
      syncedAt
    • setChannel

      public void setChannel(Reference channel)
      Description copied from interface: SyncInfo
      set channel
      Specified by:
      setChannel in interface SyncInfo
      Parameters:
      channel - value to be set
    • setExternalId

      public void setExternalId(String externalId)
      Description copied from interface: SyncInfo

      Can be used to reference an external order instance, file etc.

      Specified by:
      setExternalId in interface SyncInfo
      Parameters:
      externalId - value to be set
    • setSyncedAt

      public void setSyncedAt(String syncedAt)
      Description copied from interface: SyncInfo
      set syncedAt
      Specified by:
      setSyncedAt in interface SyncInfo
      Parameters:
      syncedAt - 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