Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PendingPaymentItem.cs
3
5{
11 public class PendingPaymentItem(EDaler.PendingPayment PendingPayment, string FriendlyName) : IUniqueItem
12 {
13 private readonly EDaler.PendingPayment pendingPayment = PendingPayment;
14 private readonly string friendlyName = FriendlyName;
15
19 public Guid Id => this.pendingPayment.Id;
20
22 public string UniqueName => this.Id.ToString();
23
27 public DateTime Expires => this.pendingPayment.Expires;
28
32 public string ExpiresStr => ServiceRef.Localizer[nameof(AppResources.ExpiresAt), this.Expires.ToShortDateString()];
33
37 public string Currency => this.pendingPayment.Currency.Value;
38
42 public decimal Amount => this.pendingPayment.Amount;
43
47 public string From => this.pendingPayment.From;
48
52 public string To => this.pendingPayment.To;
53
57 public string Uri => this.pendingPayment.Uri;
58
62 public string FriendlyName => this.friendlyName;
63
64 }
65}
Contains information about a pending payment.
Guid Id
ID of payment
Base class that references services in the app.
Definition: ServiceRef.cs:31
static IStringLocalizer Localizer
Localization service
Definition: ServiceRef.cs:235