Class Mage_ImportExport_Model_Import_Entity_Customer_Address
Import entity customer address
- Mage_ImportExport_Model_Import_Entity_Abstract
- Mage_ImportExport_Model_Import_Entity_Customer_Address
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/ImportExport/Model/Import/Entity/Customer/Address.php
public
|
|
protected
boolean
|
|
protected
|
|
protected
|
|
protected
boolean
|
|
protected
|
|
protected
|
|
protected
|
|
public static
string
|
#
getColNameForAttrCode( string $attrCode )
Get column name which holds value for attribute with specified code. |
public static
array
|
#
getDefaultAddressAttrMapping( )
Customer default addresses column name to customer attribute mapping array. |
public
string
|
|
public
boolean
|
#
isAttributeParticular( string $attrCode )
Is attribute contains particular data (not plain entity attribute). |
public
boolean
|
string |
COL_NAME_PREFIX
|
'_address_' |
#
Prefix for source file column name, which displays that column contains address data. |
string |
COL_NAME_DEFAULT_BILLING
|
'_address_default_billing_' |
#
Particular columns that contains of customer default addresses. |
string |
COL_NAME_DEFAULT_SHIPPING
|
'_address_default_shipping_' |
|
string |
ERROR_INVALID_REGION
|
'invalidRegion' |
#
Error codes. |
DB_MAX_PACKET_COEFFICIENT,
DB_MAX_PACKET_DATA,
DB_MAX_TEXT_LENGTH,
DB_MAX_VARCHAR_LENGTH
|
protected
array
|
$_attributes | array() |
#
Customer address attributes parameters. |
protected
array
|
$_countryRegions | array() |
#
Countrys and its regions. |
protected
|
$_customer |
|
#
Customer import entity. |
protected static
array
|
$_defaultAddressAttrMapping | array(
self::COL_NAME_DEFAULT_BILLING => 'default_billing',
self::COL_NAME_DEFAULT_SHIPPING => 'default_shipping'
) |
#
Default addresses column names to appropriate customer attribute code. |
protected
string
|
$_entityTable |
|
#
Customer entity DB table name. |
protected
array
|
$_indexValueAttributes | array('country_id') |
#
Attributes with index (not label) value. |
protected
array
|
$_messageTemplates | array(self::ERROR_INVALID_REGION => 'Region is invalid') |
#
Validation failure message template definitions |
protected
array
|
$_particularAttributes | array(self::COL_NAME_DEFAULT_BILLING, self::COL_NAME_DEFAULT_SHIPPING) |
#
Column names that holds values with particular meaning. |
protected
array
|
$_regions | array() |
#
Region ID to region default name pairs. |