SaaS CMS has officially launched! Learn more now.

Class IPaymentPlanExtensions

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.

Extension methods for IPaymentPlan

Inheritance
System.Object
IPaymentPlanExtensions
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: 11.8.3
Syntax
public static class IPaymentPlanExtensions

Methods

CanBeCancelled(IPaymentPlan)

Determines whether an IPaymentPlan can be cancelled.

Declaration
public static bool CanBeCancelled(this IPaymentPlan paymentPlan)
Parameters
Type Name Description
IPaymentPlan paymentPlan

The payment plan.

Returns
Type Description
System.Boolean

true if payment plan can be cancelled; otherwise, false.

IsPaid(IPaymentPlan)

Determines whether an IPaymentPlan is paid.

Declaration
public static bool IsPaid(this IPaymentPlan paymentPlan)
Parameters
Type Name Description
IPaymentPlan paymentPlan

The payment plan.

Returns
Type Description
System.Boolean

true if payment plan is paid; otherwise, false.

IsPaid(IPaymentPlan, IOrderGroupCalculator)

Determines whether an IPaymentPlan is paid.

Declaration
public static bool IsPaid(this IPaymentPlan paymentPlan, IOrderGroupCalculator orderGroupCalculator)
Parameters
Type Name Description
IPaymentPlan paymentPlan

The payment plan.

IOrderGroupCalculator orderGroupCalculator

The order group calculator.

Returns
Type Description
System.Boolean

true if payment plan is paid; otherwise, false.