Completed
Push — master ( 919a96...568a86 )
by wiese
73:55 queued 09:12
created

Response   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 27
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getTransactionId() 0 3 1
A setTransactionId() 0 3 1
A getPaymentUrl() 0 3 1
A setPaymentUrl() 0 3 1
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace WMDE\Fundraising\Frontend\Infrastructure\Sofort\Transfer;
6
7
class Response {
8
9
	/**
10
	 * @var string
11
	 */
12
	private $transactionId = '';
13
	/**
14
	 * @var string
15
	 */
16
	private $paymentUrl = '';
17
18
	public function getTransactionId(): string {
19
		return $this->transactionId;
20
	}
21
22
	public function setTransactionId( string $transactionId ): void {
23
		$this->transactionId = $transactionId;
24
	}
25
26
	public function getPaymentUrl(): string {
27
		return $this->paymentUrl;
28
	}
29
30
	public function setPaymentUrl( string $paymentUrl ): void {
31
		$this->paymentUrl = $paymentUrl;
32
	}
33
}
34