public function delete($myshopify, $token, $id)
    {
        $this->setRequestPath($myshopify);

        $url = $this->getChargeEndpoint(). '/' . $id . '.json';

        $this->getHttpClient()->delete($url,
            [
                'headers' => $this->getResponseHeaders($token)
            ]);
    }
public function delete($myshopify, $token, $id)
    {
        $this->setRequestPath($myshopify);

        $url = $this->getChargeEndpoint(). '/' . $id . '.json';

        $this->getHttpClient()->delete($url,
            [
                'headers' => $this->getResponseHeaders($token)
            ]);
    }
public function delete ( $ myshopify , $ token , $ id ) { $ this -> setRequestPath ( $ myshopify ) ; $ url = $ this -> getChargeEndpoint ( ) . '/' . $ id . '.json' ; $ this -> getHttpClient ( ) -> delete ( $ url , [ 'headers' => $ this -> getResponseHeaders ( $ token ) ] ) ; }
delete a specific charge

@param string $myshopify myshopify domain
@param string $token access_token
@param string $id chargeID
@return void
delete a specific charge