original_string: public function suspend($code = null)
      {
          if (! $code) {
              $code = $this->data->code;
          }
  
          $response = $this->client->put('/{code}/suspend', [$code]);
  
          if (! $response->hasErrors()) {
              $this->event->dispatch('SUBSCRIPTION.SUSPENDED', new SubscriptionsEvent($this->data));
          }
  
          return $this;
      }
code: public function suspend($code = null)
      {
          if (! $code) {
              $code = $this->data->code;
          }
  
          $response = $this->client->put('/{code}/suspend', [$code]);
  
          if (! $response->hasErrors()) {
              $this->event->dispatch('SUBSCRIPTION.SUSPENDED', new SubscriptionsEvent($this->data));
          }
  
          return $this;
      }
code_tokens: public function suspend ( $ code = null ) { if ( ! $ code ) { $ code = $ this -> data -> code ; } $ response = $ this -> client -> put ( '/{code}/suspend' , [ $ code ] ) ; if ( ! $ response -> hasErrors ( ) ) { $ this -> event -> dispatch ( 'SUBSCRIPTION.SUSPENDED' , new SubscriptionsEvent ( $ this -> data ) ) ; } return $ this ; }
docstring: Suspend a subscription
  
  @param  string  $code
  @return $this
docstring_tokens: Suspend a subscription