[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/modules/shipping/ -> usps.php (sommaire)

(pas de description)

Copyright: Copyright 2003-2007 Zen Cart Development Team
Copyright: Portions Copyright 2003 osCommerce
License: http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
Version: $Id: usps.php 6529 2007-06-26 00:15:57Z drbyte $
Poids: 799 lignes (33 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

usps:: (13 méthodes):
  usps()
  quote()
  check()
  install()
  remove()
  keys()
  _setService()
  _setWeight()
  _setContainer()
  _setSize()
  _setMachinable()
  _getQuote()
  country_list()


Classe: usps  - X-Ref

USPS Shipping Module class

usps()   X-Ref
Constructor

return: usps

quote($method = '')   X-Ref
Get quote from shipping provider's API:

param: string $method
return: array of quotation results

check()   X-Ref
check status of module

return: boolean

install()   X-Ref
Install this module


remove()   X-Ref
Remove this module


keys()   X-Ref
Build array of keys used for installing/managing this module

return: array

_setService($service)   X-Ref
Set USPS service mode

param: string $service

_setWeight($pounds, $ounces=0)   X-Ref
Set USPS weight for quotation collection

param: integer $pounds
param: integer $ounces

_setContainer($container)   X-Ref
Set USPS container type

param: string $container

_setSize($size)   X-Ref
Set USPS package size

param: integer $size

_setMachinable($machinable)   X-Ref
Set USPS machinable flag

param: boolean $machinable

_getQuote()   X-Ref
Get actual quote from USPS

return: array of results or boolean false if no results

country_list()   X-Ref
USPS Country Code List
This list is used to compare the 2-letter ISO code against the order country ISO code, and provide the proper/expected
spelling of the country name to USPS in order to obtain a rate quote

return: array



Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics