mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
44 lines
557 B
C#
44 lines
557 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Models.InvoicingModels
|
|
{
|
|
public class CreateInvoiceModel
|
|
{
|
|
[Required]
|
|
public double? Amount
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[Required]
|
|
public string StoreId
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string OrderId
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string ItemDesc
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string PosData
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[EmailAddress]
|
|
public string BuyerEmail
|
|
{
|
|
get; set;
|
|
}
|
|
}
|
|
}
|