This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,16 @@ public function getId()
81
81
return $ this ->data ->id ;
82
82
}
83
83
84
+ /**
85
+ * Returns notification token.
86
+ *
87
+ * @return stdClass
88
+ */
89
+ public function getToken ()
90
+ {
91
+ return $ this ->data ->token ;
92
+ }
93
+
84
94
/**
85
95
* Create a new notification preference.
86
96
*
Original file line number Diff line number Diff line change @@ -277,6 +277,39 @@ public function getHrefBoleto()
277
277
return $ this ->getIfSet ('_links ' )->payBoleto ->redirectHref ;
278
278
}
279
279
280
+ /**
281
+ * Get LineCode to Boleto
282
+ * *.
283
+ *
284
+ * @return stdClass
285
+ */
286
+ public function getLineCodeBoleto ()
287
+ {
288
+ return $ this ->getIfSet ('fundingInstrument ' )->boleto ->lineCode ;
289
+ }
290
+
291
+ /**
292
+ * Get href from print to Boleto
293
+ * *.
294
+ *
295
+ * @return stdClass
296
+ */
297
+ public function getHrefPrintBoleto ()
298
+ {
299
+ return $ this ->getIfSet ('_links ' )->payBoleto ->printHref ;
300
+ }
301
+
302
+ /**
303
+ * Get Expirate Date to Boleto
304
+ * *.
305
+ *
306
+ * @return stdClass
307
+ */
308
+ public function getExpirationDateBoleto ()
309
+ {
310
+ return $ this ->getIfSet ('fundingInstrument ' )->boleto ->expirationDate ;
311
+ }
312
+
280
313
/**
281
314
* Returns payment amount.
282
315
*
You can’t perform that action at this time.
0 commit comments