Click or drag to resize

IPaymentRulePluginGetRuleResult Method

Applies the payment rule and gets the payment rule result.

Namespace:  Atomia.Billing.Core.Sdk.Plugins
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
PaymentRuleResult GetRuleResult(
	Invoice invoice,
	Payment payment,
	Dictionary<string, string> additionalData
)

Parameters

invoice
Type: Atomia.Billing.Core.Sdk.BusinessObjectsInvoice
The invoice for which this payment is created. Can be null.
payment
Type: Atomia.Billing.Core.Sdk.BusinessObjectsPayment
The payment object.
additionalData
Type: System.Collections.GenericDictionaryString, String
The additional data (which can be interpreted by some rule).

Return Value

Type: PaymentRuleResult
Payment rule result.
See Also