Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Ecommerce Namespaces
CMS.Ecommerce
IShoppingService Interface
IShoppingService Methods
AddCouponCode Method
AddItemToCart Method
CalculateShippingOptionPrice Method
CreateOrder Method
GetBillingAddress Method
GetCurrentCustomer Method
GetCurrentShoppingCart Method
GetPaymentOption Method
GetShippingAddress Method
GetShippingOption Method
RemoveAllItemsFromCart Method
RemoveCouponCode Method
RemoveItemFromCart Method
SaveCart Method
SetBillingAddress Method
SetCustomer Method
SetPaymentOption Method
SetShippingAddress Method
SetShippingOption Method
UpdateItemQuantity Method
IShoppingService
SetCustomer Method
Sets the given
customer
to the current shopping cart and persists changes in the database.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
Copy
void
SetCustomer
(
CustomerInfo
customer
)
Parameters
customer
Type:
CMS.Ecommerce
CustomerInfo
Exceptions
Exception
Condition
ArgumentNullException
Thrown when
customer
is null.
See Also
Reference
IShoppingService Interface
CMS.Ecommerce Namespace
IShoppingService
GetCurrentCustomer
CustomerHelper
MapToCustomer(UserInfo)
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com