diff --git a/CardIO.podspec b/CardIO.podspec index 07bf565..504a414 100644 --- a/CardIO.podspec +++ b/CardIO.podspec @@ -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' => 'support@paypal.com' } diff --git a/CardIO/CardIO.h b/CardIO/CardIO.h index 0d2b829..7eb3a3d 100644 --- a/CardIO/CardIO.h +++ b/CardIO/CardIO.h @@ -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. // diff --git a/CardIO/CardIOCreditCardInfo.h b/CardIO/CardIOCreditCardInfo.h index bba525c..d6c5e3d 100644 --- a/CardIO/CardIOCreditCardInfo.h +++ b/CardIO/CardIOCreditCardInfo.h @@ -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. // @@ -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; diff --git a/CardIO/CardIODetectionMode.h b/CardIO/CardIODetectionMode.h index ade2312..0b1dc89 100644 --- a/CardIO/CardIODetectionMode.h +++ b/CardIO/CardIODetectionMode.h @@ -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. // diff --git a/CardIO/CardIOPaymentViewController.h b/CardIO/CardIOPaymentViewController.h index 377c6b7..fc08bfa 100644 --- a/CardIO/CardIOPaymentViewController.h +++ b/CardIO/CardIOPaymentViewController.h @@ -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. // @@ -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 +/// expected country's postal code 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. @@ -176,4 +184,4 @@ extern NSString * const CardIOCurrentScanningOrientation; /// Returned as an NSNumber wrapping an NSTimeInterval (i.e. a double). extern NSString * const CardIOScanningOrientationAnimationDuration; -@end \ No newline at end of file +@end diff --git a/CardIO/CardIOPaymentViewControllerDelegate.h b/CardIO/CardIOPaymentViewControllerDelegate.h index 2651923..a78715a 100644 --- a/CardIO/CardIOPaymentViewControllerDelegate.h +++ b/CardIO/CardIOPaymentViewControllerDelegate.h @@ -1,6 +1,6 @@ // // CardIOPaymentViewControllerDelegate.h -// Version 5.2.2 +// Version 5.3.0 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/CardIO/CardIOUtilities.h b/CardIO/CardIOUtilities.h index e206c8d..9da00f8 100644 --- a/CardIO/CardIOUtilities.h +++ b/CardIO/CardIOUtilities.h @@ -1,6 +1,6 @@ // // CardIOUtilities.h -// Version 5.2.2 +// Version 5.3.0 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/CardIO/CardIOView.h b/CardIO/CardIOView.h index d54300e..ec68b87 100644 --- a/CardIO/CardIOView.h +++ b/CardIO/CardIOView.h @@ -1,6 +1,6 @@ // // CardIOView.h -// Version 5.2.2 +// Version 5.3.0 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/CardIO/CardIOViewDelegate.h b/CardIO/CardIOViewDelegate.h index e2c6afb..be31dba 100644 --- a/CardIO/CardIOViewDelegate.h +++ b/CardIO/CardIOViewDelegate.h @@ -1,6 +1,6 @@ // // CardIOViewDelegate.h -// Version 5.2.2 +// Version 5.3.0 // // See the file "LICENSE.md" for the full license governing this code. // diff --git a/CardIO/libCardIO.a b/CardIO/libCardIO.a index 97d1a16..1022d32 100644 Binary files a/CardIO/libCardIO.a and b/CardIO/libCardIO.a differ diff --git a/release_notes.txt b/release_notes.txt index 19baefe..7352130 100644 --- a/release_notes.txt +++ b/release_notes.txt @@ -1,6 +1,14 @@ card.io iOS SDK release notes ============================= +5.3.0 (Mon 12/21/2015) + +* Add cardholder name for manual text input. Thanks to Mark Rogers and + Martin Rybak for the contribution. + ( https://github.com/card-io/card.io-iOS-source/pull/45 ) +* Add option for only numeric input for postal code. + ( https://github.com/card-io/card.io-iOS-source/pull/51 ) + 5.2.2 (Tue 11/03/2015) * You will need to link the `Accelerate` framework to your application.