File tree 1 file changed +24
-1
lines changed
1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -476,10 +476,33 @@ public function fetchSubscription($subscription_id){
476
476
477
477
$ this ->setRequestOptions ();
478
478
479
- return $ this ->setGetResponse ('/subscription/ ' .$ subscription_id )->getResponse ();
479
+ return $ this ->setGetResponse ('/subscription/ ' .$ subscription_id, [] )->getResponse ();
480
480
481
481
}
482
482
483
+ /**
484
+ * Create pages you can share with users using the returned slug
485
+ * @return array
486
+ */
487
+ public function createPage (){
488
+
489
+ $ data = [
490
+
491
+ "name " => request ()->name ,
492
+ "description " => request ()->description ,
493
+ "amount " => request ()->amount
494
+ ];
495
+
496
+ $ this ->setRequestOptions ();
497
+
498
+ return $ this ->setGetResponse ('/page ' , $ data )->getResponse ();
499
+
500
+ }
501
+
502
+ public function fetchPages (){
503
+
504
+ }
505
+
483
506
}
484
507
485
508
You can’t perform that action at this time.
0 commit comments