public string getRecurringDetail(string shopperRef)
        {
            var request = new RecurringDetailsRequest { merchantAccount = adyenMerchantAccount, shopperReference = shopperRef };

            var response = recurringService.listRecurringDetails(request);

            var details = from detail in response.details orderby detail.creationDate descending select detail;

            return details.First().recurringDetailReference;
        }
 /// <remarks/>
 public void listRecurringDetailsAsync(RecurringDetailsRequest request, object userState) {
     if ((this.listRecurringDetailsOperationCompleted == null)) {
         this.listRecurringDetailsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnlistRecurringDetailsOperationCompleted);
     }
     this.InvokeAsync("listRecurringDetails", new object[] {
                 request}, this.listRecurringDetailsOperationCompleted, userState);
 }
 /// <remarks/>
 public void listRecurringDetailsAsync(RecurringDetailsRequest request) {
     this.listRecurringDetailsAsync(request, null);
 }