C# Class EA.Iws.Domain.FinancialGuarantee.FinancialGuarantee

Inheritance: System.Entity
显示文件 Open project: EnvironmentAgency/prsd-iws Class Usage Examples

Public Methods

Method Description
AddStatusChangeRecord ( FinancialGuaranteeStatusChange statusChange ) : void
Complete ( System.DateTime date ) : void
GetDecisionRequiredDate ( IWorkingDayCalculator workingDayCalculator, UKCompetentAuthority competentAuthority ) : DateTime?
Refuse ( System.DateTime decisionDate, string refusalReason ) : void
Release ( System.DateTime releasedDate ) : void

Protected Methods

Method Description
FinancialGuarantee ( ) : System

Private Methods

Method Description
Approve ( ApprovalData approvalData ) : void
CreateStateMachine ( ) : Trigger>.StateMachine
FinancialGuarantee ( System.DateTime receivedDate ) : System
OnApproved ( ApprovalData approvalData ) : void
OnCompleted ( System.DateTime date ) : void
OnRefused ( System.DateTime decisionDate, string refusalReason ) : void
OnReleased ( System.DateTime releasedDate ) : void
OnTransitionAction ( Trigger>.StateMachine transition ) : void
Supersede ( ) : void

Method Details

AddStatusChangeRecord() public method

public AddStatusChangeRecord ( FinancialGuaranteeStatusChange statusChange ) : void
statusChange FinancialGuaranteeStatusChange
return void

Complete() public method

public Complete ( System.DateTime date ) : void
date System.DateTime
return void

FinancialGuarantee() protected method

protected FinancialGuarantee ( ) : System
return System

GetDecisionRequiredDate() public method

public GetDecisionRequiredDate ( IWorkingDayCalculator workingDayCalculator, UKCompetentAuthority competentAuthority ) : DateTime?
workingDayCalculator IWorkingDayCalculator
competentAuthority UKCompetentAuthority
return DateTime?

Refuse() public method

public Refuse ( System.DateTime decisionDate, string refusalReason ) : void
decisionDate System.DateTime
refusalReason string
return void

Release() public method

public Release ( System.DateTime releasedDate ) : void
releasedDate System.DateTime
return void