PrepaidCreditHelperCreatePrepaidCreditLine Method (Invoice, Decimal, Account, IAtomiaBillingApi) |
Creates the prepaid credit line for invoice which should be discounted.
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 InvoiceLine CreatePrepaidCreditLine(
Invoice invoice,
decimal paymentAmount,
Account account,
IAtomiaBillingApi atomiaBillingApi
)
Public Shared Function CreatePrepaidCreditLine (
invoice As Invoice,
paymentAmount As Decimal,
account As Account,
atomiaBillingApi As IAtomiaBillingApi
) As InvoiceLine
public:
static InvoiceLine^ CreatePrepaidCreditLine(
Invoice^ invoice,
Decimal paymentAmount,
Account^ account,
IAtomiaBillingApi^ atomiaBillingApi
)
static member CreatePrepaidCreditLine :
invoice : Invoice *
paymentAmount : decimal *
account : Account *
atomiaBillingApi : IAtomiaBillingApi -> InvoiceLine
Parameters
- invoice
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsInvoice
The invoice. - paymentAmount
- Type: SystemDecimal
The payment amount. This allows partial payment to be made. - account
- Type: Account
The account. - atomiaBillingApi
- Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
The atomia billing API.
Return Value
Type:
InvoiceLine
Created invoice line.
See Also