ContentConfig

class ContentConfig

The Config used to determine UI customization, such as font and color customization

  • Used for standard animation transitions

    Declaration

    Swift

    var animationTiming: TimeInterval
  • Undocumented

    Declaration

    Swift

    var blackText: UIColor { get }
  • When text needs to be emphasized, this font is used

    Declaration

    Swift

    var boldFont: UIFont
  • Font for conversion options link button

    Declaration

    Swift

    var boldLinkFont: UIFont
  • Bolded smaller font

    Declaration

    Swift

    var boldSecondaryFont: UIFont
  • Grid size for the cell buttons

    Declaration

    Swift

    lazy var buttonGridSize: CGRect { get set }
  • The normal text color to use when a button has a background color

    Declaration

    Swift

    var buttonNormalTextColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var callToActionBlueButton: UIColor { get }
  • Font for the card’s “Add New Card” label which is shown below the card art

    Declaration

    Swift

    var cardAddNewFont: UIFont
  • Font for the card’s bank label which is shown in the middle

    Declaration

    Swift

    var cardBankNameFont: UIFont
  • Font for the card’s middle left label, which is shown for PayPal balance This label represents the balance’s amount, e.g. “$500.00”

    Declaration

    Swift

    var cardMiddleLeftLabelFont: UIFont
  • Font for the card’s primary label which is shown in the bottom left corner

    Declaration

    Swift

    var cardPrimaryFont: UIFont
  • Font for the card’s secondary label which is shown in the bottom left corner below primary label

    Declaration

    Swift

    var cardSecondaryFont: UIFont
  • Font for the card’s top left label, which is shown for PayPal balance This label represents the title of the card that goes next to the logo, e.g. “PayPal balance”

    Declaration

    Swift

    var cardTopLeftLabelFont: UIFont
  • Undocumented

    Declaration

    Swift

    var carouselAddCardImageSize: CGRect
  • The layout size for the carousel cards

    Declaration

    Swift

    var carouselImageSize: CGRect { get }
  • The size for the selected carousel card (equal to original image size)

    Declaration

    Swift

    var carouselSelectedImageSize: CGRect
  • The coefficient used to scale card from size in unselected state to size in selected state

    Declaration

    Swift

    let carouselSelectionZoom: CGFloat
  • The size for the unselected carousel cards

    Declaration

    Swift

    var carouselUnselectedImageSize: CGRect { get }
  • Font size for Cart Details individual Line Items

    Declaration

    Swift

    var cartDetailsLineItemFont: UIFont
  • Font size for Cart Details Total Taxes and Fees Line Items

    Declaration

    Swift

    var cartDetailsTaxesAndFeesFont: UIFont
  • Set of colors used across all UI

    Declaration

    Swift

    var colorSheet: ColorSheet
  • The margin for the paysheet content views (leading and trailing constant)

    Declaration

    Swift

    var contentViewSideMargin: CGFloat
  • Used for the Paysheet background corners

    Declaration

    Swift

    var cornerRadius: CGFloat
  • The border width for CTA button

    Declaration

    Swift

    var ctaBorderWidth: CGFloat
  • Font for CTA buttons

    Declaration

    Swift

    var ctaButtonFont: UIFont
  • Undocumented

    Declaration

    Swift

    var darkGrayHex1: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var darkGrayHex2: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var darkOrange: UIColor { get }
  • The color used to inidcate something has gone wrong, this usually a red color

    Declaration

    Swift

    var errorColor: UIColor { get }
  • Point size of grid used for determining origin and size for UI elements

    Declaration

    Swift

    var gridSize: CGFloat
  • For header text in header views

    Declaration

    Swift

    var headerFont: UIFont
  • Undocumented

    Declaration

    Swift

    var highlightedBlueBackground: UIColor { get }
  • Grid size for the cell icons

    Declaration

    Swift

    lazy var iconGridSize: CGRect { get set }
  • Font for User initials Image

    Declaration

    Swift

    var initialsLabelFont: UIFont
  • Used for the Inset Label insets

    Declaration

    Swift

    lazy var inset: CGFloat { get set }
  • Undocumented

    Declaration

    Swift

    var labelColor: UIColor { get }
  • Used for InsetLabel types

    Declaration

    Swift

    lazy var labelInsets: UIEdgeInsets { get set }
  • Undocumented

    Declaration

    Swift

    var labelOnDarkBackground: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var labelOnLightBackground: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var lightGrayHexCBD2D6: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var lightGrayHexDBD8D0: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var lightGrayHexEAECED: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var lightOrange: UIColor { get }
  • The default bottom padding for line item container view.

    Declaration

    Swift

    lazy var lineItemsBottomPadding: CGFloat { get set }
  • The default spacing between line item views inside a Cart Details view

    Declaration

    Swift

    lazy var lineItemsItemVerticalSpacing: CGFloat { get set }
  • The default height of the top line ornament of the Line Items View

    Declaration

    Swift

    var lineItemsTopLineOrnamentHeight: CGFloat
  • The default top padding of the top line ornament of the Line Items View

    Declaration

    Swift

    var lineItemsTopLineOrnamentTopPadding: CGFloat
  • The default top padding for line item container view (top padding for the first item)

    Declaration

    Swift

    lazy var lineItemsTopPadding: CGFloat { get set }
  • Undocumented

    Declaration

    Swift

    var linkColor: UIColor { get }
  • Similar to corner radius, this value is used by the paysheet engine when the system is determining how much vertical space to accommodate for the height consumed by corner radius values. If this value is set to nil, a value equal to half the value of cornerRadius is allocated.

    Note

    This is primarily designed to relate to the top corners of the paysheet.

    Declaration

    Swift

    var observedCornerRadius: CGFloat?
  • Undocumented

    Declaration

    Swift

    var opaqueSeparatorColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var placeholderTextColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var placeholderTextDarkGray: UIColor { get }
  • The primary color for calls to action as well prominent defaults

    Declaration

    Swift

    var primaryColor: UIColor { get }
  • The primary font to be employed in the UI for non special circumstances

    Declaration

    Swift

    var primaryFont: UIFont
  • Font used for the profile links

    Declaration

    Swift

    var profilePageLinksFont: UIFont
  • A sub-sub heading’s value. Smallest of the four system font sizes

    Declaration

    Swift

    var quaternaryFont: UIFont
  • Undocumented

    Declaration

    Swift

    var quaternaryLabelColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var quaternarySystemFillColor: UIColor { get }
  • Usually a sub-heading or alternative text font that is used in some scenarios

    Declaration

    Swift

    var secondaryFont: UIFont
  • Undocumented

    Declaration

    Swift

    var secondaryLabelColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var secondarySystemBackgroundColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var secondarySystemFillColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var secondarySystemGroupedBackgroundColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var selectedBlueBackground: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var selectedBlueBorder: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var selectedBlueLabelColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var separatorColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var shadow: UIColor { get }
  • This font is used for the label in the preferredView

    Declaration

    Swift

    var starLabelFont: UIFont
  • Font for bold subheader

    Declaration

    Swift

    var subheaderFont: UIFont
  • The color used to indicate success, this is often a green color

    Declaration

    Swift

    var successColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemBackgroundColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemBlue: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemFillColor: UIColor { get }
  • Large font of size 13

    Declaration

    Swift

    let systemFont13: UIFont
  • Undocumented

    Declaration

    Swift

    var systemFont13Bold: UIFont
  • Large font of size 15

    Declaration

    Swift

    let systemFont15: UIFont
  • Large font of size 18

    Declaration

    Swift

    var systemFont18: UIFont
  • Undocumented

    Declaration

    Swift

    var systemFont22: UIFont
  • Large font of size 24

    Declaration

    Swift

    let systemFont24: UIFont
  • Large font of size 28

    Declaration

    Swift

    let systemFont28: UIFont
  • Large font of size 30

    Declaration

    Swift

    let systemFont30: UIFont
  • Undocumented

    Declaration

    Swift

    var systemGray: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemGray2: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemGray3: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemGray4: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemGray5: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemGray6: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemGreen: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemGroupedBackgroundColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemIndigo: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemOrange: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemPink: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemPurple: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemRed: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemTeal: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var systemYellow: UIColor { get }
  • Default button size for UITableViewCell buttons

    Declaration

    Swift

    lazy var tableCellButtonSize: CGRect { get set }
  • Default icon size for UITableViewCell icons

    Declaration

    Swift

    lazy var tableCellIconSize: CGRect { get set }
  • Default value for Bottom Line Ornament Height

    Declaration

    Swift

    var taxesAndFeesBottomLineOrnamentHeight: CGFloat
  • The default padding between line items on taxes and fees view

    Declaration

    Swift

    lazy var taxesAndFeesItemVerticalSpacing: CGFloat { get set }
  • Default value for Last Line Ornament Height

    Declaration

    Swift

    lazy var taxesAndFeesLastLineOrnamentHeight: CGFloat { get set }
  • Default value for Top Line Ornament Height

    Declaration

    Swift

    var taxesAndFeesTopLineOrnamentHeight: CGFloat
  • The default padding between view top anchor and first line item row on the total taxes and fees view

    Declaration

    Swift

    lazy var taxesAndFeesTopPadding: CGFloat { get set }
  • The default padding between the “total” line item view and bottom Line ornament

    Declaration

    Swift

    lazy var taxesAndFeesTotalItemTopPadding: CGFloat { get set }
  • A sub-sub heading in most cases. Smaller than secondary font in size

    Declaration

    Swift

    var tertiaryFont: UIFont
  • Undocumented

    Declaration

    Swift

    var tertiaryLabelColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var tertiarySystemBackgroundColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var tertiarySystemFillColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var tertiarySystemGroupedBackgroundColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var textSectionParagraphFont: UIFont
  • Font for text section title

    Declaration

    Swift

    var textSectionTitleFont: UIFont
  • Font used for the profile title labels

    Declaration

    Swift

    var titleLabelFont: UIFont
  • Undocumented

    Declaration

    Swift

    var toggleGreenHex00CF92: UIColor { get }
  • Used to calculate the maximum height of the paysheet. This value is subtracted from the total screen height as calculated by calls to UIScreen.main.bounds.height - Paysheet.config.topMargin

    Declaration

    Swift

    var topMargin: CGFloat
  • This defaults to dark color with low opacity (R0.2,G0.2,B0.2,A0.3)

    Declaration

    Swift

    var translucentColor: UIColor { get }
  • This defaults to UIColor.clear but can be changed for debugging or other specific purposes an SDK engineer might deem useful.

    Declaration

    Swift

    var transparentColor: UIColor { get }
  • The color used to indicate a warning or caution, this is often a yellow/orange color

    Declaration

    Swift

    var warningColor: UIColor { get }