X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FURI%2Ffreeside.pm;h=64fb377fd18b71e2a2fbeb40777d10ed588be8cf;hb=fb48167caac4b049e455531b9a3888dcd8b46c2e;hp=33845dda603604aadc69c5b3c10fb0ee3780b06e;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/rt/lib/RT/URI/freeside.pm b/rt/lib/RT/URI/freeside.pm index 33845dda6..64fb377fd 100644 --- a/rt/lib/RT/URI/freeside.pm +++ b/rt/lib/RT/URI/freeside.pm @@ -299,33 +299,19 @@ if ($@ && die $@; }; -=item AgentName +=item CustomerInfo -Return the name of the customer's agent. +Return a hashref of customer information, including all fields from +C as well as: -=cut - -sub AgentName { undef } - -=item CustomerClass - -Return the name of the customer's class. +- AgentName: the name of the customer's agent +- CustomerClass: the name of the customer's class +- CustomerTags: an arrayref of tags attached to the customer, each + as a hashref with keys "name", "desc", and "color". +- Referral: the name of the customer's advertising source. =cut -sub CustomerClass { undef } - -=item CustomerTags - -Return the list of tags attached to the customer. Each tag is returned -as a hashref with keys "name", "desc", and "color". - -=cut - -sub CustomerTags { ( ) } - -=back - -=cut +sub CustomerInfo { {} } 1;