original_string: public function delete($priceRuleId, DiscountCode $discountCode)
      {
          $endpoint = '/admin/price_rules/'.$priceRuleId.'/discount_codes/'.$discountCode->id.'.json';
          $this->request($endpoint, 'DELETE');
          return;
      }
code: public function delete($priceRuleId, DiscountCode $discountCode)
      {
          $endpoint = '/admin/price_rules/'.$priceRuleId.'/discount_codes/'.$discountCode->id.'.json';
          $this->request($endpoint, 'DELETE');
          return;
      }
code_tokens: public function delete ( $ priceRuleId , DiscountCode $ discountCode ) { $ endpoint = '/admin/price_rules/' . $ priceRuleId . '/discount_codes/' . $ discountCode -> id . '.json' ; $ this -> request ( $ endpoint , 'DELETE' ) ; return ; }
docstring: Delete a discount
  
  @link   https://help.shopify.com/api/reference/discount#destroy
  @param  integer $priceRuleId
  @param  DiscountCode $discountCode
  @return void
docstring_tokens: Delete a discount