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

io.sphere.sdk.customers.commands.CustomerCreateCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.customers.commands;

import io.sphere.sdk.commands.CreateCommand;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.customers.CustomerDraft;
import io.sphere.sdk.customers.CustomerSignInResult;
import io.sphere.sdk.customers.expansion.CustomerSignInResultExpansionModel;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;

/**
 * Creates/signs up a customer.
 *
 * 

Example for creating a customer without a cart

* {@include.example io.sphere.sdk.customers.commands.CustomerCreateCommandTest#createCustomer()} * *

Example for creating a customer with a cart

* {@include.example io.sphere.sdk.customers.commands.CustomerCreateCommandTest#createCustomerWithCart()} * * @see Customer */ public interface CustomerCreateCommand extends CreateCommand, MetaModelExpansionDsl> { static CustomerCreateCommand of(final CustomerDraft draft) { return new CustomerCreateCommandImpl(draft); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy