Class AbstractPaymentGateway

Base class for payment gateway.

Inheritance
System.Object
AbstractPaymentGateway
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Plugins.Payment
Assembly: Mediachase.Commerce.Plugins.Payment.dll
Version: 10.8.0
Syntax
public abstract class AbstractPaymentGateway : IPaymentGateway

Constructors

AbstractPaymentGateway()

Declaration
protected AbstractPaymentGateway()

Properties

Settings

Returns the configuration data associated with a gateway. Sets the configuration gateway data. This data typically includes information like gateway URL, account info and so on.

Declaration
public virtual IDictionary<string, string> Settings { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

The settings.

Methods

ProcessPayment(Payment, ref String)

Processes the payment. Can be used for both positive and negative transactions.

Declaration
public abstract bool ProcessPayment(Payment payment, ref string message)
Parameters
Type Name Description
Payment payment

The payment.

System.String message

The message.

Returns
Type Description
System.Boolean

True if payment processed successfully, otherwise False

Implements