protected function innerCreateElement(SimpleXMLElement $xml)
 {
     $this->referencePopulator->createElement($xml);
     $this->amountPopulator->createElement($xml);
     if (!empty($this->captureMethod)) {
         $xml->addChild('capturemethod', $this->captureMethod);
     }
 }
 protected function fillTransaction(SimpleXMLElement $xml)
 {
     $referencePopulator = new MerchantReferencePopulator(new MerchantReference('ChangePassword', uniqid()));
     $configurationPopulator = new VtidConfigurationTxnPopulator();
     $configurationPopulator->setPassword($this->password);
     $referencePopulator->createElement($xml->addChild('TxnDetails'));
     $configurationPopulator->createElement($xml->addChild('VtidConfigurationTxn'));
 }