public function activate(RecurringApplicationCharge $recurringApplicationCharge)
    {
        $endpoint = '/admin/recurring_application_charges/'.$recurringApplicationCharge->id.'/activate.json';
        $response = $this->request($endpoint, 'POST');
        $recurringApplicationCharge->setData($response['recurring_application_charge']);
    }
public function activate(RecurringApplicationCharge $recurringApplicationCharge)
    {
        $endpoint = '/admin/recurring_application_charges/'.$recurringApplicationCharge->id.'/activate.json';
        $response = $this->request($endpoint, 'POST');
        $recurringApplicationCharge->setData($response['recurring_application_charge']);
    }
public function activate ( RecurringApplicationCharge $ recurringApplicationCharge ) { $ endpoint = '/admin/recurring_application_charges/' . $ recurringApplicationCharge -> id . '/activate.json' ; $ response = $ this -> request ( $ endpoint , 'POST' ) ; $ recurringApplicationCharge -> setData ( $ response [ 'recurring_application_charge' ] ) ; }
Activate a recurring application charge

@link   https://help.shopify.com/api/reference/recurringapplicationcharge#activate
@param  RecurringApplicationCharge $recurringApplicationCharge
@return boolean
Activate a recurring application charge