Click or drag to resize

InvoiceHelperCalculateLineTotals Method

[Missing <summary> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

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 void CalculateLineTotals(
	Invoice invoice,
	InvoiceLine line,
	Account resellerAccount,
	AccountDetails resellerDetails,
	bool sendInvoiceToReseller,
	out decimal lineTax1Total,
	out decimal lineTax2Total,
	out decimal lineSubtotal,
	out decimal resellerCommissionTotal
)

Parameters

invoice
Type: Atomia.Billing.Core.Sdk.BusinessObjectsInvoice

[Missing <param name="invoice"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

line
Type: Atomia.Billing.Core.Sdk.BusinessObjectsInvoiceLine

[Missing <param name="line"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

resellerAccount
Type: Account

[Missing <param name="resellerAccount"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

resellerDetails
Type: Atomia.Billing.Core.Sdk.BusinessObjectsAccountDetails

[Missing <param name="resellerDetails"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

sendInvoiceToReseller
Type: SystemBoolean

[Missing <param name="sendInvoiceToReseller"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

lineTax1Total
Type: SystemDecimal

[Missing <param name="lineTax1Total"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

lineTax2Total
Type: SystemDecimal

[Missing <param name="lineTax2Total"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

lineSubtotal
Type: SystemDecimal

[Missing <param name="lineSubtotal"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

resellerCommissionTotal
Type: SystemDecimal

[Missing <param name="resellerCommissionTotal"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.InvoiceHelper.CalculateLineTotals(Atomia.Billing.Core.Sdk.BusinessObjects.Invoice,Atomia.Billing.Core.Sdk.BusinessObjects.InvoiceLine,Atomia.Account.Lib.BusinessObjects.Account,Atomia.Billing.Core.Sdk.BusinessObjects.AccountDetails,System.Boolean,System.Decimal@,System.Decimal@,System.Decimal@,System.Decimal@)"]

See Also