UnionInterface.h 1 KB
//
//  UnionInterface.h
//  PoolSdk
//
//  Created by winFan on 11/23/15.
//  Copyright (c) 2015 winFan. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "PoolCreateOrderInfo.h"
#import "PoolReportInfo.h"
@protocol UnionInterface
/**
 初始化SDK
 */

//[[PoolChecker getInstance] sendNotice:PoolSDKNotificationPay notiName:@"" statusCode:POOLSDK_NO_ERROR description:@"" extendData:order_id];

- (void)SDKinit:(UIViewController *) control;

/**
 登录SDK
 */
- (void)SDKloginSDK;

/**
 注销
 */
- (void)SDKlogoutSDK;

/**
 退出
 */
- (void)SDKexitSDK;

/**
 用户中心
 */
- (void)SDKgotoUserCenter;

/**
 用户中心
 */
- (void)SDKreport:(PoolReportInfo *) reportInfo;

/**
 进行支付
 */

- (void)SDKpayWithPaymentInfo:(PoolCreateOrderInfo *)payInfo;
- (void)receiveCreateOrder: (NSNotification *)notification;

- (void)handleOpenurl:(NSURL *)url;
- (NSUInteger) application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window;

@end