|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Omnipay\FirstAtlanticCommerce; |
|
4
|
|
|
|
|
5
|
|
|
trait ParameterTrait |
|
6
|
|
|
{ |
|
7
|
|
|
/** |
|
|
|
|
|
|
8
|
|
|
* @param string $value Merchant ID. |
|
|
|
|
|
|
9
|
|
|
* |
|
|
|
|
|
|
10
|
|
|
* @return string $value Merchant ID. |
|
|
|
|
|
|
11
|
|
|
*/ |
|
|
|
|
|
|
12
|
|
|
public function setMerchantId($value) |
|
|
|
|
|
|
13
|
|
|
{ |
|
|
|
|
|
|
14
|
|
|
return $this->setParameter('merchantId', $value); |
|
|
|
|
|
|
15
|
|
|
} |
|
|
|
|
|
|
16
|
|
|
|
|
17
|
|
|
/** |
|
|
|
|
|
|
18
|
|
|
* @return string $value Merchant ID. |
|
|
|
|
|
|
19
|
|
|
*/ |
|
|
|
|
|
|
20
|
|
|
public function getMerchantId() |
|
|
|
|
|
|
21
|
|
|
{ |
|
|
|
|
|
|
22
|
|
|
return $this->getParameter('merchantId'); |
|
|
|
|
|
|
23
|
|
|
} |
|
|
|
|
|
|
24
|
|
|
|
|
25
|
|
|
/** |
|
|
|
|
|
|
26
|
|
|
* @param string $value Merchant Password. |
|
|
|
|
|
|
27
|
|
|
* |
|
|
|
|
|
|
28
|
|
|
* @return string $value Merchant Password. |
|
|
|
|
|
|
29
|
|
|
*/ |
|
|
|
|
|
|
30
|
|
|
public function setMerchantPassword($value) |
|
|
|
|
|
|
31
|
|
|
{ |
|
|
|
|
|
|
32
|
|
|
return $this->setParameter('merchantPassword', $value); |
|
|
|
|
|
|
33
|
|
|
} |
|
|
|
|
|
|
34
|
|
|
|
|
35
|
|
|
/** |
|
|
|
|
|
|
36
|
|
|
* @return string $value Merchant Password. |
|
|
|
|
|
|
37
|
|
|
*/ |
|
|
|
|
|
|
38
|
|
|
public function getMerchantPassword() |
|
|
|
|
|
|
39
|
|
|
{ |
|
|
|
|
|
|
40
|
|
|
return $this->getParameter('merchantPassword'); |
|
|
|
|
|
|
41
|
|
|
} |
|
|
|
|
|
|
42
|
|
|
|
|
43
|
|
|
/** |
|
|
|
|
|
|
44
|
|
|
* @param string $value Acquirer ID. |
|
|
|
|
|
|
45
|
|
|
* |
|
|
|
|
|
|
46
|
|
|
* @return string $value Acquirer ID. |
|
|
|
|
|
|
47
|
|
|
*/ |
|
|
|
|
|
|
48
|
|
|
public function setAcquirerId($value) |
|
|
|
|
|
|
49
|
|
|
{ |
|
|
|
|
|
|
50
|
|
|
return $this->setParameter('acquirerId', $value); |
|
|
|
|
|
|
51
|
|
|
} |
|
|
|
|
|
|
52
|
|
|
|
|
53
|
|
|
/** |
|
|
|
|
|
|
54
|
|
|
* @return string $value Acquirer ID. |
|
|
|
|
|
|
55
|
|
|
*/ |
|
|
|
|
|
|
56
|
|
|
public function getAcquirerId() |
|
|
|
|
|
|
57
|
|
|
{ |
|
|
|
|
|
|
58
|
|
|
return $this->getParameter('acquirerId'); |
|
|
|
|
|
|
59
|
|
|
} |
|
|
|
|
|
|
60
|
|
|
|
|
61
|
|
|
/** |
|
|
|
|
|
|
62
|
|
|
* @param boolean $value Require AVS Check. |
|
|
|
|
|
|
63
|
|
|
* |
|
|
|
|
|
|
64
|
|
|
* @return boolean $value Require AVS Check. |
|
|
|
|
|
|
65
|
|
|
*/ |
|
|
|
|
|
|
66
|
|
|
public function setRequireAvsCheck($value) |
|
|
|
|
|
|
67
|
|
|
{ |
|
|
|
|
|
|
68
|
|
|
return $this->setParameter('requireAvsCheck', $value); |
|
|
|
|
|
|
69
|
|
|
} |
|
|
|
|
|
|
70
|
|
|
|
|
71
|
|
|
/** |
|
|
|
|
|
|
72
|
|
|
* @return boolean $value Require AVS Check. |
|
|
|
|
|
|
73
|
|
|
*/ |
|
|
|
|
|
|
74
|
|
|
public function getRequireAvsCheck() |
|
|
|
|
|
|
75
|
|
|
{ |
|
|
|
|
|
|
76
|
|
|
return $this->getParameter('requireAvsCheck'); |
|
|
|
|
|
|
77
|
|
|
} |
|
|
|
|
|
|
78
|
|
|
} |
|
79
|
|
|
|