/** @since Available in iOS 7.0 and later. */ public boolean isExpired() { if (data.containsKey(IsExpiredKey())) { NSNumber val = (NSNumber) data.get(IsExpiredKey()); return val.booleanValue(); } return false; }
/** @since Available in iOS 4.0 and later. */ public String getAirline() { if (data.containsKey(AirlineKey())) { NSString val = (NSString) data.get(AirlineKey()); return val.toString(); } return null; }
/** @since Available in iOS 7.0 and later. */ public boolean isVolumePurchase() { if (data.containsKey(IsVolumePurchaseKey())) { NSNumber val = (NSNumber) data.get(IsVolumePurchaseKey()); return val.booleanValue(); } return false; }
/** @since Available in iOS 4.0 and later. */ public String getFlight() { if (data.containsKey(FlightKey())) { NSString val = (NSString) data.get(FlightKey()); return val.toString(); } return null; }