src/Message/CompletePurchaseRequest.php
public function getData()
    {
        $reference = new FluidXml(false);
        $reference->add($this->getTransactionReference());

        return [
            'password'             => $this->getPassword(),
            'userId'               => $this->getUserId(),
            'merchantId'           => $this->getMerchantId(),
            'transactionReference' => $reference
        ];
    }
public function getData()
    {
        $reference = new FluidXml(false);
        $reference->add($this->getTransactionReference());

        return [
            'password'             => $this->getPassword(),
            'userId'               => $this->getUserId(),
            'merchantId'           => $this->getMerchantId(),
            'transactionReference' => $reference
        ];
    }
public function getData ( ) { $ reference = new FluidXml ( false ) ; $ reference -> add ( $ this -> getTransactionReference ( ) ) ; return [ 'password' => $ this -> getPassword ( ) , 'userId' => $ this -> getUserId ( ) , 'merchantId' => $ this -> getMerchantId ( ) , 'transactionReference' => $ reference ] ; }
Complete purchase data
@return array
Complete purchase data