mirror of
https://github.com/NecroticBamboo/QRBee.git
synced 2025-12-21 12:11:53 +00:00
39 lines
627 B
C#
39 lines
627 B
C#
namespace QRBee.Core.Data
|
|
{
|
|
public record MerchantToClientRequest
|
|
{
|
|
public string TransactionId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public decimal Amount
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public DateTime TimeStampUTC
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string MerchantSignature
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string AsString() => $"{TransactionId}|{Name}|{Amount:0.00}|{TimeStampUTC:O}";
|
|
|
|
}
|
|
}
|