public function activate(ApplicationCharge &$applicationCharge)
    {
        $response = $this->request('/admin/application_charges/'.$applicationCharge->id.'/activate.json', 'POST');
        $applicationCharge->setData($response['application_charge']);
    }
public function activate(ApplicationCharge &$applicationCharge)
    {
        $response = $this->request('/admin/application_charges/'.$applicationCharge->id.'/activate.json', 'POST');
        $applicationCharge->setData($response['application_charge']);
    }
public function activate ( ApplicationCharge & $ applicationCharge ) { $ response = $ this -> request ( '/admin/application_charges/' . $ applicationCharge -> id . '/activate.json' , 'POST' ) ; $ applicationCharge -> setData ( $ response [ 'application_charge' ] ) ; }
Activate a one-time application charge

@link   https://help.shopify.com/api/reference/applicationcharge#activate
@param  ApplicationCharge $applicationCharge
@return void
Activate a one - time application charge