//
//  CQColorfulAlertView.h
//  AlertToastHUD
//
//  Created by caiqiang on 2018/12/6.
//  Copyright © 2018年 Caiqiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CQColorfulAlertView : UIView

/**
 兑换成功后展示的弹窗
 
 @param couponName 优惠券名称
 @param validityTime 有效期
 @param checkButtonClickedBlock “查看优惠券”按钮点击后的回调
 */
+ (void)showConversionSucceedAlertWithCouponName:(NSString *)couponName validityTime:(NSString *)validityTime checkCouponButtonClickedBlock:(void (^)(void))checkButtonClickedBlock;

/**
认证失败后展示的弹窗

@param message 提示消息
@param checkButtonClickedBlock “重新采集”按钮点击后的回调
*/
+ (void)showAuthenticationFailedAlertWithMessage:(NSString *)message checkCouponButtonClickedBlock:(void (^)(void))checkButtonClickedBlock;

@end
