InvoiceHelperCreateInvoice Method (Subscription, Decimal, IAtomiaBillingApi) |
Creates the invoice from the specified subscription and with specified penalty rate.
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 Invoice CreateInvoice(
Subscription subscription,
decimal penaltyRate,
IAtomiaBillingApi atomiaBillingApi
)
Public Shared Function CreateInvoice (
subscription As Subscription,
penaltyRate As Decimal,
atomiaBillingApi As IAtomiaBillingApi
) As Invoice
public:
static Invoice^ CreateInvoice(
Subscription^ subscription,
Decimal penaltyRate,
IAtomiaBillingApi^ atomiaBillingApi
)
static member CreateInvoice :
subscription : Subscription *
penaltyRate : decimal *
atomiaBillingApi : IAtomiaBillingApi -> Invoice
Parameters
- subscription
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsSubscription
The subscription. - penaltyRate
- Type: SystemDecimal
Invoice penalty rate. - atomiaBillingApi
- Type: Atomia.Billing.Core.SdkIAtomiaBillingApi
The Atomia Billing API instance.
Return Value
Type:
InvoiceCreated invoice.
See Also