Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (BOOL)isNoActivePackInUse {
- for (EEPayGPackDTO *pack in self.packs.packs) {
- if(pack.isActive || pack.isExhausted || pack.isPending || pack.isStacked || pack.isSelected || pack.isRenewing || pack.isRepurchase) {
- return NO;
- }
- }
- return !self.isDataOnlyPlan
- && ((self.packs == nil || self.packs.packs == nil || self.packs.packs.count == 0)
- || (!self.packs.insufficientFundsForRenewal && !self.packs.isRenewableEarly && self.packs.packRenewalSuccess));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement