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

io.sphere.sdk.projects.CartValueDraftBuilder Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show 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 CartValueDraft}.
 */
@Generated(
    value = "io.sphere.sdk.annotations.processors.generators.DraftBuilderGenerator",
    comments = "Generated from: io.sphere.sdk.projects.CartValueDraft"
)
public final class CartValueDraftBuilder extends Base implements Builder {
  CartValueDraftBuilder() {
  }

  /**
   * Creates a new instance of {@code CartValueDraftDsl} with the values of this builder.
   *
   * @return the instance
   */
  public CartValueDraftDsl build() {
    return new CartValueDraftDsl();
  }

  /**
   * Creates a new object initialized with the given values.
   *
   * @return new object initialized with the given values
   */
  public static CartValueDraftBuilder of() {
    return new CartValueDraftBuilder();
  }

  /**
   * 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 CartValueDraftBuilder of(final CartValueDraft template) {
    return new CartValueDraftBuilder();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy