Interface ReceiverConfWebService

All Superinterfaces:
WebService
All Known Implementing Classes:
ReceiverConfRetrofitWebService

public interface ReceiverConfWebService extends WebService
Since:
8/5/23
  • Method Details

    • getReceiverConf

      void getReceiverConf(String receiver_id, String secretKey, WebServiceResponseHandler<ReceiverConf> handler)
      Method that will retrieve the receiver config file for the current venue
      Parameters:
      receiver_id - the id to get a specific Receiver Config
      secretKey - the secret key to authenticate and get the Receiver Config
      handler - the handler to manage the status of the request
    • updateReceiver

      void updateReceiver(String token, ReceiverConf receiver, WebServiceResponseHandler<retrofit.client.Response> handler)
      Method that will create or update the receiver config file for the current venue, represented by json structure
      Parameters:
      token - the token to authenticate and post the Receiver Config
      receiver - the receiver object to update or create the Receiver Config in the server
      handler - the handler to manage the request status