$obj2->couponPass_addInfo("Expiry:", "04/26/2014");
$obj2->couponPass_addInfo("Member:", "John");
$obj->addIcon("/var/www/images/coupon/icon.png");
$obj2->addIconHD("/var/www/images/coupon/icon@2x.png");
$obj2->addLogo("/var/www/images/coupon/logo.png");
$obj2->addLogoHD("/var/www/images/coupon/logo@2x.png");
$obj2->addBackScreenInfo("Copyrights", "All rights reserved Super General Store");
if ($obj2->generatePass("/var/www/passbook/test/", "CouponPass")) {
    echo "<br> Your Pass has been generated. Now sign the pass by using following <a href='https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/PassKit_PG/Chapters/Introduction.html'>link</a>";
}
// Create Event ticket pass
$obj3 = new ApplePass(EVENT_TICKET, "YOUR PASS IDENTIFIER", "YOUR TEAM IDENTIFIER", "ABC Entertainment", "Summer Gala", "ABC Entertainment", "rgb(22, 55, 110)", "rgb(50, 91, 185)");
$obj3->addBarCode("ETDEY01402Q");
$obj3->eventPass_addHeaderInfo("Seat#", "424");
$obj3->eventPass_addEvent("Event", "Summer Fashion Show");
$obj3->eventPass_addInfo("Location", "123 Ave NY");
$obj3->eventPass_addInfo("Date", "09/23/2013");
$obj3->eventPass_addInfo("Time", "3 PM");
$obj3->addIcon("/var/www/images/event/icon.png");
$obj3->addIconHD("/var/www/images/event/icon@2x.png");
$obj3->addLogo("/var/www/images/event/logo.png");
$obj3->addLogoHD("/var/www/images/event/logo@2x.png");
$obj3->addBackgroud("/var/www/images/event/background.png");
$obj3->addBackgroud_hd("/var/www/images/event/background@2x.png");
$obj3->addThumbnail("/var/www/images/event/thumbnail.png");
$obj3->addThumbnail_hd("/var/www/images/event/thumbnail@2x.png");
$obj3->addBackScreenInfo("Copyrights", "All rights reserved ABC Entertainment");
if ($obj3->generatePass("/var/www/passbook/test/", "EventTicket")) {
    echo "<br> Your Pass has been generated. Now sign the pass by using following <a href='https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/PassKit_PG/Chapters/Introduction.html'>link</a>";
}
// Create Generic pass