Beispiel #1
0
 public Task <LoyaltyCard> GetLoyaltyCard(string cardNumber)
 {
     return(Task.Run(() => LoyaltyManager.Create(CommerceRuntimeManager.Runtime).GetLoyaltyCardStatus(cardNumber)));
 }
Beispiel #2
0
 public Task <PagedResult <LoyaltyCard> > GetCustomerLoyaltyCards(string accountNumber, QueryResultSettings queryResultSettings)
 {
     return(Task.Run(() => LoyaltyManager.Create(CommerceRuntimeManager.Runtime).GetCustomerLoyaltyCards(accountNumber, queryResultSettings)));
 }
Beispiel #3
0
 public Task <LoyaltyCard> IssueLoyaltyCard(LoyaltyCard loyaltyCard)
 {
     return(Task.Run(() => LoyaltyManager.Create(CommerceRuntimeManager.Runtime).IssueLoyaltyCard(loyaltyCard.CardNumber, loyaltyCard.CustomerAccount, loyaltyCard.CardTenderType)));
 }