Encapsulates store branding, currency formatting, and view configuration for POS displays. Use when rendering BTCPayServer point-of-sale interfaces.
// Source: https://github.com/btcpayserver/btcpayserver | License: MIT | Copyright 2017-2023 btcpayserver
// Provided via justclaw.it.com; keep this notice with the code.
using System;
using System.Collections.Generic;
using System.Linq;
using BTCPayServer.Client.Models;
using BTCPayServer.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace BTCPayServer.Plugins.PointOfSale.Models
{
public class ViewPointOfSaleViewModel
{
public class CurrencyInfoData
{
public bool Prefixed { get; set; }
public string CurrencySymbol { get; set; }
public string ThousandSeparator { get; set; }
public string DecimalSeparator { get; set; }
public int Divisibility { get; set; }
public bool SymbolSpace { get;
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key