This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ protected function initialize()
5252 protected function populate (stdClass $ response )
5353 {
5454 $ transfers = clone $ this ;
55+
5556 $ transfers ->data ->id = $ this ->getIfSet ('id ' , $ response );
57+ $ transfers ->data ->ownId = $ this ->getIfSet ('ownId ' , $ response );
5658 $ transfers ->data ->amount = $ this ->getIfSet ('amount ' , $ response );
5759
5860 $ transfer_instrument = $ this ->getIfSet ('transferInstrument ' , $ response );
@@ -140,6 +142,20 @@ public function getTransfers()
140142 return $ this ->data ;
141143 }
142144
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+
143159 /**
144160 * Set info of holder.
145161 *
@@ -230,4 +246,14 @@ public function getId()
230246 {
231247 return $ this ->getIfSet ('id ' );
232248 }
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+ }
233259}
You can’t perform that action at this time.
0 commit comments