1 | <?php |
||
9 | class Payment extends Message |
||
10 | { |
||
11 | |||
12 | /** @var string */ |
||
13 | public $merchant_data; |
||
14 | |||
15 | /** @var string[] */ |
||
16 | public $transactions = array(); |
||
17 | |||
18 | /** @var \Bip70\Protobuf\Proto\Output[] */ |
||
19 | public $refund_to = array(); |
||
20 | |||
21 | /** @var string */ |
||
22 | public $memo; |
||
23 | |||
24 | |||
25 | /** @var \Closure[] */ |
||
26 | protected static $__extensions = array(); |
||
27 | |||
28 | 1 | public static function descriptor() |
|
71 | |||
72 | /** |
||
73 | * Check if <merchant_data> has a value |
||
74 | * |
||
75 | * @return boolean |
||
76 | */ |
||
77 | 1 | public function hasMerchantData() |
|
81 | |||
82 | /** |
||
83 | * Clear <merchant_data> value |
||
84 | * |
||
85 | * @return \Bip70\Protobuf\Proto\Payment |
||
86 | */ |
||
87 | 1 | public function clearMerchantData() |
|
91 | |||
92 | /** |
||
93 | * Get <merchant_data> value |
||
94 | * |
||
95 | * @return string |
||
96 | */ |
||
97 | 1 | public function getMerchantData() |
|
101 | |||
102 | /** |
||
103 | * Set <merchant_data> value |
||
104 | * |
||
105 | * @param string $value |
||
106 | * @return \Bip70\Protobuf\Proto\Payment |
||
107 | */ |
||
108 | 1 | public function setMerchantData($value) |
|
112 | |||
113 | /** |
||
114 | * Check if <transactions> has a value |
||
115 | * |
||
116 | * @return boolean |
||
117 | */ |
||
118 | 2 | public function hasTransactions() |
|
122 | |||
123 | /** |
||
124 | * Clear <transactions> value |
||
125 | * |
||
126 | * @return \Bip70\Protobuf\Proto\Payment |
||
127 | */ |
||
128 | 1 | public function clearTransactions() |
|
132 | |||
133 | /** |
||
134 | * Get <transactions> value |
||
135 | * |
||
136 | * @param int $idx |
||
137 | * @return string |
||
138 | */ |
||
139 | 2 | public function getTransactions($idx = null) |
|
143 | |||
144 | /** |
||
145 | * Set <transactions> value |
||
146 | * |
||
147 | * @param string $value |
||
148 | * @param int $idx |
||
149 | * @return \Bip70\Protobuf\Proto\Payment |
||
150 | */ |
||
151 | 1 | public function setTransactions($value, $idx = null) |
|
155 | |||
156 | /** |
||
157 | * Get all elements of <transactions> |
||
158 | * |
||
159 | * @return string[] |
||
160 | */ |
||
161 | 1 | public function getTransactionsList() |
|
165 | |||
166 | /** |
||
167 | * Add a new element to <transactions> |
||
168 | * |
||
169 | * @param string $value |
||
170 | * @return \Bip70\Protobuf\Proto\Payment |
||
171 | */ |
||
172 | 2 | public function addTransactions($value) |
|
176 | |||
177 | /** |
||
178 | * Check if <refund_to> has a value |
||
179 | * |
||
180 | * @return boolean |
||
181 | */ |
||
182 | 1 | public function hasRefundTo() |
|
186 | |||
187 | /** |
||
188 | * Clear <refund_to> value |
||
189 | * |
||
190 | * @return \Bip70\Protobuf\Proto\Payment |
||
191 | */ |
||
192 | 1 | public function clearRefundTo() |
|
196 | |||
197 | /** |
||
198 | * Get <refund_to> value |
||
199 | * |
||
200 | * @param int $idx |
||
201 | * @return \Bip70\Protobuf\Proto\Output |
||
202 | */ |
||
203 | 1 | public function getRefundTo($idx = null) |
|
207 | |||
208 | /** |
||
209 | * Set <refund_to> value |
||
210 | * |
||
211 | * @param \Bip70\Protobuf\Proto\Output $value |
||
212 | * @param int $idx |
||
213 | * @return \Bip70\Protobuf\Proto\Payment |
||
214 | */ |
||
215 | 1 | public function setRefundTo(\Bip70\Protobuf\Proto\Output $value, $idx = null) |
|
219 | |||
220 | /** |
||
221 | * Get all elements of <refund_to> |
||
222 | * |
||
223 | * @return \Bip70\Protobuf\Proto\Output[] |
||
224 | */ |
||
225 | 1 | public function getRefundToList() |
|
229 | |||
230 | /** |
||
231 | * Add a new element to <refund_to> |
||
232 | * |
||
233 | * @param \Bip70\Protobuf\Proto\Output $value |
||
234 | * @return \Bip70\Protobuf\Proto\Payment |
||
235 | */ |
||
236 | 1 | public function addRefundTo(\Bip70\Protobuf\Proto\Output $value) |
|
240 | |||
241 | /** |
||
242 | * Check if <memo> has a value |
||
243 | * |
||
244 | * @return boolean |
||
245 | */ |
||
246 | 1 | public function hasMemo() |
|
250 | |||
251 | /** |
||
252 | * Clear <memo> value |
||
253 | * |
||
254 | * @return \Bip70\Protobuf\Proto\Payment |
||
255 | */ |
||
256 | 1 | public function clearMemo() |
|
260 | |||
261 | /** |
||
262 | * Get <memo> value |
||
263 | * |
||
264 | * @return string |
||
265 | */ |
||
266 | 1 | public function getMemo() |
|
270 | |||
271 | /** |
||
272 | * Set <memo> value |
||
273 | * |
||
274 | * @param string $value |
||
275 | * @return \Bip70\Protobuf\Proto\Payment |
||
276 | */ |
||
277 | 1 | public function setMemo($value) |
|
281 | } |
||
282 |