Class shipcalculator

Description

Shipping Calculator class to perform the majority of realtime shipping rate calculations in ILance.

  • author: ILance
  • version: $Revision: 1.0.0 $

Located in /api/class.shipcalculator.inc.php (line 23)


	
			
Method Summary
shipcalculator shipcalculator ()
void fedex_rateshop ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '01'])
void get_fedex_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '01'])
void get_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $carriers = array()], [ $shipcode = ''])
void get_ups_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '03'])
void get_usps_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = 'Express'])
void ups_rateshop ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '03'])
void usps_rateshop ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = 'Express'])
void xmlize ( $data)
void xml_depth ( $vals,  &$i)
Methods
Constructor shipcalculator (line 25)
shipcalculator shipcalculator ()
fedex_rateshop (line 385)
void fedex_rateshop ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '01'])
  • $weight
  • $destination_zipcode
  • $destination_country
  • $origin_zipcode
  • $origin_country
  • $shipcode
get_fedex_rates (line 56)
void get_fedex_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '01'])
  • $weight
  • $destination_zipcode
  • $destination_country
  • $origin_zipcode
  • $origin_country
  • $shipcode
get_rates (line 30)
void get_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $carriers = array()], [ $shipcode = ''])
  • $weight
  • $destination_zipcode
  • $destination_country
  • $origin_zipcode
  • $origin_country
  • $carriers
  • $shipcode
get_ups_rates (line 118)
void get_ups_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '03'])
  • $weight
  • $destination_zipcode
  • $destination_country
  • $origin_zipcode
  • $origin_country
  • $shipcode
get_usps_rates (line 64)
void get_usps_rates ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = 'Express'])
  • $weight
  • $destination_zipcode
  • $destination_country
  • $origin_zipcode
  • $origin_country
  • $shipcode
ups_rateshop (line 164)
void ups_rateshop ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = '03'])
  • $weight
  • $destination_zipcode
  • $destination_country
  • $origin_zipcode
  • $origin_country
  • $shipcode
usps_rateshop (line 286)
void usps_rateshop ([ $weight = '1.0'], [ $destination_zipcode = ''], [ $destination_country = 'US'], [ $origin_zipcode = ''], [ $origin_country = 'US'], [ $shipcode = 'Express'])
  • $weight
  • $destination_zipcode
  • $destination_country
  • $origin_zipcode
  • $origin_country
  • $shipcode
xmlize (line 596)
void xmlize ( $data)
  • $data
xml_depth (line 532)
void xml_depth ( $vals,  &$i)
  • $vals
  • &$i

Documentation generated on Mon, 08 Aug 2011 17:40:56 +0200 by phpDocumentor 1.4.1