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

Commit

Permalink
Release 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryant Luk committed Dec 21, 2015
1 parent 94fea27 commit e7d0fda
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CardIO.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'CardIO'
spec.version = '5.2.2'
spec.version = '5.3.0'
spec.license = { type: 'MIT', file: 'LICENSE.md' }
spec.homepage = 'https://www.card.io'
spec.authors = { 'CardIO' => '[email protected]' }
Expand Down
2 changes: 1 addition & 1 deletion CardIO/CardIO.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// CardIO.h
// Version 5.2.2
// Version 5.3.0
//
// See the file "LICENSE.md" for the full license governing this code.
//
Expand Down
6 changes: 5 additions & 1 deletion CardIO/CardIOCreditCardInfo.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// CardIOCreditCardInfo.h
// Version 5.2.2
// Version 5.3.0
//
// See the file "LICENSE.md" for the full license governing this code.
//
Expand Down Expand Up @@ -52,6 +52,10 @@ typedef NS_ENUM(NSInteger, CardIOCreditCardType) {
/// @note May be nil, if postal code information was not requested.
@property(nonatomic, copy, readwrite) NSString *postalCode;

/// Cardholder Name.
/// @note May be nil, if cardholder name was not requested.
@property(nonatomic, copy, readwrite) NSString *cardholderName;

/// Was the card number scanned (as opposed to entered manually)?
@property(nonatomic, assign, readwrite) BOOL scanned;

Expand Down
2 changes: 1 addition & 1 deletion CardIO/CardIODetectionMode.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// CardIODetectionMode.h
// Version 5.2.2
// Version 5.3.0
//
// See the file "LICENSE.md" for the full license governing this code.
//
Expand Down
12 changes: 10 additions & 2 deletions CardIO/CardIOPaymentViewController.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// CardIOPaymentViewController.h
// Version 5.2.2
// Version 5.3.0
//
// See the file "LICENSE.md" for the full license governing this code.
//
Expand Down Expand Up @@ -131,6 +131,14 @@
/// Set to YES if you need to collect the billing postal code. Defaults to NO.
@property(nonatomic, assign, readwrite) BOOL collectPostalCode;

/// Set to YES if the postal code should only collect numeric input. Defaults to NO. Set this if you know the
/// <a href="https://en.wikipedia.org/wiki/Postal_code">expected country's postal code</a> has only numeric postal
/// codes.
@property(nonatomic, assign, readwrite) BOOL restrictPostalCodeToNumericOnly;

/// Set to YES if you need to collect the cardholder name. Defaults to NO.
@property(nonatomic, assign, readwrite) BOOL collectCardholderName;

/// Set to NO if you don't want the camera to try to scan the card expiration.
/// Applies only if collectExpiry is also YES.
/// Defaults to YES.
Expand Down Expand Up @@ -176,4 +184,4 @@ extern NSString * const CardIOCurrentScanningOrientation;
/// Returned as an NSNumber wrapping an NSTimeInterval (i.e. a double).
extern NSString * const CardIOScanningOrientationAnimationDuration;

@end
@end
Loading

0 comments on commit e7d0fda

Please sign in to comment.