
Public Member Functions | |
| getApi () | |
| getSession () | |
| getCheckout () | |
| getQuote () | |
| getRedirectUrl () | |
| getCountryRegionId () | |
Definition at line 33 of file Abstract.php.
| getApi | ( | ) |
Get Paypal API Model
Definition at line 40 of file Abstract.php.
00041 { 00042 return Mage::getSingleton('paypal/api_nvp'); 00043 }
| getCheckout | ( | ) |
Get checkout session namespace
Definition at line 60 of file Abstract.php.
00061 { 00062 return Mage::getSingleton('checkout/session'); 00063 }
| getCountryRegionId | ( | ) |
Definition at line 80 of file Abstract.php.
00081 { 00082 $a = $this->getApi()->getShippingAddress(); 00083 return $this; 00084 }
| getQuote | ( | ) |
Get current quote
Definition at line 70 of file Abstract.php.
00071 { 00072 return $this->getCheckout()->getQuote(); 00073 }
| getRedirectUrl | ( | ) |
Definition at line 75 of file Abstract.php.
00076 { 00077 return $this->getApi()->getRedirectUrl(); 00078 }
| getSession | ( | ) |
Get paypal session namespace
Definition at line 50 of file Abstract.php.
00051 { 00052 return Mage::getSingleton('paypal/session'); 00053 }
1.5.8