GiniHealthConfiguration

public final class GiniHealthConfiguration : NSObject

The GiniHealthConfiguration class allows customizations to the look of the Gini Health SDK. If there are limitations regarding which API can be used, this is clearly stated for the specific attribute.

Note

Text can also be set by using the appropriate keys in a Localizable.strings file in the projects bundle. The library will prefer whatever value is set in the following order: attribute in configuration, key in strings file in project bundle, key in strings file in GiniHealth bundle.

Note

Images can only be set by providing images with the same filename in an assets file or as individual files in the projects bundle. The library will prefer whatever value is set in the following order: asset file in project bundle, asset file in GiniHealth bundle. See the avalible images for overriding in GiniImages.xcassets.
  • Returns a GiniHealthConfiguration instance which allows to set individual configurations to change the look and feel of the Gini Health SDK.

    Declaration

    Swift

    public override init()

    Return Value

    Instance of GiniHealthConfiguration.

  • Sets the backgroundColor on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentScreenBackgroundColor: GiniColor
  • Sets the backgroundColor on the payment review screen for input fields container

    Declaration

    Swift

    @objc
    public var inputFieldsContainerBackgroundColor: GiniColor
  • Sets the backgroundColor on the payment review screen for pay button when it’s disabled

    Declaration

    Swift

    @objc
    public var payButtonDisabledBackgroundColor: GiniColor
  • Sets the textColor on the payment review screen for pay button when it’s disabled

    Declaration

    Swift

    @objc
    public var payButtonDisabledTextColor: GiniColor
  • Sets the corner radius of the pay button on the payment review screen

    Declaration

    Swift

    @objc
    public var payButtonCornerRadius: CGFloat
  • Sets the font of the pay button title on the payment review screen

    Declaration

    Swift

    @objc
    public var payButtonTitleFont: UIFont
  • Sets the corner radius of the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldCornerRadius: CGFloat
  • Sets the border width of the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldBorderWidth: CGFloat
  • Sets the border width of the payment input field with selection style on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldSelectionStyleBorderWidth: CGFloat
  • Sets the border width of the payment input field with error style on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldErrorStyleBorderWidth: CGFloat
  • Sets the error style color and error text color for the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldErrorStyleColor: GiniColor
  • Sets the selection style color for the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldSelectionStyleColor: GiniColor
  • Sets the selection background color for the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldSelectionBackgroundColor: GiniColor
  • Sets the background color of the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldBackgroundColor: GiniColor
  • Sets the text color of the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldTextColor: GiniColor
  • Sets the placeholder text color of the payment input fields on the payment review screen

    Declaration

    Swift

    @objc
    public var paymentInputFieldPlaceholderTextColor: GiniColor
  • Sets the text color of the bank selection button on the payment review screen

    Declaration

    Swift

    @objc
    public var bankButtonTextColor: GiniColor
  • Sets the background color of the bank selection button on the payment review screen

    Declaration

    Swift

    @objc
    public var bankButtonBackgroundColor: GiniColor
  • Sets the border width of the the bank button on the payment review screen

    Declaration

    Swift

    @objc
    public var bankButtonBorderWidth: CGFloat
  • Sets the border color of the bank selection button on the payment review screen

    Declaration

    Swift

    @objc
    public var bankButtonBorderColor: GiniColor
  • Sets the corner radius of the bank selection button on the payment review screen

    Declaration

    Swift

    @objc
    public var bankButtonCornerRadius: CGFloat
  • Sets the edit icon color of the bank selection button on the payment review screen

    Declaration

    Swift

    @objc
    public var bankButtonEditIconColor: GiniColor
  • Sets the current page indicator on the review screen to the specified color.

    Declaration

    Swift

    @objc
    public var currentPageIndicatorTintColor: GiniColor
  • Sets the page indicator on the review screen to the specified color.

    Declaration

    Swift

    @objc
    public var pageIndicatorTintColor: GiniColor
  • Set to true to show a close button on the payment review screen.

    Declaration

    Swift

    @objc
    public var showPaymentReviewCloseButton: Bool
  • Sets the status bar style on the payment review screen. Only if View controller-based status bar appearance = YES in info.plist.

    Declaration

    Swift

    @objc
    public var paymentReviewStatusBarStyle: UIStatusBarStyle
  • Sets the font used in the screens by default.

    Declaration

    Swift

    @objc
    public lazy var customFont: GiniFont { get set }
  • Sets the color of the loading indicator to the specified color.

    Declaration

    Swift

    @objc
    public var loadingIndicatorColor: GiniColor
  • Sets the style of the loading indicator.

    Declaration

    Swift

    @objc
    public var loadingIndicatorStyle: UIActivityIndicatorView.Style
  • Sets the scale of the loading indicator.

    Declaration

    Swift

    @objc
    public var loadingIndicatorScale: CGFloat