Manos Chorianopoulos

fix getCoupons callback

......@@ -675,8 +675,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get Campaigns Personalized %@", error );
failure(error);
}
}
}];
}
......@@ -1101,8 +1103,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at token %@", error );
failure(error);
}
}
}];
}
......@@ -1155,8 +1159,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at token %@", error );
failure(error);
}
}
}];
}
......@@ -1211,8 +1217,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
// }];
}
} else {
NSLog(@"Error at token %@", error );
failure(error);
}
}
}];
}
......@@ -1249,8 +1257,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at change password %@", error );
failure(error);
}
}
}];
}
......@@ -1292,8 +1302,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get profile %@", error );
failure(error);
}
}
}];
}
......@@ -1353,8 +1365,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at post Event %@", error );
failure(error);
}
}
}];
}
......@@ -1459,8 +1473,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at edit profile %@", error );
failure(error);
}
}
}];
}
......@@ -1500,8 +1516,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get pacing details %@", error );
failure(error);
}
}
}];
}
......@@ -1541,8 +1559,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at set pacing details %@", error );
failure(error);
}
}
}];
}
......@@ -1619,8 +1639,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at consumer Integration %@", error );
failure(error);
}
}
}];
}
......@@ -1656,8 +1678,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at change profile image %@", error );
failure(error);
}
}
}];
}
......@@ -1693,8 +1717,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at add card %@", error );
failure(error);
}
}
}];
}
......@@ -1730,8 +1756,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get cards %@", error );
failure(error);
}
}
}];
}
......@@ -1767,8 +1795,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get delete card %@", error );
failure(error);
}
}
}];
}
......@@ -1894,8 +1924,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get coupons %@", error );
failure(error);
}
}
}];
}
......@@ -1931,8 +1963,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get transaction history %@", error );
failure(error);
}
}
}];
}
......@@ -1968,8 +2002,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get points history %@", error );
failure(error);
}
}
}];
}
......@@ -2009,8 +2045,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get Sharing History %@", error );
failure(error);
}
}
}];
}
......@@ -2046,8 +2084,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at add address %@", error );
failure(error);
}
}
}];
}
......@@ -2083,8 +2123,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get address %@", error );
failure(error);
}
}
}];
}
......@@ -2165,8 +2207,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at edit address %@", error );
failure(error);
}
}
}];
}
......@@ -2202,8 +2246,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at delete address %@", error );
failure(error);
}
}
}];
}
......@@ -2239,8 +2285,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at redeem coupons %@", error );
failure(error);
}
}
}];
}
......@@ -2499,8 +2547,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at redeem coupon sets %@", error );
failure(error);
}
}
}];
}
......@@ -2559,8 +2609,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at redeem coupon sets %@", error );
failure(error);
}
}
}];
}
......@@ -2600,8 +2652,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at cosmote Coupon Sharing %@", error );
failure(error);
}
}
}];
}
......@@ -2641,8 +2695,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get cosmote sharing %@", error );
failure(error);
}
}
}];
}
......@@ -2682,8 +2738,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at cosmote retrieve sharing %@", error );
failure(error);
}
}
}];
}
......@@ -2742,8 +2800,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at submit Order %@", error );
failure(error);
}
}
}];
}
......@@ -2779,8 +2839,10 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION)
}
NSLog(@"Error at token %@", error );
}];
}
} else {
NSLog(@"Error at get coupon sets %@", error );
failure(error);
}
}
}];
}
......
......@@ -690,6 +690,7 @@ public class swiftApi {
instanceOfMyApi.getCouponsWithSuccessBlock(couponsCallback, failureBlock: (couponsFailureCallback))
}
} else {
getCouponsCallback(nil)
}
}
......