public function edit()
    {
        $builder = (new ManagementBuilder(TransactionType::EDIT))
            ->withPaymentMethod($this->transactionReference);

        if ($this->commercialIndicator !== null) {
            $builder = $builder->withModifier(TransactionModifier::LEVEL_II);
        }

        return $builder;
    }
public function edit()
    {
        $builder = (new ManagementBuilder(TransactionType::EDIT))
            ->withPaymentMethod($this->transactionReference);

        if ($this->commercialIndicator !== null) {
            $builder = $builder->withModifier(TransactionModifier::LEVEL_II);
        }

        return $builder;
    }
public function edit ( ) { $ builder = ( new ManagementBuilder ( TransactionType :: EDIT ) ) -> withPaymentMethod ( $ this -> transactionReference ) ; if ( $ this -> commercialIndicator !== null ) { $ builder = $ builder -> withModifier ( TransactionModifier :: LEVEL_II ) ; } return $ builder ; }
Edits the original transaction.

@return ManagementBuilder
Edits the original transaction .