DefaultNextButtonCustomization

@objc(Checkout3DSDefaultNextButtonCustomization)
public final class DefaultNextButtonCustomization : NSObject, ButtonCustomization

The default ButtonCustomization object for the next button on the challenge screen.

  • The background color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let backgroundColor: UIColor
  • The corner radius to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let cornerRadius: CGFloat
  • The corner curve to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let cornerCurve: CALayerCornerCurve?
  • The font to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let font: UIFont
  • The text color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let textColor: UIColor
  • The border width color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let borderWidth: CGFloat
  • The border color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let borderColor: CGColor?
  • The shadow color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let shadowColor: CGColor?
  • The shadow offset color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let shadowOffset: CGSize
  • The shadow radius color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let shadowRadius: CGFloat
  • The shadow opacity color to be set for DefaultNextButtonCustomization object.

    Declaration

    Swift

    @objc
    public let shadowOpacity: Float
  • Initializes a DefaultNextButtonCustomization 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)
  • Initializes a DefaultNextButtonCustomization 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)