Class Mage_Paypal_Model_Api_Abstract
Abstract class for Paypal API wrappers
- Varien_Object
- Mage_Paypal_Model_Api_Abstract
Indirect known subclasses
Mage_PaypalUk_Model_Api_NvpPackage: Mage\Paypal
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/Paypal/Model/Api/Abstract.php
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
array|Varien_Object
&
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
protected
array
&
|
#
_exportToRequest( array $privateRequestMap, array $request = array() )
Export $this public data to private request array |
protected
|
#
_importFromResponse( array $privateResponseMap, array $response )
Import $this public data from a private response array |
protected
true|boolean
|
|
protected
boolean
|
#
_exportShippingOptions( array & $request, integer $i = 0 )
Prepare shipping options request Returns false if there are no shipping options |
protected
string
|
|
protected
string
|
|
protected
integer
|
|
protected
mixed
|
#
_getDataOrConfig( string $key, mixed $default = null )
Unified getter that looks in data or falls back to config |
protected
string
|
#
_lookupRegionCodeFromAddress( Varien_Object $address )
region_id workaround: PayPal requires state code, try to find one in the address |
protected
|
#
_importStreetFromAddress( Varien_Object $address, array & $to )
Street address workaround: divides address lines into parts by specified keys (keys should go as 3rd, 4th[...] parameters) |
protected
string
|
|
protected
string
|
#
_filterQty( float|string|integer $value )
Filter qty in API calls Paypal note: The value for quantity must be a positive integer. Null, zero, or negative numbers are not allowed. |
protected
|
|
public
boolean
|
|
public
boolean
|
protected
|
$_config | null |
#
Config instance |
protected
array
|
$_globalMap | array() |
#
Global private to public interface map |
protected
array
|
$_exportToRequestFilters | array() |
#
Filter callbacks for exporting $this data to API call |
protected
array
|
$_importFromRequestFilters | array() |
#
Filter callbacks for importing API result to $this data |
protected
array
|
$_lineItemExportItemsFormat | array() |
#
Line items export to request mapping settings |
protected
array
|
$_lineItemExportItemsFilters | array() |
|
protected
array
|
$_lineItemTotalExportMap | array() |
|
protected
|
$_cart | null |
#
PayPal shopping cart instance |
protected
array
|
$_shippingOptionsExportItemsFormat | array() |
#
Shipping options export to request mapping settings |
protected
array
|
$_recurringPaymentProfiles | array() |
#
Imported recurring profiles array |
protected
array
|
$_debugReplacePrivateDataKeys | array() |
#
Fields that should be replaced in debug with '***' |