Class OrderGroupCouponManager

Inheritance
System.Object
OrderGroupCouponManager
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 OrderGroupCouponManager

Methods

GetActiveCouponCodes(IOrderGroup)

Gets active coupon codes of an IOrderGroup;

Declaration
public static IEnumerable<string> GetActiveCouponCodes(IOrderGroup orderGroup)
Parameters
Type Name Description
IOrderGroup orderGroup

The order group.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

The collection of active coupon codes.

GetActiveCouponCodesFromOrderGroup(OrderGroup)

Declaration
[Obsolete("This method is no longer used, use GetActiveCouponCodes(IOrderGroup) instead. Will remain at least until January 2018.")]
public static IEnumerable<string> GetActiveCouponCodesFromOrderGroup(OrderGroup orderGroup)
Parameters
Type Name Description
OrderGroup orderGroup
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>