ReturnAssistantConfiguration
public final class ReturnAssistantConfiguration : NSObject
Undocumented
-
Singleton to make configuration internally accessible in all classes of the Gini Bank SDK.
Declaration
Swift
public static var shared: ReturnAssistantConfiguration -
Returns a
ReturnAssistantConfigurationinstance which allows to set individual configurations to change the look and feel of the Gini Capture SDK.Declaration
Swift
public override init()Return Value
Instance of
ReturnAssistantConfiguration.
-
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
lineItemTintColorif 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
lineItemTintColorif 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
lineItemTintColorif notnil.Declaration
Swift
@objc public var digitalInvoiceLineItemToggleSwitchTintColor: UIColor? -
Sets the delete button tint color on the digital invoice screen to the specified color.
Overrides
lineItemTintColorif 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 font of the items section header on the digital invoice screen to the specified font.
Declaration
Swift
@objc public var digitalInvoiceItemsSectionHeaderTextFont: UIFont -
Sets the text color of the items section header on the digital invoice screen.
Declaration
Swift
@objc public var digitalInvoiceItemsSectionHeaderTextColor: GiniColor -
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 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
-
Sets the font used in the Return Assistant screens by default.
Declaration
Swift
@objc public lazy var customFont: GiniCaptureFont { get set } -
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
fontFont 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)textStyleConstants that describe the preferred styles for fonts. Please, find additional information here
View on GitHub
ReturnAssistantConfiguration Class Reference