All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.states.commands.StateCreateCommandImpl Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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