| Modifier and Type | Method and Description |
|---|---|
TicketVO |
accept(AcceptTicketDTO params)
Accepts a ticked only if status is
TicketStatus.OPEN, as a payer, generating a new direct payment. |
SerializableInputStream |
barcode(TicketBarcodeParams params)
Generates a two-dimensional barcode (aka QR code) only if status is
TicketStatus.OPEN containing a URL of
the form: .../pay/ticket_id (e.g
https://www.cyclos.org/pay/1234567890123456789). |
void |
cancel(TicketVO ticket)
Cancels the ticket only if status is
TicketStatus.OPEN and the logged user is the ticket's receiver
or a manger of him. |
TicketVO |
create(CreateTicketDTO params)
Creates a new ticket with status
TicketStatus.OPEN for the logged user (i.e setting it as the receiver). |
CreateTicketData |
getCreateData(UserLocatorVO payer)
Returns data used to crate a new ticket, optionally with a fixed payer.
|
TicketData |
getData(TicketVO vo)
Returns data to view the ticket's details.
|
EasyInvoiceData |
getEasyInvoiceData(PerformPaymentDTO params)
Returns data for an easy invoice after logging in.
|
TicketPaymentTypeData |
getTicketPaymentTypeData(TransferTypeVO transferType)
Returns the data for a specific payment type used to create a new ticket
|
PrepareEasyInvoiceData |
prepareEasyInvoice(PrepareEasyInvoiceParams params)
Returns data for displaying details of an easy invoice while still as guest.
|
AcceptTicketPreviewVO |
previewAccept(TicketVO ticket)
Previews the payment which would be performed when accepting the given ticket as the payer.
|
Page<TicketEntryVO> |
search(TicketQuery query)
Searches for tickets according to the given query.
|
TicketVO accept(@NotNull AcceptTicketDTO params) throws FrameworkException, TransferException
TicketStatus.OPEN, as a payer, generating a new direct payment.
The returned ticket will contains a reference to the generated payment.FrameworkExceptionTransferExceptionSerializableInputStream barcode(@NotNull TicketBarcodeParams params) throws FrameworkException
TicketStatus.OPEN containing a URL of
the form: .../pay/ticket_id (e.g
https://www.cyclos.org/pay/1234567890123456789).FrameworkExceptionvoid cancel(@NotNull
TicketVO ticket)
throws FrameworkException
TicketStatus.OPEN and the logged user is the ticket's receiver
or a manger of him.FrameworkExceptionTicketVO create(@NotNull CreateTicketDTO params) throws FrameworkException
TicketStatus.OPEN for the logged user (i.e setting it as the receiver).FrameworkExceptionCreateTicketData getCreateData(UserLocatorVO payer) throws FrameworkException
FrameworkExceptionTicketData getData(@NotNull TicketVO vo) throws FrameworkException
FrameworkExceptionEasyInvoiceData getEasyInvoiceData(PerformPaymentDTO params) throws FrameworkException
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.FrameworkExceptionTicketPaymentTypeData getTicketPaymentTypeData(@NotNull TransferTypeVO transferType) throws FrameworkException
FrameworkExceptionPrepareEasyInvoiceData prepareEasyInvoice(PrepareEasyInvoiceParams params) throws FrameworkException, RemoteAddressBlockedException
EntityNotFoundException will be thrown.AcceptTicketPreviewVO previewAccept(@NotNull TicketVO ticket) throws FrameworkException
FrameworkExceptionPage<TicketEntryVO> search(@NotNull TicketQuery query) throws FrameworkException
FrameworkException