io.sphere.sdk.states.commands.StateCreateCommandImpl Maven / Gradle / Ivy
package io.sphere.sdk.states.commands;
import io.sphere.sdk.commands.MetaModelCreateCommandBuilder;
import io.sphere.sdk.commands.MetaModelCreateCommandImpl;
import io.sphere.sdk.states.State;
import io.sphere.sdk.states.StateDraft;
import io.sphere.sdk.states.expansion.StateExpansionModel;
final class StateCreateCommandImpl extends MetaModelCreateCommandImpl> implements StateCreateCommand {
StateCreateCommandImpl(final MetaModelCreateCommandBuilder> builder) {
super(builder);
}
StateCreateCommandImpl(final StateDraft body) {
super(body, StateEndpoint.ENDPOINT, StateExpansionModel.of(), StateCreateCommandImpl::new);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy