making pay, & refactoring

This commit is contained in:
Paul Schneider 2017-05-05 23:37:07 +02:00
commit 3e6ac9aba7
34 changed files with 602 additions and 215 deletions

View file

@ -0,0 +1,26 @@
namespace Yavsc.ViewModels.PayPal
{
public class Amount
{
public string total { get; set; }
public string currency { get; set; } = "EUR";
public class Details
{
public string subtotal { get; set; }
public string shipping { get; set; }
public string tax { get; set; }
public string shipping_discount { get; set; }
}
public Details details;
public class ItemList
{
public Item[] items;
public string description { get; set; }
public string invoice_number { get; set; }
public string custom { get; set; }
}
}
}