Interface SignatureDelegate

All Known Subinterfaces:
PaymentDelegate, TerminalDelegate

public interface SignatureDelegate
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface used to allow the callback delegate to signal to the mAPI that the signature has been successfully obtained, allowing the OPI flow to continue.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    askCustomerIdentification(eu.ccvlab.mapi.core.Callback callback)
    Triggers the implementor to ask the customer for identification.
    default void
    askCustomerSignature(eu.ccvlab.mapi.core.Callback callback)
    Triggers the implementor to ask the customer for his signature.
    default void
    Called after printing the merchant ticket if a signature is required but was NOT drawn on the screen during drawCustomerSignature(), giving the customer the chance to put his signature on the paper ticket.
    default void
    askMerchantSignature(eu.ccvlab.mapi.core.Callback callback)
    Triggers the implementor to ask the merchant for his signature.
  • Method Details

    • askCustomerIdentification

      default void askCustomerIdentification(eu.ccvlab.mapi.core.Callback callback)
      Triggers the implementor to ask the customer for identification. Upon completion of the identification process, the callback must be called. This way, the StateMachine is triggered to continue. Providing the callback simplifies the implementors job by facilitating the asynchronous nature of the callback.
      Parameters:
      callback - implementors will call the callback once identification has been achieved by the user.
    • askCustomerSignature

      default void askCustomerSignature(eu.ccvlab.mapi.core.Callback callback)
      Triggers the implementor to ask the customer for his signature. Upon completion of the signature, the callback must be called. This way, the StateMachine is triggered to continue. Providing the callback simplifies the implementors job by facilitating the asynchronous nature of the callback.
      Parameters:
      callback - implementors will call the callback once signature has been obtained.
    • askMerchantSignature

      default void askMerchantSignature(eu.ccvlab.mapi.core.Callback callback)
      Triggers the implementor to ask the merchant for his signature. Upon completion of the signature, the callback must be called. This way, the StateMachine is triggered to continue. Providing the callback simplifies the implementors job by facilitating the asynchronous nature of the callback.
      Parameters:
      callback - implementors will call the callback once signature has been obtained.
    • askCustomerSignature

      default void askCustomerSignature(SignatureDelegate.SignatureAsked signatureAsked)
      Called after printing the merchant ticket if a signature is required but was NOT drawn on the screen during drawCustomerSignature(), giving the customer the chance to put his signature on the paper ticket.
      Parameters:
      signatureAsked - A callback which will inform the mapi when an signature is asked