io.sphere.sdk.subscriptions.ResourceCreatedPayload Maven / Gradle / Ivy
package io.sphere.sdk.subscriptions;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.annotations.ResourceValue;
/**
* This payload will be sent for a ChangeSubscription if a resource was created.
*
* @param the resource type
*/
@JsonDeserialize(as = ResourceCreatedPayloadImpl.class)
@ResourceValue
public interface ResourceCreatedPayload extends Payload {
/**
* The version of the resource after it was created.
*
* @return the resource version after creation
*/
Long getVersion();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy