Description: getPostcode is a method of Varien_Object class in PHP which is used to retrieve the postcode from a given object.
Code Example 1: $postcode = $customer->getData('postcode'); In this code example, the postcode of a customer object is retrieved using the getData method and stored in a variable called $postcode.
Code Example 2: $postcode = $address->getPostcode(); In this code example, the postcode of an address object is retrieved using the getPostcode method and stored in a variable called $postcode.
Package Library: Varien_Object is a class from the Magento Core library.
PHP Varien_Object::getPostcode - 15 examples found. These are the top rated real world PHP examples of Varien_Object::getPostcode extracted from open source projects. You can rate examples to help us improve the quality of examples.