io.sphere.sdk.projects.CartScoreDraftBuilder Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.projects;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.Builder;
import javax.annotation.Generated;
/**
* Builder for {@link CartScoreDraft}.
*/
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.DraftBuilderGenerator",
comments = "Generated from: io.sphere.sdk.projects.CartScoreDraft"
)
public final class CartScoreDraftBuilder extends Base implements Builder {
CartScoreDraftBuilder() {
}
/**
* Creates a new instance of {@code CartScoreDraftDsl} with the values of this builder.
*
* @return the instance
*/
public CartScoreDraftDsl build() {
return new CartScoreDraftDsl();
}
/**
* Creates a new object initialized with the given values.
*
* @return new object initialized with the given values
*/
public static CartScoreDraftBuilder of() {
return new CartScoreDraftBuilder();
}
/**
* Creates a new object initialized with the fields of the template parameter.
*
* @param template the template
* @return a new object initialized from the template
*/
public static CartScoreDraftBuilder of(final CartScoreDraft template) {
return new CartScoreDraftBuilder();
}
}