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)
61
61
*/
62
62
public function delete (RecurringApplicationCharge $ recurringApplicationCharge )
63
63
{
64
- $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->getId () .'.json ' ;
64
+ $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->id .'.json ' ;
65
65
$ response = $ this ->request ($ endpoint , 'DELETE ' );
66
66
}
67
67
@@ -74,7 +74,7 @@ public function delete(RecurringApplicationCharge $recurringApplicationCharge)
74
74
*/
75
75
public function activate (RecurringApplicationCharge $ recurringApplicationCharge )
76
76
{
77
- $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->getId () .'/activate.json ' ;
77
+ $ endpoint = '/admin/recurring_application_charges/ ' .$ recurringApplicationCharge ->id .'/activate.json ' ;
78
78
$ response = $ this ->request ($ endpoint , 'POST ' );
79
79
$ recurringApplicationCharge ->setData ($ response ['recurring_application_charge ' ]);
80
80
}
You can’t perform that action at this time.
0 commit comments