GiniBankConfiguration
public final class GiniBankConfiguration : NSObject
Undocumented
-
Singleton to make configuration internally accessible in all classes of the Gini Bank SDK.
Declaration
Swift
public static var shared: GiniBankConfiguration
-
Indicates whether the Return Assistant feature is enabled or not. In case of
true
, the user will be presented with a digital representation of their invoice where they can see individual line items and are able to amend them or choose to not to pay for them.Declaration
Swift
@objc public var returnAssistantEnabled: Bool
-
Sets custom validations that can be done apart from the default ones (file size, file type…). It should throw a
CustomDocumentValidationError
error.Declaration
Swift
@objc public var customDocumentValidations: ((GiniCaptureDocument) -> CustomDocumentValidationResult)
-
Can be turned on during development to unlock extra information and to save captured images to camera roll.
Warning
Should never be used outside of a development enviroment.Declaration
Swift
@objc public var debugModeOn: Bool
-
Used to handle all the logging messages in order to log them in a different way.
Declaration
Swift
@objc public var logger: GiniLogger
-
Indicates whether the multipage feature is enabled or not. In case of
true
, multiple pages can be processed, showing a different review screen when capturing.Declaration
Swift
@objc public var multipageEnabled: Bool
-
Sets the custom navigation view controller as a root view controller for Gini Bank SDK screens.
Declaration
Swift
@objc public var customNavigationController: UINavigationController?
-
Sets the tint color of the UIDocumentPickerViewController navigation bar.
Note
Use only if you have a customUIAppearance
for your UINavigationBarDeclaration
Swift
@objc public var documentPickerNavigationBarTintColor: UIColor?
-
Sets the background color of an informal notice. Notices are small pieces of information appearing underneath the navigation bar.
Declaration
Swift
@objc public var noticeInformationBackgroundColor: UIColor
-
Sets the text color of an informal notice. Notices are small pieces of information appearing underneath the navigation bar.
Declaration
Swift
@objc public var noticeInformationTextColor: UIColor
-
Sets the background color of an error notice. Notices are small pieces of information appearing underneath the navigation bar.
Declaration
Swift
@objc public var noticeErrorBackgroundColor: UIColor
-
Sets the text color of an error notice. Notices are small pieces of information appearing underneath the navigation bar.
Declaration
Swift
@objc public var noticeErrorTextColor: UIColor
-
Indicates whether the open with feature is enabled or not. In case of
true
, a new option with the open with tutorial wil be shown in the Help menu.Declaration
Swift
@objc public var openWithEnabled: Bool
-
Indicates whether the QR Code scanning feature is enabled or not.
Declaration
Swift
@objc public var qrCodeScanningEnabled: Bool
-
Indicates whether only the QR Code scanning feature is enabled or not.
Declaration
Swift
@objc public var onlyQRCodeScanningEnabled: Bool
-
Indicates the status bar style in the Gini Bank SDK.
Note
IfUIViewControllerBasedStatusBarAppearance
is set tofalse
in theInfo.plist
, it may not work in future versions of iOS since theUIApplication.setStatusBarStyle
method was deprecated on iOS 9.0.Declaration
Swift
@objc public var statusBarStyle: UIStatusBarStyle
-
Set the types supported by the file import feature.
GiniCaptureImportFileTypes.none
by default.Declaration
Swift
@objc public var fileImportSupportedTypes: GiniConfiguration.GiniCaptureImportFileTypes
-
Indicates whether the flash toggle should be shown in the camera screen.
Declaration
Swift
@objc public var flashToggleEnabled: Bool
-
When the flash toggle is enabled, this flag indicates if the flash is on by default.
Declaration
Swift
@objc public var flashOnByDefault: Bool
-
Sets the close button text in the navigation bar on the camera screen.
Declaration
Swift
@objc public var navigationBarCameraTitleCloseButton: String
-
Sets the help button text in the navigation bar on the camera screen.
Declaration
Swift
@objc public var navigationBarCameraTitleHelpButton: String
-
Sets the continue button text in the navigation bar on the onboarding screen.
Declaration
Swift
@objc public var navigationBarOnboardingTitleContinueButton: String
-
Indicates whether the onboarding screen should be presented at each start of the Gini Bank SDK.
Declaration
Swift
@objc public var onboardingShowAtLaunch: Bool
-
Indicates whether the onboarding screen should be presented at the first start of the Gini Bank SDK. It is advised to do so.
Note
OverwritesonboardingShowAtLaunch
for the first launch.Declaration
Swift
@objc public var onboardingShowAtFirstLaunch: Bool
-
Set custom onboarding pages
Note
For your convenience we provide theOnboardingPage
struct.Declaration
Swift
public var customOnboardingPages: [OnboardingPage]?
-
Set an adapter implementation to show a custom illustration on the “align corners” onboarding page.
Declaration
Swift
public var onboardingAlignCornersIllustrationAdapter: OnboardingIllustrationAdapter?
-
Set an adapter implementation to show a custom illustration on the “lighting” onboarding page.
Declaration
Swift
public var onboardingLightingIllustrationAdapter: OnboardingIllustrationAdapter?
-
Set an adapter implementation to show a custom illustration on the “multi-page” onboarding page.
Declaration
Swift
public var onboardingMultiPageIllustrationAdapter: OnboardingIllustrationAdapter?
-
Set an adapter implementation to show a custom illustration on the “QR code” onboarding page.
Declaration
Swift
public var onboardingQRCodeIllustrationAdapter: OnboardingIllustrationAdapter?
-
Set an adapter implementation to show a custom illustration on the return assistant onboarding page.
Declaration
Swift
public var digitalInvoiceOnboardingIllustrationAdapter: OnboardingIllustrationAdapter?
-
Enable/disable the bottom navigation bar.
Declaration
Swift
public var bottomNavigationBarEnabled: Bool
-
Set an adapter implementation to show a custom bottom navigation bar on the help screens.
Declaration
Swift
public var helpNavigationBarBottomAdapter: HelpBottomNavigationBarAdapter?
-
Set an adapter implementation to show a custom bottom navigation bar on the camera screen.
Declaration
Swift
public var cameraNavigationBarBottomAdapter: CameraBottomNavigationBarAdapter?
-
Set an adapter implementation to show a custom bottom navigation bar on the onboarding screen.
Declaration
Swift
public var onboardingNavigationBarBottomAdapter: OnboardingNavigationBarBottomAdapter?
-
Set an adapter implementation to show a custom bottom navigation bar on the review screen.
Declaration
Swift
public var reviewNavigationBarBottomAdapter: ReviewScreenBottomNavigationBarAdapter?
-
Set an adapter implementation to show a custom bottom navigation bar on the image picker screen.
Declaration
Swift
public var imagePickerNavigationBarBottomAdapter: ImagePickerBottomNavigationBarAdapter?
-
Set an adapter implementation to show a custom bottom navigation bar on the digital invoice help screen
Declaration
Swift
public var digitalInvoiceHelpNavigationBarBottomAdapter: DigitalInvoiceHelpNavigationBarBottomAdapter?
-
Set an adapter implementation to show a custom bottom navigation bar on the onboarding of the digital invoice screen.
Declaration
Swift
public var digitalInvoiceOnboardingNavigationBarBottomAdapter: DigitalInvoiceOnboardingNavigationBarBottomAdapter?
-
Set an adapter implementation to show a custom bottom navigation bar on the onboarding of the digital invoice screen.
Declaration
Swift
public var digitalInvoiceNavigationBarBottomAdapter: DigitalInvoiceNavigationBarBottomAdapter?
-
Set an adapter implementation to show a custom loading indicator on the buttons which support loading.
Declaration
Swift
public var onButtonLoadingIndicator: OnButtonLoadingIndicatorAdapter?
-
Sets the back button text in the navigation bar on the review screen. Use this if you only want to show the title.
Declaration
Swift
@objc public var navigationBarReviewTitleBackButton: String
-
Sets the close button text in the navigation bar on the review screen. Use this if you only want to show the title.
Declaration
Swift
@objc public var navigationBarReviewTitleCloseButton: String
-
Sets the continue button text in the navigation bar on the review screen.
Declaration
Swift
@objc public var navigationBarReviewTitleContinueButton: String
-
Sets the back button text in the navigation bar on the analysis screen. Use this if you only want to show the title.
Declaration
Swift
@objc public var navigationBarAnalysisTitleBackButton: String
-
Sets the background color for all help screens.
Declaration
Swift
@objc public var helpScreenBackgroundColor: GiniColor
-
Sets the background color for the cells on help screen.
Declaration
Swift
@objc public var helpScreenCellsBackgroundColor: GiniColor
-
Sets the back button text in the navigation bar on the help menu screen. Use this if you only want to show the title.
Declaration
Swift
@objc public var navigationBarHelpMenuTitleBackToCameraButton: String
-
Sets the back button text in the navigation bar on the help screen. Use this if you only want to show the title.
Declaration
Swift
@objc public var navigationBarHelpScreenTitleBackToMenuButton: String
-
Indicates whether the supported format screens should be shown. In case of
false
, the option won’t be shown in the Help menu.Declaration
Swift
@objc public var shouldShowSupportedFormatsScreen: Bool
-
Sets the color of the unsupported formats icon background to the specified color.
Declaration
Swift
@objc public var nonSupportedFormatsIconColor: UIColor
-
Sets the color of the supported formats icon background to the specified color.
Declaration
Swift
@objc public var supportedFormatsIconColor: UIColor
-
Sets the text of the app name for the Open with tutorial texts.
Declaration
Swift
@objc public var openWithAppNameForTexts: String
-
Sets if the Drag&Drop step should be shown in the “Open with” tutorial.
Declaration
Swift
@objc public var shouldShowDragAndDropTutorial: Bool
-
Undocumented
Declaration
Swift
@objc public var closeButtonResource: PreferredButtonResource?
-
Undocumented
Declaration
Swift
@objc public var helpButtonResource: PreferredButtonResource?
-
Undocumented
Declaration
Swift
@objc public var backToCameraButtonResource: PreferredButtonResource?
-
Undocumented
Declaration
Swift
@objc public var backToMenuButtonResource: PreferredButtonResource?
-
Undocumented
Declaration
Swift
@objc public var nextButtonResource: PreferredButtonResource?
-
Undocumented
Declaration
Swift
@objc public var cancelButtonResource: PreferredButtonResource?
-
Sets the background color for the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenBackgroundColor: GiniColor
-
Sets the text color for the section titles on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenSectionTitleColor: GiniColor
-
Sets the font for the page title on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenPageTitleFont: UIFont
-
Sets the font for the section titles on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenSectionTitleFont: UIFont
-
Sets the text color for the instructions on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenInstructionColor: GiniColor
-
Sets the font for the instructions on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenInstructionFont: UIFont
-
Sets the background color for the back button on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenBackButtonColor: UIColor
-
Sets the title color for the back button on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenBackButtonTitleColor: GiniColor
-
Sets the font for the back button title on the return assistant help screen.
Declaration
Swift
@objc public var helpReturnAssistantScreenBackButtonTitleFont: UIFont
-
Sets the color of the active elements on the digital invoice line item cells to the specified color.
Can be overridden by the specific line item tint color customisation options:
lineItemBorderColor
,digitalInvoiceLineItemEditButtonTintColor
,digitalInvoiceLineItemToggleSwitchTintColor
,digitalInvoiceLineItemDeleteButtonTintColor
.Declaration
Swift
@objc public var lineItemTintColor: UIColor
-
Sets the border color on the digital invoice line item cells to the specified color.
Overrides
lineItemTintColor
if notnil
.Declaration
Swift
@objc public var lineItemBorderColor: UIColor?
-
Sets the color of the active elements on the digital invoice line item count label to the specified color.
Declaration
Swift
@objc public var lineItemCountLabelColor: UIColor
-
Sets the font of the line item name on the digital invoice line item count label to the specified font.
Declaration
Swift
@objc public var lineItemCountLabelFont: UIFont
-
Sets the font of the line item name on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceLineItemNameFont: UIFont
-
Sets the font of the line item edit button title on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceLineItemEditButtonTitleFont: UIFont
-
Sets the edit button tint color on the digital invoice screen to the specified color.
Overrides
lineItemTintColor
if notnil
.Declaration
Swift
@objc public var digitalInvoiceLineItemEditButtonTintColor: UIColor?
-
Sets the toggle switch tint color on the digital invoice line item cells to the specified color.
Overrides
lineItemTintColor
if notnil
.Declaration
Swift
@objc public var digitalInvoiceLineItemToggleSwitchTintColor: UIColor?
-
Sets the delete button tint color on the digital invoice screen to the specified color.
Overrides
lineItemTintColor
if notnil
.Declaration
Swift
@objc public var digitalInvoiceLineItemDeleteButtonTintColor: UIColor?
-
Sets the font of the line item label that displays the quantity on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceLineItemQuantityFont: UIFont
-
Sets the color of the line item label that displays the quantity on the digital invoice line item cells to the specified color.
Declaration
Swift
@objc public var digitalInvoiceLineItemQuantityColor: GiniColor
-
Sets the color of the line item label that displays the item name on the digital invoice line item cells to the specified color.
Declaration
Swift
@objc public var digitalInvoiceLineItemNameColor: GiniColor
-
Sets the color of the line item label that displays the price on the digital invoice line item cells to the specified color.
Declaration
Swift
@objc public var digitalInvoiceLineItemPriceColor: GiniColor
-
Sets the font of the main currency unit of the price on the line item of the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceLineItemPriceMainUnitFont: UIFont
-
Sets the font of the fractional currency unit of the price on the line item of the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceLineItemPriceFractionalUnitFont: UIFont
-
Sets the font of the secondary informational message on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceSecondaryMessageTextFont: UIFont
-
Sets the color of the secondary message label on the digital invoice line item cells to the specified color.
Declaration
Swift
@objc public var digitalInvoiceSecondaryMessageTextColor: UIColor
-
Sets the background color for digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceBackgroundColor: GiniColor
-
Sets the background color for the line items on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceLineItemsBackgroundColor: GiniColor
-
Sets the disabled color for the line items on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceLineItemsDisabledColor: UIColor
-
Sets the font of the footer message on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceFooterMessageTextFont: UIFont
-
Sets the add article button tint color of the footer section on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceFooterAddArticleButtonTintColor: UIColor
-
Sets the font of the add article button of the footer section on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceFooterAddArticleButtonTitleFont: UIFont
-
Sets the text color of the footer message on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceFooterMessageTextColor: GiniColor
-
Sets the text color of the items section header on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceItemsSectionHeaderTextColor: GiniColor
-
Sets the font of the items section header on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceItemsSectionHeaderTextFont: UIFont
-
Sets the background color of the digital invoice pay button to the specified color.
Declaration
Swift
@objc public var payButtonBackgroundColor: UIColor
-
Sets the title text color of the digital invoice pay button to the specified color.
Declaration
Swift
@objc public var payButtonTitleTextColor: UIColor
-
Sets the title text font of the digital invoice pay button to the specified font.
Declaration
Swift
@objc public var payButtonTitleFont: UIFont
-
Sets the background color of the digital invoice skip button to the specified color.
Declaration
Swift
@objc public var skipButtonBackgroundColor: UIColor
-
Sets the title text color of the digital invoice skip button to the specified color.
Declaration
Swift
@objc public var skipButtonTitleTextColor: UIColor
-
Sets the layer border color of the digital invoice skip button to the specified color.
Declaration
Swift
@objc public var skipButtonBorderColor: UIColor
-
Sets the title text font of the digital invoice skip button to the specified font.
Declaration
Swift
@objc public var skipButtonTitleFont: UIFont
-
Sets the font of the addon labels on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceAddonLabelFont: UIFont
-
Sets the font of the total caption label on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceTotalCaptionLabelFont: UIFont
-
Sets the text color of the total caption label on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceTotalCaptionLabelTextColor: GiniColor
-
Sets the font of the total explanation label on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceTotalExplanationLabelFont: UIFont
-
Sets the text color of the explanation label on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceTotalExplanationLabelTextColor: GiniColor
-
Sets the font of the main unit of the addon price labels to the specified font.
Declaration
Swift
@objc public var digitalInvoiceAddonPriceMainUnitFont: UIFont
-
Sets the font of the fractional unit of the addon price labels to the specified font.
Declaration
Swift
@objc public var digitalInvoiceAddonPriceFractionalUnitFont: UIFont
-
Sets the color of the addon price labels in the digital invoice screen to the specified color.
Declaration
Swift
@objc public var digitalInvoiceAddonPriceColor: UIColor { get set }
-
Sets the color of the addon name labels in the digital invoice screen to the specified color
Declaration
Swift
@objc public var digitalInvoiceAddonLabelColor: GiniColor
-
Sets the color of the total price label in the digital invoice screen to the specified color.
Declaration
Swift
@objc public var digitalInvoiceTotalPriceColor: UIColor { get set }
-
Sets the font of the digital invoice main unit of the total price label to the specified font.
Declaration
Swift
@objc public var digitalInvoiceTotalPriceMainUnitFont: UIFont
-
Sets the font of the digital invoice fractional unit of the total price label to the specified font.
Declaration
Swift
@objc public var digitalInvoiceTotalPriceFractionalUnitFont: UIFont
-
Sets the font of the content description labels in the line item details view controller to the specified font.
Declaration
Swift
@objc public var lineItemDetailsDescriptionLabelFont: UIFont
-
Sets the color of the content description labels in the line item details view controller to the specified color.
Declaration
Swift
@objc public var lineItemDetailsDescriptionLabelColor: UIColor { get set }
-
Sets the background color for the line item details view.
Declaration
Swift
@objc public var lineItemDetailsBackgroundColor: GiniColor
-
Sets the font of the content labels in the line item details view controller to the specified font.
Declaration
Swift
@objc public var lineItemDetailsContentLabelFont: UIFont
-
Sets the color of the content labels in the line item details view controller to the specified color.
Declaration
Swift
@objc public var lineItemDetailsContentLabelColor: UIColor { get set }
-
Sets the highlighted underline color of the content labels in the line item details view controller to the specified color
Declaration
Swift
@objc public var lineItemDetailsContentHighlightedColor: UIColor
-
Sets the font of the line item details screen main unit of the total price label to the specified font.
Declaration
Swift
@objc public var lineItemDetailsTotalPriceMainUnitFont: UIFont
-
Sets the font of the line item details screen fractional unit of the total price label to the specified font.
Declaration
Swift
@objc public var lineItemDetailsTotalPriceFractionalUnitFont: UIFont
-
Sets the backgroundColor on the digital invoice onboarding screen.
Declaration
Swift
@objc public var digitalInvoiceOnboardingBackgroundColor: GiniColor
-
Sets the color on the digital invoice onboarding screen for text labels.
Declaration
Swift
@objc public var digitalInvoiceOnboardingTextColor: GiniColor
-
Sets the font of the first text label on the digital invoice onboarding screen.
Declaration
Swift
@objc public var digitalInvoiceOnboardingFirstLabelTextFont: UIFont
-
Sets the font of the second text label on the digital invoice onboarding screen.
Declaration
Swift
@objc public var digitalInvoiceOnboardingSecondLabelTextFont: UIFont
-
Sets the backgroundColor on the digital invoice onboarding screen for done button.
Declaration
Swift
@objc public var digitalInvoiceOnboardingDoneButtonBackgroundColor: GiniColor
-
Sets the font of the done button on the digital invoice onboarding screen.
Declaration
Swift
@objc public var digitalInvoiceOnboardingDoneButtonTextFont: UIFont
-
Sets the font of the hide button on the digital invoice onboarding screen.
Declaration
Swift
@objc public var digitalInvoiceOnboardingHideButtonTextFont: UIFont
-
Sets the text color of the done button on the digital invoice onboarding screen.
Declaration
Swift
@objc public var digitalInvoiceOnboardingDoneButtonTextColor: GiniColor
-
Sets the text color of the done button on the digital invoice onboarding screen.
Declaration
Swift
@objc public var digitalInvoiceOnboardingHideButtonTextColor: GiniColor
-
Sets the background color of the warning info view on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewBackgroundColor: UIColor
-
Sets the chevron image tint color of the warning info view on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewChevronImageViewTintColor: UIColor
-
Sets the text color for the warning info view warning labels on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewWarningLabelsTextColor: UIColor
-
Sets the font for the warning info view top label on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewTopLabelFont: UIFont
-
Sets the font for the warning info view middle label on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewMiddleLabelFont: UIFont
-
Sets the font for the warning info view bottom label on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewBottomLabelFont: UIFont
-
Sets the background color for the warning info left button on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewLeftButtonBackgroundColor: UIColor
-
Sets the border color for the warning info left button on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewLeftButtonBorderColor: UIColor
-
Sets the title color for the warning info left button on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewLeftkButtonTitleColor: UIColor
-
Sets the background color for the warning info right button on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewRightButtonBackgroundColor: UIColor
-
Sets the border color for the warning info right button on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewRightButtonBorderColor: UIColor
-
Sets the title color for the warning info right button on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewRightButtonTitleColor: UIColor
-
Sets the font for the warning info buttons on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceInfoViewButtonsFont: UIFont
-
Shows the return reasons dialog.
Declaration
Swift
@objc public var enableReturnReasons: Bool
-
Set an adapter implementation to show a custom loading indicator on the document analysis screen.
Declaration
Swift
public var customLoadingIndicator: CustomLoadingIndicatorAdapter?
-
Undocumented
Declaration
Swift
public lazy var primaryButtonConfiguration: ButtonConfiguration { get set }
-
Undocumented
Declaration
Swift
public lazy var secondaryButtonConfiguration: ButtonConfiguration { get set }
-
Undocumented
Declaration
Swift
public lazy var transparentButtonConfiguration: ButtonConfiguration { get set }
-
Undocumented
Declaration
Swift
public lazy var cameraControlButtonConfiguration: ButtonConfiguration { get set }
-
Undocumented
Declaration
Swift
public lazy var addPageButtonConfiguration: ButtonConfiguration { get set }
-
Sets the font used in the Return Assistant screens by default.
Declaration
Swift
@objc public lazy var customFont: GiniCaptureFont { get set }
-
Set an array of additional custom help menu items . Those items will be presented as table view cells on the help menu screen. By selecting the cell the user will be redirected to the page, which represented by viewController provided by customer during the
HelpMenuViewController.Item
initialization.Declaration
Swift
public var customMenuItems: [HelpMenuItem]
-
Sets if the default error logging implementation is on.
Declaration
Swift
public var giniErrorLoggerIsOn: Bool
-
Should be set if the custom error logging is implemented.
Declaration
Swift
public var customGiniErrorLoggerDelegate: GiniCaptureErrorLoggerDelegate?
-
Should be set if the default name “Localizable.strings” are not used.
Declaration
Swift
public var localizedStringsTableName: String?
-
Undocumented
Declaration
Swift
public func captureConfiguration() -> GiniConfiguration
-
Undocumented
Declaration
Swift
public func returnAssistantConfiguration() -> ReturnAssistantConfiguration
-
Sets the configuration flags back. Used only in the example app. See
SettingsViewController
for the details.Declaration
Swift
public func updateConfiguration(withCaptureConfiguration configuration: GiniConfiguration)
-
Allows setting a custom font for specific text styles. The change will affect all screens where a specific text style was used.
Declaration
Swift
public func updateFont(_ font: UIFont, for textStyle: UIFont.TextStyle)
Parameters
font
Font that is going to be assosiated with specific text style. You can use scaled font or scale your font with our util method
UIFont.scaledFont(_ font: UIFont, textStyle: UIFont.TextStyle)
textStyle
Constants that describe the preferred styles for fonts. Please, find additional information here
-
Function for clean up
Declaration
Swift
public func cleanup(paymentRecipient: String, paymentReference: String, paymentPurpose: String, iban: String, bic: String, amountToPay: ExtractionAmount)
Parameters
paymentRecipient
paymentRecipient description
paymentReference
paymentReference description
iban
iban description
bic
bic description
amountToPay
amountToPay description