Class PayOnlineUtils

java.lang.Object
ru.bitel.bgbilling.modules.payonline.server.PayOnlineUtils
All Implemented Interfaces:
java.lang.AutoCloseable

public class PayOnlineUtils
extends java.lang.Object
implements java.lang.AutoCloseable
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int ORDER_TYPE_REBILL  
    static int ORDER_TYPE_USUAL  
  • Constructor Summary

    Constructors
    Constructor Description
    PayOnlineUtils​(java.sql.Connection con, int mid)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    void pay​(Transaction transaction, int orderType)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PayOnlineUtils

      public PayOnlineUtils​(java.sql.Connection con, int mid) throws ru.bitel.bgbilling.common.BGMessageException
      Throws:
      ru.bitel.bgbilling.common.BGMessageException
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
    • pay

      public void pay​(Transaction transaction, int orderType) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
      Throws:
      ru.bitel.bgbilling.common.BGException
      java.sql.SQLException