mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-27 19:04:37 +01:00
* Preserving title with custom amount * Custom button texts for complete localization * Update tests, now checking custom amount description and button text * Support for Custom CSS in POS
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
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; }
|
|
}
|
|
public string Description { get; set; }
|
|
public string Id { get; set; }
|
|
public string Image { get; set; }
|
|
public ItemPrice Price { get; set; }
|
|
public string Title { get; set; }
|
|
public bool Custom { get; set; }
|
|
}
|
|
|
|
public bool ShowCustomAmount { get; set; }
|
|
public string Step { get; set; }
|
|
public string Title { get; set; }
|
|
public Item[] Items { get; set; }
|
|
public string CurrencySymbol { get; set; }
|
|
|
|
public string ButtonText { get; set; }
|
|
public string CustomButtonText { get; set; }
|
|
|
|
public string CustomCSSLink { get; set; }
|
|
}
|
|
}
|