private void When(ClaimRequestCreatedPendingVerificationEvent @event)
 {
     _id = new Guid(@event.ClaimRequestId);
     _claimAmount = @event.Amount.Dollars();
     _claimType = @event.ClaimType;
     CurrentClaimState = ClaimRequestStateEnum.PendingSubstantiation;
 }
 private void RaiseClaimRequestCreatedPendingVerificationEvent(SubmitClaimRequest command)
 {
     var pendingEvent = new ClaimRequestCreatedPendingVerificationEvent
         {
             Amount = command.Amount,
             ClaimRequestId = command.ClaimRequestId,
             ClaimType = command.ClaimType,
             DateOfTransaction = command.DateOfTransaction,
             ProviderName = command.ProviderName,
             Reason = "Claim request amount is not recognised as a copay amount. Participant must substantiate this card use",
             Source = command.Source,
             CompanyId = command.CompanyId,
             ParticipantId = command.ParticipantId,
             CorrelationId = Guid.NewGuid(),
         };
     ApplyEvent(pendingEvent, @event => _state.Apply(@event));
 }