You are here

getPostCode

public String getPostCode() returns the post code from the Company section of a person's profile.
Attention: Introduced in SDK version 1.3.

Parameters

None

Returns

Returns a String representing the post code of the company's address. Returns null if not available.

Example


    PersonService ps = session.getServiceRegistry().getPersonService();
    
    Person p = ps.getPerson("joeuser");
    
    Company c = p.getCompany()
    
    Log.d(TAG, "post code: " + c.getPostCode());

      

Would produce output such as the following:


post code: SL6 1AF