PHP Class Pap_Api_ClickTracker

Inheritance: extends Pap_Api_Tracker
Exibir arquivo Open project: fubralimited/php-oara Class Usage Examples

Public Methods

Method Description
__construct ( Gpf_Api_Session $session ) This class requires correctly initialized merchant session
setAffiliateId ( $affiliateId ) Use this function if you want to explicitly specify affiliate which made the click
setBannerId ( $bannerId ) Use this function if you want to explicitly specify banner through which the click was made
setCampaignID ( $campaignId ) Use this function if you want to explicitly specify campaign for this click
setChannel ( $channelId ) Use this function if you want to explicitly specify channel through which this click was made
setData1 ( $data1 )
setData2 ( $data2 )

Protected Methods

Method Description
getGetParams ( ) : Gpf_Net_Http_Request

Method Details

__construct() public method

This class requires correctly initialized merchant session
public __construct ( Gpf_Api_Session $session )
$session Gpf_Api_Session

getGetParams() protected method

protected getGetParams ( ) : Gpf_Net_Http_Request
return Gpf_Net_Http_Request

setAffiliateId() public method

Use this function if you want to explicitly specify affiliate which made the click
public setAffiliateId ( $affiliateId )
$affiliateId

setBannerId() public method

Use this function if you want to explicitly specify banner through which the click was made
public setBannerId ( $bannerId )
$bannerId

setCampaignID() public method

Use this function if you want to explicitly specify campaign for this click
public setCampaignID ( $campaignId )
$campaignId

setChannel() public method

Use this function if you want to explicitly specify channel through which this click was made
public setChannel ( $channelId )

setData1() public method

public setData1 ( $data1 )

setData2() public method

public setData2 ( $data2 )