mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
24 lines
688 B
C#
24 lines
688 B
C#
using BTCPayServer.Models.InvoicingModels;
|
|
using BTCPayServer.Services.Invoices;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BTCPayServer.Payments
|
|
{
|
|
public record PaymentModelContext(
|
|
PaymentModel Model,
|
|
Data.StoreData Store,
|
|
Data.StoreBlob StoreBlob,
|
|
InvoiceEntity InvoiceEntity,
|
|
IUrlHelper UrlHelper,
|
|
PaymentPrompt Prompt,
|
|
IPaymentMethodHandler Handler);
|
|
public interface IPaymentModelExtension
|
|
{
|
|
public PaymentMethodId PaymentMethodId { get; }
|
|
string DisplayName { get; }
|
|
string Image { get; }
|
|
string Badge { get; }
|
|
void ModifyPaymentModel(PaymentModelContext context);
|
|
}
|
|
}
|