|
@@ 167-175 (lines=9) @@
|
| 164 |
|
* |
| 165 |
|
* @return Model\Response\BaseResult |
| 166 |
|
*/ |
| 167 |
|
public function send(DocumentInterface $document) |
| 168 |
|
{ |
| 169 |
|
$classDoc = get_class($document); |
| 170 |
|
$this->factory |
| 171 |
|
->setBuilder($this->getBuilder($classDoc)) |
| 172 |
|
->setSender($this->getSender($classDoc)); |
| 173 |
|
|
| 174 |
|
return $this->factory->send($document); |
| 175 |
|
} |
| 176 |
|
|
| 177 |
|
// Solicitar CDR desde un XML ya generado. by thefantas |
| 178 |
|
public function sendForce(DocumentInterface $document, $dir_xml) |
|
@@ 178-186 (lines=9) @@
|
| 175 |
|
} |
| 176 |
|
|
| 177 |
|
// Solicitar CDR desde un XML ya generado. by thefantas |
| 178 |
|
public function sendForce(DocumentInterface $document, $dir_xml) |
| 179 |
|
{ |
| 180 |
|
$classDoc = get_class($document); |
| 181 |
|
$this->factory |
| 182 |
|
->setBuilder($this->getBuilder($classDoc)) |
| 183 |
|
->setSender($this->getSender($classDoc)); |
| 184 |
|
|
| 185 |
|
return $this->factory->send($document, $dir_xml); |
| 186 |
|
} |
| 187 |
|
// Generar solo XML. by thefantas |
| 188 |
|
public function genXML(DocumentInterface $document) |
| 189 |
|
{ |