mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00

git-subtree-dir: submodules/TelegramUI git-subtree-mainline: 5c1613d1048026b9e00a6ce753775cef87eb53fa git-subtree-split: fa3ac0b61a27c8dd3296518a15891a6f9750cbf2
19 lines
740 B
Objective-C
Executable File
19 lines
740 B
Objective-C
Executable File
//
|
|
// STPCardValidationState.h
|
|
// Stripe
|
|
//
|
|
// Created by Jack Flintermann on 8/7/15.
|
|
// Copyright (c) 2015 Stripe, Inc. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
* These fields indicate whether a card field represents a valid value, invalid value, or incomplete value.
|
|
*/
|
|
typedef NS_ENUM(NSInteger, STPCardValidationState) {
|
|
STPCardValidationStateValid, // The field's contents are valid. For example, a valid, 16-digit card number.
|
|
STPCardValidationStateInvalid, // The field's contents are invalid. For example, an expiration date of "13/42".
|
|
STPCardValidationStateIncomplete, // The field's contents are not yet valid, but could be by typing additional characters. For example, a CVC of "1".
|
|
};
|