Click or drag to resize

IAtomiaBillingApiCreateCustomer Method

Creates the customer.

Namespace:  Atomia.Billing.Core.Sdk
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
Guid CreateCustomer(
	Account account,
	Login login,
	string password,
	string[] roles,
	AccountAddress mainAccountAddress,
	AccountAddress billingAccountAddress,
	AccountAddress shippingAccountAddress,
	AccountDetails accountDetails,
	string orderNumber
)

Parameters

account
Type: Account
The account.
login
Type: Login
The login.
password
Type: SystemString
The password.
roles
Type: SystemString
The roles.
mainAccountAddress
Type: AccountAddress
Account's main address.
billingAccountAddress
Type: AccountAddress
Account's billing address.
shippingAccountAddress
Type: AccountAddress
Account's shipping address.
accountDetails
Type: Atomia.Billing.Core.Sdk.BusinessObjectsAccountDetails
The account details.
orderNumber
Type: SystemString
The order number.

Return Value

Type: Guid
Created customer's id.
See Also