Interface Versioned

All Known Implementing Classes:
ApprovalFlow, ApprovalRule, AssociateRole, AttributeGroup, BusinessUnit, Cart, CartDiscount, Category, Channel, CommercetoolsSubscription, Customer, CustomerEmailToken, CustomerGroup, CustomerPasswordToken, CustomObject, DiscountCode, Extension, InventoryEntry, Message, Order, OrderEdit, Payment, Product, ProductDiscount, ProductSelection, ProductTypeDefinition, Quote, QuoteRequest, Review, ShippingMethod, ShoppingList, StagedQuote, StandalonePrice, State, Store, TaxCategory, TypeDefinition, Zone

public interface Versioned
Versioned object have an ID and version and modification. Every update of this object changes it's version.
  • Method Details

    • getId

      String getId()
    • setId

      void setId(String id)
    • getVersion

      Long getVersion()
    • setVersion

      void setVersion(Long version)
    • getCreatedAt

      OffsetDateTime getCreatedAt()
    • setCreatedAt

      void setCreatedAt(OffsetDateTime createdAt)
    • getLastModifiedAt

      OffsetDateTime getLastModifiedAt()
    • setLastModifiedAt

      void setLastModifiedAt(OffsetDateTime lastModifiedAt)
    • getCreatedBy

      Initiator getCreatedBy()
    • setCreatedBy

      void setCreatedBy(Initiator createdBy)
    • getLastModifiedBy

      Initiator getLastModifiedBy()
    • setLastModifiedBy

      void setLastModifiedBy(Initiator lastModifiedBy)