billing
This commit is contained in:
parent
7b9078c6da
commit
42c08797e3
44 changed files with 2798 additions and 350 deletions
|
|
@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -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";
|
||||
|
||||
}
|
||||
}
|
||||
11
Yavsc/ViewModels/PayPal/PaymentInfo.cs
Normal file
11
Yavsc/ViewModels/PayPal/PaymentInfo.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue