billing
This commit is contained in:
@ -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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user