code: public function capture($capture = true)
      {
          if (!$capture && $this->kind === Transaction::DEBIT) {
              throw new InvalidArgumentException('Debit transactions will always be captured');
          }
  
          $this->capture = $capture;
          return $this;
      }
docs: @param bool $capture
  
  @return Transaction