Session
    
    setFocus()
setFocus()
Instructs the specified hosted field in the iFrame to gain focus.
Usage
PaymentSession.setFocus(HostedFieldRole)
Example
PaymentSession.setFocus('card.number');
Arguments
        HostedFieldRole
        
        String
        
    
    
            The field role for the card field rendered in an iFrame and hosted on the <<paymentGateway>>. Valid
            field
            roles:
        
        card.number
            card.securityCode
            giftCard.number
            giftCard.pin
            ach.bankAccountNumber
            ach.bankAccountHolder
            ach.routingNumber
            Return Value
None