forked from payuru/php-payu4
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPhoneDetails.php
More file actions
53 lines (39 loc) · 912 Bytes
/
PhoneDetails.php
File metadata and controls
53 lines (39 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
declare(strict_types=1);
namespace Ypmn;
use Ypmn\Traits\ProtobufSerializable;
class PhoneDetails implements DetailsInterface
{
private string $number;
private int $bankId;
private string $bankName;
/** Protobuf generation Trait */
use ProtobufSerializable;
public function getNumber(): string
{
return $this->number;
}
public function setNumber(string $number): self
{
$this->number = $number;
return $this;
}
public function getBankId(): int
{
return $this->bankId;
}
public function setBankId(int $bankId): self
{
$this->bankId = $bankId;
return $this;
}
public function getBankName(): string
{
return $this->bankName;
}
public function setBankName(string $bankName): self
{
$this->bankName = $bankName;
return $this;
}
}