2018-04-03 11:50:41 +09:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BTCPayServer.Models.AppViewModels
|
|
|
|
|
{
|
|
|
|
|
public class ViewPointOfSaleViewModel
|
|
|
|
|
{
|
|
|
|
|
public class Item
|
|
|
|
|
{
|
|
|
|
|
public class ItemPrice
|
|
|
|
|
{
|
|
|
|
|
public string Formatted { get; set; }
|
|
|
|
|
public decimal Value { get; set; }
|
|
|
|
|
}
|
2018-11-10 14:38:26 +08:00
|
|
|
|
public string Description { get; set; }
|
2018-04-03 11:50:41 +09:00
|
|
|
|
public string Id { get; set; }
|
2018-11-10 14:38:26 +08:00
|
|
|
|
public string Image { get; set; }
|
2018-04-03 11:50:41 +09:00
|
|
|
|
public ItemPrice Price { get; set; }
|
|
|
|
|
public string Title { get; set; }
|
2018-11-15 21:31:38 -06:00
|
|
|
|
public bool Custom { get; set; }
|
2018-04-03 11:50:41 +09:00
|
|
|
|
}
|
2018-11-15 21:31:38 -06:00
|
|
|
|
|
2018-04-26 22:09:18 +09:00
|
|
|
|
public bool ShowCustomAmount { get; set; }
|
|
|
|
|
public string Step { get; set; }
|
2018-04-03 11:50:41 +09:00
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public Item[] Items { get; set; }
|
2018-11-15 21:31:38 -06:00
|
|
|
|
public string CurrencySymbol { get; set; }
|
2018-11-16 20:39:43 -06:00
|
|
|
|
|
|
|
|
|
public string ButtonText { get; set; }
|
|
|
|
|
public string CustomButtonText { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CustomCSSLink { get; set; }
|
2018-04-03 11:50:41 +09:00
|
|
|
|
}
|
|
|
|
|
}
|