This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ protected function initialize()
52
52
protected function populate (stdClass $ response )
53
53
{
54
54
$ transfers = clone $ this ;
55
+
55
56
$ transfers ->data ->id = $ this ->getIfSet ('id ' , $ response );
57
+ $ transfers ->data ->ownId = $ this ->getIfSet ('ownId ' , $ response );
56
58
$ transfers ->data ->amount = $ this ->getIfSet ('amount ' , $ response );
57
59
58
60
$ transfer_instrument = $ this ->getIfSet ('transferInstrument ' , $ response );
@@ -140,6 +142,20 @@ public function getTransfers()
140
142
return $ this ->data ;
141
143
}
142
144
145
+ /**
146
+ * Get own request id. external reference.
147
+ *
148
+ * @param mixed $ownId id
149
+ *
150
+ * @return $this
151
+ */
152
+ public function setOwnId ($ ownId )
153
+ {
154
+ $ this ->data ->ownId = $ ownId ;
155
+
156
+ return $ this ;
157
+ }
158
+
143
159
/**
144
160
* Set info of holder.
145
161
*
@@ -230,4 +246,14 @@ public function getId()
230
246
{
231
247
return $ this ->getIfSet ('id ' );
232
248
}
249
+
250
+ /**
251
+ * Get own request id. external reference.
252
+ *
253
+ * @return mixed
254
+ */
255
+ public function getOwnId ()
256
+ {
257
+ return $ this ->getIfSet ('ownId ' );
258
+ }
233
259
}
You can’t perform that action at this time.
0 commit comments