mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-25 20:50:47 +00:00

git-subtree-dir: submodules/TelegramUI git-subtree-mainline: 5c1613d1048026b9e00a6ce753775cef87eb53fa git-subtree-split: fa3ac0b61a27c8dd3296518a15891a6f9750cbf2
27 lines
627 B
Objective-C
Executable File
27 lines
627 B
Objective-C
Executable File
//
|
|
// STPBINRange.h
|
|
// Stripe
|
|
//
|
|
// Created by Jack Flintermann on 5/24/16.
|
|
// Copyright © 2016 Stripe, Inc. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "STPCardBrand.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface STPBINRange : NSObject
|
|
|
|
@property(nonatomic, readonly)NSUInteger length;
|
|
@property(nonatomic, readonly)STPCardBrand brand;
|
|
|
|
+ (NSArray<STPBINRange *> *)allRanges;
|
|
+ (NSArray<STPBINRange *> *)binRangesForNumber:(NSString *)number;
|
|
+ (NSArray<STPBINRange *> *)binRangesForBrand:(STPCardBrand)brand;
|
|
+ (instancetype)mostSpecificBINRangeForNumber:(NSString *)number;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|