sends a first PayPal Api call

This commit is contained in:
Paul Schneider 2017-05-12 16:29:47 +02:00
commit b3d5233d90
13 changed files with 2302 additions and 44 deletions

View file

@ -0,0 +1,12 @@
using System.Collections.Generic;
using System.Linq;
using YavscLib.Billing;
namespace Yavsc.Helpers
{
public static class BillingHelpers
{
public static decimal Addition(this List<IBillItem> items) => items.Aggregate<IBillItem, decimal>(0m, (t, l) => t + l.Count * l.UnitaryCost);
}
}