PHP Class PayPal\Api\FuturePayment

Inheritance: extends Payment
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
create ( null $apiContext = null, string | null $clientMetadataId = null ) Extends the Payment object to create future payments
getRefreshToken ( $authorizationCode, ApiContext $apiContext = null ) : string | null Get a Refresh Token from Authorization Code

Method Details

create() public method

Extends the Payment object to create future payments
public create ( null $apiContext = null, string | null $clientMetadataId = null )
$apiContext null
$clientMetadataId string | null

getRefreshToken() public static method

Get a Refresh Token from Authorization Code
public static getRefreshToken ( $authorizationCode, ApiContext $apiContext = null ) : string | null
$authorizationCode
$apiContext PayPal\Rest\ApiContext
return string | null refresh token