芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/FuturePayment.php
$clientMetadataId ); } $payLoad = $this->toJSON(); $json = self::executeCall( "/v1/payments/payment", "POST", $payLoad, $headers, $apiContext, $restCall ); $this->fromJson($json); return $this; } /** * Get a Refresh Token from Authorization Code * * @param $authorizationCode * @param ApiContext $apiContext * @return string|null refresh token */ public static function getRefreshToken($authorizationCode, $apiContext = null) { $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential); $credential = $apiContext->getCredential(); return $credential->getRefreshToken($apiContext->getConfig(), $authorizationCode); } }