Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

Commit e7d0fda

Browse files
author
Bryant Luk
committed
Release 5.3.0
1 parent 94fea27 commit e7d0fda

11 files changed

+30
-10
lines changed

CardIO.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'CardIO'
3-
spec.version = '5.2.2'
3+
spec.version = '5.3.0'
44
spec.license = { type: 'MIT', file: 'LICENSE.md' }
55
spec.homepage = 'https://www.card.io'
66
spec.authors = { 'CardIO' => '[email protected]' }

CardIO/CardIO.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// CardIO.h
3-
// Version 5.2.2
3+
// Version 5.3.0
44
//
55
// See the file "LICENSE.md" for the full license governing this code.
66
//

CardIO/CardIOCreditCardInfo.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// CardIOCreditCardInfo.h
3-
// Version 5.2.2
3+
// Version 5.3.0
44
//
55
// See the file "LICENSE.md" for the full license governing this code.
66
//
@@ -52,6 +52,10 @@ typedef NS_ENUM(NSInteger, CardIOCreditCardType) {
5252
/// @note May be nil, if postal code information was not requested.
5353
@property(nonatomic, copy, readwrite) NSString *postalCode;
5454

55+
/// Cardholder Name.
56+
/// @note May be nil, if cardholder name was not requested.
57+
@property(nonatomic, copy, readwrite) NSString *cardholderName;
58+
5559
/// Was the card number scanned (as opposed to entered manually)?
5660
@property(nonatomic, assign, readwrite) BOOL scanned;
5761

CardIO/CardIODetectionMode.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// CardIODetectionMode.h
3-
// Version 5.2.2
3+
// Version 5.3.0
44
//
55
// See the file "LICENSE.md" for the full license governing this code.
66
//

CardIO/CardIOPaymentViewController.h

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// CardIOPaymentViewController.h
3-
// Version 5.2.2
3+
// Version 5.3.0
44
//
55
// See the file "LICENSE.md" for the full license governing this code.
66
//
@@ -131,6 +131,14 @@
131131
/// Set to YES if you need to collect the billing postal code. Defaults to NO.
132132
@property(nonatomic, assign, readwrite) BOOL collectPostalCode;
133133

134+
/// Set to YES if the postal code should only collect numeric input. Defaults to NO. Set this if you know the
135+
/// <a href="https://en.wikipedia.org/wiki/Postal_code">expected country's postal code</a> has only numeric postal
136+
/// codes.
137+
@property(nonatomic, assign, readwrite) BOOL restrictPostalCodeToNumericOnly;
138+
139+
/// Set to YES if you need to collect the cardholder name. Defaults to NO.
140+
@property(nonatomic, assign, readwrite) BOOL collectCardholderName;
141+
134142
/// Set to NO if you don't want the camera to try to scan the card expiration.
135143
/// Applies only if collectExpiry is also YES.
136144
/// Defaults to YES.
@@ -176,4 +184,4 @@ extern NSString * const CardIOCurrentScanningOrientation;
176184
/// Returned as an NSNumber wrapping an NSTimeInterval (i.e. a double).
177185
extern NSString * const CardIOScanningOrientationAnimationDuration;
178186

179-
@end
187+
@end

0 commit comments

Comments
 (0)