UNA
Loading...
Searching...
No Matches

Classes

class  BxAdsAlertsResponse
class  BxAdsChartGrowth
class  BxAdsChartGrowthSpeed
class  BxAdsCmtsSearchResult
class  BxAdsConfig
class  BxAdsCronOffers
class  BxAdsCronPruning
class  BxAdsDb
class  BxAdsFormCategory
class  BxAdsFormEntry
class  BxAdsFormOffer
class  BxAdsFormPoll
class  BxAdsFormPollCheckerHelper
class  BxAdsFormsEntryHelper
class  BxAdsSourcesDetailsFormCheckerHelper
class  BxAdsFormSourcesDetails
class  BxAdsGridAdministration
class  BxAdsGridCategories
class  BxAdsGridCommon
class  BxAdsGridLicenses
class  BxAdsGridLicensesAdministration
class  BxAdsGridOffers
class  BxAdsGridOffersAll
class  BxAdsMenu
class  BxAdsMenuAttachments
class  BxAdsMenuManageTools
class  BxAdsMenuSnippetMeta
class  BxAdsMenuView
class  BxAdsMenuViewActions
class  BxAdsModule
class  BxAdsPageAuthor
class  BxAdsPageBrowse
class  BxAdsPageEntry
class  BxAdsPageLicenses
class  BxAdsPageOffers
class  BxAdsSearchResult
class  BxAdsSource
class  BxAdsSourceShopifyAdmin
class  BxAdsSourceShopifyPartner
class  BxAdsStudioPage
class  BxAdsTemplate
class  BxAdsUploaderHTML5
class  BxAdsUploaderHTML5Attach
class  BxAdsUploaderRecordVideo
class  BxAdsUploaderRecordVideoAttach
class  BxAdsVotePollAnswers
class  BxAdsInstaller
class  BxAlbumsVoteLikesMedia

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)

Variables

const BX_ADS_STATUS_OFFER 'offer'
const BX_ADS_STATUS_SOLD 'sold'
const BX_ADS_STATUS_ADMIN_UNPAID 'unpaid'
const BX_ADS_COMMODITY_TYPE_PRODUCT 'product'
const BX_ADS_COMMODITY_TYPE_PROMOTION 'promotion'
const BX_ADS_OFFER_STATUS_ACCEPTED 'accepted'
const BX_ADS_OFFER_STATUS_AWAITING 'awaiting'
const BX_ADS_OFFER_STATUS_DECLINED 'declined'
const BX_ADS_OFFER_STATUS_CANCELED 'canceled'
const BX_ADS_OFFER_STATUS_PAID 'paid'
 BxAdsSource::$_oModule
 BxAdsSource::$_iProfile
 BxAdsSource::$_iId
 BxAdsSource::$_sName
 BxAdsSource::$_sCaption
 BxAdsSource::$_sPrefix
 BxAdsSource::$_aOptions
static BxAdsSourceShopifyAdmin::$NAME = 'shopify_admin'
 BxAdsSourceShopifyAdmin::$_sShopDomain
 BxAdsSourceShopifyAdmin::$_sAccessToken
 BxAdsSourceShopifyAdmin::$_sEndpoint
 BxAdsSourceShopifyAdmin::$_sStorefront
static BxAdsSourceShopifyPartner::$NAME = 'shopify_partner'
 BxAdsSourceShopifyPartner::$_sShopDomain
 BxAdsSourceShopifyPartner::$_sApiKey
 BxAdsSourceShopifyPartner::$_sApiSecretKey
 BxAdsSourceShopifyPartner::$_aScopes
 BxAdsSourceShopifyPartner::$_sEndpoint
 BxAdsSourceShopifyPartner::$_sToken
 BxAdsSourceShopifyPartner::$_aLastResponseHeaders
 BxAdsSourceShopifyPartner::$_sCacheKey
 BxAdsSourceShopifyPartner::$_iCacheLifetime
 BxAdsSourceShopifyPartner::$_oCache
const BX_DOL_STUDIO_MOD_TYPE_CATEGORIES 'categories'
 $aConfig

Detailed Description

Copyright (c) UNA, Inc - https://una.io MIT License - https://opensource.org/licenses/MIT

Function Documentation

◆ __construct()

BxAdsSourceShopifyAdmin::__construct ( $iProfile,
$aSource,
& $oModule )

Reimplemented from BxAdsSource.

◆ _call() [1/3]

BxAdsSource::_call ( $sRequest,
$aParams,
$sMethod = 'post-json',
$aHeaders = [] )
protected

Internal methods.

Reimplemented in BxAdsSourceShopifyAdmin, and BxAdsSourceShopifyPartner.

◆ _call() [2/3]

BxAdsSourceShopifyAdmin::_call ( $sRequest,
$aParams,
$sMethod = 'post-json',
$aHeaders = [] )
protected

Internal methods.

Reimplemented from BxAdsSource.

◆ _call() [3/3]

BxAdsSourceShopifyPartner::_call ( $sRequest,
$aParams,
$sMethod = 'post-json',
$aHeaders = [] )
protected

Internal methods.

Reimplemented from BxAdsSource.

◆ _getAuthorizeUrl()

BxAdsSourceShopifyPartner::_getAuthorizeUrl ( $aScopes,
$sRedirectUrl,
$sNonce,
$bOnlineAccessMode = false )
protected

Internal methods.

◆ _log()

BxAdsSourceShopifyPartner::_log ( $sMessage,
$bUseLog = false )
protected

Reimplemented from BxAdsSource.

◆ authorizeApplication()

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);

◆ getEntry()

BxAdsSourceShopifyAdmin::getEntry ( $sId)

Reimplemented from BxAdsSource.

◆ getOrders()

BxAdsSourceShopifyAdmin::getOrders ( $aParams)

Reimplemented from BxAdsSource.