Click or drag to resize

OrderHelperCalculateTotalAmounts Method (IAtomiaBillingApi, Order)

Note: This API is now obsolete.

Calculates total amounts for passed order.

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
[ObsoleteAttribute("Use override of CalculateTotalAmounts without IAtomiaBillingApi parameter.")]
public static Order CalculateTotalAmounts(
	IAtomiaBillingApi api,
	Order order
)

Parameters

api
Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
IAtomiaBillingApi instance.
order
Type: Atomia.Billing.Core.Sdk.BusinessObjectsOrder
Order object where lines are initialized with taxes, discount and price.

Return Value

Type: Order
Updated order object.
See Also