Class RequestToBilling

java.lang.Object
ru.bgcrm.plugin.bgbilling.RequestToBilling
All Implemented Interfaces:
Runnable

public class RequestToBilling extends Object implements Runnable
  • Constructor Details

    • RequestToBilling

      public RequestToBilling(TransferData transferData, User user, Request req)
      Constructs a request in synchronous mode, a request to a single billing
      Parameters:
      transferData - the transfer data
      user - the user
      req - the request
    • RequestToBilling

      public RequestToBilling(AtomicInteger taskCount, TransferData transferData, String dbKey, User user, Request req, Map<String,Document> resultDocs)
      Constructs a request in asynchronous mode, simultaneous polling of multiple billings
      Parameters:
      taskCount - the task counter
      transferData - the transfer data
      dbKey - the billing key
      user - the user
      req - the request
      resultDocs - the result document map
  • Method Details

    • getKey

      public String getKey()
    • run

      public void run()
      Specified by:
      run in interface Runnable