-
Font color associated with text displaying primary font colour, like inputs, titles and other important text
Declaration
Swift
public var primaryFontColor: UIColor
-
Font color associated with text displaying secondary information, like subtitles and other non core text
Declaration
Swift
public var secondaryFontColor: UIColor
-
Font color associated with text displayed inside actionable buttons
Declaration
Swift
public var buttonFontColor: UIColor
-
Font color associated with text
Declaration
Swift
public var errorFontColor: UIColor
-
Font used for page headers
Declaration
Swift
public var headerFont: UIFont
-
Font used for input sections titles
Declaration
Swift
public var titleFont: UIFont
-
Font used for text displaying secondary information, like subtitles and other non core text
Declaration
Swift
public var subtitleFont: UIFont
-
Font used for input fields where user is inputting the values
Declaration
Swift
public var inputFont: UIFont
-
Font used for buttons that the user will interact with
Declaration
Swift
public var buttonFont: UIFont
-
Color used as background on screens
Declaration
Swift
public var backgroundColor: UIColor
-
Color used as background for text input fields
Declaration
Swift
public var textInputBackgroundColor: UIColor
-
Color used for border on text input field when its focussed
Declaration
Swift
public var focussedTextInputBorderColor: UIColor
-
Color used for border around data input sections. Will require a borderWidth to be provided for border to be shown
Declaration
Swift
public var borderColor: UIColor
-
Color used for border around text inputs. Will require a textInputBorderRadius to be provided for the border to be shown
Declaration
Swift
public var textInputBorderColor: UIColor
-
Color used for border when a validated field is receiving an error. Will be used by errorBorder or errorTextInputBorder as setup
Declaration
Swift
public var errorBorderColor: UIColor
-
Border radius around data input sections
Declaration
Swift
public var borderRadius: CGFloat
-
Border width around data input sections
Declaration
Swift
public var borderWidth: CGFloat
-
Border radius around text input fields
Declaration
Swift
public var textInputBorderRadius: CGFloat
-
Border width around text input fields
Declaration
Swift
public var textInputBorderWidth: CGFloat
-
Border radius around data input sections when showing an error
Declaration
Swift
public var errorBorderRadius: CGFloat
-
Border width around data input sections when showing an error
Declaration
Swift
public var errorBorderWidth: CGFloat
-
Border radius around text input fields when showing an error
Declaration
Swift
public var errorTextInputBorderRadius: CGFloat
-
Border width around text input fields when showing an error
Declaration
Swift
public var errorTextInputBorderWidth: CGFloat
-
init(primaryFontColor:
secondaryFontColor: buttonFontColor: errorFontColor: backgroundColor: errorBorderColor: ) Undocumented
Declaration
Swift
public init(primaryFontColor: UIColor, secondaryFontColor: UIColor, buttonFontColor: UIColor, errorFontColor: UIColor, backgroundColor: UIColor, errorBorderColor: UIColor)
-
Theme generated Billing Country Input Style
See moreDeclaration
Swift
struct ThemeBillingCountryInput : CellButtonStyle
-
Create a Billing Country Input from provided themed components
Declaration
Swift
func buildBillingCountryInput(button: CountryListButton, title: ThemeTitle, mandatory: ThemeMandatory? = nil, subtitle: ThemeSubtitle? = nil, error: ThemeError? = nil) -> ThemeBillingCountryInput
-
buildBillingCountryInput(buttonText:
buttonImage: title: subtitle: subtitleImage: isRequiredText: errorText: errorImage: ) Create a Billing Country Input from provided content
Declaration
Swift
func buildBillingCountryInput(buttonText: String, buttonImage: UIImage? = nil, title: String, subtitle: String = "", subtitleImage: UIImage? = nil, isRequiredText: String = "", errorText: String = "", errorImage: UIImage? = nil) -> ThemeBillingCountryInput
-
Theme generated Billing Form Style
See moreDeclaration
Swift
struct ThemeBillingForm : BillingFormStyle
-
Create a Billing Form from Styles defined for each sub component
Declaration
Swift
func buildBillingForm(header: ThemeBillingHeader, cells: [BillingFormCell]) -> ThemeBillingForm
-
Theme generated Billing Header Style
See moreDeclaration
Swift
struct ThemeBillingHeader : BillingFormHeaderCellStyle
-
Create a Billing Header from provided themed components
Declaration
Swift
func buildBillingHeader(label: ElementStyle, cancelButton: ElementButtonStyle, doneButton: ElementButtonStyle) -> ThemeBillingHeader
-
Create a Billing Header from provided content
Declaration
Swift
func buildBillingHeader(title: String, cancelButtonTitle: String, doneButtonTitle: String) -> ThemeBillingHeader
-
Theme generated Billing Input Style
See moreDeclaration
Swift
struct ThemeBillingInput : CellTextFieldStyle
-
Create a Billing Input from provided themed components
Declaration
Swift
func buildBillingInput(textField: ThemeTextField, isMandatory: Bool, title: ThemeTitle, mandatory: ThemeMandatory? = nil, subtitle: ThemeSubtitle? = nil, error: ThemeError? = nil) -> ThemeBillingInput
-
buildBillingInput(text:
placeholder: isNumericInput: isMandatory: title: subtitle: subtitleImage: isRequiredText: errorText: errorImage: ) Create a Billing Input from provided content
Declaration
Swift
func buildBillingInput(text: String, placeholder: String = "", isNumericInput: Bool, isMandatory: Bool, title: String, subtitle: String = "", subtitleImage: UIImage? = nil, isRequiredText: String = "", errorText: String = "", errorImage: UIImage? = nil) -> ThemeBillingInput
-
Undocumented
See moreDeclaration
Swift
struct ThemeBorderStyle : ElementBorderStyle
-
Theme generated navigation button Style
See moreDeclaration
Swift
struct NavigationButtonStyle : ElementButtonStyle
-
Theme generated Button Style for showing Country Selection to user
See moreDeclaration
Swift
struct CountryListButton : ElementButtonStyle
-
Create a navigation button style with the provided title
Declaration
Swift
func buildNavigationButton(text: String) -> NavigationButtonStyle
-
Create a button for launching a Country selection journey
Declaration
Swift
func buildCountryListButton(text: String, image: UIImage? = nil) -> CountryListButton
-
Theme generated Error style
See moreDeclaration
Swift
struct ThemeError : ElementErrorViewStyle
-
Create an Error Style from text and optional image
Declaration
Swift
func buildError(text: String, image: UIImage? = nil) -> ThemeError
-
Theme generated Mandatory style
See moreDeclaration
Swift
struct ThemeMandatory : ElementStyle
-
Create a Mandatory Style from text
Declaration
Swift
func buildIsRequiredInput(text: String) -> ThemeMandatory
-
Theme generated Page Header Title
See moreDeclaration
Swift
struct ThemePageHeaderTitle : ElementStyle
-
Create a Page Form Header Title from given text
Declaration
Swift
func buildPageHeaderTitle(text: String) -> ThemePageHeaderTitle
-
Theme generated Subtitle style
See moreDeclaration
Swift
struct ThemeSubtitle : ElementStyle
-
Create a Subtitle Style from text and optional image
Declaration
Swift
func buildSubtitle(text: String, image: UIImage? = nil) -> ThemeSubtitle
-
Theme generated TextField style
See moreDeclaration
Swift
struct ThemeTextField : ElementTextFieldStyle
-
Create a TextField Style from text
Declaration
Swift
func buildTextField(text: String, placeholderText: String, isNumericInput: Bool) -> ThemeTextField
-
Theme generated Title style
See moreDeclaration
Swift
struct ThemeTitle : ElementStyle
-
Create a Title Style from text
Declaration
Swift
func buildTitle(text: String) -> ThemeTitle
-
Theme generated Add Billing Section Button Style
See moreDeclaration
Swift
struct ThemeAddBillingSectionButton : CellButtonStyle
-
Theme generated Add Billing Button Styile
See moreDeclaration
Swift
struct ThemeBillingButton : ElementButtonStyle
-
buildAddBillingSectionButton(text:
isBillingAddressMandatory: titleText: subtitleText: subtitleImage: mandatoryText: errorText: errorImage: ) Create an Add Billing Section Button from Styles from core information
Declaration
Swift
func buildAddBillingSectionButton(text: String, isBillingAddressMandatory: Bool, titleText: String, subtitleText: String = "", subtitleImage: UIImage? = nil, mandatoryText: String = "", errorText: String = "", errorImage: UIImage? = nil) -> ThemeAddBillingSectionButton
-
buildAddBillingSectionButton(buttonStyle:
isBillingAddressMandatory: title: subtitle: isRequiredText: error: ) Create an Add Billing Section Button from Styles defined for each component
Declaration
Swift
func buildAddBillingSectionButton(buttonStyle: ThemeBillingButton, isBillingAddressMandatory: Bool, title: ThemeTitle, subtitle: ThemeSubtitle?, isRequiredText: ThemeMandatory?, error: ThemeError?) -> ThemeAddBillingSectionButton
-
Create an Add Billing Button from using theme and text
Declaration
Swift
func buildBillingButton(text: String) -> ThemeBillingButton
-
Theme generated Billing Summary Style
See moreDeclaration
Swift
struct ThemeBillingSummary : BillingSummaryViewStyle
-
Theme generated Summary Content Style
See moreDeclaration
Swift
struct ThemeSummaryElement : ElementStyle
-
Theme generated Billing Modify Button Style
See moreDeclaration
Swift
struct ThemeBillingModifyButton : CellButtonStyle
-
Create a Billing Summary from Styles defined for each sub component
Declaration
Swift
func buildBillingSummary(button: ElementButtonStyle, textField: ThemeTextField, title: ThemeTitle, mandatory: ThemeMandatory?, subtitle: ThemeSubtitle?, error: ThemeError) -> ThemeBillingSummary
-
buildBillingSummary(buttonText:
titleText: subtitleText: subtitleImage: isRequiredText: errorText: errorImage: ) Create a Billing Summary from provided content
Declaration
Swift
func buildBillingSummary(buttonText: String, titleText: String, subtitleText: String = "", subtitleImage: UIImage? = nil, isRequiredText: String = "", errorText: String = "", errorImage: UIImage? = nil) -> ThemeBillingSummary
-
Theme generated Payment Input section
See moreDeclaration
Swift
struct ThemePaymentInput : CellTextFieldStyle
-
Create a Payment Input Section from Styles defined for each sub component
Declaration
Swift
func buildCardNumberSection(textField: ThemeTextField, title: ThemeTitle, mandatory: ThemeMandatory?, subtitle: ThemeSubtitle?, error: ThemeError) -> ThemePaymentInput
-
buildPaymentInput(textFieldText:
textFieldPlaceholder: isTextFieldNumericInput: titleText: subtitleText: subtitleImage: isRequiredInputText: errorText: errorImage: ) Create a Payment Input Section from basic input data for presentation
Declaration
Swift
func buildPaymentInput(textFieldText: String = "", textFieldPlaceholder: String = "", isTextFieldNumericInput: Bool, titleText: String, subtitleText: String = "", subtitleImage: UIImage? = nil, isRequiredInputText: String = "", errorText: String = "", errorImage: UIImage? = nil) -> ThemePaymentInput
-
Theme generated Pay Button
See moreDeclaration
Swift
struct ThemePayButton : ElementButtonStyle
-
Create a button for ending the Payment journey and attempting to tokenise inputs
Declaration
Swift
func buildPayButton(text: String, image: UIImage? = nil) -> ThemePayButton
-
Theme generated payment form
See moreDeclaration
Swift
struct ThemePaymentForm : PaymentFormStyle
-
buildPaymentForm(headerView:
addBillingButton: billingSummary: cardholder: cardNumber: expiryDate: securityCode: payButton: ) Create a Payment Form from the provided Styles for each section
Declaration
Swift
func buildPaymentForm(headerView: PaymentHeaderCellStyle, addBillingButton: CellButtonStyle?, billingSummary: BillingSummaryViewStyle?, cardholder: CellTextFieldStyle?, cardNumber: CellTextFieldStyle, expiryDate: CellTextFieldStyle, securityCode: CellTextFieldStyle?, payButton: ElementButtonStyle) -> ThemePaymentForm
-
Theme generated Payment Header for the Payment Form
See moreDeclaration
Swift
struct ThemePaymentHeader : PaymentHeaderCellStyle
-
Create a Payment Form Header from given elements
Declaration
Swift
func buildPaymentHeader(headerLabel: ElementStyle, subtitleLabel: ElementStyle?) -> ThemePaymentHeader
-
Create a Payment Form Header with given text
Declaration
Swift
func buildPaymentHeader(title: String, subtitle: String) -> ThemePaymentHeader
-
Theme generated Payment Header View Subtitle for the Payment Form
See moreDeclaration
Swift
struct ThemePaymentHeaderSubtitle : ElementStyle
-
Create a Payment Form Header Subtitle from given text
Declaration
Swift
func buildPaymentHeaderSubtitle(text: String) -> ThemePaymentHeaderSubtitle