Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • uspsLabelsExpressMailQuery
  • uspsLabelsInternationalShippingQuery
  • uspsLabelsQuery
  • uspsLabelsSignatureConfirmationQuery
  • uspsLabelsUspsTrackingQuery
  • uspsQuery
  • uspsRatingsQuery
  • uspsServices
  • uspsShipping
  • uspsTrackingQuery
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class uspsLabelsQuery

uspsQuery
Extended by uspsLabelsQuery

Direct known subclasses

uspsLabelsExpressMailQuery, uspsLabelsInternationalShippingQuery, uspsLabelsSignatureConfirmationQuery, uspsLabelsUspsTrackingQuery
Abstract
Package: wa-plugins\shipping\usps
Located at wa-plugins/shipping/usps/lib/classes/uspsLabelsQuery.class.php
Methods summary
public
# __construct( uspsShipping $plugin, array $params )

Parameters

$plugin
uspsShipping
$plugin
$params
array
$params params from uspsShipping

Overrides

uspsQuery::__construct()
protected string
# correctAddress( string $address )

Correct address (e.g. transliterate)

Parameters

$address
string
$address

Returns

string
protected string
# getUrl( )

Returns

string
protected
# addSenderInfo( SimpleXMLElement & $xml )

Parameters

$xml
SimpleXMLElement
$xml
protected
# addRecipientInfo( SimpleXMLElement & $xml )

Parameters

$xml
SimpleXMLElement
$xml
abstract protected
# getConfirmationNumberTagName( )
abstract protected
# getLabelTagName( )
abstract public
# getSupportedServices( )
protected array|string
# parseResponse( string $response )

Parameters

$response
string
$response

Returns

array|string

Throws

waException

See

uspsQuery::parseResponse()

Overrides

uspsQuery::parseResponse()
public
# parseZip( mixed $zip )

Taking into account zip+4 format

Taking into account zip+4 format

Methods inherited from uspsQuery
dumpXml(), execute(), getAPIName(), getAddress(), getCountryList(), getCountryName(), getPrice(), getWeight(), parseWeight(), prepareRequest(), sendRequest(), setAddress()
Properties summary
protected array $service
#
Properties inherited from uspsQuery
$params, $plugin
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0