Completed
Push — master ( c4ad0d...36d425 )
by Nikolay
03:34
created

getCardCryptogramPacket()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Korobovn\CloudPayments\Message\Traits\ModelField;
4
5
trait CardCryptogramPacketString
6
{
7
    /** @var string */
8
    protected $card_cryptogram_packet;
9
10
    /**
11
     * @return string
12
     */
13
    public function getCardCryptogramPacket(): string
14
    {
15
        return $this->card_cryptogram_packet;
16
    }
17
18
    /**
19
     * @param string $card_cryptogram_packet
20
     *
21
     * @return $this
22
     */
23
    public function setCardCryptogramPacket(string $card_cryptogram_packet): self
24
    {
25
        $this->card_cryptogram_packet = $card_cryptogram_packet;
26
27
        return $this;
28
    }
29
}
30