Click or drag to resize

IPaymentMethodPlugin Interface

Interface implemented by payment method plugins (CC gateways, bank giro).

Namespace:  Atomia.Billing.Core.Sdk.Plugins
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public interface IPaymentMethodPlugin : IPlugin

The IPaymentMethodPlugin type exposes the following members.

Properties
  NameDescription
Public propertyAtomiaBillingApi
Gets or sets IAtomiaBillingApi instance.
(Inherited from IPlugin.)
Public propertyName
Gets or sets plugin name.
(Inherited from IPlugin.)
Top
Methods
  NameDescription
Public methodBeginTransaction
Begins the transaction on the payment gateway/engine.
Public methodCloseTransaction
Closes the transaction.
Public methodOnAddPaymentProfile
Called when new payment profile, that corresponds to a payment method implemented by this plugin, is added
Public methodOnBeforeAddPaymentProfile
Called before new payment profile is added, that corresponds to a payment method implemented by this plugin, is added
Public methodOnBeforeDeletePaymentProfile
Called before payment profile, that corresponds to a payment method implemented by this plugin, is deleted
Public methodOnBeforeUpdatePaymentProfile
Called before payment profile, that corresponds to a payment method implemented by this plugin, is updated
Public methodOnDeletePaymentProfile
Called when payment profile, that corresponds to a payment method implemented by this plugin, is deleted
Public methodOnUpdatePaymentProfile
Called when payment profile, that corresponds to a payment method implemented by this plugin, is updated
Public methodProbeTransactionStatus
Probes for transaction status. It is called from the outside periodically, to fetch new status of the transaction. Plugin should save this transaction status in the database, too.
Top
See Also