From 97684cd6a43310a9a99dd5677ec0a03f07fd09cf Mon Sep 17 00:00:00 2001 From: brluk and dkatz Date: Wed, 14 Dec 2016 19:46:04 +0000 Subject: [PATCH] Deprecate resetRequestId and generateRequestId --- lib/PayPal/Rest/ApiContext.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/PayPal/Rest/ApiContext.php b/lib/PayPal/Rest/ApiContext.php index 25bca9b..bbe3752 100644 --- a/lib/PayPal/Rest/ApiContext.php +++ b/lib/PayPal/Rest/ApiContext.php @@ -102,6 +102,7 @@ class ApiContext * Resets the requestId that can be used to set the PayPal-request-id * header used for idempotency. In cases where you need to make multiple create calls * using the same ApiContext object, you need to reset request Id. + * @deprecated Call setRequestId with a unique value. * * @return string */ @@ -146,6 +147,7 @@ class ApiContext * Generates a unique per request id that * can be used to set the PayPal-Request-Id header * that is used for idempotency + * @deprecated * * @return string */