|
UNA
|
Functions | |
| BxAdsSource::__construct ($iProfile, $aSource, &$oModule) | |
| BxAdsSource::initOptions ($aOptions) | |
| BxAdsSource::initOptionsByAuthor ($iProfileId) | |
| BxAdsSource::getOption ($sName) | |
| BxAdsSource::getEntry ($sId) | |
| BxAdsSource::getOrders ($aParams) | |
| BxAdsSource::_call ($sRequest, $aParams, $sMethod='post-json', $aHeaders=[]) | |
| BxAdsSource::_log ($sMessage, $bUseLog=false) | |
| BxAdsSourceShopifyAdmin::__construct ($iProfile, $aSource, &$oModule) | |
| BxAdsSourceShopifyAdmin::getEntry ($sId) | |
| BxAdsSourceShopifyAdmin::getEntries ($aParams) | |
| BxAdsSourceShopifyAdmin::_prepareProduct ($aProduct) | |
| BxAdsSourceShopifyAdmin::getOrders ($aParams) | |
| BxAdsSourceShopifyAdmin::_call ($sRequest, $aParams, $sMethod='post-json', $aHeaders=[]) | |
| BxAdsSourceShopifyAdmin::_dateI2S ($iTimestamp) | |
| BxAdsSourceShopifyPartner::__construct ($iProfile, $aSource, $oModule) | |
| BxAdsSourceShopifyPartner::makeAuthorization ($aScopes=[]) | |
| BxAdsSourceShopifyPartner::authorizeApplication ($aRequestData) | |
| BxAdsSourceShopifyPartner::_getAuthorizeUrl ($aScopes, $sRedirectUrl, $sNonce, $bOnlineAccessMode=false) | |
| BxAdsSourceShopifyPartner::_callAuthorize ($aParams) | |
| BxAdsSourceShopifyPartner::_call ($sRequest, $aParams, $sMethod='post-json', $aHeaders=[]) | |
| BxAdsSourceShopifyPartner::_log ($sMessage, $bUseLog=false) | |
Copyright (c) UNA, Inc - https://una.io MIT License - https://opensource.org/licenses/MIT
| BxAdsSourceShopifyAdmin::__construct | ( | $iProfile, | |
| $aSource, | |||
| & | $oModule ) |
Reimplemented from BxAdsSource.
|
protected |
Internal methods.
Reimplemented in BxAdsSourceShopifyAdmin, and BxAdsSourceShopifyPartner.
|
protected |
Internal methods.
Reimplemented from BxAdsSource.
|
protected |
Internal methods.
Reimplemented from BxAdsSource.
|
protected |
Internal methods.
|
protected |
Reimplemented from BxAdsSource.
| BxAdsSourceShopifyPartner::authorizeApplication | ( | $aRequestData | ) |
TODO: Decode data and retrieve Access token.
Decode the response from Shopify $data = json_decode($response->getBody());
Set the access token $this->setToken($data->access_token);
| BxAdsSourceShopifyAdmin::getEntry | ( | $sId | ) |
Reimplemented from BxAdsSource.
| BxAdsSourceShopifyAdmin::getOrders | ( | $aParams | ) |
Reimplemented from BxAdsSource.