SecurityInputField
public class SecurityInputField: JudoPayInputField
                The SecurityInputField is an input field configured to detect, validate and present security numbers of various types of credit cards.
- 
                  
                  
The card network for the security input field
Declaration
Swift
public var cardNetwork: CardNetwork = .Unknown - 
                  
                  
if it is a token payment, a different hint label text should appear
Declaration
Swift
public var isTokenPayment: Bool = false 
- 
                  
                  
Delegate method implementation
Declaration
Swift
public func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> BoolParameters
textFieldText field
rangeRange
stringString
Return Value
Boolean to change characters in given range for a textfield
 
- 
                  
                  
Check if this input field is valid
Declaration
Swift
public override func isValid() -> BoolReturn Value
True if valid input
 - 
                  
                  
Subclassed method that is called when text field content was changed
Declaration
Swift
public override func textFieldDidChangeValue(textField: UITextField)Parameters
textFieldThe text field of which the content has changed
 - 
                  
                  
The placeholder string for the current input field
Declaration
Swift
public override func placeholder() -> NSAttributedString?Return Value
An Attributed String that is the placeholder of the receiver
 - 
                  
                  
Boolean indicating whether the receiver has to show a logo
Declaration
Swift
public override func containsLogo() -> BoolReturn Value
True if input field shows a Logo
 - 
                  
                  
If the receiving input field contains a logo, this method returns Some
Declaration
Swift
public override func logoView() -> CardLogoView?Return Value
An optional CardLogoView
 - 
                  
                  
Title of the receiver input field
Declaration
Swift
public override func title() -> StringReturn Value
A string that is the title of the receiver
 - 
                  
                  
Hint label text
Declaration
Swift
public override func hintLabelText() -> StringReturn Value
String that is shown as a hint when user resides in a input field for more than 5 seconds
 
        SecurityInputField Class Reference