Overview

Namespaces

  • None
  • PHP

Classes

  • Eabi_DpdEE_Block_Adminhtml_Config_Form_Field_Country
  • Eabi_DpdEE_Block_Info_Payment
  • Eabi_DpdEE_Block_Invoice
  • Eabi_DpdEE_Block_Order_Courier
  • Eabi_DpdEE_Helper_Data
  • Eabi_DpdEE_Model_Api
  • Eabi_DpdEE_Model_Button_Courier
  • Eabi_DpdEE_Model_Config
  • Eabi_DpdEE_Model_Flat
  • Eabi_DpdEE_Model_Observer
  • Eabi_DpdEE_Model_Payment_Processor
  • Eabi_DpdEE_Model_Post
  • Eabi_DpdEE_Model_Source_Label_Position
  • Eabi_DpdEE_Model_Source_Service
  • Eabi_Livehandler_Adminhtml_LivehandlerController
  • Eabi_Livehandler_Adminhtml_RemoveController
  • Eabi_Livehandler_Block_Adminhtml_Config_Form_Field_Button
  • Eabi_Livehandler_Block_Adminhtml_Config_Form_Field_Remove
  • Eabi_Livehandler_Block_Email
  • Eabi_LiveHandler_Block_Footer
  • Eabi_Livehandler_Helper_Data
  • Eabi_Livehandler_Helper_Keypair
  • Eabi_Livehandler_IndexController
  • Eabi_Livehandler_Model_Abstract
  • Eabi_Livehandler_Model_Action_Abstract
  • Eabi_Livehandler_Model_Action_Postoffice_Print
  • Eabi_Livehandler_Model_Action_Postoffice_Send
  • Eabi_Livehandler_Model_Adminhtml_Gridmanager
  • Eabi_Livehandler_Model_Directory_Collection
  • Eabi_Livehandler_Model_Entry
  • Eabi_Livehandler_Model_File_Object
  • Eabi_Livehandler_Model_Mysql4_Entry
  • Eabi_Livehandler_Model_Mysql4_Entry_Collection
  • Eabi_Livehandler_Model_Ordergrid
  • Eabi_Livehandler_Model_System_Config_Backend_Button
  • Eabi_Postoffice_Adminhtml_PostofficeController
  • Eabi_Postoffice_Block_Adminhtml_Config_Form_Field_License
  • Eabi_Postoffice_Block_Adminhtml_Config_Form_Field_Remove
  • Eabi_Postoffice_Block_Config_Rebuildbutton
  • Eabi_Postoffice_Helper_Countrycode
  • Eabi_Postoffice_Helper_Data
  • Eabi_Postoffice_IndexController
  • Eabi_Postoffice_Model_Carrier_Abstract
  • Eabi_Postoffice_Model_Carrier_Result
  • Eabi_Postoffice_Model_Carriermodule
  • Eabi_Postoffice_Model_Mysql4_Carriermodule
  • Eabi_Postoffice_Model_Mysql4_Carriermodule_Collection
  • Eabi_Postoffice_Model_Mysql4_Office
  • Eabi_Postoffice_Model_Mysql4_Office_Collection
  • Eabi_Postoffice_Model_Observer
  • Eabi_Postoffice_Model_Office
  • Eabi_Postoffice_Model_Orderview
  • Eabi_Postoffice_Model_Source_Sendevent
  • Eabi_Postoffice_Model_Updater
  • Overview
  • Namespace
  • Class
  • Tree

Class Eabi_DpdEE_Model_Flat

Represents DPD courier shipping method.

Extra order data is stored under specialized order comment

Can perform following business actions:

  • Calculate shipping price based on country and weight
  • Send information about shipment data to DPD server.
  • Display tracking link to user when tracking code is added to the shipment.
  • Call courier to pick up the shipment that was ordered using this carrier.
  • Print out packing slip PDF from Order view.
Mage_Shipping_Model_Carrier_Abstract
Extended by Eabi_Postoffice_Model_Carrier_Abstract
Extended by Eabi_DpdEE_Model_Post
Extended by Eabi_DpdEE_Model_Flat
Author: Matis
Located at Eabi/DpdEE/Model/Flat.php
Methods summary
protected boolean
# _isAvailable( Mage_Shipping_Model_Rate_Request $request )

If disable shipping by product comment is allowed and product's short description in shopping cart contains html comment <!-- no dpd_ee_module --> then it returns false.

If disable shipping by product comment is allowed and product's short description in shopping cart contains html comment <!-- no dpd_ee_module --> then it returns false.

Parameters

$request
Mage_Shipping_Model_Rate_Request
$request

Returns

boolean
true if this method is available.

See

Eabi_Postoffice_Model_Carrier_Abstract::_isAvailable()

Overrides

Eabi_DpdEE_Model_Post::_isAvailable()
public boolean
# isAutoSendAvailable( )

Automatic data sending is defined in Parcel terminal module configuration

Automatic data sending is defined in Parcel terminal module configuration

Returns

boolean

Overrides

Eabi_Postoffice_Model_Carrier_Abstract::isAutoSendAvailable()
public array
# autoSendData( Mage_Sales_Model_Order $order, type $selectedOfficeId )

Sends parcel data to DPD server for specified order

Sends parcel data to DPD server for specified order

Parameters

$order
Mage_Sales_Model_Order
$order
$selectedOfficeId
type
$selectedOfficeId not applicable.

