Class DefaultPaymentProcessor
Processes IPayment.
Inheritance
System.Object
DefaultPaymentProcessor
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: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public class DefaultPaymentProcessor : IPaymentProcessor
Constructors
DefaultPaymentProcessor()
Initializes a new instance of the DefaultPaymentProcessor class.
Declaration
public DefaultPaymentProcessor()
DefaultPaymentProcessor(ILogger)
Initializes a new instance of the DefaultPaymentProcessor class.
Declaration
[Obsolete("Use constructor without ILogger instead. Will remain at least until December 2018")]
public DefaultPaymentProcessor(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Logging.ILogger | logger | The _logger. |
Methods
ProcessPayment(IOrderGroup, IPayment, IShipment)
Processes the payment.
Declaration
public virtual PaymentProcessingResult ProcessPayment(IOrderGroup orderGroup, IPayment payment, IShipment shipment)
Parameters
Type | Name | Description |
---|---|---|
IOrderGroup | orderGroup | The order group. |
IPayment | payment | The payment. |
IShipment | shipment | The shipment. |
Returns
Type | Description |
---|---|
PaymentProcessingResult |