1 | <?php |
||
17 | class InvoiceOneStrategy extends PACSoapRequest |
||
18 | { |
||
19 | /** |
||
20 | * Invoice one endpoint |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | const WSDL_ENDPOINT = 'https://invoiceone.mx/TimbreCFDI/timbrecfdi.asmx?WSDL'; |
||
25 | |||
26 | /** |
||
27 | * Invoice One Soap request. |
||
28 | * |
||
29 | * @return stdClass |
||
30 | */ |
||
31 | protected function makeRequest() |
||
41 | |||
42 | /** |
||
43 | * Returns the cfdi with the TFD node. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getXML(): string |
||
55 | |||
56 | /** |
||
57 | * Soap method name. |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | protected function getMethodName(): string |
||
65 | } |
||
66 |