Package com.commercetools.api.models
Interface Versioned<T>
- All Superinterfaces:
Identifiable<T>
- All Known Subinterfaces:
ApprovalFlowApprovedMessage
,ApprovalFlowCompletedMessage
,ApprovalFlowCreatedMessage
,ApprovalFlowRejectedMessage
,ApprovalRuleApproversSetMessage
,ApprovalRuleCreatedMessage
,ApprovalRuleDescriptionSetMessage
,ApprovalRuleKeySetMessage
,ApprovalRuleNameSetMessage
,ApprovalRulePredicateSetMessage
,ApprovalRuleRequestersSetMessage
,ApprovalRuleStatusSetMessage
,AssociateRoleBuyerAssignableChangedMessage
,AssociateRoleCreatedMessage
,AssociateRoleDeletedMessage
,AssociateRoleNameChangedMessage
,AssociateRolePermissionAddedMessage
,AssociateRolePermissionRemovedMessage
,AssociateRolePermissionsSetMessage
,AttributeGroup
,BusinessUnitAddressAddedMessage
,BusinessUnitAddressChangedMessage
,BusinessUnitAddressCustomFieldAddedMessage
,BusinessUnitAddressCustomFieldChangedMessage
,BusinessUnitAddressCustomFieldRemovedMessage
,BusinessUnitAddressCustomTypeRemovedMessage
,BusinessUnitAddressCustomTypeSetMessage
,BusinessUnitAddressRemovedMessage
,BusinessUnitApprovalRuleModeChangedMessage
,BusinessUnitAssociateAddedMessage
,BusinessUnitAssociateChangedMessage
,BusinessUnitAssociateModeChangedMessage
,BusinessUnitAssociateRemovedMessage
,BusinessUnitAssociatesSetMessage
,BusinessUnitBillingAddressAddedMessage
,BusinessUnitBillingAddressRemovedMessage
,BusinessUnitContactEmailSetMessage
,BusinessUnitCreatedMessage
,BusinessUnitCustomFieldAddedMessage
,BusinessUnitCustomFieldChangedMessage
,BusinessUnitCustomFieldRemovedMessage
,BusinessUnitCustomTypeRemovedMessage
,BusinessUnitCustomTypeSetMessage
,BusinessUnitDefaultBillingAddressSetMessage
,BusinessUnitDefaultShippingAddressSetMessage
,BusinessUnitDeletedMessage
,BusinessUnitNameChangedMessage
,BusinessUnitParentChangedMessage
,BusinessUnitShippingAddressAddedMessage
,BusinessUnitShippingAddressRemovedMessage
,BusinessUnitStatusChangedMessage
,BusinessUnitStoreAddedMessage
,BusinessUnitStoreModeChangedMessage
,BusinessUnitStoreRemovedMessage
,BusinessUnitStoresSetMessage
,Cart
,CartDiscount
,CartDiscountCreatedMessage
,CartDiscountDeletedMessage
,CartDiscountStoreAddedMessage
,CartDiscountStoreRemovedMessage
,CartDiscountStoresSetMessage
,Category
,CategoryCreatedMessage
,CategorySlugChangedMessage
,Channel
,Customer
,CustomerAddressAddedMessage
,CustomerAddressChangedMessage
,CustomerAddressCustomFieldAddedMessage
,CustomerAddressCustomFieldChangedMessage
,CustomerAddressCustomFieldRemovedMessage
,CustomerAddressCustomTypeRemovedMessage
,CustomerAddressCustomTypeSetMessage
,CustomerAddressRemovedMessage
,CustomerCompanyNameSetMessage
,CustomerCreatedMessage
,CustomerCustomFieldAddedMessage
,CustomerCustomFieldChangedMessage
,CustomerCustomFieldRemovedMessage
,CustomerCustomTypeRemovedMessage
,CustomerCustomTypeSetMessage
,CustomerDateOfBirthSetMessage
,CustomerDeletedMessage
,CustomerEmailChangedMessage
,CustomerEmailTokenCreatedMessage
,CustomerEmailVerifiedMessage
,CustomerFirstNameSetMessage
,CustomerGroup
,CustomerGroupCustomFieldAddedMessage
,CustomerGroupCustomFieldChangedMessage
,CustomerGroupCustomFieldRemovedMessage
,CustomerGroupCustomTypeRemovedMessage
,CustomerGroupCustomTypeSetMessage
,CustomerGroupSetMessage
,CustomerLastNameSetMessage
,CustomerPasswordTokenCreatedMessage
,CustomerPasswordUpdatedMessage
,CustomerTitleSetMessage
,CustomLineItemStateTransitionMessage
,CustomObject
,DeliveryAddedMessage
,DeliveryAddressSetMessage
,DeliveryCustomFieldAddedMessage
,DeliveryCustomFieldChangedMessage
,DeliveryCustomFieldRemovedMessage
,DeliveryCustomTypeRemovedMessage
,DeliveryCustomTypeSetMessage
,DeliveryItemsUpdatedMessage
,DeliveryRemovedMessage
,DiscountCode
,DiscountCodeCreatedMessage
,DiscountCodeDeletedMessage
,DiscountCodeKeySetMessage
,DomainResource<T>
,Extension
,GenericCustomObject<TValue>
,InventoryEntry
,InventoryEntryCreatedMessage
,InventoryEntryDeletedMessage
,InventoryEntryQuantitySetMessage
,LineItemStateTransitionMessage
,Message
,MyPayment
,Order
,OrderBillingAddressSetMessage
,OrderCreatedMessage
,OrderCustomerEmailSetMessage
,OrderCustomerGroupSetMessage
,OrderCustomerSetMessage
,OrderCustomFieldAddedMessage
,OrderCustomFieldChangedMessage
,OrderCustomFieldRemovedMessage
,OrderCustomLineItemAddedMessage
,OrderCustomLineItemDiscountSetMessage
,OrderCustomLineItemQuantityChangedMessage
,OrderCustomLineItemRemovedMessage
,OrderCustomTypeRemovedMessage
,OrderCustomTypeSetMessage
,OrderDeletedMessage
,OrderDiscountCodeAddedMessage
,OrderDiscountCodeRemovedMessage
,OrderDiscountCodeStateSetMessage
,OrderEdit
,OrderEditAppliedMessage
,OrderImportedMessage
,OrderLineItemAddedMessage
,OrderLineItemDiscountSetMessage
,OrderLineItemDistributionChannelSetMessage
,OrderLineItemRemovedMessage
,OrderMessage
,OrderPaymentAddedMessage
,OrderPaymentStateChangedMessage
,OrderPurchaseOrderNumberSetMessage
,OrderReturnShipmentStateChangedMessage
,OrderShipmentStateChangedMessage
,OrderShippingAddressSetMessage
,OrderShippingInfoSetMessage
,OrderShippingRateInputSetMessage
,OrderStateChangedMessage
,OrderStateTransitionMessage
,OrderStoreSetMessage
,ParcelAddedToDeliveryMessage
,ParcelItemsUpdatedMessage
,ParcelMeasurementsUpdatedMessage
,ParcelRemovedFromDeliveryMessage
,ParcelTrackingDataUpdatedMessage
,Payment
,PaymentCreatedMessage
,PaymentInteractionAddedMessage
,PaymentStatusInterfaceCodeSetMessage
,PaymentStatusStateTransitionMessage
,PaymentTransactionAddedMessage
,PaymentTransactionStateChangedMessage
,Product
,ProductAddedToCategoryMessage
,ProductCreatedMessage
,ProductDeletedMessage
,ProductDiscount
,ProductImageAddedMessage
,ProductPriceAddedMessage
,ProductPriceChangedMessage
,ProductPriceCustomFieldAddedMessage
,ProductPriceCustomFieldChangedMessage
,ProductPriceCustomFieldRemovedMessage
,ProductPriceCustomFieldsRemovedMessage
,ProductPriceCustomFieldsSetMessage
,ProductPriceDiscountsSetMessage
,ProductPriceExternalDiscountSetMessage
,ProductPriceKeySetMessage
,ProductPriceModeSetMessage
,ProductPriceRemovedMessage
,ProductPricesSetMessage
,ProductProjection
,ProductPublishedMessage
,ProductRemovedFromCategoryMessage
,ProductRevertedStagedChangesMessage
,ProductSelection
,ProductSelectionCreatedMessage
,ProductSelectionDeletedMessage
,ProductSelectionProductAddedMessage
,ProductSelectionProductExcludedMessage
,ProductSelectionProductRemovedMessage
,ProductSelectionVariantExclusionChangedMessage
,ProductSelectionVariantSelectionChangedMessage
,ProductSlugChangedMessage
,ProductStateTransitionMessage
,ProductTailoringCreatedMessage
,ProductTailoringDeletedMessage
,ProductTailoringDescriptionSetMessage
,ProductTailoringImageAddedMessage
,ProductTailoringImagesSetMessage
,ProductTailoringNameSetMessage
,ProductTailoringPublishedMessage
,ProductTailoringSlugSetMessage
,ProductTailoringUnpublishedMessage
,ProductType
,ProductUnpublishedMessage
,ProductVariantAddedMessage
,ProductVariantDeletedMessage
,ProductVariantTailoringAddedMessage
,ProductVariantTailoringRemovedMessage
,Quote
,QuoteCreatedMessage
,QuoteCustomerChangedMessage
,QuoteDeletedMessage
,QuoteRenegotiationRequestedMessage
,QuoteRequestCreatedMessage
,QuoteRequestCustomerChangedMessage
,QuoteRequestDeletedMessage
,QuoteRequestStateChangedMessage
,QuoteRequestStateTransitionMessage
,QuoteStateChangedMessage
,QuoteStateTransitionMessage
,ReturnInfoAddedMessage
,ReturnInfoSetMessage
,Review
,ReviewCreatedMessage
,ReviewRatingSetMessage
,ReviewStateTransitionMessage
,ShippingMethod
,ShoppingList
,StagedOrder
,StagedQuoteCreatedMessage
,StagedQuoteDeletedMessage
,StagedQuoteSellerCommentSetMessage
,StagedQuoteStateChangedMessage
,StagedQuoteStateTransitionMessage
,StagedQuoteValidToSetMessage
,StandalonePrice
,StandalonePriceActiveChangedMessage
,StandalonePriceCreatedMessage
,StandalonePriceDeletedMessage
,StandalonePriceDiscountSetMessage
,StandalonePriceExternalDiscountSetMessage
,StandalonePriceKeySetMessage
,StandalonePriceStagedChangesAppliedMessage
,StandalonePriceStagedChangesRemovedMessage
,StandalonePriceTierAddedMessage
,StandalonePriceTierRemovedMessage
,StandalonePriceTiersSetMessage
,StandalonePriceValidFromAndUntilSetMessage
,StandalonePriceValidFromSetMessage
,StandalonePriceValidUntilSetMessage
,StandalonePriceValueChangedMessage
,State
,Store
,StoreCountriesChangedMessage
,StoreCreatedMessage
,StoreDeletedMessage
,StoreDistributionChannelsChangedMessage
,StoreLanguagesChangedMessage
,StoreNameSetMessage
,StoreProductSelectionsChangedMessage
,StoreSupplyChannelsChangedMessage
,Subscription
,TaxCategory
,Type
,Zone
-
Method Summary
-
Method Details
-
getId
String getId()Description copied from interface:Identifiable
The unique ID of this object.- Specified by:
getId
in interfaceIdentifiable<T>
- Returns:
- ID
-
getVersion
Long getVersion() -
of
Creates a versioned that only contains the id and the version.- Type Parameters:
T
- The type which has an ID and version.- Parameters:
versioned
- the template object to use its ID and version- Returns:
- versioned
-
of
-