Deprecate resetRequestId and generateRequestId

This commit is contained in:
brluk and dkatz
2016-12-14 19:46:04 +00:00
parent 6a8e97db09
commit 97684cd6a4

View File

@@ -102,6 +102,7 @@ class ApiContext
* Resets the requestId that can be used to set the PayPal-request-id * 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 * 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. * using the same ApiContext object, you need to reset request Id.
* @deprecated Call setRequestId with a unique value.
* *
* @return string * @return string
*/ */
@@ -146,6 +147,7 @@ class ApiContext
* Generates a unique per request id that * Generates a unique per request id that
* can be used to set the PayPal-Request-Id header * can be used to set the PayPal-Request-Id header
* that is used for idempotency * that is used for idempotency
* @deprecated
* *
* @return string * @return string
*/ */