Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItem Class / GenerateSubscriptions Method / GenerateSubscriptions(Boolean,IPaymentProvider) Method
Indicates whether to activate the subscription.
The payment provider that is being used to to process the payments
In This Topic
    GenerateSubscriptions(Boolean,IPaymentProvider) Method
    In This Topic
    Generates the subscriptions associated with this order item.
    Syntax
    public virtual List<Subscription> GenerateSubscriptions( 
       bool activate,
       IPaymentProvider provider
    )

    Parameters

    activate
    Indicates whether to activate the subscription.
    provider
    The payment provider that is being used to to process the payments

    Return Value

    An array of subscriptions created for the order
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also