This commit is contained in:
2017-05-12 12:15:57 +02:00
parent a8437733ae
commit db02e965dc
44 changed files with 2799 additions and 351 deletions

View File

@ -1,26 +0,0 @@
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; }
}
}
}

View File

@ -1,14 +0,0 @@
namespace Yavsc.ViewModels.PayPal
{
public class Item
{
public string quantity { get; set; }
public string name { get; set; }
public string price { get; set; }
public string currency { get; set; } = "EUR";
public string description { get; set; }
public string tax { get; set; } = "1";
}
}

View File

@ -0,0 +1,11 @@
using PayPal.Api;
using Yavsc.Models.Payment;
namespace Yavsc.ViewModels.PayPal
{
public class PaymentInfo
{
public PaypalPayment DbContent { get; set; }
public Payment FromPaypal { get; set; }
}
}