From bed6764e8a75068c2700dd1059e7ff4a642a081d Mon Sep 17 00:00:00 2001 From: PaylineGitHub Date: Thu, 11 Jan 2018 12:08:20 +0100 Subject: [PATCH] merge PaylineSDK.php --- src/Payline/PaylineSDK.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Payline/PaylineSDK.php b/src/Payline/PaylineSDK.php index 48db720..c85e6b9 100644 --- a/src/Payline/PaylineSDK.php +++ b/src/Payline/PaylineSDK.php @@ -418,6 +418,24 @@ public function __construct($merchant_id, $access_key, $proxy_host, $proxy_port, ini_set('user_agent', "PHP\r\nversion: " . PaylineSDK::SDK_RELEASE); } + + /** + * reset OrderDetails + */ + public function resetOrderDetails() + { + $this->orderDetails = array(); + } + + + /** + * reset Private Data + */ + public function resetPrivateData() + { + $this->privateData = array(); + } + /** * build Payment instance from $array and make SoapVar object for payment *