Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / Subscription Class
Properties Methods


In This Topic
    Subscription Class Members
    In This Topic

    The following tables list the members exposed by Subscription.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the BasePrice  
    Public Property Gets or sets the BaseTaxCode  
    Public Property Gets or sets the BillToAddress1  
    Public Property Gets or sets the BillToAddress2  
    Public Property Gets or sets the BillToCity  
    Public Property Gets or sets the BillToCompany  
    Public Property Gets the bill to country  
    Public Property Gets or sets the BillToCountryCode  
    Public Property Gets or sets the BillToEmail  
    Public Property Gets or sets the BillToFax  
    Public Property Gets or sets the BillToFirstName  
    Public Property Gets or sets the BillToLastName  
    Public Property Gets or sets the BillToPhone  
    Public Property Gets or sets the BillToPostalCode  
    Public Property Gets or sets the BillToProvince  
    Public Property Gets or sets a value indicating whether the BillToResidence  
    Public Property Gets or sets the ExpirationAlertDate  
    Public Property Gets or sets the ExpirationDate  
    Public Property Gets or sets the ExpiredAlertDate  
    Public Property Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity)
    Public Property Gets or sets the GroupId  
    Public Property Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity)
    Public PropertyOverridden.  Gets or sets the Id for the entity.  
    Public Property Gets or sets a value indicating whether IsActive  
    Public Property Gets or sets a value indicating whether its legacy subscription or not  
    Public Property Gets or sets the LastOrderDueDate  
    Public Property Gets or sets the Name  
    Public Property Gets the next order date for display purpose  
    Public Property Gets or sets the NextOrderDate  
    Public Property Gets or sets the NumberOfPayments  
    Public Property Gets the order date for this subscription.  
    Public Property Gets or sets the OrderItem  
    Public Property Gets or sets the OrderItem for this entity.  
    Public Property Gets or sets the PaymentFrequency  
    Public Property Gets or sets the PaymentFrequencyUnit  
    Public Property Gets or sets the PaymentFrequencyUnitId  
    Public Property Gets or sets the PaymentMethod  
    Public Property Gets or sets the PaymentProcessingType  
    Public Property Gets or sets the PaymentProcessingTypeId  
    Public Property Gets or sets the PaymentProfile  
    Public Property Gets or sets the Payments  
    Public Property Gets or sets the processing status  
    Public Property Gets or sets the ProcessingStatusId  
    Public Property Gets or sets the ProcessingStatusMessage  
    Public Property Gets the product associated with the subscription  
    Public Property Gets the ProductId  
    Public Property Gets or sets the Quantity  
    Public Property Gets or sets the RecurringCharge  
    Public Property Gets the effective recurring charge, calculated based on the recurring charge mode and value  
    Public Property Gets or sets the recurring charge mode for this subscription plan  
    Public Property Gets or sets the RecurringChargeModeId  
    Public Property Gets or sets a value indicating whether RecurringChargeSpecified  
    Public Property Gets or sets the RecurringTaxCode  
    Public Property Gets the effective tax code for the recurring charge  
    Public Property Gets or sets a value indicating whether to repeat discounts in subsequent recurring orders/invoices or not  
    Public Property Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Property Gets or sets the ShipToAddress1  
    Public Property Gets or sets the ShipToAddress2  
    Public Property Gets or sets the ShipToCity  
    Public Property Gets or sets the ShipToCompany  
    Public Property Gets the ship to country  
    Public Property Gets or sets the ShipToCountryCode  
    Public Property Gets or sets the ShipToEmail  
    Public Property Gets or sets the ShipToFax  
    Public Property Gets or sets the ShipToFirstName  
    Public Property Gets or sets the ShipToLastName  
    Public Property Gets or sets the ShipToPhone  
    Public Property Gets or sets the ShipToPostalCode  
    Public Property Gets or sets the ShipToProvince  
    Public Property Gets or sets a value indicating whether the ShipToResidence  
    Public Property Gets or sets the identity of this entity.  
    Public Property Gets or sets the SubscriptionOrders  
    Public Property Gets or sets the SubscriptionPlan  
    Public Property Gets or sets the Transaction  
    Public Property Gets or sets the Transaction for this entity.  
    Public Property Gets or sets the User  
    Public Property Gets or sets the UserGroups  
    Public Property Gets or sets the User for this entity.  
    Top
    Public Methods
     NameDescription
    Public Method Activates this subscription  
    Public Method Deactivates this subscription  
    Public Method Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public MethodOverloaded.  Gets formatted Billing address  
    Public MethodOverloaded.  Gets formatted Shipping address  
    Public Method Gets billing address for subscriptions  
    Public MethodServes as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Gets shipping address for subscriptions  
    Public Method Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method Gets a value indicating whether the subscription is expired or not  
    Public Method Gets a value indicating whether next order for this subscription needs to be generated  
    Public Method Transient objects are not associated with an item already in storage. For instance, a Customer is transient if its Id is 0. It's virtual to allow NHibernate-backed objects to be lazily loaded. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Recalculate expiration date  
    Public Method Recalculates the next order due date for this subscription  
    Public Method Sets shipping address informatoin for subscription  
    Public Method Sets billing address informatoin for subscription  
    Top
    Protected Methods
     NameDescription
    Protected Method Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man! (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Protected Method

    When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.

    Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.

    Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver!

    (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Top
    Extension Methods
     NameDescription
    Public Extension Method Delete the entity from the database
    Public Extension Method Save the entity to the database
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also