-
Notifications
You must be signed in to change notification settings - Fork 0
/
OrderItemAgentInfoInterface.php
123 lines (104 loc) · 2.16 KB
/
OrderItemAgentInfoInterface.php
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
namespace Fiscal\OFD;
/**
* Interface OrderItemAgentInfoInterface
*
* Apply this interface to your Order item class (i.e. model) if you have any agent payments.
*/
interface OrderItemAgentInfoInterface
{
/**
* Bank payment agent.
*/
public const TYPE_BANK_PAYMENT_AGENT = 1;
/**
* Bank payment subagent.
*/
public const TYPE_BANK_PAYMENT_SUBAGENT = 2;
/**
* Payment agent.
*/
public const TYPE_PAYMENT_AGENT = 3;
/**
* Payment subagent.
*/
public const TYPE_PAYMENT_SUBAGENT = 4;
/**
* Attorney.
*/
public const TYPE_ATTORNEY = 5;
/**
* Commission agent.
*/
public const TYPE_COMMISSION_AGENT = 6;
/**
* Another agent
*/
public const TYPE_ANOTHER = 7;
/**
* Agent type
*
* @return int
*/
public function getType(): int;
/**
* Payment agent operation name
*
* @return string|null
*/
public function getPayingOperation(): ?string;
/**
* Paying agent phone list
*
* @return array|null
*/
public function getPayingPhones(): ?array;
/**
* Payments operator phone list
*
* @return array|null
*/
public function getPaymentsOperatorPhones(): ?array;
/**
* Transfer operator phone list
*
* @return array|null
*/
public function getMTOOperatorPhones(): ?array;
/**
* Transfer operator name
*
* @return array|null
*/
public function getMTOOperatorName(): ?string;
/**
* Transfer operator post address
*
* @return array|null
*/
public function getMTOOperatorPostAddress(): ?string;
/**
* Transfer operator INN
*
* @return array|null
*/
public function getMTOOperatorINN(): ?string;
/**
* Supplier phone list
*
* @return array|null
*/
public function getSupplierPhones(): ?array;
/**
* Supplier name
*
* @return array|null
*/
public function getSupplierName(): ?string;
/**
* Supplier INN
*
* @return array|null
*/
public function getSupplierINN(): ?string;
}