-
The default appearance for PaymentSheet
Declaration
Swift
public static let `default`: PaymentSheet.Appearance
-
Creates a
PaymentSheet.Appearance
with default valuesDeclaration
Swift
public init()
-
Describes the appearance of fonts in PaymentSheet
Declaration
Swift
public var font: Font
-
Describes the colors in PaymentSheet
Declaration
Swift
public var colors: Colors
-
Describes the appearance of the primary button (e.g., the “Pay” button)
Declaration
Swift
public var primaryButton: PrimaryButton
-
The corner radius used for buttons, inputs, tabs in PaymentSheet
Note
The behavior of this property is consistent with the behavior of corner radius onCALayer
Declaration
Swift
public var cornerRadius: CGFloat
-
The border used for inputs and tabs in PaymentSheet
Note
The behavior of this property is consistent with the behavior of border width onCALayer
Declaration
Swift
public var borderWidth: CGFloat
-
The shadow used for inputs and tabs in PaymentSheet
Note
Set this to.disabled
to disable shadowsDeclaration
Swift
public var shadow: Shadow
-
Describes the appearance of fonts in PaymentSheet
See moreDeclaration
Swift
public struct Font : Equatable
-
Describes the colors in PaymentSheet
See moreDeclaration
Swift
public struct Colors : Equatable
-
Represents a shadow in PaymentSheet
See moreDeclaration
Swift
public struct Shadow : Equatable
-
Describes the appearance of the primary button (e.g., the “Pay” button)
See moreDeclaration
Swift
public struct PrimaryButton : Equatable