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

  • australiapostShipping
  • canadapostShipping
  • courierShipping
  • dhlShipping
  • emsruShipping
  • fedexShipping
  • flatrateShipping
  • pickupShipping
  • russianpostShipping
  • upsShipping
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class australiapostShipping

waSystemPlugin
Extended by waShipping
Extended by australiapostShipping
Package: wa-plugin\shipping
Located at wa-plugins/shipping/australiapost/lib/australiapostShipping.class.php
Methods summary
public string
# allowedCurrency( )

Returns

string
ISO3 currency code or array of ISO3 codes
public string
# allowedWeightUnit( )

Returns

string
Weight units or array of weight units
protected
# getTotalWeight( )

Overrides

waShipping::getTotalWeight()
protected array|string
# calculate( )

Returns

array|string
protected array|string
# parseResponse( mixed $response )

Parameters

$response
mixed
$response

Returns

array|string
protected string
# sendRequest( string $url, string $request = '' )

Parameters

$url
string
$url
$request
string
$request

Returns

string

Throws

waException
protected string
# prepareRequest( )

Returns

string

Throws

waException
protected string
# prepareDomesticRequest( )

Returns

string

Throws

waException
protected string
# prepareInternationalRequest( )

Returns

string

Throws

waException
public array
# requestedAddressFields( )

Array of required address fields.

Array of required address fields.

Returns

array
В качестве ключа должно быть название поля [country|region|city|street|zip], в качестве значения массив с необязательными параметрами - required => bool переопределяет глобальную настройку - hidden => bool делает поле скрытым - value => string определяет значение поля - cost => bool требуется для расчета доставки

Overrides

waShipping::requestedAddressFields()
protected string
# getUrl( )

Returns

string
public
# __get( mixed $name )

Overrides

waSystemPlugin::__get()
protected static
# dumpXml( mixed $xml )
Methods inherited from waShipping
addItem(), addItems(), allowedAddress(), customFields(), displayPrintForm(), enumerate(), execCallback(), factory(), flush(), getAdapter(), getAddress(), getCountryISO2Code(), getItems(), getPackageProperty(), getPrintForms(), getRates(), getTotalPrice(), info(), init(), setAddress(), setItems(), settingCountryControl(), settingCountrySelect(), settingCurrencySelect(), settingRegionZoneControl(), tracking()
Methods inherited from waSystemPlugin
__construct(), __isset(), _w(), getDescription(), getId(), getName(), getPath(), getProperties(), getSettings(), getSettingsHTML(), getType(), initControls(), registerControl(), saveSettings(), setSettings()
Constants inherited from waShipping
PLUGIN_TYPE
Properties summary
private string $currency 'AUD'
#
private float $min_weight 0.1
#
Properties inherited from waShipping
$app_id
Properties inherited from waSystemPlugin
$id, $key, $path, $type
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0