PayButton

public class PayButton: UIButton

The PayButton is a button that is configured to layout a judo pay button for the transaction journey

  • Designated initializer

    Declaration

    Swift

    public init(currentTheme: Theme)

    Return Value

    A PayButton object

  • Convenience initializer

    Declaration

    Swift

    convenience override public init(frame: CGRect)

    Parameters

    frame

    This value is ignored - view is sized via autolayout

    Return Value

    A PayButton object

  • Convenience initializer

    Declaration

    Swift

    convenience required public init?(coder aDecoder: NSCoder)

    Parameters

    aDecoder

    Ignored parameter

    Return Value

    A PayButton object

  • Helper method to setup the view

    Declaration

    Swift

    public func setupView()