mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
23 lines
657 B
C#
23 lines
657 B
C#
using BTCPayServer.Models.InvoicingModels;
|
|
using BTCPayServer.Services.Invoices;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BTCPayServer.Payments
|
|
{
|
|
public record CheckoutModelContext(
|
|
CheckoutModel Model,
|
|
Data.StoreData Store,
|
|
Data.StoreBlob StoreBlob,
|
|
InvoiceEntity InvoiceEntity,
|
|
IUrlHelper UrlHelper,
|
|
PaymentPrompt Prompt,
|
|
IPaymentMethodHandler Handler);
|
|
public interface ICheckoutModelExtension
|
|
{
|
|
public PaymentMethodId PaymentMethodId { get; }
|
|
string Image { get; }
|
|
string Badge { get; }
|
|
void ModifyCheckoutModel(CheckoutModelContext context);
|
|
}
|
|
}
|