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: 2.16.0
Show newest version
package io.sphere.sdk.customers.commands;

import io.sphere.sdk.commands.DraftBasedCreateCommandDsl;
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.MetaModelReferenceExpansionDsl;

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

Example for creating a customer without a cart

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

Example for creating a customer with a cart

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy