OrderHelperFillOrderTaxes Method |
Fills order lines with appropriate taxes (objects) depending on order line item.
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static Order FillOrderTaxes(
IAtomiaBillingApi api,
Order order
)
Public Shared Function FillOrderTaxes (
api As IAtomiaBillingApi,
order As Order
) As Order
public:
static Order^ FillOrderTaxes(
IAtomiaBillingApi^ api,
Order^ order
)
static member FillOrderTaxes :
api : IAtomiaBillingApi *
order : Order -> Order
Parameters
- api
- Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
IAtomiaBillingApi instance. - order
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsOrder
Parameter must have following properties initialized: ResellerId, CustomerId, CusomerCountry, CustomerLegalNumber, OrderLines, OrderLine.ItemId, OrderLine.ItemId
Return Value
Type:
OrderUpdated order with taxes.
Remarks Method retrieves item for each order line and creates list of taxes for it.
See Also