1 <?php
2 /**
3 * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
4 */
5 namespace Team3\PayU\Configuration\Credentials;
6
7 use Team3\PayU\SignatureCalculator\Encoder\Algorithms\AlgorithmInterface;
8
9 /**
10 * Encapsulates credentials, signature calculating algorithm {@link AlgorithmInterface}
11 * and encryption protocol.
12 *
13 * Interface CredentialsInterface
14 * @package Team3\PayU\Configuration\Credentials
15 */
16 interface CredentialsInterface
17 {
18 /**
19 * @return string
20 */
21 public function getMerchantPosId();
22
23 /**
24 * @return string
25 */
26 public function getPrivateKey();
27
28 /**
29 * @return AlgorithmInterface
30 */
31 public function getSignatureAlgorithm();
32
33 /**
34 * @return string
35 */
36 public function getEncryptionProtocols();
37 }
38