public static bool IsSupported(this PullPaymentData data, BTCPayServer.Payments.PaymentMethodId paymentId) { return(data.GetBlob().SupportedPaymentMethods.Contains(paymentId)); }
public abstract Task <string> IsPaymentMethodAllowedBasedOnInvoiceAmount(StoreBlob storeBlob, Dictionary <CurrencyPair, Task <RateResult> > rate, Money amount, PaymentMethodId paymentMethodId);
public PaymentMethod GetPaymentMethodInInvoice(InvoiceEntity invoice, PaymentMethodId paymentMethodId) { return(invoice.GetPaymentMethod(paymentMethodId)); }
public abstract string GetCryptoImage(PaymentMethodId paymentMethodId);
public abstract string GetPaymentMethodName(PaymentMethodId paymentMethodId);
public PaymentIdFilter(PaymentMethodId paymentMethodId) { _paymentMethodId = paymentMethodId; }
public bool Match(PaymentMethodId paymentMethodId) { return(paymentMethodId == _paymentMethodId); }
public bool Match(PaymentMethodId paymentMethodId) { return(_filters.Any(f => f.Match(paymentMethodId))); }
public bool Match(PaymentMethodId paymentMethodId) { return(false); }
public bool Match(PaymentMethodId paymentMethodId) { return(this.predicate(paymentMethodId)); }
public bool Match(PaymentMethodId paymentMethodId) { return(_a.Match(paymentMethodId) || _b.Match(paymentMethodId)); }
public static IPaymentFilter WhereIs(PaymentMethodId paymentMethodId) { ArgumentNullException.ThrowIfNull(paymentMethodId); return(new PaymentIdFilter(paymentMethodId)); }