You are here: Ektron Namespace > .NET Assemblies > eCommerce > Classes > BasketApi Class > BasketApi Methods > CalculateBasket Method > CalculateBasket
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
BasketApi.CalculateBasket Method (Basket, AddressData)

Runs calculations on the cart and returns BasketCalculator object. This method is used for calculating cart subtotals, shipping, taxes, coupons, etc.

C#
public BasketCalculator CalculateBasket(Basket basket, AddressData shippingAddress);
Visual Basic
Public Function CalculateBasket(basket As Basket, shippingAddress As AddressData) As BasketCalculator
Parameters 
Description 
basket 
Cart to calculate. 
shippingAddress 
Shipping Address to use to calculate taxes and shipping. This Address is not saved with the basket and is only used for the returned calculations. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!