Skip to main content
Reference

Affiliate SFO

note

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

FieldTypeComment/Sample

Methods

MethodReturnsParametersParameter TypesComments/Sample
getAffiliateId()integer 
getFirstName()string 
getLastName() string 
getCompanyName() string 
getEmail() string 
getAttributes()[Array](./array-sfo.md) of AttributesThe object returned has the following methods:
getType()
getName()
getAttributes(type)[Array](./array-sfo.md) 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

FieldTypeComment/Sample
acceptedDownlineRecruitingTermsboolean
address1string
address2string
affiliateGroupOidinteger
allowDownlineRecruitingboolean
autoApplyCouponOidinteger
citystring
companyNamestring
countrystring
dobTimestamp
eMailstring
emailNotificationSchedulestring
faxstring
firstNamestring
googleConversionIdstring
lastNamestring
lastTermsAcceptanceTimestamp
marketingStrategystring
membershipStatusinteger
merchantIdstring
minimumPayout[BigDecimal](./bigdecimal-sfo.md)
passwordstring
paypalEmailstring
phonestring
postalCodestring
sfdcAccountIdstring
sfdcContactIdstring
statestring
statusstring
taxIdstring
tierRelationshipsHash(integer,integer)
usingAdNetworkboolean
usingAdwareboolean
usingBlogboolean
usingOtherboolean
usingPerAcquisitionboolean
usingPpcboolean
usingSeoboolean
usingWebsiteboolean
websiteNamestring
websiteUrlstring
ysmAccountIdstring

Methods

MethodReturnsParametersParameter TypesComments/Sample

See Also

Was this page helpful?