11 public class PendingPaymentItem(
EDaler.PendingPayment PendingPayment, string FriendlyName) : IUniqueItem
14 private readonly
string friendlyName = FriendlyName;
19 public Guid Id => this.pendingPayment.
Id;
22 public string UniqueName => this.Id.ToString();
27 public DateTime Expires => this.pendingPayment.Expires;
32 public string ExpiresStr =>
ServiceRef.
Localizer[nameof(AppResources.ExpiresAt), this.Expires.ToShortDateString()];
37 public string Currency => this.pendingPayment.Currency.Value;
42 public decimal Amount => this.pendingPayment.Amount;
47 public string From => this.pendingPayment.From;
52 public string To => this.pendingPayment.To;
57 public string Uri => this.pendingPayment.Uri;
62 public string FriendlyName => this.friendlyName;
Contains information about a pending payment.
Base class that references services in the app.
static IStringLocalizer Localizer
Localization service