示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="policyId"></param>
 /// <returns></returns>
 public async Task <BillingAccountDetail> RetrieveBillingAccountDetailByPolicyId(int policyId)
 {
     return(await BillingAccountManager.RetrieveBillingAccountDetailForPolicyId(policyId));
 }
示例#2
0
 /// <summary>
 /// Stores the credit card information at the provider and generates a tokenNumber.
 /// </summary>
 /// <param name="creditCard"></param>
 /// <param name="expirationDate"></param>
 /// <returns></returns>
 public async Task <IEnumerable <AccountSummary> > RetrieveBillingAccountsByPolicyId(int policyId)
 {
     return(await BillingAccountManager.RetrieveBillingAccountsForPolicyId(policyId));
 }