프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$accessToken | |||
$accessTokenInfo | |||
$affiliateId | |||
$developerId | |||
$httpClient | |||
$options | |||
$redirectUrl | |||
$secret |
메소드 | 설명 | |
---|---|---|
__construct ( RakutenRws_HttpClient $httpClient = null, $options = [] ) | Constructor. | |
execute ( string $operation, array $parameter = [], string $version = null ) | Executes API | |
fetchAccessTokenFromCode ( string $code = null ) : string | Fetches OAuth2 AccessToken from Code | |
getAccessToken ( ) : string | null | Gets the fetched AccessToken | |
getAccessTokenUrl ( ) : string | Gets OAuth2 Access Token URL | |
getAffiliateId ( ) : string | null | Gets AffilateID | |
getApplicationId ( ) : string | null | Gets DeveloperID | |
getAuthorizeUrl ( string $scope ) : string | Gets OAuth2 Authorize URL | |
getHttpClient ( ) : RakutenRws_HttpClient | Gets Http Client instance | |
setAffiliateId ( string $affiliateId ) | Sets the AffiliateID | |
setApplicationId ( string $developerId ) | Sets the DeveloperID | |
setProxy ( string $proxy ) | Sets the proxy to use connect rakuten service | |
setRedirectUrl ( string $redirectUrl ) | Sets Redirect Url | |
setSecret ( string $secret ) | Sets Application Secret |
public __construct ( RakutenRws_HttpClient $httpClient = null, $options = [] ) | ||
$httpClient | RakutenRws_HttpClient | HTTP Client instance |
public fetchAccessTokenFromCode ( string $code = null ) : string | ||
$code | string | The Code |
리턴 | string | The Access Token, If response is invalid return null |
public getAccessToken ( ) : string | null | ||
리턴 | string | null | The AccessToken |
public getAccessTokenUrl ( ) : string | ||
리턴 | string | The OAuth2 Access Token URL |
public getAffiliateId ( ) : string | null | ||
리턴 | string | null | The AffiliateID |
public getApplicationId ( ) : string | null | ||
리턴 | string | null | The DeveloperID |
public getAuthorizeUrl ( string $scope ) : string | ||
$scope | string | The scopes that is separated by ',' |
리턴 | string | The Authorize URL |
public getHttpClient ( ) : RakutenRws_HttpClient | ||
리턴 | RakutenRws_HttpClient | The Http Client |
public setAffiliateId ( string $affiliateId ) | ||
$affiliateId | string | The AffiliateID |
public setApplicationId ( string $developerId ) | ||
$developerId | string | The DeveloperID |
public setRedirectUrl ( string $redirectUrl ) | ||
$redirectUrl | string | The Redirect URL |