C# Class ParkerFox.Core.Entities.Publication.SubscriptionTerm

Show file Open project: KHProjects/KH-Parker-Fox

Public Methods

Method Description
Activate ( ) : void
CreateNew ( SubscriptionPaymentTypes paymentType, TimePeriod period ) : SubscriptionTerm
GetEndDate ( ) : DateTime?
IsActive ( ) : bool
SubscriptionTerm ( ) : System

Protected Methods

Method Description
SubscriptionTerm ( SubscriptionPaymentTypes paymentType, TimePeriod period ) : System

Method Details

Activate() public method

public Activate ( ) : void
return void

CreateNew() public static method

public static CreateNew ( SubscriptionPaymentTypes paymentType, TimePeriod period ) : SubscriptionTerm
paymentType SubscriptionPaymentTypes
period TimePeriod
return SubscriptionTerm

GetEndDate() public method

public GetEndDate ( ) : DateTime?
return DateTime?

IsActive() public method

public IsActive ( ) : bool
return bool

SubscriptionTerm() public method

public SubscriptionTerm ( ) : System
return System

SubscriptionTerm() protected method

protected SubscriptionTerm ( SubscriptionPaymentTypes paymentType, TimePeriod period ) : System
paymentType SubscriptionPaymentTypes
period TimePeriod
return System