Class PaymentStatusManager

Inheritance
System.Object
PaymentStatusManager
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.Orders.Managers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public static class PaymentStatusManager

Methods

FailPayment(Payment)

Fails the payment.

Declaration
public static Payment FailPayment(Payment payment)
Parameters
Type Name Description
Payment payment

The payment.

Returns
Type Description
Payment

GetPaymentStatus(IPayment)

Gets the payment status.

Declaration
public static PaymentStatus GetPaymentStatus(IPayment payment)
Parameters
Type Name Description
IPayment payment

The payment.

Returns
Type Description
PaymentStatus

GetPaymentStatus(Payment)

Gets the payment status.

Declaration
public static PaymentStatus GetPaymentStatus(Payment payment)
Parameters
Type Name Description
Payment payment

The payment.

Returns
Type Description
PaymentStatus

IsPaymentProcessable(Payment)

Determines whether is payment processable for the specified payment.

Declaration
public static bool IsPaymentProcessable(Payment payment)
Parameters
Type Name Description
Payment payment

The payment.

Returns
Type Description
System.Boolean
Exceptions
Type Condition
System.ArgumentNullException

payment

ProcessPayment(IPayment)

Processes the payment.

Declaration
public static IPayment ProcessPayment(IPayment payment)
Parameters
Type Name Description
IPayment payment

The payment.

Returns
Type Description
IPayment

The IPayment.

ProcessPayment(Payment)

Processes the payment.

Declaration
public static Payment ProcessPayment(Payment payment)
Parameters
Type Name Description
Payment payment

The payment.

Returns
Type Description
Payment