CreditCard Class and GlobalCredit Class
===

I created a random object with GlobalCredit Class http://www.cse.yorku.ca/common/type/api/type/lib/GlobalCredit.html

    GlobalCredit credit1 = GlobalCredit.getRandom();

then im trying to output the number and expiry date of each card in the collection. Using this class:

http://www.cse.yorku.ca/common/type/api/type/lib/CreditCard.html

so basically I got to use the methods:
    
    getExpiryDate()
    getNumber()

But I dont get how GlobalCredit and CreditCard Class relate to each other? 

    GlobalCredit credit1 = GlobalCredit.getRandom();
    int expiry = credit1.getExpiryDate();

I need a way to use "getExpiryDate()" method on GlobalCredit object...
