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
)
<ObsoleteAttribute("Use override of CalculateTotalAmounts without IAtomiaBillingApi parameter.")>
Public Shared Function CalculateTotalAmounts (
api As IAtomiaBillingApi,
order As Order
) As Order
public:
[ObsoleteAttribute(L"Use override of CalculateTotalAmounts without IAtomiaBillingApi parameter.")]
static Order^ CalculateTotalAmounts(
IAtomiaBillingApi^ api,
Order^ order
)
[<ObsoleteAttribute("Use override of CalculateTotalAmounts without IAtomiaBillingApi parameter.")>]
static member CalculateTotalAmounts :
api : IAtomiaBillingApi *
order : 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:
OrderUpdated order object.
See Also