io.sphere.sdk.projects.CartValueDraftDsl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.projects;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import javax.annotation.Generated;
/**
* Dsl class for {@link CartValueDraft}.
*/
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator",
comments = "Generated from: io.sphere.sdk.projects.CartValueDraft"
)
public final class CartValueDraftDsl extends Base implements CartValueDraft {
@JsonCreator
CartValueDraftDsl() {
}
/**
* Creates a new builder with the values of this object.
*
* @return new builder
*/
public CartValueDraftBuilder newBuilder() {
return new CartValueDraftBuilder();
}
/**
* Creates a new object initialized with the given values.
*
* @return new object initialized with the given values
*/
public static CartValueDraftDsl of() {
return new CartValueDraftDsl();
}
/**
* 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 CartValueDraftDsl of(final CartValueDraft template) {
return new CartValueDraftDsl();
}
}