public function capture($amount = null)
    {
        return (new ManagementBuilder(TransactionType::CAPTURE))
            ->withPaymentMethod($this->transactionReference)
            ->withAmount($amount);
    }
public function capture($amount = null)
    {
        return (new ManagementBuilder(TransactionType::CAPTURE))
            ->withPaymentMethod($this->transactionReference)
            ->withAmount($amount);
    }
public function capture ( $ amount = null ) { return ( new ManagementBuilder ( TransactionType :: CAPTURE ) ) -> withPaymentMethod ( $ this -> transactionReference ) -> withAmount ( $ amount ) ; }
Captures the original transaction.

@param string|float $amount The amount to capture

@return ManagementBuilder
Captures the original transaction .