Affiliate SFO

There are two Affiliate objects within the StoreFronts system. The affiliates system templates uses the first. The StoreFronts catalog uses the second.
(Both systems were designed long ago separately before the concept of opening up the system fully through the StoreFronts was conceived.)


Affiliate (Catalog Templates)

Properties

Field

Type

Comment/Sample

Methods

Method

Returns

Parameters

Parameter Types

Comments/Sample

getAffiliateId()

integer 




getFirstName()

string 




getLastName() 

string 




getCompanyName() 

string 




getEmail() 

string 




getAttributes()

Array of Attributes



The object returned has the following methods:

getType()

getName()

getAttributes(type)Array of Attributestypestringsimilar to the call with no parameters, but this returns a filtered list of only the attributes of the matching type
getAttributes(name)string


See Also




Affiliate (Affiliate Management Templates)

Properties

Field

Type

Comment/Sample

acceptedDownlineRecruitingTerms

boolean


address1

string


address2

string


affiliateGroupOid

integer


allowDownlineRecruiting

boolean


autoApplyCouponOid

integer


city

string


companyName

string


country

string


dob

Timestamp


eMail

string


emailNotificationSchedule

string


fax

string


firstName

string


googleConversionId

string


lastName

string


lastTermsAcceptance

Timestamp


marketingStrategy

string


membershipStatus

integer


merchantId

string


minimumPayout

BigDecimal


password

string


paypalEmail

string


phone

string


postalCode

string


sfdcAccountId

string


sfdcContactId

string


state

string


status

string


taxId

string


tierRelationships

Hash(integer,integer)


usingAdNetwork

boolean


usingAdware

boolean


usingBlog

boolean


usingOther

boolean


usingPerAcquisition

boolean


usingPpc

boolean


usingSeo

boolean


usingWebsite

boolean


websiteName

string


websiteUrl

string


ysmAccountId

string



Methods

Method

Returns

Parameters

Parameter Types

Comments/Sample

See Also