Class SyncInfoImpl

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

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

Contains synchronization activity information of the Order (like export or import).

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Connection to a synchronization destination.
    Identifier of an external order instance, file, or other resource.
    Date and time (UTC) the information was synced.
    int
     
    void
    Connection to a synchronization destination.
    void
    setExternalId(String externalId)
    Identifier of an external order instance, file, or other resource.
    void
    Date and time (UTC) the information was synced.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

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

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.api.models.order.SyncInfo

    withSyncInfo
  • Constructor Details

    • SyncInfoImpl

      public SyncInfoImpl()
      create empty instance
  • Method Details

    • getChannel

      public ChannelReference getChannel()

      Connection to a synchronization destination.

      Specified by:
      getChannel in interface SyncInfo
      Returns:
      channel
    • getExternalId

      public String getExternalId()

      Identifier of an external order instance, file, or other resource.

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

      public ZonedDateTime getSyncedAt()

      Date and time (UTC) the information was synced.

      Specified by:
      getSyncedAt in interface SyncInfo
      Returns:
      syncedAt
    • setChannel

      public void setChannel(ChannelReference channel)
      Description copied from interface: SyncInfo

      Connection to a synchronization destination.

      Specified by:
      setChannel in interface SyncInfo
      Parameters:
      channel - value to be set
    • setExternalId

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

      Identifier of an external order instance, file, or other resource.

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

      public void setSyncedAt(ZonedDateTime syncedAt)
      Description copied from interface: SyncInfo

      Date and time (UTC) the information was synced.

      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