Overview
  • Namespace
  • Class

Namespaces

  • Mypos
    • IPC

Classes

  • Mypos\IPC\Base
  • Mypos\IPC\Card
  • Mypos\IPC\CardStore
  • Mypos\IPC\Cart
  • Mypos\IPC\Config
  • Mypos\IPC\Customer
  • Mypos\IPC\Defines
  • Mypos\IPC\GetTxnStatus
  • Mypos\IPC\Helper
  • Mypos\IPC\IAPurchase
  • Mypos\IPC\IAStoreCard
  • Mypos\IPC\IAStoredCardUpdate
  • Mypos\IPC\IPCGetTxnLog
  • Mypos\IPC\Loader
  • Mypos\IPC\MandateManagement
  • Mypos\IPC\Purchase
  • Mypos\IPC\Refund
  • Mypos\IPC\RequestMoney
  • Mypos\IPC\Response
  • Mypos\IPC\Reversal

Exceptions

  • Mypos\IPC\IPC_Exception
 1 <?php
 2 
 3 namespace Mypos\IPC;
 4 
 5 /**
 6  * Container for SDK constants
 7  */
 8 class Defines{
 9 
10     const COMMUNICATION_FORMAT_XML = 'xml';
11     const COMMUNICATION_FORMAT_JSON = 'json';
12     const COMMUNICATION_FORMAT_POST = 'post';
13     const SIGNATURE_ALGO = OPENSSL_ALGO_SHA256;
14     const AVL_CURRENCIES = 'EUR;USD;GBP;HRK;CHF;RON;JPY;BGN';
15     const STATUS_SUCCESS = 0;
16     const STATUS_MISSING_REQ_PARAMS = 1;
17     const STATUS_SIGNATURE_FAILED = 2;
18     const STATUS_IPC_ERROR = 3;
19     const STATUS_INVALID_SID = 4;
20     const STATUS_INVALID_PARAMS = 5;
21     const STATUS_INVALID_REFERER = 6;
22     const STATUS_PAYMENT_TRIES = 7;
23     const STATUS_TRANSACTION_AUTH_FAIL = 8;
24     const STATUS_WRONG_AMOUNT = 9;
25     const STATUS_UNSUPPORTED_CALL = 10;
26     const STATUS_INACTIVE_MANDATE_REFERENCE = 11;
27     const STATUS_INVALID_MANDATE_REFERENCE = 12;
28     const STATUS_NOT_SUFFICIENT_FUNDS = 13;
29     const STATUS_TRANSACTION_NOT_PERMITTED = 14;
30     const STATUS_EXCEEDED_LIMIT = 15;
31     const STATUS_MANDATE_ALREADY_REGISTERED = 16;
32     const STATUS_INACTIVE_ACOUNTIDENTIFIER = 17;
33     const STATUS_INVALID_ACOUNTIDENTIFIER = 18;
34     const STATUS_EXEEDED_ACCOUNT_LIMITS = 19;
35     const STATUS_DUPLICATE_TRANSMISSION = 20;
36     const STATUS_TRANSACTION_DECLINED = 21;
37     const STATUS_UNDEFINED_ERROR = 99;
38 
39     const ENCRYPT_PADDING = OPENSSL_PKCS1_PADDING;
40     const SOURCE_PARAM = 'SDK_PHP_1.3';
41 
42     private function __construct() {}
43 }
44 
API documentation generated by ApiGen