Returns

array
comma separated parcel numbers in array key of 'barcode'

Overrides

Eabi_DpdEE_Model_Post::autoSendData()
public array
# getOfficeList( )

This carrier has no parcel terminal selection feature, so one entry must still be added with shipping method title defined for this carrier.

This carrier has no parcel terminal selection feature, so one entry must still be added with shipping method title defined for this carrier.

Returns

array
single office element

Overrides

Eabi_DpdEE_Model_Post::getOfficeList()
public string
# getTerminalTitle( Eabi_Postoffice_Model_Office $office )

Returns carrier title specified for this shipping method.

Returns carrier title specified for this shipping method.

Parameters

$office
Eabi_Postoffice_Model_Office
$office

Returns

string

See

Eabi_Postoffice_Model_Carrier_Abstract::getTerminalTitle()

Overrides

Eabi_DpdEE_Model_Post::getTerminalTitle()
public string
# getAdminTerminalTitle( Eabi_Postoffice_Model_Office $office )

Returns carrier title specified for this shipping method.

Returns carrier title specified for this shipping method.

Parameters

$office
Eabi_Postoffice_Model_Office
$office

Returns

string

See

Eabi_Postoffice_Model_Carrier_Abstract::getAdminTerminalTitle()

Overrides

Eabi_DpdEE_Model_Post::getAdminTerminalTitle()
public null|boolean
# isPickedUpByCourier( Mage_Sales_Model_Order $order )

Indicates if specified order has been picked up by courier.

Should return the following

  • true - If the order has been picked up by courier
  • false - If the order has not been picked up by courier
  • null - If courier pickup is not applicable to specified order

Indicates if specified order has been picked up by courier.

Should return the following

  • true - If the order has been picked up by courier
  • false - If the order has not been picked up by courier
  • null - If courier pickup is not applicable to specified order

Parameters

$order
Mage_Sales_Model_Order
$order

Returns

null|boolean

Overrides

Eabi_DpdEE_Model_Post::isPickedUpByCourier()
public array
# getTerminals( integer $groupId = null, integer $addressId = null )

Nullifies address id from query, because in every country there needs to be available 'parcel-terminal'

Nullifies address id from query, because in every country there needs to be available 'parcel-terminal'

Parameters

$groupId
integer
$groupId
$addressId
integer
$addressId

Returns

array

See

Eabi_Postoffice_Model_Carrier_Abstract::getTerminals()

Overrides

Eabi_Postoffice_Model_Carrier_Abstract::getTerminals()
public array
# getGroups( integer $addressId = null )

Nullifies address id from query, because in every country there needs to be available 'parcel-terminal'

Nullifies address id from query, because in every country there needs to be available 'parcel-terminal'

Parameters

$addressId
integer
$addressId

Returns

array

See

Eabi_Postoffice_Model_Carrier_Abstract::getGroups()

Overrides

Eabi_Postoffice_Model_Carrier_Abstract::getGroups()
public mixed
# getConfigData( string $field )

Gets the config data from this instance and if not existent, then tries to fetch it from parent instance.

Gets the config data from this instance and if not existent, then tries to fetch it from parent instance.

Parameters

$field
string
$field

Returns

mixed

Overrides

Eabi_DpdEE_Model_Post::getConfigData()
Methods inherited from Eabi_DpdEE_Model_Post
_applyPriceFromCod(), _calculateAdditionalShippingPrice(), _decodeShippingMatrix(), _getConfigDataOverride(), _getDescription(), _getDpdHelper(), _getNumberOfPackagesForOrder(), _getRemark(), _setDataToOrder(), getBarcode(), getBarcodePdf(), getCodFee(), getConfigDataForThis(), getDataFromOrder(), getGroupSort(), isBarcodeFunctionAvailable(), isCodEnabled(), isDataSent()
Methods inherited from Eabi_Postoffice_Model_Carrier_Abstract
_compareAddressToRequest(), _getAddressModel(), _getCheckoutSession(), _getDeliveryTime(), _getDialCodeHelper(), _getDisabledComment(), _getEabi(), _getOfficeHelper(), _getOfficeModel(), _getProductModel(), _getQuote(), _getSeconds(), _getStartingDayStamp(), _isMultishipping(), checkAvailableShipCountries(), clearSession(), collectRates(), getAddressId(), getCode(), getGroupTitle(), getOfficesFromAddress(), getPriceFromAddressId(), getTerminal(), getTerminalComment(), getTrackingInIframe(), getTrackingInfo(), getTrackingUrl(), isAjaxInsertAllowed(), isTrackingAvailable(), setConfigData(), setOfficeToSession()
Constants inherited from Eabi_DpdEE_Model_Post
ORDER_COMMENT_START_PREFIX
Properties summary
protected string $_code Eabi_DpdEE_Model_Config::SHIPPING_METHOD_CODE_FLAT
#
protected string $_parent_code Eabi_DpdEE_Model_Config::SHIPPING_METHOD_CODE_PARCEL_TERMINAL
#
Properties inherited from Eabi_DpdEE_Model_Post
$_tracking_url
Properties inherited from Eabi_Postoffice_Model_Carrier_Abstract
$_quote, $_track_iframe
DPD Eesti - Pakivedu.ee Shipping module for Magento API documentation generated by ApiGen 2.8.0