Expose cardNumber from STPPaymentCardTextField (#27)
This commit is contained in:
parent
b1102323c0
commit
5949b930cb
|
@ -262,7 +262,7 @@ public class STPPaymentCardTextField: UIControl, UIKeyInput, STPFormTextFieldDel
|
||||||
/// The current card number displayed by the field.
|
/// The current card number displayed by the field.
|
||||||
/// May or may not be valid, unless `isValid` is true, in which case it is guaranteed
|
/// May or may not be valid, unless `isValid` is true, in which case it is guaranteed
|
||||||
/// to be valid.
|
/// to be valid.
|
||||||
var cardNumber: String? {
|
@objc public var cardNumber: String? {
|
||||||
return viewModel.cardNumber
|
return viewModel.cardNumber
|
||||||
}
|
}
|
||||||
/// The current expiration month displayed by the field (1 = January, etc).
|
/// The current expiration month displayed by the field (1 = January, etc).
|
||||||
|
|
Loading…
Reference in New Issue