DefaultVerifyButtonCustomization
@objc(Checkout3DSDefaultVerifyButtonCustomization)
public final class DefaultVerifyButtonCustomization : NSObject, ButtonCustomization
The default ButtonCustomization object for the verify button on the challenge screen.
-
The background color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let backgroundColor: UIColor
-
The corner radius to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let cornerRadius: CGFloat
-
The corner curve to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let cornerCurve: CALayerCornerCurve?
-
The font to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let font: UIFont
-
The text color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let textColor: UIColor
-
The border width color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let borderWidth: CGFloat
-
The border color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let borderColor: CGColor?
-
The shadow color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let shadowColor: CGColor?
-
The shadow offset color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let shadowOffset: CGSize
-
The shadow radius color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let shadowRadius: CGFloat
-
The shadow opacity color to be set for DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public let shadowOpacity: Float
-
init(backgroundColor:
cornerRadius: cornerCurve: font: textColor: borderWidth: borderColor: shadowColor: shadowOffset: shadowRadius: shadowOpacity: ) Initializes a DefaultVerifyButtonCustomization object available for iOS 13.0 and later.
Declaration
Swift
@available(iOS 13.0, *) @objc public init(backgroundColor: UIColor = .systemBlue, cornerRadius: CGFloat = 5, cornerCurve: CALayerCornerCurve = .continuous, font: UIFont = .preferredFont(forTextStyle: .body), textColor: UIColor = .white, borderWidth: CGFloat = 0, borderColor: CGColor? = nil, shadowColor: CGColor? = nil, shadowOffset: CGSize = .zero, shadowRadius: CGFloat = 0, shadowOpacity: Float = 0)
-
init(backgroundColor:
cornerRadius: font: textColor: borderWidth: borderColor: shadowColor: shadowOffset: shadowRadius: shadowOpacity: ) Initializes a DefaultVerifyButtonCustomization object.
Declaration
Swift
@objc public init(backgroundColor: UIColor = .systemBlue, cornerRadius: CGFloat = 5, font: UIFont = .preferredFont(forTextStyle: .body), textColor: UIColor = .white, borderWidth: CGFloat = 0, borderColor: CGColor? = nil, shadowColor: CGColor? = nil, shadowOffset: CGSize = .zero, shadowRadius: CGFloat = 0, shadowOpacity: Float = 0)