public interface EasyInvoiceService extends Service
BuiltInChannel.EASY_INVOICE channel
For searching and retrieve information about a payment use the PaymentService.PaymentService| Modifier and Type | Method and Description |
|---|---|
SerializableInputStream |
barcode(@NotNull EasyInvoiceBarcodeParams params)
Generates a QR-Code image for the given
PerformPaymentDTO |
EasyInvoiceData |
getEasyInvoiceData(PerformPaymentDTO params)
Returns data for an easy invoice after logging in.
|
PaymentVO |
perform(@NotNull PerformPaymentDTO parameters)
Same as
PaymentService.perform(PerformPaymentDTO) but through the BuiltInChannel.EASY_INVOICE
channel |
PrepareEasyInvoiceData |
prepareEasyInvoice(PrepareEasyInvoiceParams params)
Returns data for displaying details of an easy invoice while still as guest.
|
PaymentPreviewVO |
preview(@NotNull PerformPaymentDTO parameters)
Previews a payment to be performed
|
void |
validate(@NotNull PerformPaymentDTO parameters)
Validates the parameters to perform a payment without actually performing the payment.
|
SerializableInputStream barcode(@NotNull @NotNull EasyInvoiceBarcodeParams params) throws FrameworkException
PerformPaymentDTOFrameworkExceptionEasyInvoiceData getEasyInvoiceData(PerformPaymentDTO params) throws FrameworkException
PerformPaymentDTO#TO user is required.
The amount either is not specified or a currency must be resolved, in the same way as
prepareEasyInvoice(PrepareEasyInvoiceParams)
The resulting data will contain the resolved read-only custom field values.
The resulting PerformPaymentTypeData will contain the custom fields for the missing values.FrameworkExceptionPaymentVO perform(@NotNull @NotNull PerformPaymentDTO parameters) throws TransferException, FrameworkException
PaymentService.perform(PerformPaymentDTO) but through the BuiltInChannel.EASY_INVOICE
channelTransferExceptionFrameworkExceptionPrepareEasyInvoiceData prepareEasyInvoice(PrepareEasyInvoiceParams params) throws FrameworkException, RemoteAddressBlockedException
PerformPaymentDTO#TO user is required.
If an amount is specified, it is required that a single currency is resolved. This can be either because:
EntityNotFoundException will be thrown.PaymentPreviewVO preview(@NotNull @NotNull PerformPaymentDTO parameters) throws FrameworkException
FrameworkExceptionvoid validate(@NotNull
@NotNull PerformPaymentDTO parameters)
throws FrameworkException
FrameworkException