btcpayserver/BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs

59 lines
972 B
C#
Raw Normal View History

using Microsoft.AspNetCore.Mvc.Rendering;
using System;
2017-09-13 15:47:34 +09:00
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;
}
[Url]
public string NotificationUrl
{
get; set;
}
public SelectList Stores
{
get;
set;
}
}
2017-09-13 15:47:34 +09:00
}