io.sphere.sdk.shippingmethods.commands.ShippingMethodDeleteCommandImpl Maven / Gradle / Ivy
The newest version!
/*
This class has been generated by class io.sphere.sdk.annotations.processors.DeleteCommandEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasDeleteCommand.
in the source class io.sphere.sdk.shippingmethods.ShippingMethod.
To render this class the handlebars template 'commands/deleteCommandImplementation.hbs' has been used.
*/
package io.sphere.sdk.shippingmethods.commands;
import io.sphere.sdk.commands.MetaModelByIdDeleteCommandBuilder;
import io.sphere.sdk.commands.MetaModelByIdDeleteCommandImpl;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel;
import io.sphere.sdk.client.JsonEndpoint;
final class ShippingMethodDeleteCommandImpl extends MetaModelByIdDeleteCommandImpl> implements ShippingMethodDeleteCommand {
ShippingMethodDeleteCommandImpl(final Versioned versioned,final boolean eraseData) {
super(versioned,eraseData, JsonEndpoint.of(ShippingMethod.typeReference(), "/shipping-methods"), ShippingMethodExpansionModel.of(), ShippingMethodDeleteCommandImpl::new);
}
ShippingMethodDeleteCommandImpl(final MetaModelByIdDeleteCommandBuilder> builder) {
super(builder);
}
}