Class Mage_Sales_Model_Order_Shipment
Sales order shipment model
- Varien_Object
-
Mage_Core_Model_Abstract
-
Mage_Sales_Model_Abstract
-
Mage_Sales_Model_Order_Shipment
Package: Mage\Sales
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Order/Shipment.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Order/Shipment.php
protected
|
|
protected
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
unknown
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
addComment( boolean $comment, boolean $notify = false, mixed $visibleOnFront = false )
Adds comment to shipment with additional possibility to send it to customer via email and show it in customer account |
public
|
|
public
|
|
public
|
#
sendUpdateEmail( boolean $notifyCustomer = true, string $comment = '' )
Send email with shipment update information |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
public
|
getCreatedAtDate(),
getCreatedAtStoreDate()
|
integer |
STATUS_NEW
|
1 |
|
string |
XML_PATH_EMAIL_TEMPLATE
|
'sales_email/shipment/template' |
|
string |
XML_PATH_EMAIL_GUEST_TEMPLATE
|
'sales_email/shipment/guest_template' |
|
string |
XML_PATH_EMAIL_IDENTITY
|
'sales_email/shipment/identity' |
|
string |
XML_PATH_EMAIL_COPY_TO
|
'sales_email/shipment/copy_to' |
|
string |
XML_PATH_EMAIL_COPY_METHOD
|
'sales_email/shipment/copy_method' |
|
string |
XML_PATH_EMAIL_ENABLED
|
'sales_email/shipment/enabled' |
|
string |
XML_PATH_UPDATE_EMAIL_TEMPLATE
|
'sales_email/shipment_comment/template' |
|
string |
XML_PATH_UPDATE_EMAIL_GUEST_TEMPLATE
|
'sales_email/shipment_comment/guest_template' |
|
string |
XML_PATH_UPDATE_EMAIL_IDENTITY
|
'sales_email/shipment_comment/identity' |
|
string |
XML_PATH_UPDATE_EMAIL_COPY_TO
|
'sales_email/shipment_comment/copy_to' |
|
string |
XML_PATH_UPDATE_EMAIL_COPY_METHOD
|
'sales_email/shipment_comment/copy_method' |
|
string |
XML_PATH_UPDATE_EMAIL_ENABLED
|
'sales_email/shipment_comment/enabled' |
|
string |
REPORT_DATE_TYPE_ORDER_CREATED
|
'order_created' |
|
string |
REPORT_DATE_TYPE_SHIPMENT_CREATED
|
'shipment_created' |
|
string |
HISTORY_ENTITY_NAME
|
'shipment' |
protected
mixed
|
$_items |
|
|
protected
mixed
|
$_tracks |
|
|
protected
mixed
|
$_order |
|
|
protected
mixed
|
$_comments |
|
|
protected
string
|
$_eventPrefix | 'sales_order_shipment' |
#
Prefix of model events names |
protected
string
|
$_eventObject | 'shipment' |
#
Parameter name in event |
$_cacheTag,
$_dataSaveAllowed,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|