public abstract class BTCPayServer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ENDPOINT_INVOICE |
protected static java.lang.String |
ENDPOINT_TOKENS |
protected static java.util.logging.Logger |
log |
| Constructor and Description |
|---|
BTCPayServer() |
| Modifier and Type | Method and Description |
|---|---|
Invoice |
fetchInvoice(java.lang.String invoiceId) |
protected Token |
fetchToken(BTCPayServerFacade facade) |
protected abstract java.lang.String |
getBaseURL() |
protected abstract java.lang.String |
getBTCPayServerClientName() |
protected abstract AsymmetricKeyManager |
getKeyManager() |
protected abstract java.lang.String |
getPairingCode() |
protected Token |
getToken(BTCPayServerFacade facade) |
Invoice |
registerInvoice(Invoice invoice) |
protected static final java.lang.String ENDPOINT_INVOICE
protected static final java.lang.String ENDPOINT_TOKENS
protected static java.util.logging.Logger log
public Invoice registerInvoice(Invoice invoice) throws java.io.IOException, InternalErrorException
java.io.IOExceptionInternalErrorExceptionpublic Invoice fetchInvoice(java.lang.String invoiceId) throws java.io.IOException, InternalErrorException
java.io.IOExceptionInternalErrorExceptionprotected Token getToken(BTCPayServerFacade facade) throws java.io.IOException, InternalErrorException
java.io.IOExceptionInternalErrorExceptionprotected Token fetchToken(BTCPayServerFacade facade) throws java.io.IOException, InternalErrorException
java.io.IOExceptionInternalErrorExceptionprotected abstract java.lang.String getBTCPayServerClientName()
protected abstract java.lang.String getPairingCode()
protected abstract java.lang.String getBaseURL()
protected abstract AsymmetricKeyManager getKeyManager()