Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 5fd8be5

Browse files
committed
Added function for setting response mode to main class
1 parent 4695625 commit 5fd8be5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/DatingVIP/Payment/PayOn/XmlApi.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,16 @@ public function setResponse($response)
509509
$this->response = $response;
510510
}
511511

512+
/**
513+
* Set response mode (self::SYNC_REQUEST | self::ASYNC_REQUEST)
514+
*
515+
* @param $responseMode
516+
*/
517+
public function setResponseMode($responseMode)
518+
{
519+
$this->responseMode = $responseMode;
520+
}
521+
512522
/**
513523
* Returns response in desired format
514524
*

0 commit comments

Comments
 (0)