|
@@ 343-350 (lines=8) @@
|
| 340 |
|
/** |
| 341 |
|
* @return Payone_Api_Service_Payment_Preauthorize |
| 342 |
|
*/ |
| 343 |
|
public function buildServicePaymentPreauthorize() |
| 344 |
|
{ |
| 345 |
|
$service = new Payone_Api_Service_Payment_Preauthorize(); |
| 346 |
|
$service->setAdapter($this->buildHttpClient()); |
| 347 |
|
$service->setMapperRequest($this->buildMapperRequestPreauthorize()); |
| 348 |
|
$service->setMapperResponse($this->buildMapperResponsePreauthorize()); |
| 349 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 350 |
|
return $service; |
| 351 |
|
} |
| 352 |
|
|
| 353 |
|
/** |
|
@@ 356-363 (lines=8) @@
|
| 353 |
|
/** |
| 354 |
|
* @return Payone_Api_Service_Payment_Authorize |
| 355 |
|
*/ |
| 356 |
|
public function buildServicePaymentAuthorize() |
| 357 |
|
{ |
| 358 |
|
$service = new Payone_Api_Service_Payment_Authorize(); |
| 359 |
|
$service->setAdapter($this->buildHttpClient()); |
| 360 |
|
$service->setMapperRequest($this->buildMapperRequestAuthorize()); |
| 361 |
|
$service->setMapperResponse($this->buildMapperResponseAuthorize()); |
| 362 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 363 |
|
return $service; |
| 364 |
|
} |
| 365 |
|
|
| 366 |
|
/** |
|
@@ 369-376 (lines=8) @@
|
| 366 |
|
/** |
| 367 |
|
* @return Payone_Api_Service_Payment_Capture |
| 368 |
|
*/ |
| 369 |
|
public function buildServicePaymentCapture() |
| 370 |
|
{ |
| 371 |
|
$service = new Payone_Api_Service_Payment_Capture(); |
| 372 |
|
$service->setAdapter($this->buildHttpClient()); |
| 373 |
|
$service->setMapperRequest($this->buildMapperRequestCapture()); |
| 374 |
|
$service->setMapperResponse($this->buildMapperResponseCapture()); |
| 375 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 376 |
|
return $service; |
| 377 |
|
} |
| 378 |
|
|
| 379 |
|
/** |
|
@@ 382-389 (lines=8) @@
|
| 379 |
|
/** |
| 380 |
|
* @return Payone_Api_Service_Payment_Debit |
| 381 |
|
*/ |
| 382 |
|
public function buildServicePaymentDebit() |
| 383 |
|
{ |
| 384 |
|
$service = new Payone_Api_Service_Payment_Debit(); |
| 385 |
|
$service->setAdapter($this->buildHttpClient()); |
| 386 |
|
$service->setMapperRequest($this->buildMapperRequestDebit()); |
| 387 |
|
$service->setMapperResponse($this->buildMapperResponseDebit()); |
| 388 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 389 |
|
return $service; |
| 390 |
|
} |
| 391 |
|
|
| 392 |
|
/** |
|
@@ 395-402 (lines=8) @@
|
| 392 |
|
/** |
| 393 |
|
* @return Payone_Api_Service_Payment_Refund |
| 394 |
|
*/ |
| 395 |
|
public function buildServicePaymentRefund() |
| 396 |
|
{ |
| 397 |
|
$service = new Payone_Api_Service_Payment_Refund(); |
| 398 |
|
$service->setAdapter($this->buildHttpClient()); |
| 399 |
|
$service->setMapperRequest($this->buildMapperRequestRefund()); |
| 400 |
|
$service->setMapperResponse($this->buildMapperResponseRefund()); |
| 401 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 402 |
|
return $service; |
| 403 |
|
} |
| 404 |
|
|
| 405 |
|
/** |
|
@@ 504-511 (lines=8) @@
|
| 501 |
|
/** |
| 502 |
|
* @return Payone_Api_Service_Payment_Vauthorize |
| 503 |
|
*/ |
| 504 |
|
public function buildServicePaymentVauthorize() |
| 505 |
|
{ |
| 506 |
|
$service = new Payone_Api_Service_Payment_Vauthorize(); |
| 507 |
|
$service->setAdapter($this->buildHttpClient()); |
| 508 |
|
$service->setMapperRequest($this->buildMapperRequestVauthorize()); |
| 509 |
|
$service->setMapperResponse($this->buildMapperResponseVauthorize()); |
| 510 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 511 |
|
return $service; |
| 512 |
|
} |
| 513 |
|
|
| 514 |
|
/** |
|
@@ 517-524 (lines=8) @@
|
| 514 |
|
/** |
| 515 |
|
* @return Payone_Api_Service_Payment_CreateAccess |
| 516 |
|
*/ |
| 517 |
|
public function buildServicePaymentCreateAccess() |
| 518 |
|
{ |
| 519 |
|
$service = new Payone_Api_Service_Payment_CreateAccess(); |
| 520 |
|
$service->setAdapter($this->buildHttpClient()); |
| 521 |
|
$service->setMapperRequest($this->buildMapperRequestCreateAccess()); |
| 522 |
|
$service->setMapperResponse($this->buildMapperResponseCreateAccess()); |
| 523 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 524 |
|
return $service; |
| 525 |
|
} |
| 526 |
|
|
| 527 |
|
/** |
|
@@ 531-538 (lines=8) @@
|
| 528 |
|
* Create service for genericpayment request. |
| 529 |
|
* @return Payone_Api_Service_Payment_Genericpayment |
| 530 |
|
*/ |
| 531 |
|
public function buildServicePaymentGenericpayment() |
| 532 |
|
{ |
| 533 |
|
$service = new Payone_Api_Service_Payment_Genericpayment(); |
| 534 |
|
$service->setAdapter($this->buildHttpClient()); |
| 535 |
|
$service->setMapperRequest($this->buildMapperRequestGenericpayment()); |
| 536 |
|
$service->setMapperResponse($this->buildMapperResponseGenericpayment()); |
| 537 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 538 |
|
return $service; |
| 539 |
|
} |
| 540 |
|
|
| 541 |
|
/** |
|
@@ 544-551 (lines=8) @@
|
| 541 |
|
/** |
| 542 |
|
* @return Payone_Api_Service_Management_UpdateAccess |
| 543 |
|
*/ |
| 544 |
|
public function buildServiceManagementUpdateAccess() |
| 545 |
|
{ |
| 546 |
|
$service = new Payone_Api_Service_Management_UpdateAccess(); |
| 547 |
|
$service->setAdapter($this->buildHttpClient()); |
| 548 |
|
$service->setMapperRequest($this->buildMapperRequestUpdateAccess()); |
| 549 |
|
$service->setMapperResponse($this->buildMapperResponseUpdateAccess()); |
| 550 |
|
$service->setValidator($this->buildValidatorDefault()); |
| 551 |
|
return $service; |
| 552 |
|
} |
| 553 |
|
|
| 554 |
|
/** |