File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function create(RecurringApplicationCharge &$recurringApplicationCharge)
6161 */
6262 public function delete (RecurringApplicationCharge $ recurringApplicationCharge )
6363 {
64- $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->getId () .'.json ' ;
64+ $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->id .'.json ' ;
6565 $ response = $ this ->request ($ endpoint , 'DELETE ' );
6666 }
6767
@@ -74,7 +74,7 @@ public function delete(RecurringApplicationCharge $recurringApplicationCharge)
7474 */
7575 public function activate (RecurringApplicationCharge $ recurringApplicationCharge )
7676 {
77- $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->getId () .'/activate.json ' ;
77+ $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->id .'/activate.json ' ;
7878 $ response = $ this ->request ($ endpoint , 'POST ' );
7979 $ recurringApplicationCharge ->setData ($ response ['recurring_application_charge ' ]);
8080 }
You can’t perform that action at this time.
0 commit comments