@@ 12-71 (lines=60) @@ | ||
9 | * |
|
10 | * @package Vipps\Model\Payment |
|
11 | */ |
|
12 | class RequestCancelPayment |
|
13 | { |
|
14 | /** |
|
15 | * @var \zaporylie\Vipps\Model\Payment\MerchantInfo |
|
16 | * @Serializer\Type("zaporylie\Vipps\Model\Payment\MerchantInfo") |
|
17 | */ |
|
18 | protected $merchantInfo; |
|
19 | ||
20 | /** |
|
21 | * @var \zaporylie\Vipps\Model\Payment\Transaction |
|
22 | * @Serializer\Type("zaporylie\Vipps\Model\Payment\Transaction") |
|
23 | */ |
|
24 | protected $transaction; |
|
25 | ||
26 | /** |
|
27 | * Gets merchantInfo value. |
|
28 | * |
|
29 | * @return \zaporylie\Vipps\Model\Payment\MerchantInfo |
|
30 | */ |
|
31 | public function getMerchantInfo() |
|
32 | { |
|
33 | return $this->merchantInfo; |
|
34 | } |
|
35 | ||
36 | /** |
|
37 | * Sets merchantInfo variable. |
|
38 | * |
|
39 | * @param \zaporylie\Vipps\Model\Payment\MerchantInfo $merchantInfo |
|
40 | * |
|
41 | * @return $this |
|
42 | */ |
|
43 | public function setMerchantInfo($merchantInfo) |
|
44 | { |
|
45 | $this->merchantInfo = $merchantInfo; |
|
46 | return $this; |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * Gets transaction value. |
|
51 | * |
|
52 | * @return \zaporylie\Vipps\Model\Payment\Transaction |
|
53 | */ |
|
54 | public function getTransaction() |
|
55 | { |
|
56 | return $this->transaction; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * Sets transaction variable. |
|
61 | * |
|
62 | * @param \zaporylie\Vipps\Model\Payment\Transaction $transaction |
|
63 | * |
|
64 | * @return $this |
|
65 | */ |
|
66 | public function setTransaction($transaction) |
|
67 | { |
|
68 | $this->transaction = $transaction; |
|
69 | return $this; |
|
70 | } |
|
71 | } |
|
72 |
@@ 12-71 (lines=60) @@ | ||
9 | * |
|
10 | * @package Vipps\Model\Payment |
|
11 | */ |
|
12 | class RequestCapturePayment |
|
13 | { |
|
14 | /** |
|
15 | * @var \zaporylie\Vipps\Model\Payment\MerchantInfo |
|
16 | * @Serializer\Type("zaporylie\Vipps\Model\Payment\MerchantInfo") |
|
17 | */ |
|
18 | protected $merchantInfo; |
|
19 | ||
20 | /** |
|
21 | * @var \zaporylie\Vipps\Model\Payment\Transaction |
|
22 | * @Serializer\Type("zaporylie\Vipps\Model\Payment\Transaction") |
|
23 | */ |
|
24 | protected $transaction; |
|
25 | ||
26 | /** |
|
27 | * Gets merchantInfo value. |
|
28 | * |
|
29 | * @return \zaporylie\Vipps\Model\Payment\MerchantInfo |
|
30 | */ |
|
31 | public function getMerchantInfo() |
|
32 | { |
|
33 | return $this->merchantInfo; |
|
34 | } |
|
35 | ||
36 | /** |
|
37 | * Sets merchantInfo variable. |
|
38 | * |
|
39 | * @param \zaporylie\Vipps\Model\Payment\MerchantInfo $merchantInfo |
|
40 | * |
|
41 | * @return $this |
|
42 | */ |
|
43 | public function setMerchantInfo($merchantInfo) |
|
44 | { |
|
45 | $this->merchantInfo = $merchantInfo; |
|
46 | return $this; |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * Gets transaction value. |
|
51 | * |
|
52 | * @return \zaporylie\Vipps\Model\Payment\Transaction |
|
53 | */ |
|
54 | public function getTransaction() |
|
55 | { |
|
56 | return $this->transaction; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * Sets transaction variable. |
|
61 | * |
|
62 | * @param \zaporylie\Vipps\Model\Payment\Transaction $transaction |
|
63 | * |
|
64 | * @return $this |
|
65 | */ |
|
66 | public function setTransaction($transaction) |
|
67 | { |
|
68 | $this->transaction = $transaction; |
|
69 | return $this; |
|
70 | } |
|
71 | } |
|
72 |
@@ 12-71 (lines=60) @@ | ||
9 | * |
|
10 | * @package Vipps\Model\Payment |
|
11 | */ |
|
12 | class RequestRefundPayment |
|
13 | { |
|
14 | /** |
|
15 | * @var \zaporylie\Vipps\Model\Payment\MerchantInfo |
|
16 | * @Serializer\Type("zaporylie\Vipps\Model\Payment\MerchantInfo") |
|
17 | */ |
|
18 | protected $merchantInfo; |
|
19 | ||
20 | /** |
|
21 | * @var \zaporylie\Vipps\Model\Payment\Transaction |
|
22 | * @Serializer\Type("zaporylie\Vipps\Model\Payment\Transaction") |
|
23 | */ |
|
24 | protected $transaction; |
|
25 | ||
26 | /** |
|
27 | * Gets merchantInfo value. |
|
28 | * |
|
29 | * @return \zaporylie\Vipps\Model\Payment\MerchantInfo |
|
30 | */ |
|
31 | public function getMerchantInfo() |
|
32 | { |
|
33 | return $this->merchantInfo; |
|
34 | } |
|
35 | ||
36 | /** |
|
37 | * Sets merchantInfo variable. |
|
38 | * |
|
39 | * @param \zaporylie\Vipps\Model\Payment\MerchantInfo $merchantInfo |
|
40 | * |
|
41 | * @return $this |
|
42 | */ |
|
43 | public function setMerchantInfo($merchantInfo) |
|
44 | { |
|
45 | $this->merchantInfo = $merchantInfo; |
|
46 | return $this; |
|
47 | } |
|
48 | ||
49 | /** |
|
50 | * Gets transaction value. |
|
51 | * |
|
52 | * @return \zaporylie\Vipps\Model\Payment\Transaction |
|
53 | */ |
|
54 | public function getTransaction() |
|
55 | { |
|
56 | return $this->transaction; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * Sets transaction variable. |
|
61 | * |
|
62 | * @param \zaporylie\Vipps\Model\Payment\Transaction $transaction |
|
63 | * |
|
64 | * @return $this |
|
65 | */ |
|
66 | public function setTransaction($transaction) |
|
67 | { |
|
68 | $this->transaction = $transaction; |
|
69 | return $this; |
|
70 | } |
|
71 | } |
|
72 |