Swiftgram/submodules/Stripe/Sources/STPAPIClient+Private.h
2019-08-12 23:42:50 +03:00

27 lines
608 B
Objective-C
Executable File

//
// STPAPIClient+Private.h
// Stripe
//
// Created by Jack Flintermann on 10/14/15.
// Copyright © 2015 Stripe, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface STPAPIClient()
- (instancetype)initWithPublishableKey:(NSString *)publishableKey
baseURL:(NSString *)baseURL;
- (void)createTokenWithData:(NSData *)data
completion:(STPTokenCompletionBlock)completion;
@property (nonatomic, readwrite) NSURL *apiURL;
@property (nonatomic, readwrite) NSURLSession *urlSession;
@end
NS_ASSUME_NONNULL_END