コード例 #1
0
		public static AccountRequest GetRequestObject(AccountInfo acct)
		{
			return new AccountRequest {
				SubscriberID = acct.SubscriberID,
				ParticipantID = acct.ParticipantID,
				PlanSeqNr = acct.PlanSeqNr,
				SponsorID = acct.SponsorID,
				ContextID = acct.ContextID
			};
		}
コード例 #2
0
 //Change Pin hardening Request
 public static PasswordIndRequest GetStrongPasswordIndObject(AccountInfo acct ,string deviceId){
     return new PasswordIndRequest
     {
         SponsorID = acct.SponsorID,
         PlanSeqnr = acct.PlanSeqNr,
         SubscriberID = acct.SubscriberID,
         ParticipantID = acct.ParticipantID,
         ContextID = acct.ContextID,
         SessionID = deviceId ,
      };
   }
コード例 #3
0
 //Change Username Request 
 public static ChangeUsernameRequest GetChangeUsernameRequestObject(AccountInfo acct,string deviceId, string newUsername, string confirmNewUsername)
 {
     return new ChangeUsernameRequest
     {
         SponsorID = acct.SponsorID,
         PlanSeqNr = acct.PlanSeqNr,
         SubscriberID = acct.SubscriberID,
         ParticipantID = acct.ParticipantID,
         ContextID = acct.ContextID,
         SessionID = deviceId,
         NewUsername = newUsername,
         ConfirmNewUsername = confirmNewUsername
     };
 }
コード例 #4
0
		public static FundDetailRequest GetFundDetailRequestObject(AccountInfo acct, AccountFund fund)
		{
			return new FundDetailRequest
			{
				ParticipantID = acct.ParticipantID,
				SubscriberID = acct.SubscriberID,
				SponsorID = acct.SponsorID,
				PlanSeqNr = acct.PlanSeqNr,
				FundSeqNr = fund.fundSeqnr,
				InvProviderId = fund.invProviderId,
				InvContractType = acct.ContractTypeCode,
				ContextID = acct.ContextID
			};
		}
コード例 #5
0
 //Change Password Request 
 public static ChangePasswordRequest GetChangePasswordRequestObject(AccountInfo acct,string deviceId,string currentPassword, string newPassword, string confirmNewPassword)
 {
     return new ChangePasswordRequest
     {
         SponsorID = acct.SponsorID,
         PlanSeqnr = acct.PlanSeqNr,
         SubscriberID = acct.SubscriberID,
         ParticipantID = acct.ParticipantID,
         ContextID = acct.ContextID,
         SessionID = deviceId ,
         CurrentPassword = currentPassword,
         NewPassword = newPassword,
         ConfirmNewPassword = confirmNewPassword
     };
 }
コード例 #6
0
		public void LoadAccount(AccountInfo account)
		{
			AccountActivity.StartAnimating ();
			AccountLoadingLabel.AdjustsFontSizeToFitWidth = true;
			AccountLoadingLabel.Text = "Loading " + account.AccountName;

			AppCache.Instance.ClearCacheItem (AppCache.AppCacheKey.DASHBOARD);
			AppCache.Instance.ClearCacheItem (AppCache.AppCacheKey.BALANCES);
			AppCache.Instance.SetCacheItem(AppCache.AppCacheKey.CURRENTACCOUNT, account);

			appDelegate.Window.RootViewController = Storyboard.InstantiateInitialViewController () as RSTabViewController;
		}