diff --git a/Classes.html b/Classes.html new file mode 100644 index 000000000..855cc3fe1 --- /dev/null +++ b/Classes.html @@ -0,0 +1,1316 @@ + + + + Classes Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Classes

+

The following classes are available globally.

+ +
+
+ +
+
+
+ +
+
+
+ + +
+ +

SpinnerView +

+
+
+
    +
  • +
    + + + + SpinnerView + +
    +
    +
    +
    +
    +
    +

    Represents Spinner view to be embedded on a view

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class SpinnerView : UIView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Theme + +
    +
    +
    +
    +
    +
    +

    The Theme is used customize all visual style provided by Hyperwallet UI SDK. +In order to apply a new style changes the method ThemeManager.applyTheme() has to been called.

    + + + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objcMembers
    +public class Theme : NSObject
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Class responsible for deciding the coordinator required

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HyperwalletCoordinatorFactory
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletInsights + +
    +
    +
    +
    +
    +
    +

    Class responsible for initializing the Insights module. +It contains methods to call Insights for various actions performed by the user

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HyperwalletInsights : HyperwalletInsightsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ErrorInfoBuilder + +
    +
    +
    +
    +
    +
    +

    A helper class to build the ErrorInfo instance.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ErrorInfoBuilder
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ErrorView + +
    +
    +
    +
    +
    +
    +

    The class to handle UI errors

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class ErrorView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PasteOnlyTextField + +
    +
    +
    +
    +
    +
    +

    To perform paste action in UITextField

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class PasteOnlyTextField : UITextField
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AmountTextField + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class AmountTextField : PasteOnlyTextField
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ProcessingView + +
    +
    +
    +
    +
    +
    +

    The processing view

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class ProcessingView : UIView
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Prepaid card receipt repository

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class RemotePrepaidCardReceiptRepository : PrepaidCardReceiptRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Receipt Repository Factory

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class ReceiptRepositoryFactory
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    User receipt repository

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class RemoteUserReceiptRepository : UserReceiptRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Coordinator class for ListReceipt

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ListReceiptCoordinator : NSObject, HyperwalletCoordinator
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/AddTransferMethodCoordinator.html b/Classes/AddTransferMethodCoordinator.html new file mode 100644 index 000000000..839212cdd --- /dev/null +++ b/Classes/AddTransferMethodCoordinator.html @@ -0,0 +1,587 @@ + + + + AddTransferMethodCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddTransferMethodCoordinator

+
+
+ +
public class AddTransferMethodCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for AddTransferMethod

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Classes/AmountTextField.html b/Classes/AmountTextField.html new file mode 100644 index 000000000..966943dcb --- /dev/null +++ b/Classes/AmountTextField.html @@ -0,0 +1,455 @@ + + + + AmountTextField Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AmountTextField

+
+
+ +
public final class AmountTextField : PasteOnlyTextField
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/CreateTransferCoordinator.html b/Classes/CreateTransferCoordinator.html new file mode 100644 index 000000000..f36354fe0 --- /dev/null +++ b/Classes/CreateTransferCoordinator.html @@ -0,0 +1,587 @@ + + + + CreateTransferCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

CreateTransferCoordinator

+
+
+ +
public class CreateTransferCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for CreateTransfer

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Classes/ErrorInfoBuilder.html b/Classes/ErrorInfoBuilder.html new file mode 100644 index 000000000..3df6497ff --- /dev/null +++ b/Classes/ErrorInfoBuilder.html @@ -0,0 +1,622 @@ + + + + ErrorInfoBuilder Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ErrorInfoBuilder

+
+
+ +
public class ErrorInfoBuilder
+ +
+
+

A helper class to build the ErrorInfo instance.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(type:message:) + +
    +
    +
    +
    +
    +
    +

    Initializes ErrorInfoBuilder

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(type: String, message: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + type + + +
    +

    The Type of error that occurred.

    +
    +
    + + message + + +
    +

    The Field Name is especially interesting when there is a validation error/issue in combination +with error_type = FORM

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + fieldName(_:) + +
    +
    +
    +
    +
    +
    +

    Sets FieldName

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func fieldName(_ fieldName: String) -> ErrorInfoBuilder
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + fieldName + + +
    +

    The Field Name is especially interesting when there is a validation +error/issue in combination with error_type = FORM or when an API error occurs in relation +to a field, error_type = API

    +
    +
    +
    +
    +

    Return Value

    +

    ErrorInfoBuilder

    +
    +
    +
    +
  • +
  • +
    + + + + code(_:) + +
    +
    +
    +
    +
    +
    +

    Sets Code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func code(_ code: String) -> ErrorInfoBuilder
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + code + + +
    +

    The Error Code is the type of error that occurred

    +
    +
    +
    +
    +

    Return Value

    +

    ErrorInfoBuilder

    +
    +
    +
    +
  • +
  • +
    + + + + build() + +
    +
    +
    +
    +
    +
    +

    Builds a new instance of the ErrorInfo.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func build() -> ErrorInfo
    + +
    +
    +
    +

    Return Value

    +

    a new instance of the ErrorInfo.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/ErrorView.html b/Classes/ErrorView.html new file mode 100644 index 000000000..57d45208e --- /dev/null +++ b/Classes/ErrorView.html @@ -0,0 +1,562 @@ + + + + ErrorView Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ErrorView

+
+
+ +
public final class ErrorView
+ +
+
+

The class to handle UI errors

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initializer to initialize the class with errors to be displayed and the ViewController responsible +to display the errors

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(viewController: UIViewController,
    +            error: HyperwalletErrorType,
    +            pageName: String,
    +            pageGroup: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + viewController + + +
    +

    view controller that contains errors

    +
    +
    + + error + + +
    +

    hyperwallet error

    +
    +
    + + pageName + + +
    +

    The Page or screen that is currently visible

    +
    +
    + + pageGroup + + +
    +

    The group of the Page or screen that is currently visible

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + show(_:) + +
    +
    +
    +
    +
    +
    +

    To show error messages

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func show(_ handler: (() -> Void)?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    handler to either remain on same UI page or go back to previous

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/GenericCell.html b/Classes/GenericCell.html new file mode 100644 index 000000000..276cc4fe8 --- /dev/null +++ b/Classes/GenericCell.html @@ -0,0 +1,511 @@ + + + + GenericCell Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

GenericCell

+
+
+ +
open class GenericCell<ModelType> : UITableViewCell
+ +
+
+

The tableview cell

+ +
+
+ +
+
+
+
    +
  • +
    + + + + item + +
    +
    +
    +
    +
    +
    +

    The item

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    open var item: ModelType!
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initializes the tableview cell

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public init(style: UITableViewCell.CellStyle, reuseIdentifier: String?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(coder:) + +
    +
    +
    +
    +
    +
    +

    The required initializer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public required init?(coder aDecoder: NSCoder)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/GenericController.html b/Classes/GenericController.html new file mode 100644 index 000000000..d036b188b --- /dev/null +++ b/Classes/GenericController.html @@ -0,0 +1,959 @@ + + + + GenericController Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

GenericController

+
+
+ +
public class GenericController<T: GenericCell<ModelType>, ModelType>: UITableViewController,
+UISearchResultsUpdating, UISearchControllerDelegate
+ +
+
+

Generic Controller

+ +
+
+ +
+
+
+
    +
  • +
    + + + + items + +
    +
    +
    +
    +
    +
    +

    The item list to be displayed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var items: [ModelType] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + filteredItems + +
    +
    +
    +
    +
    +
    +

    The filtered items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var filteredItems: [ModelType]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + shouldMarkCellAction + +
    +
    +
    +
    +
    +
    +

    Event handler to indicate if the item cell should be marked

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var shouldMarkCellAction: ((_ value: ModelType) -> Bool)?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Delegate to customise the filter content.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var filterContentForSearchTextAction: ((_ items: [ModelType], _ searchText: String) -> [ModelType])? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SelectedHandler + +
    +
    +
    +
    +
    +
    +

    The typealias for event handler to return the item selected

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SelectedHandler = (_ value: ModelType) -> Void
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + selectedHandler + +
    +
    +
    +
    +
    +
    +

    Event handler to return the item selected

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var selectedHandler: SelectedHandler?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Private properties +

+
+
+
    +
  • +
    + + + + viewDidLoad() + +
    +
    +
    +
    +
    +
    +

    Called after the view controller has loaded its view hierarchy into memory.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func viewDidLoad()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewWillAppear(_:) + +
    +
    +
    +
    +
    +
    +

    Notifies the view controller that its view is about to be added to a view hierarchy.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func viewWillAppear(_ animated: Bool)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    UIKit calls this method before changing the size of a presented view controller’s view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + size + + +
    +

    The new size for the container’s view.

    +
    +
    + + coordinator + + +
    +

    The transition coordinator object managing the size change.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Called when the search controller is automatically dismissed.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func didDismissSearchController(_ searchController: UISearchController)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns number of items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays the retrieved items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

UITableViewDelegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select the items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

UISearchResultsUpdating +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    To update search result

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func updateSearchResults(for searchController: UISearchController)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/HyperwalletBundle.html b/Classes/HyperwalletBundle.html new file mode 100644 index 000000000..16efff0ce --- /dev/null +++ b/Classes/HyperwalletBundle.html @@ -0,0 +1,457 @@ + + + + HyperwalletBundle Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletBundle

+
+
+ +
public final class HyperwalletBundle
+ +
+
+

Hyperwallet Bundle

+ +
+
+ +
+
+
+
    +
  • +
    + + + + currentSDKAppVersion + +
    +
    +
    +
    +
    +
    +

    Get the current SDK version

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let currentSDKAppVersion: String?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/HyperwalletCoordinatorFactory.html b/Classes/HyperwalletCoordinatorFactory.html new file mode 100644 index 000000000..70d54e99f --- /dev/null +++ b/Classes/HyperwalletCoordinatorFactory.html @@ -0,0 +1,509 @@ + + + + HyperwalletCoordinatorFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCoordinatorFactory

+
+
+ +
public class HyperwalletCoordinatorFactory
+ +
+
+

Class responsible for deciding the coordinator required

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the Hyperwallet UI SDK interface object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: HyperwalletCoordinatorFactory { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Based on the HyperwalletCoordinatorTypes, determines the coordinator to be returned, +returns nil if the module has not been imported in the project

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getHyperwalletCoordinator(hyperwalletCoordinatorType: HyperwalletCoordinatorTypes)
    +    -> HyperwalletCoordinator?
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + hyperwalletCoordinatorType + + +
    +

    HyperwalletCoordinatorTypes

    +
    +
    +
    +
    +

    Return Value

    +

    The initialized coordinator class

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/HyperwalletIcon.html b/Classes/HyperwalletIcon.html new file mode 100644 index 000000000..6d2dbecd5 --- /dev/null +++ b/Classes/HyperwalletIcon.html @@ -0,0 +1,480 @@ + + + + HyperwalletIcon Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletIcon

+
+
+ +
public final class HyperwalletIcon
+ +
+
+

The HyperwalletIcon class

+ +
+
+ +
+
+
+
    +
  • +
    + + + + of(_:) + +
    +
    +
    +
    +
    +
    +

    Make transfer method type icon by transfer method type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func of(_ fontType: String) -> HyperwalletIconContent
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + fontType + + +
    +

    String

    +
    +
    +
    +
    +

    Return Value

    +

    a HyperwalletIconContent object

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/HyperwalletInsights.html b/Classes/HyperwalletInsights.html new file mode 100644 index 000000000..2fa03c75d --- /dev/null +++ b/Classes/HyperwalletInsights.html @@ -0,0 +1,734 @@ + + + + HyperwalletInsights Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletInsights

+
+
+ +
public class HyperwalletInsights : HyperwalletInsightsProtocol
+ +
+
+

Class responsible for initializing the Insights module. +It contains methods to call Insights for various actions performed by the user

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the HyperwalletInsights interface object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: HyperwalletInsights { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears Insights SDK instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setup() + +
    +
    +
    +
    +
    +
    +

    Set up HyperwalletInsights

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func setup()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Clicks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackClick(pageName: String, pageGroup: String, link: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page

    +
    +
    + + pageGroup + + +
    +

    Page group name

    +
    +
    + + link + + +
    +

    The link clicked - example : select-transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackError(pageName: String, pageGroup: String, errorInfo: ErrorInfo)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + ErrorInfo + + +
    +

    ErrorInfo have the information about the error

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Impressions

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackImpression(pageName: String, pageGroup: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/HyperwalletUI.html b/Classes/HyperwalletUI.html new file mode 100644 index 000000000..cef209f79 --- /dev/null +++ b/Classes/HyperwalletUI.html @@ -0,0 +1,1073 @@ + + + + HyperwalletUI Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletUI

+
+
+ +
@objcMembers
+public final class HyperwalletUI : NSObject
+ +
+
+

Class responsible for initializing the Hyperwallet UI SDK. It contains methods to interact with the controllers +used to interact with the Hyperwallet platform

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the Hyperwallet UI SDK interface object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: HyperwalletUI { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears Hyperwallet and HyperwalletInsights instances.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setup(_:) + +
    +
    +
    +
    +
    +
    +

    Creates a new instance of the Hyperwallet UI SDK interface object. If a previously created instance exists, +it will be replaced.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class func setup(_ provider: HyperwalletAuthenticationTokenProvider)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + provider + + +
    +

    a provider of Hyperwallet authentication tokens.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Clears TransferRepositoryFactory , TransferMethodRepositoryFactory and UserRepositoryFactory instances.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func transferUIClearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create transfer funds from User Source

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferFromUserCoordinator(clientTransferId: String,
    +                                       parentController: UIViewController) -> CreateTransferCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of CreateTransferCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create transfer funds from Prepaid Card Token Source

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferFromPrepaidCardCoordinator(clientTransferId: String,
    +                                              sourceToken: String,
    +                                              parentController: UIViewController)
    +    -> CreateTransferCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of CreateTransferCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create transfer funds + This function will show all the available sources to create a transfer from.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferFromAllAvailableSourcesCoordinator(clientTransferId: String,
    +                                                      parentController: UIViewController)
    +    -> CreateTransferCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of CreateTransferCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Clears TransferMethodRepositoryFactory and UserRepositoryFactory instances.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func transferMethodUIClearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check).

    + +

    The user can deactivate and add a new transfer method.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listTransferMethodCoordinator(parentController: UIViewController) ->
    +    ListTransferMethodsCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of ListTransferMethodsCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists all transfer method types available based on the country, currency and profile type to create a new +transfer method (bank account, bank card, PayPal account, prepaid card, paper check).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func selectTransferMethodTypeCoordinator(forceUpdateData: Bool = false, parentController: UIViewController)
    +    -> SelectTransferMethodTypeCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + forceUpdateData + + +
    +

    Forces to refresh the cached data.

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of SelectTransferMethodTypeCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Controller to create a new transfer method.

    + +

    The form fields are based on the country, currency, user’s profile type and transfer method type should be +passed to this Controller to create new Transfer Method for those values.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func addTransferMethodCoordinator(
    +    _ country: String,
    +    _ currency: String,
    +    _ profileType: String,
    +    _ transferMethodTypeCode: String,
    +    _ forceUpdateData: Bool = false,
    +    parentController: UIViewController) -> AddTransferMethodCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + country + + +
    +

    The 2 letter ISO 3166-1 country code.

    +
    +
    + + currency + + +
    +

    The 3 letter ISO 4217-1 currency code.

    +
    +
    + + profileType + + +
    +

    The profile type. Possible values - INDIVIDUAL, BUSINESS.

    +
    +
    + + transferMethodTypeCode + + +
    +

    The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD.

    +
    +
    + + forceUpdateData + + +
    +

    Forces to refresh the cached data.

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of AddTransferMethodCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Controller to update a transfer method.

    + +

    The form fields are based transfer method token passed to this controller to update transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func updateTransferMethodCoordinator(_ transferMethodToken: String,
    +                                     parentController: UIViewController) -> UpdateTransferMethodCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + transferMethodToken + + +
    +

    The transfer method token

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of UpdateTransferMethodCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Clears ReceiptRepositoryFactory instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func receiptUIClearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s transactions.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listUserReceiptCoordinator(parentController: UIViewController) -> ListReceiptCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of ListReceiptCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s prepaid card transactions.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listPrepaidCardReceiptCoordinator(parentController: UIViewController, prepaidCardToken: String)
    +    -> ListReceiptCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + prepaidCardToken + + +
    +

    prepaid card token for which transactions are requested

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of ListReceiptCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s transactions from all sources - wallet and prepaid card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listAllAvailableSourcesReceiptCoordinator(parentController: UIViewController) -> ListReceiptCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of ListReceiptCoordinator

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/ListReceiptCoordinator.html b/Classes/ListReceiptCoordinator.html new file mode 100644 index 000000000..203c4a5f4 --- /dev/null +++ b/Classes/ListReceiptCoordinator.html @@ -0,0 +1,587 @@ + + + + ListReceiptCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListReceiptCoordinator

+
+
+ +
public class ListReceiptCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for ListReceipt

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Classes/ListTransferMethodsCoordinator.html b/Classes/ListTransferMethodsCoordinator.html new file mode 100644 index 000000000..895060f88 --- /dev/null +++ b/Classes/ListTransferMethodsCoordinator.html @@ -0,0 +1,587 @@ + + + + ListTransferMethodsCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferMethodsCoordinator

+
+
+ +
public final class ListTransferMethodsCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for ListTransferMethods

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Classes/PasteOnlyTextField.html b/Classes/PasteOnlyTextField.html new file mode 100644 index 000000000..6d0216491 --- /dev/null +++ b/Classes/PasteOnlyTextField.html @@ -0,0 +1,457 @@ + + + + PasteOnlyTextField Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PasteOnlyTextField

+
+
+ +
public class PasteOnlyTextField : UITextField
+ +
+
+

To perform paste action in UITextField

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Requests the receiving responder to paste text in UITextField

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/ProcessingView.html b/Classes/ProcessingView.html new file mode 100644 index 000000000..4bf733888 --- /dev/null +++ b/Classes/ProcessingView.html @@ -0,0 +1,538 @@ + + + + ProcessingView Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ProcessingView

+
+
+ +
public final class ProcessingView : UIView
+ +
+
+

The processing view

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(showInView:) + +
    +
    +
    +
    +
    +
    +

    Convenience Initializer for view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(showInView view: UIView)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Convenience Initializer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + didMoveToSuperview() + +
    +
    +
    +
    +
    +
    +

    Tells the view that its superview changed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didMoveToSuperview()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hide(with:) + +
    +
    +
    +
    +
    +
    +

    To hide processing symbol

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func hide(with state: ProcessingState? = nil)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/ReceiptRepositoryFactory.html b/Classes/ReceiptRepositoryFactory.html new file mode 100644 index 000000000..1d42c5a5c --- /dev/null +++ b/Classes/ReceiptRepositoryFactory.html @@ -0,0 +1,546 @@ + + + + ReceiptRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ReceiptRepositoryFactory

+
+
+ +
public final class ReceiptRepositoryFactory
+ +
+
+

Receipt Repository Factory

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the ReceiptRepositoryFactory object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: ReceiptRepositoryFactory { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears the RepositoryFactory singleton instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the UserReceiptRepository implementation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func userReceiptRepository() -> UserReceiptRepository
    + +
    +
    +
    +

    Return Value

    +

    The implementation of the UserReceiptRepository protocol

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the PrepaidCardReceiptRepository implementation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func prepaidCardReceiptRepository() -> PrepaidCardReceiptRepository
    + +
    +
    +
    +

    Return Value

    +

    The implementation of the PrepaidCardReceiptRepository protocol

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/RemotePrepaidCardReceiptRepository.html b/Classes/RemotePrepaidCardReceiptRepository.html new file mode 100644 index 000000000..4b00686c9 --- /dev/null +++ b/Classes/RemotePrepaidCardReceiptRepository.html @@ -0,0 +1,458 @@ + + + + RemotePrepaidCardReceiptRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemotePrepaidCardReceiptRepository

+
+
+ +
public final class RemotePrepaidCardReceiptRepository : PrepaidCardReceiptRepository
+ +
+
+

Prepaid card receipt repository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func listPrepaidCardReceipts(
    +    prepaidCardToken: String,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/RemotePrepaidCardRepository.html b/Classes/RemotePrepaidCardRepository.html new file mode 100644 index 000000000..a002a0fbe --- /dev/null +++ b/Classes/RemotePrepaidCardRepository.html @@ -0,0 +1,540 @@ + + + + RemotePrepaidCardRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemotePrepaidCardRepository

+
+
+ +
public final class RemotePrepaidCardRepository : PrepaidCardRepository
+ +
+
+

Prepaid Card repository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func listPrepaidCards(queryParam: HyperwalletPrepaidCardQueryParam,
    +                             completion: @escaping (Result<HyperwalletPageList<HyperwalletPrepaidCard>?,
    +HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getPrepaidCard(token: String,
    +                           completion: @escaping (Result < HyperwalletPrepaidCard?,
    +HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCard() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshPrepaidCard()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCards() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Cards

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshPrepaidCards()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/RemoteTransferMethodConfigurationRepository.html b/Classes/RemoteTransferMethodConfigurationRepository.html new file mode 100644 index 000000000..ad61d3cf0 --- /dev/null +++ b/Classes/RemoteTransferMethodConfigurationRepository.html @@ -0,0 +1,569 @@ + + + + RemoteTransferMethodConfigurationRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteTransferMethodConfigurationRepository

+
+
+ +
public final class RemoteTransferMethodConfigurationRepository : TransferMethodConfigurationRepository
+ +
+
+

RemoteTransferMethodConfigurationRepository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getFields(
    +    _ country: String,
    +    _ currency: String,
    +    _ transferMethodType: String,
    +    _ transferMethodProfileType: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationField?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getKeys(completion:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getKeys(
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransferMethodTypesFeesAndProcessingTimes(
    +    country: String,
    +    currency: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshFields() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshFields()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshKeys() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshKeys()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/RemoteTransferMethodUpdateConfigurationRepository.html b/Classes/RemoteTransferMethodUpdateConfigurationRepository.html new file mode 100644 index 000000000..5c0ff98a7 --- /dev/null +++ b/Classes/RemoteTransferMethodUpdateConfigurationRepository.html @@ -0,0 +1,458 @@ + + + + RemoteTransferMethodUpdateConfigurationRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteTransferMethodUpdateConfigurationRepository

+
+
+ +
public final class RemoteTransferMethodUpdateConfigurationRepository : TransferMethodUpdateConfigurationRepository
+ +
+
+

RemoteTransferMethodUpdateConfigurationRepository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getFields(_ transferMethodToken: String,
    +                      completion: @escaping (
    +    Result<HyperwalletTransferMethodUpdateConfigurationField?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/RemoteUserReceiptRepository.html b/Classes/RemoteUserReceiptRepository.html new file mode 100644 index 000000000..652a422e2 --- /dev/null +++ b/Classes/RemoteUserReceiptRepository.html @@ -0,0 +1,459 @@ + + + + RemoteUserReceiptRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteUserReceiptRepository

+
+
+ +
public final class RemoteUserReceiptRepository : UserReceiptRepository
+ +
+
+

User receipt repository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func listUserReceipts(
    +    offset: Int,
    +    limit: Int,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/RemoteUserRepository.html b/Classes/RemoteUserRepository.html new file mode 100644 index 000000000..cf6b309c1 --- /dev/null +++ b/Classes/RemoteUserRepository.html @@ -0,0 +1,482 @@ + + + + RemoteUserRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteUserRepository

+
+
+ +
public final class RemoteUserRepository : UserRepository
+ +
+
+

RemoteUserRepository

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getUser(completion:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getUser(completion: @escaping (Result<HyperwalletUser?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshUser() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshUser()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/SelectTransferMethodTypeCoordinator.html b/Classes/SelectTransferMethodTypeCoordinator.html new file mode 100644 index 000000000..312a740ef --- /dev/null +++ b/Classes/SelectTransferMethodTypeCoordinator.html @@ -0,0 +1,587 @@ + + + + SelectTransferMethodTypeCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SelectTransferMethodTypeCoordinator

+
+
+ +
public class SelectTransferMethodTypeCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for SelectTransferMethodType

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Classes/SpinnerView.html b/Classes/SpinnerView.html new file mode 100644 index 000000000..1656a36a8 --- /dev/null +++ b/Classes/SpinnerView.html @@ -0,0 +1,457 @@ + + + + SpinnerView Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SpinnerView

+
+
+ +
public final class SpinnerView : UIView
+ +
+
+

Represents Spinner view to be embedded on a view

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(showInView:) + +
    +
    +
    +
    +
    +
    +

    Convenience Initializer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(showInView view: UIView)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme.html b/Classes/Theme.html new file mode 100644 index 000000000..7a1a805b3 --- /dev/null +++ b/Classes/Theme.html @@ -0,0 +1,772 @@ + + + + Theme Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Theme

+
+
+ +
@objcMembers
+public class Theme : NSObject
+ +
+
+

The Theme is used customize all visual style provided by Hyperwallet UI SDK. +In order to apply a new style changes the method ThemeManager.applyTheme() has to been called.

+ + + +
+
+ +
+
+
+
    +
  • +
    + + + + themeColor + +
    +
    +
    +
    +
    +
    +

    The main color.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var themeColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + tintColor + +
    +
    +
    +
    +
    +
    +

    The tint color.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var tintColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Label + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UILabel.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Label
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NavigationBar + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UINavigationBar.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct NavigationBar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Button + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UIButton.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Button
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Text + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UIText.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Cell + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UITableViewCell

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Cell
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Icon + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for the Hyperwallet‘s icon.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Icon
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Amount + +
    +
    +
    +
    +
    +
    +

    Representation of all customized visual style property for numbers

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Amount
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UITableViewController + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UITableViewController.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct UITableViewController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SpinnerView + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for SpinnerView.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct SpinnerView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ProcessingView + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for ProcessingView.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ProcessingView
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/Amount.html b/Classes/Theme/Amount.html new file mode 100644 index 000000000..1d4bc3caf --- /dev/null +++ b/Classes/Theme/Amount.html @@ -0,0 +1,484 @@ + + + + Amount Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Amount

+
+
+ +
public struct Amount
+ +
+
+

Representation of all customized visual style property for numbers

+ +
+
+ +
+
+
+
    +
  • +
    + + + + creditColor + +
    +
    +
    +
    +
    +
    +

    The credit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var creditColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debitColor + +
    +
    +
    +
    +
    +
    +

    The debit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var debitColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/Button.html b/Classes/Theme/Button.html new file mode 100644 index 000000000..5422f6cbc --- /dev/null +++ b/Classes/Theme/Button.html @@ -0,0 +1,565 @@ + + + + Button Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Button

+
+
+ +
public struct Button
+ +
+
+

Representation of all customizable visual style property for UIButton.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    The UIButton primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var color: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + linkColor + +
    +
    +
    +
    +
    +
    +

    The UIButton link color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var linkColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The UIButton background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + linkFont + +
    +
    +
    +
    +
    +
    +

    The UIButton link font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var linkFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + font + +
    +
    +
    +
    +
    +
    +

    The button font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var font: UIFont
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/Cell.html b/Classes/Theme/Cell.html new file mode 100644 index 000000000..8a8e85344 --- /dev/null +++ b/Classes/Theme/Cell.html @@ -0,0 +1,674 @@ + + + + Cell Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Cell

+
+
+ +
public struct Cell
+ +
+
+

Representation of all customizable visual style property for UITableViewCell

+ +
+
+ +
+
+
+
    +
  • +
    + + + + smallHeight + +
    +
    +
    +
    +
    +
    +

    The common UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let smallHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mediumHeight + +
    +
    +
    +
    +
    +
    +

    The common UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let mediumHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + height + +
    +
    +
    +
    +
    +
    +

    The common UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let height: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + largeHeight + +
    +
    +
    +
    +
    +
    +

    The UITableViewCell height for the List transfer method items and +the Select transfer method type items.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let largeHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + headerHeight + +
    +
    +
    +
    +
    +
    +

    The Select transfer method type items header height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let headerHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dividerHeight + +
    +
    +
    +
    +
    +
    +

    The divider UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let dividerHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + tintColor + +
    +
    +
    +
    +
    +
    +

    The UITableViewCell tint color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var tintColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + separatorColor + +
    +
    +
    +
    +
    +
    +

    The UITableViewCell separator color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var separatorColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The UITableViewCell disabled background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var disabledBackgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/Icon.html b/Classes/Theme/Icon.html new file mode 100644 index 000000000..dfa60d845 --- /dev/null +++ b/Classes/Theme/Icon.html @@ -0,0 +1,592 @@ + + + + Icon Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Icon

+
+
+ +
public struct Icon
+ +
+
+

Representation of all customizable visual style property for the Hyperwallet‘s icon.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + size + +
    +
    +
    +
    +
    +
    +

    The icon font size

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let size: Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The add tranfer method icon size

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let addTransferMethodIconSize: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + frame + +
    +
    +
    +
    +
    +
    +

    The icon frame

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let frame: CGSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + primaryColor + +
    +
    +
    +
    +
    +
    +

    The icon primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var primaryColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + creditColor + +
    +
    +
    +
    +
    +
    +

    The icon credit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var creditColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debitColor + +
    +
    +
    +
    +
    +
    +

    The icon debit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var debitColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/Label.html b/Classes/Theme/Label.html new file mode 100644 index 000000000..a0033ad46 --- /dev/null +++ b/Classes/Theme/Label.html @@ -0,0 +1,646 @@ + + + + Label Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Label

+
+
+ +
public struct Label
+ +
+
+

Representation of all customizable visual style property for UILabel.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    The label primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var color: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + errorColor + +
    +
    +
    +
    +
    +
    +

    The color to highlight errors

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var errorColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleColor + +
    +
    +
    +
    +
    +
    +

    The subtitle color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var subtitleColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + textColor + +
    +
    +
    +
    +
    +
    +

    The text color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var textColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleFont + +
    +
    +
    +
    +
    +
    +

    The title font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var titleFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleFont + +
    +
    +
    +
    +
    +
    +

    The subtitle font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var subtitleFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + footnoteFont + +
    +
    +
    +
    +
    +
    +

    The footnote font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var footnoteFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + textSelectionColor + +
    +
    +
    +
    +
    +
    +

    The text selection color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var textSelectionColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/NavigationBar.html b/Classes/Theme/NavigationBar.html new file mode 100644 index 000000000..d85ee865e --- /dev/null +++ b/Classes/Theme/NavigationBar.html @@ -0,0 +1,647 @@ + + + + NavigationBar Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NavigationBar

+
+
+ +
public struct NavigationBar
+ +
+
+

Representation of all customizable visual style property for UINavigationBar.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar bar style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var barStyle: UIBarStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isTranslucent + +
    +
    +
    +
    +
    +
    +

    Sets the opaque background color for The UINavigationBar

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var isTranslucent: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + shadowColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar shadow color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shadowColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + largeTitleColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar large title color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var largeTitleColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar title color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var titleColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + backButtonColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar Back Button color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backButtonColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + largeTitleFont + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar large title font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(iOS 11.0, *)
    +public static var largeTitleFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleFont + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar title font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var titleFont: UIFont
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/ProcessingView.html b/Classes/Theme/ProcessingView.html new file mode 100644 index 000000000..113566411 --- /dev/null +++ b/Classes/Theme/ProcessingView.html @@ -0,0 +1,484 @@ + + + + ProcessingView Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ProcessingView

+
+
+ +
public struct ProcessingView
+ +
+
+

Representation of all customizable visual style property for ProcessingView.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stateLabelColor + +
    +
    +
    +
    +
    +
    +

    The state label color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var stateLabelColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/SpinnerView.html b/Classes/Theme/SpinnerView.html new file mode 100644 index 000000000..e44ebe431 --- /dev/null +++ b/Classes/Theme/SpinnerView.html @@ -0,0 +1,511 @@ + + + + SpinnerView Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SpinnerView

+
+
+ +
public struct SpinnerView
+ +
+
+

Representation of all customizable visual style property for SpinnerView.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    The UIActivityIndicatorView style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var activityIndicatorViewStyle: UIActivityIndicatorView.Style
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The UIActivityIndicatorView color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var activityIndicatorViewColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/Text.html b/Classes/Theme/Text.html new file mode 100644 index 000000000..8197543f3 --- /dev/null +++ b/Classes/Theme/Text.html @@ -0,0 +1,592 @@ + + + + Text Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Text

+
+
+ +
public struct Text
+ +
+
+

Representation of all customizable visual style property for UIText.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    The text primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var color: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disabledColor + +
    +
    +
    +
    +
    +
    +

    The text disabled color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var disabledColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + font + +
    +
    +
    +
    +
    +
    +

    The text font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var font: UIFont
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create Transfer Amount Font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var createTransferAmountFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + labelFont + +
    +
    +
    +
    +
    +
    +

    The text label font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var labelFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + labelColor + +
    +
    +
    +
    +
    +
    +

    The text label color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var labelColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/Theme/UITableViewController.html b/Classes/Theme/UITableViewController.html new file mode 100644 index 000000000..51623c6e1 --- /dev/null +++ b/Classes/Theme/UITableViewController.html @@ -0,0 +1,457 @@ + + + + UITableViewController Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UITableViewController

+
+
+ +
public struct UITableViewController
+ +
+
+

Representation of all customizable visual style property for UITableViewController.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The UITableViewController background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/ThemeManager.html b/Classes/ThemeManager.html new file mode 100644 index 000000000..2ff1fef5b --- /dev/null +++ b/Classes/ThemeManager.html @@ -0,0 +1,593 @@ + + + + ThemeManager Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ThemeManager

+
+
+ +
@objcMembers
+public class ThemeManager : NSObject
+ +
+
+

The ThemeManager class is responsible for applying the visual styles to the Hyperwallet user interface components.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + applyTheme() + +
    +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func applyTheme()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + applyWhiteTheme() + +
    +
    +
    +
    +
    +
    +

    Applies White Theme visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func applyWhiteTheme()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Applies Custom Theme visual styles to the UINavigationBar interface component.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func applyToUINavigationBar()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + applyTransferTheme() + +
    +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func applyTransferTheme()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func applyTransferMethodTheme()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + applyReceiptTheme() + +
    +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func applyReceiptTheme()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/TransferMethodRepositoryFactory.html b/Classes/TransferMethodRepositoryFactory.html new file mode 100644 index 000000000..cfa61cda4 --- /dev/null +++ b/Classes/TransferMethodRepositoryFactory.html @@ -0,0 +1,608 @@ + + + + TransferMethodRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodRepositoryFactory

+
+
+ +
public final class TransferMethodRepositoryFactory
+ +
+
+

Class contains methods to get an instance of transfer method repository

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Classes/TransferRepositoryFactory.html b/Classes/TransferRepositoryFactory.html new file mode 100644 index 000000000..6ff63d344 --- /dev/null +++ b/Classes/TransferRepositoryFactory.html @@ -0,0 +1,515 @@ + + + + TransferRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferRepositoryFactory

+
+
+ +
public final class TransferRepositoryFactory
+ +
+
+

Class contains methods to get an instance of transfer repository

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the TransferRepositoryFactory object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: TransferRepositoryFactory { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears the TransferRepositoryFactory singleton instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferRepository() + +
    +
    +
    +
    +
    +
    +

    Gets the TransferRepository instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferRepository() -> TransferRepository
    + +
    +
    +
    +

    Return Value

    +

    A TransferRepository instance

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Classes/UpdateTransferMethodCoordinator.html b/Classes/UpdateTransferMethodCoordinator.html new file mode 100644 index 000000000..c790dbee7 --- /dev/null +++ b/Classes/UpdateTransferMethodCoordinator.html @@ -0,0 +1,587 @@ + + + + UpdateTransferMethodCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UpdateTransferMethodCoordinator

+
+
+ +
public class UpdateTransferMethodCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for UpdateTransferMethod

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Classes/UserRepositoryFactory.html b/Classes/UserRepositoryFactory.html new file mode 100644 index 000000000..f1e3fee8b --- /dev/null +++ b/Classes/UserRepositoryFactory.html @@ -0,0 +1,515 @@ + + + + UserRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserRepositoryFactory

+
+
+ +
public final class UserRepositoryFactory
+ +
+
+

Class contains methods to get an instance of user repository

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the RepositoryFactory object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: UserRepositoryFactory { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears the UserRepositoryFactory singleton instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + userRepository() + +
    +
    +
    +
    +
    +
    +

    Gets an instance of user repository.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func userRepository() -> UserRepository
    + +
    +
    +
    +

    Return Value

    +

    The UserRepository

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Enums.html b/Enums.html new file mode 100644 index 000000000..0e77984f0 --- /dev/null +++ b/Enums.html @@ -0,0 +1,591 @@ + + + + Enumerations Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + UserInfo + +
    +
    +
    +
    +
    +
    +

    The Hyperwallet’s NotificationCenter key to access the information.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum UserInfo : String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Represents the Hyperwallet Icon type

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum HyperwalletIconContent : String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hyperwallet Program Model

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum HyperwalletProgramModel : String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hyperwallet’s enum for the types of coordinators

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum HyperwalletCoordinatorTypes
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Representation of Initialization DataField

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum InitializationDataField : String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ProcessingState + +
    +
    +
    +
    +
    +
    +

    Hyperwallet’s enum to indicate processing state

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ProcessingState : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Enums/HyperwalletCoordinatorTypes.html b/Enums/HyperwalletCoordinatorTypes.html new file mode 100644 index 000000000..c974f2afd --- /dev/null +++ b/Enums/HyperwalletCoordinatorTypes.html @@ -0,0 +1,457 @@ + + + + HyperwalletCoordinatorTypes Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCoordinatorTypes

+
+
+ +
public enum HyperwalletCoordinatorTypes
+ +
+
+

Hyperwallet’s enum for the types of coordinators

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Coordinator for select transfer method type.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case selectTransferMethodType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Enums/HyperwalletIconContent.html b/Enums/HyperwalletIconContent.html new file mode 100644 index 000000000..faec1f8c9 --- /dev/null +++ b/Enums/HyperwalletIconContent.html @@ -0,0 +1,754 @@ + + + + HyperwalletIconContent Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletIconContent

+
+
+ +
public enum HyperwalletIconContent : String
+ +
+
+

Represents the Hyperwallet Icon type

+ +
+
+ +
+
+
+
    +
  • +
    + + + + bankAccount + +
    +
    +
    +
    +
    +
    +

    The icon for Bank Account

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bankAccount = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addTransferMethod + +
    +
    +
    +
    +
    +
    +

    The icon for add transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case addTransferMethod = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check + +
    +
    +
    +
    +
    +
    +

    The icon for check type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case check = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debitCredit + +
    +
    +
    +
    +
    +
    +

    The icon for debit and credit card type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case debitCredit = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prepaidCard + +
    +
    +
    +
    +
    +
    +

    The icon for prepaid card type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case prepaidCard = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wire + +
    +
    +
    +
    +
    +
    +

    The icon for wire transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wire = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + venmo + +
    +
    +
    +
    +
    +
    +

    The icon for venmo transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case venmo = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + moneygram + +
    +
    +
    +
    +
    +
    +

    The icon for moenygram transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case moneygram = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + paypal + +
    +
    +
    +
    +
    +
    +

    The icon for paypal transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case paypal = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + credit + +
    +
    +
    +
    +
    +
    +

    The credit icon

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case credit = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debit + +
    +
    +
    +
    +
    +
    +

    The debit icon

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case debit = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addNewTransferMethod + +
    +
    +
    +
    +
    +
    +

    Add new transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case addNewTransferMethod = ""
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Enums/HyperwalletProgramModel.html b/Enums/HyperwalletProgramModel.html new file mode 100644 index 000000000..3600d5412 --- /dev/null +++ b/Enums/HyperwalletProgramModel.html @@ -0,0 +1,535 @@ + + + + HyperwalletProgramModel Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletProgramModel

+
+
+ +
public enum HyperwalletProgramModel : String
+ +
+
+

Hyperwallet Program Model

+ +
+
+ +
+
+
+
    +
  • +
    + + + + walletModel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case walletModel = "WALLET_MODEL"
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pay2CardModel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pay2CardModel = "PAY2CARD_MODEL"
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cardOnlyModel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cardOnlyModel = "CARD_ONLY_MODEL"
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    returns true if Program Model is either pay2Card or CardOnly

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isPay2CardOrCardOnlyModel() -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Enums/InitializationDataField.html b/Enums/InitializationDataField.html new file mode 100644 index 000000000..7303d7254 --- /dev/null +++ b/Enums/InitializationDataField.html @@ -0,0 +1,889 @@ + + + + InitializationDataField Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InitializationDataField

+
+
+ +
public enum InitializationDataField : String
+ +
+
+

Representation of Initialization DataField

+ +
+
+ +
+
+
+
    +
  • +
    + + + + country + +
    +
    +
    +
    +
    +
    +

    The 2 letter ISO 3166-1 country code.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case country
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + currency + +
    +
    +
    +
    +
    +
    +

    The 3 letter ISO 4217-1 currency code.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case currency
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + profileType + +
    +
    +
    +
    +
    +
    +

    The profile type. Possible values - INDIVIDUAL, BUSINESS.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case profileType
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodTypeCode
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + forceUpdateData + +
    +
    +
    +
    +
    +
    +

    Forces to refresh the cached data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case forceUpdateData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + receipt + +
    +
    +
    +
    +
    +
    +

    The receipt

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case receipt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clientTransferId + +
    +
    +
    +
    +
    +
    +

    The client TransferId

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case clientTransferId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prepaidCardToken + +
    +
    +
    +
    +
    +
    +

    The prepaid token

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case prepaidCardToken
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sourceToken + +
    +
    +
    +
    +
    +
    +

    The source token

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case sourceToken
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transfer + +
    +
    +
    +
    +
    +
    +

    The transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transfer
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethod + +
    +
    +
    +
    +
    +
    +

    The transfer method like bank account, bank card, PayPal account, prepaid card, paper check

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + didFxQuoteChange + +
    +
    +
    +
    +
    +
    +

    Boolean value to check whether foreign exchange rate changed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case didFxQuoteChange
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Boolean value to check whether to show all the available sources for receipts/ transfers

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case showAllAvailableSources
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + selectedSourceType + +
    +
    +
    +
    +
    +
    +

    Selected Source Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case selectedSourceType
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Selected Transfer Source

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case selectedTransferSource
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferSources + +
    +
    +
    +
    +
    +
    +

    Transfer Sources

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferSources
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodToken + +
    +
    +
    +
    +
    +
    +

    Transfer Method Token

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodToken
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Enums/ProcessingState.html b/Enums/ProcessingState.html new file mode 100644 index 000000000..e7438f816 --- /dev/null +++ b/Enums/ProcessingState.html @@ -0,0 +1,510 @@ + + + + ProcessingState Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ProcessingState

+
+
+ +
public enum ProcessingState : CustomStringConvertible
+ +
+
+

Hyperwallet’s enum to indicate processing state

+ +
+
+ +
+
+
+
    +
  • +
    + + + + processing + +
    +
    +
    +
    +
    +
    +

    The processing state

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case processing
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + complete + +
    +
    +
    +
    +
    +
    +

    The complete state

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case complete
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Enums/UserInfo.html b/Enums/UserInfo.html new file mode 100644 index 000000000..4dd335b16 --- /dev/null +++ b/Enums/UserInfo.html @@ -0,0 +1,592 @@ + + + + UserInfo Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserInfo

+
+
+ +
public enum UserInfo : String
+ +
+
+

The Hyperwallet’s NotificationCenter key to access the information.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transferMethodAdded + +
    +
    +
    +
    +
    +
    +

    A new transfer method has been added.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodAdded
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodUpdated + +
    +
    +
    +
    +
    +
    +

    A transfer method has been updated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodUpdated
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A transfer method has been deactivated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodDeactivated
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferCreated + +
    +
    +
    +
    +
    +
    +

    A transfer of funds has been created.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferCreated
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferScheduled + +
    +
    +
    +
    +
    +
    +

    A transfer has been scheduled.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferScheduled
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + authenticationError + +
    +
    +
    +
    +
    +
    +

    Authentication error has been occured

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case authenticationError
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions.html b/Extensions.html new file mode 100644 index 000000000..db82ec299 --- /dev/null +++ b/Extensions.html @@ -0,0 +1,1454 @@ + + + + Extensions Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+ +
+
+
+
+ + +
+ +

Create transfer table view dataSource +

+
+
+ +
+
+
+ + +
+ +

ListTransferDestinationView delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Transfer method list table view dataSource and delegate

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ListTransferDestinationController
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method list table view dataSource and delegate

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ListTransferSourceController
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Schedule transfer table data source +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ScheduleTransferController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransferAmountCell + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension TransferAmountCell: UITextFieldDelegate
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransferNotesCell + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension TransferNotesCell: UITextFieldDelegate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TableViewController Data source and delegate +

+
+
+ +
+
+
+ + +
+ +

TableViewController Data source +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension CountryCurrencyTableView: UITableViewDataSource
    +
    extension CountryCurrencyTableView: UITableViewDelegate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TableViewController Data source and delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension UpdateTransferMethodController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Array + +
    +
    +
    +
    +
    +
    +

    The Array extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension Array
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Date + +
    +
    +
    +
    +
    +
    +

    The Date extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension Date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletCountry + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletCountry: GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletCurrency + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletCurrency: GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletFee + +
    +
    +
    +
    +
    +
    +

    The HyperwalletFee extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension HyperwalletFee
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletPrepaidCard
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The HyperwalletTransferMethod extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletTransferMethod: GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The HyperwalletTransferMethodType extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension HyperwalletTransferMethodType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NSRegularExpression + +
    +
    +
    +
    +
    +
    +

    The NSRegularExpression extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension NSRegularExpression
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Notification + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +
    +
  • +
  • +
    + + + + String + +
    +
    +
    +
    +
    +
    +

    The String extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The NSMutableAttributedString extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension NSMutableAttributedString
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIAlertAction + +
    +
    +
    +
    +
    +
    +

    The UIAlertAction extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIAlertAction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIBarButtonItem + +
    +
    +
    +
    +
    +
    +

    The UIBarButtonItem extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIBarButtonItem
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIColor + +
    +
    +
    +
    +
    +
    +

    The UIColor extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIFont + +
    +
    +
    +
    +
    +
    +

    The UIFont extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIImage + +
    +
    +
    +
    +
    +
    +

    A HyperwalletUI extension to UIImage.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIImage
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UILabel + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension UILabel
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UISearchBar + +
    +
    +
    +
    +
    +
    +

    The UISearchBar extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UISearchBar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIToolbar + +
    +
    +
    +
    +
    +
    +

    The UIToolbar extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIToolbar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIView + +
    +
    +
    +
    +
    +
    +

    The UIView extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIViewController + +
    +
    +
    +
    +
    +
    +

    The UIViewController extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIViewController
    +
    extension UIViewController: HyperwalletFlowDelegate
    +
    extension UIViewController: UIAdaptivePresentationControllerDelegate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The receipt detail controller

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ReceiptDetailController
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/AddTransferMethodController.html b/Extensions/AddTransferMethodController.html new file mode 100644 index 000000000..7d10f8b69 --- /dev/null +++ b/Extensions/AddTransferMethodController.html @@ -0,0 +1,716 @@ + + + + AddTransferMethodController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddTransferMethodController

+
+
+ +
extension AddTransferMethodController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the header view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayHeaderView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the title for footer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of row

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns fields count to add transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display’s the fields to add transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Presenter - AddTransferMethodView +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Scrollview delegate

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Tableview delegate for footer view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayFooterView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/Array.html b/Extensions/Array.html new file mode 100644 index 000000000..ebcfdd292 --- /dev/null +++ b/Extensions/Array.html @@ -0,0 +1,530 @@ + + + + Array Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Array

+
+
+ +
public extension Array
+ +
+
+

The Array extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isNotEmpty + +
    +
    +
    +
    +
    +
    +

    A Boolean value indicating whether the collection is not empty.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isNotEmpty: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isLast(index:) + +
    +
    +
    +
    +
    +
    +

    Check if the current index is the last element in this array

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isLast(index: Int) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscript(safe:) + +
    +
    +
    +
    +
    +
    +

    A safe way to check if element exists in this array

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    subscript(safe index: Index) -> Element? { get }
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + index + + +
    +

    the index of an element

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/CreateTransferController.html b/Extensions/CreateTransferController.html new file mode 100644 index 000000000..f20cb777a --- /dev/null +++ b/Extensions/CreateTransferController.html @@ -0,0 +1,647 @@ + + + + CreateTransferController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

CreateTransferController

+
+
+ +
extension CreateTransferController
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns number of rows

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays cell configuration

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the footer view of tableview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Create transfer table view delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
      +
    • To select the transfer method
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

CreateTransferView implementation +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    To reload create transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/Date.html b/Extensions/Date.html new file mode 100644 index 000000000..9d784d452 --- /dev/null +++ b/Extensions/Date.html @@ -0,0 +1,596 @@ + + + + Date Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Date

+
+
+ +
public extension Date
+ +
+
+

The Date extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DateFormatMode + +
    +
    +
    +
    +
    +
    +

    The Date type format

    +
    +

    Date

    + The yMMMd format + +
      +
    • dateTime: The yMMMEdjm format
    • +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum DateFormatMode
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats date to string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatDateToString(dateFormat: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + dateFormat + + +
    +

    format of the date

    +
    +
    +
    +
    +

    Return Value

    +

    formatted date in string

    +
    +
    +
    +
  • +
  • +
    + + + + firstDayOfMonth() + +
    +
    +
    +
    +
    +
    +

    Returns 1st day of the month

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func firstDayOfMonth() -> Date
    + +
    +
    +
    +

    Return Value

    +

    1st day of the month

    +
    +
    +
    +
  • +
  • +
    + + + + format(for:) + +
    +
    +
    +
    +
    +
    +

    Format date

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func format(for formatMode: DateFormatMode) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + formatMode + + +
    +

    format date/datetime

    +
    +
    +
    +
    +

    Return Value

    +

    formatted date

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/Date/DateFormatMode.html b/Extensions/Date/DateFormatMode.html new file mode 100644 index 000000000..1f80d1eaf --- /dev/null +++ b/Extensions/Date/DateFormatMode.html @@ -0,0 +1,498 @@ + + + + DateFormatMode Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DateFormatMode

+
+
+ +
enum DateFormatMode
+ +
+
+

The Date type format

+
+

Date

+ The yMMMd format + +
    +
  • dateTime: The yMMMEdjm format
  • +
+ +
+
+ +
+
+
+
    +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    +
    +

    Date

    + The yMMMd format + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dateTime + +
    +
    +
    +
    +
    +
    + +
      +
    • dateTime: The yMMMEdjm format
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dateTime
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/HyperwalletCountry.html b/Extensions/HyperwalletCountry.html new file mode 100644 index 000000000..0c725809c --- /dev/null +++ b/Extensions/HyperwalletCountry.html @@ -0,0 +1,481 @@ + + + + HyperwalletCountry Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCountry

+
+
+ +
extension HyperwalletCountry: GenericCellConfiguration
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/HyperwalletCurrency.html b/Extensions/HyperwalletCurrency.html new file mode 100644 index 000000000..3b708b592 --- /dev/null +++ b/Extensions/HyperwalletCurrency.html @@ -0,0 +1,481 @@ + + + + HyperwalletCurrency Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCurrency

+
+
+ +
extension HyperwalletCurrency: GenericCellConfiguration
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/HyperwalletFee.html b/Extensions/HyperwalletFee.html new file mode 100644 index 000000000..03e9ef321 --- /dev/null +++ b/Extensions/HyperwalletFee.html @@ -0,0 +1,485 @@ + + + + HyperwalletFee Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletFee

+
+
+ +
public extension HyperwalletFee
+ +
+
+

The HyperwalletFee extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + format(fees:) + +
    +
    +
    +
    +
    +
    +

    Formats the Fees to be displayed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func format(fees: [HyperwalletFee]) -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + FeeTypes + +
    +
    +
    +
    +
    +
    +

    Represents the fee types

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum FeeTypes
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/HyperwalletFee/FeeTypes.html b/Extensions/HyperwalletFee/FeeTypes.html new file mode 100644 index 000000000..80622c54e --- /dev/null +++ b/Extensions/HyperwalletFee/FeeTypes.html @@ -0,0 +1,538 @@ + + + + FeeTypes Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

FeeTypes

+
+
+ +
enum FeeTypes
+ +
+
+

Represents the fee types

+ +
+
+ +
+
+
+
    +
  • +
    + + + + flat(_:) + +
    +
    +
    +
    +
    +
    +

    Flat fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case flat(_: HyperwalletFee)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + percent(_:) + +
    +
    +
    +
    +
    +
    +

    Percent fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case percent(_: HyperwalletFee)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mixed(_:_:) + +
    +
    +
    +
    +
    +
    +

    Mixed fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case mixed(_: HyperwalletFee, _: HyperwalletFee)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noFee + +
    +
    +
    +
    +
    +
    +

    No Fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noFee
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/HyperwalletPrepaidCard.html b/Extensions/HyperwalletPrepaidCard.html new file mode 100644 index 000000000..0b9ea4743 --- /dev/null +++ b/Extensions/HyperwalletPrepaidCard.html @@ -0,0 +1,456 @@ + + + + HyperwalletPrepaidCard Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletPrepaidCard

+
+
+ +
extension HyperwalletPrepaidCard
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Formatted Card Brand and Card Number, eg: Visa •••• 1234

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var formattedCardBrandCardNumber: String? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/HyperwalletTransferMethod.html b/Extensions/HyperwalletTransferMethod.html new file mode 100644 index 000000000..5940114e9 --- /dev/null +++ b/Extensions/HyperwalletTransferMethod.html @@ -0,0 +1,513 @@ + + + + HyperwalletTransferMethod Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletTransferMethod

+
+
+ +
extension HyperwalletTransferMethod: GenericCellConfiguration
+ +
+
+

The HyperwalletTransferMethod extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isPrepaidCard() + +
    +
    +
    +
    +
    +
    +

    Checking for transfer method is prepaid card or not

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isPrepaidCard() -> Bool
    + +
    +
    +
    +

    Return Value

    +

    True if transfer method is prepaid card

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/HyperwalletTransferMethodType.html b/Extensions/HyperwalletTransferMethodType.html new file mode 100644 index 000000000..52b1b2dc6 --- /dev/null +++ b/Extensions/HyperwalletTransferMethodType.html @@ -0,0 +1,466 @@ + + + + HyperwalletTransferMethodType Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletTransferMethodType

+
+
+ +
public extension HyperwalletTransferMethodType
+ +
+
+

The HyperwalletTransferMethodType extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Formats the fee processing time

    + +
      +
    • font: The font type applied to attributed text
    • +
    • color: The color applied to attributed text
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatFeesProcessingTime(font: UIFont, color: UIColor) -> NSAttributedString
    + +
    +
    +
    +

    Return Value

    +

    an NSAttributedString

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/ListTransferDestinationController.html b/Extensions/ListTransferDestinationController.html new file mode 100644 index 000000000..f8b5ca830 --- /dev/null +++ b/Extensions/ListTransferDestinationController.html @@ -0,0 +1,601 @@ + + + + ListTransferDestinationController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferDestinationController

+
+
+ +
extension ListTransferDestinationController
+ +
+
+

Transfer method list table view dataSource and delegate

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select the transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

ListTransferDestinationView delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    The callback to refresh create transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/ListTransferMethodCell.html b/Extensions/ListTransferMethodCell.html new file mode 100644 index 000000000..abe766637 --- /dev/null +++ b/Extensions/ListTransferMethodCell.html @@ -0,0 +1,475 @@ + + + + ListTransferMethodCell Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferMethodCell

+
+
+ +
extension ListTransferMethodCell
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Fill ListTransferMethodCell related fields

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func configure(transferMethod: HyperwalletTransferMethod)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + transferMethod + + +
    +

    a transfer method which contains the info needs to be filled to the cell.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/ListTransferMethodController.html b/Extensions/ListTransferMethodController.html new file mode 100644 index 000000000..f8110c74e --- /dev/null +++ b/Extensions/ListTransferMethodController.html @@ -0,0 +1,456 @@ + + + + ListTransferMethodController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferMethodController

+
+
+ +
extension ListTransferMethodController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    The callback to refresh transfer method list

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/ListTransferSourceController.html b/Extensions/ListTransferSourceController.html new file mode 100644 index 000000000..280eb52cf --- /dev/null +++ b/Extensions/ListTransferSourceController.html @@ -0,0 +1,588 @@ + + + + ListTransferSourceController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferSourceController

+
+
+ +
extension ListTransferSourceController
+ +
+
+

Transfer method list table view dataSource and delegate

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select the transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The callback to refresh create transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/NSMutableAttributedString.html b/Extensions/NSMutableAttributedString.html new file mode 100644 index 000000000..af9b9458c --- /dev/null +++ b/Extensions/NSMutableAttributedString.html @@ -0,0 +1,585 @@ + + + + NSMutableAttributedString Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NSMutableAttributedString

+
+
+ +
public extension NSMutableAttributedString
+ +
+
+

The NSMutableAttributedString extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Creates and appends a NSAttributedString

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func append(value: String, font: UIFont, color: UIColor)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + value + + +
    +

    the string value

    +
    +
    + + font + + +
    +

    the UIFont

    +
    +
    + + color + + +
    +

    the UIColor

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Creates and appends a paragraph of NSAttributedString

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func appendParagraph(value: String,
    +                     font: UIFont,
    +                     color: UIColor,
    +                     alignment: NSTextAlignment = .natural)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    the string value

    +
    +
    + + font + + +
    +

    the UIFont

    +
    +
    + + color + + +
    +

    the UIColor

    +
    +
    + + alignment + + +
    +

    the NSTextAlignment

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/NSRegularExpression.html b/Extensions/NSRegularExpression.html new file mode 100644 index 000000000..d1762d510 --- /dev/null +++ b/Extensions/NSRegularExpression.html @@ -0,0 +1,526 @@ + + + + NSRegularExpression Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NSRegularExpression

+
+
+ +
public extension NSRegularExpression
+ +
+
+

The NSRegularExpression extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Initializer to initialize regular expression with some pattern

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(_ pattern: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + pattern + + +
    +

    regular expression pattern

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + matches(_:) + +
    +
    +
    +
    +
    +
    +

    checks if the String matches the regular expression or not

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func matches(_ string: String) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + string + + +
    +

    String to be matched

    +
    +
    +
    +
    +

    Return Value

    +

    true if String matches the pattern else returns false

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/Notification.html b/Extensions/Notification.html new file mode 100644 index 000000000..b3f18c50d --- /dev/null +++ b/Extensions/Notification.html @@ -0,0 +1,450 @@ + + + + Notification Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Notification

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Name + +
    +
    +
    +
    +
    +
    +

    The Notification extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension Notification.Name
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/Notification/Name.html b/Extensions/Notification/Name.html new file mode 100644 index 000000000..358808cdf --- /dev/null +++ b/Extensions/Notification/Name.html @@ -0,0 +1,595 @@ + + + + Name Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Name

+
+
+ +
public extension Notification.Name
+ +
+
+

The Notification extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transferMethodAdded + +
    +
    +
    +
    +
    +
    +

    Posted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo) +has been created.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferMethodAdded: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodUpdated + +
    +
    +
    +
    +
    +
    +

    Posted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo) +has been updated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferMethodUpdated: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Posted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check) +has been deactivated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferMethodDeactivated: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferCreated + +
    +
    +
    +
    +
    +
    +

    Posted when a transfer of funds has been created.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferCreated: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferScheduled + +
    +
    +
    +
    +
    +
    +

    Posted when a transfer has been scheduled

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferScheduled: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + authenticationError + +
    +
    +
    +
    +
    +
    +

    Posted when authentication error occurs

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var authenticationError: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/ReceiptDetailController.html b/Extensions/ReceiptDetailController.html new file mode 100644 index 000000000..cce29575f --- /dev/null +++ b/Extensions/ReceiptDetailController.html @@ -0,0 +1,592 @@ + + + + ReceiptDetailController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ReceiptDetailController

+
+
+ +
extension ReceiptDetailController
+ +
+
+

The receipt detail controller

+ +
+
+ +
+
+
+
    +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the count of receipt detail fields

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display the receipt details

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimated height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               estimatedHeightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/ScheduleTransferController.html b/Extensions/ScheduleTransferController.html new file mode 100644 index 000000000..489e89f37 --- /dev/null +++ b/Extensions/ScheduleTransferController.html @@ -0,0 +1,592 @@ + + + + ScheduleTransferController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ScheduleTransferController

+
+
+ +
extension ScheduleTransferController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimated height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               estimatedHeightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns number of rows

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays cell configuration

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the footer view of tableview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/SelectTransferMethodTypeController.html b/Extensions/SelectTransferMethodTypeController.html new file mode 100644 index 000000000..30649364f --- /dev/null +++ b/Extensions/SelectTransferMethodTypeController.html @@ -0,0 +1,631 @@ + + + + SelectTransferMethodTypeController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SelectTransferMethodTypeController

+
+
+ +
extension SelectTransferMethodTypeController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns transfer method count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display transfer methods

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TableViewController delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    This function will navigate back from next page and pass the control back to it’s caller

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/String.html b/Extensions/String.html new file mode 100644 index 000000000..3525c0bbe --- /dev/null +++ b/Extensions/String.html @@ -0,0 +1,705 @@ + + + + String Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

String

+
+
+ +
public extension String
+ +
+
+

The String extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns a localized string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func localized(withComment: String? = nil) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + withComment + + +
    +

    Comment for localization.

    +
    +
    +
    +
    +

    Return Value

    +

    Returns a substring

    +
    +
    +
    +
  • +
  • +
    + + + + suffix(startAt:) + +
    +
    +
    +
    +
    +
    +

    Returns a string, up to the given maximum length, containing the +final elements of the collection.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func suffix(startAt: Int) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + startAt + + +
    +

    The start character of elements to get the suffix string.

    +
    +
    +
    +
    +

    Return Value

    +

    Returns a substring

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Calculates the string height based on UIFont

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + width + + +
    +

    the UIView width

    +
    +
    + + font + + +
    +

    the UIFont

    +
    +
    +
    +
    +

    Return Value

    +

    the String height

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount to double

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatAmountToDouble() -> Double
    + +
    +
    +
    +

    Return Value

    +

    double value

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get FX Rate with four decimal

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getFxRateWithFourDecimal() -> String
    + +
    +
    +
    +

    Return Value

    +

    return string with four decimal

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code using users locale

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatToCurrency(with currencyCode: String?) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIAlertAction.html b/Extensions/UIAlertAction.html new file mode 100644 index 000000000..b10ae61f0 --- /dev/null +++ b/Extensions/UIAlertAction.html @@ -0,0 +1,901 @@ + + + + UIAlertAction Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIAlertAction

+
+
+ +
public extension UIAlertAction
+ +
+
+

The UIAlertAction extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + cancel + +
    +
    +
    +
    +
    +
    +

    The default cancel button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let cancel: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + retry + +
    +
    +
    +
    +
    +
    +

    The default retry button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let retry: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + close + +
    +
    +
    +
    +
    +
    +

    The default close button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let close: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + remove + +
    +
    +
    +
    +
    +
    +

    The default remove button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let remove: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cancel(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a cancel alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func cancel(_ handler: ((UIAlertAction) -> Void)? = nil) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    if provided, will be invoked after the cancel button is clicked

    +
    +
    +
    +
    +

    Return Value

    +

    a cancel alert action

    +
    +
    +
    +
  • +
  • +
    + + + + cancel(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a cancel alert action with pop back functionality

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func cancel(_ viewController: UIViewController) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + viewController + + +
    +

    a view needs to show the alert dialog

    +
    +
    +
    +
    +

    Return Value

    +

    a cancel alert action with a pop back handler

    +
    +
    +
    +
  • +
  • +
    + + + + close(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a close alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func close(_ handler: ((UIAlertAction) -> Void)? = nil) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    if provided, will be invoked after the close button is clicked

    +
    +
    +
    +
    +

    Return Value

    +

    a close alert action

    +
    +
    +
    +
  • +
  • +
    + + + + close(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a close alert action with pop back functionality

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func close(_ viewController: UIViewController) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + viewController + + +
    +

    a view needs to show the alert dialog

    +
    +
    +
    +
    +

    Return Value

    +

    a close alert action with a pop back handler

    +
    +
    +
    +
  • +
  • +
    + + + + remove(_:_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a remove alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func remove(_ handler: @escaping (UIAlertAction) -> Void,
    +                   _ title: String = UIAlertAction.remove) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + handler + + +
    +

    will be invoked after the remove button is clicked

    +
    +
    + + title + + +
    +

    a string value of the alert action

    +
    +
    +
    +
    +

    Return Value

    +

    a remove alert action

    +
    +
    +
    +
  • +
  • +
    + + + + retry(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a retry alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func retry(_ handler: ((UIAlertAction) -> Void)? = nil) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    if provided, will be invoked after the retry button is clicked

    +
    +
    +
    +
    +

    Return Value

    +

    a confirm retry action

    +
    +
    +
    +
  • +
  • +
    + + + + addIcon(imageName:) + +
    +
    +
    +
    +
    +
    +

    Add an icon image on this alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func addIcon(imageName: String) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + imageName + + +
    +

    The image name

    +
    +
    +
    +
    +

    Return Value

    +

    An alert action with an icon

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIBarButtonItem.html b/Extensions/UIBarButtonItem.html new file mode 100644 index 000000000..f8f88a34b --- /dev/null +++ b/Extensions/UIBarButtonItem.html @@ -0,0 +1,457 @@ + + + + UIBarButtonItem Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIBarButtonItem

+
+
+ +
public extension UIBarButtonItem
+ +
+
+

The UIBarButtonItem extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + back + +
    +
    +
    +
    +
    +
    +

    Override the text of back button

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var back: UIBarButtonItem
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIColor.html b/Extensions/UIColor.html new file mode 100644 index 000000000..1a4419796 --- /dev/null +++ b/Extensions/UIColor.html @@ -0,0 +1,570 @@ + + + + UIColor Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIColor

+
+
+ +
public extension UIColor
+ +
+
+

The UIColor extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Inits based on the RBG values

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(red: Int, green: Int, blue: Int, alpha: CGFloat = 1.0)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + red + + +
    +

    the red value

    +
    +
    + + green + + +
    +

    the green value

    +
    +
    + + blue + + +
    +

    the blue value

    +
    +
    + + alpha + + +
    +

    the alpha value

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + init(rgb:alpha:) + +
    +
    +
    +
    +
    +
    +

    Inits based on the RBG values

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(rgb: Int, alpha: CGFloat = 1.0)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + rgb + + +
    +

    the RGB int value

    +
    +
    + + alpha + + +
    +

    the alpha value

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIFont.html b/Extensions/UIFont.html new file mode 100644 index 000000000..b77ccec69 --- /dev/null +++ b/Extensions/UIFont.html @@ -0,0 +1,515 @@ + + + + UIFont Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIFont

+
+
+ +
public extension UIFont
+ +
+
+

The UIFont extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + register(_:type:) + +
    +
    +
    +
    +
    +
    +

    To register UIFont

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func register(_ fileName: String, type: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + fileName + + +
    +

    String

    +
    +
    + + type + + +
    +

    String

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + isLargeSizeCategory + +
    +
    +
    +
    +
    +
    +

    Indicates if current preferred content size category belongs to large or not

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var isLargeSizeCategory: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIImage.html b/Extensions/UIImage.html new file mode 100644 index 000000000..859e32c29 --- /dev/null +++ b/Extensions/UIImage.html @@ -0,0 +1,756 @@ + + + + UIImage Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIImage

+
+
+ +
public extension UIImage
+ +
+
+

A HyperwalletUI extension to UIImage.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + fontIcon(_:_:_:_:) + +
    +
    +
    +
    +
    +
    +

    Get an icon image with the given icon name, text color, size and background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func fontIcon(_ name: String,
    +                     _ iconSize: CGSize,
    +                     _ fontSize: CGFloat,
    +                     _ textColor: UIColor) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + name + + +
    +

    The preferred HyperwalletIconContent.

    +
    +
    + + iconSize + + +
    +

    The image size

    +
    +
    + + fontSize + + +
    +

    The font size of the icon

    +
    +
    + + textColor + + +
    +

    The text color (optional).

    +
    +
    +
    +
    +

    Return Value

    +

    A string that will appear as icon

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create Background Pattern

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func createBackgroundPattern(color: UIColor, size: CGSize, cornerRadius: Int) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + color + + +
    +

    UIColor

    +
    +
    + + size + + +
    +

    CGSize

    +
    +
    + + cornerRadius + + +
    +

    Int

    +
    +
    +
    +
    +

    Return Value

    +

    UIImage

    +
    +
    +
    +
  • +
  • +
    + + + + fontIcon(_:_:_:_:) + +
    +
    +
    +
    +
    +
    +

    Get an icon image with the given icon name, text color, size and background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func fontIcon(_ name: String,
    +                     _ iconSize: CGSize,
    +                     _ fontSize: CGFloat,
    +                     _ textColor: UIColor) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + name + + +
    +

    The preferred HyperwalletIconContent.

    +
    +
    + + iconSize + + +
    +

    The image size

    +
    +
    + + fontSize + + +
    +

    The font size of the icon

    +
    +
    + + textColor + + +
    +

    The text color (optional).

    +
    +
    +
    +
    +

    Return Value

    +

    A string that will appear as icon

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create Background Pattern

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func createBackgroundPattern(color: UIColor, size: CGSize, cornerRadius: Int) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + color + + +
    +

    UIColor

    +
    +
    + + size + + +
    +

    CGSize

    +
    +
    + + cornerRadius + + +
    +

    Int

    +
    +
    +
    +
    +

    Return Value

    +

    UIImage

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UILabel.html b/Extensions/UILabel.html new file mode 100644 index 000000000..5ede685f6 --- /dev/null +++ b/Extensions/UILabel.html @@ -0,0 +1,482 @@ + + + + UILabel Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UILabel

+
+
+ +
extension UILabel
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override open var canBecomeFirstResponder: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allowTextSelection() + +
    +
    +
    +
    +
    +
    +

    Allow text selection

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func allowTextSelection()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UISearchBar.html b/Extensions/UISearchBar.html new file mode 100644 index 000000000..1d032d2c5 --- /dev/null +++ b/Extensions/UISearchBar.html @@ -0,0 +1,457 @@ + + + + UISearchBar Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UISearchBar

+
+
+ +
public extension UISearchBar
+ +
+
+

The UISearchBar extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + setLeftAlignment() + +
    +
    +
    +
    +
    +
    +

    Setup text alignment to the left

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setLeftAlignment()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIToolbar.html b/Extensions/UIToolbar.html new file mode 100644 index 000000000..6c57ce2d3 --- /dev/null +++ b/Extensions/UIToolbar.html @@ -0,0 +1,488 @@ + + + + UIToolbar Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIToolbar

+
+
+ +
public extension UIToolbar
+ +
+
+

The UIToolbar extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Setup toolbar

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setupToolBar(target: UIView, action: Selector?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + target + + +
    +

    UIView

    +
    +
    + + action + + +
    +

    action to be performed on toolbar

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIView.html b/Extensions/UIView.html new file mode 100644 index 000000000..acccecbe5 --- /dev/null +++ b/Extensions/UIView.html @@ -0,0 +1,715 @@ + + + + UIView Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIView

+
+
+ +
public extension UIView
+ +
+
+

The UIView extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + safeAreaTopAnchor + +
    +
    +
    +
    +
    +
    +

    Top Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaTopAnchor: NSLayoutYAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaCenterYAnchor + +
    +
    +
    +
    +
    +
    +

    CenterY Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaCenterYAnchor: NSLayoutYAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaCenterXAnchor + +
    +
    +
    +
    +
    +
    +

    CenterX Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaCenterXAnchor: NSLayoutXAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaBottomAnchor + +
    +
    +
    +
    +
    +
    +

    Bottom Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaBottomAnchor: NSLayoutYAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaLeadingAnchor + +
    +
    +
    +
    +
    +
    +

    Leading Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaLeadingAnchor: NSLayoutXAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Trailing Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaTrailingAnchor: NSLayoutXAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Setups the empty list with message

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setUpEmptyListLabel(text: String) -> UILabel
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + text + + +
    +

    the string description

    +
    +
    +
    +
    +

    Return Value

    +

    the UILabel instance

    +
    +
    +
    +
  • +
  • +
    + + + + isSeparatorView() + +
    +
    +
    +
    +
    +
    +

    Check if current view is UITableViewCellSeparatorView

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isSeparatorView() -> Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adjust segment titles width

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class func adjustWidthOfSegmentTitles(view: UIView)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + view + + +
    +

    Segmented Controller

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UIViewController.html b/Extensions/UIViewController.html new file mode 100644 index 000000000..d2ec0562c --- /dev/null +++ b/Extensions/UIViewController.html @@ -0,0 +1,761 @@ + + + + UIViewController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIViewController

+
+
+ +
public extension UIViewController
+
extension UIViewController: HyperwalletFlowDelegate
+
extension UIViewController: UIAdaptivePresentationControllerDelegate
+ +
+
+

The UIViewController extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    To set the display mode for large titles

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func titleDisplayMode(_ mode: UINavigationItem.LargeTitleDisplayMode, for title: String?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + mode + + +
    +

    UINavigationItem.LargeTitleDisplayMode

    +
    +
    + + title + + +
    +

    title displayed

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hide keyboard when tapped around on the screen

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func hideKeyboardWhenTappedAround()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc
    +open func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + flowDelegate + +
    +
    +
    +
    +
    +
    +

    The reference to call didFlowComplete

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public weak var flowDelegate: HyperwalletFlowDelegate? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + coordinator + +
    +
    +
    +
    +
    +
    +

    The reference to start/navigate Hyperwallet UI SDK flow

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var coordinator: HyperwalletCoordinator? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + initializationData + +
    +
    +
    +
    +
    +
    +

    Data required to initialize a flow (render UI screen)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var initializationData: [InitializationDataField : Any]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + removeCoordinator() + +
    +
    +
    +
    +
    +
    +

    Removes the current coordinator while moving back

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeCoordinator()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + removeFlowDelegate() + +
    +
    +
    +
    +
    +
    +

    Removes the current flow delegate while moving back

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeFlowDelegate()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Removes the current coordinator while moving back

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeInitializedData()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Removes all coordinators

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeAllCoordinators()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Removes the current coordinator after dismissing the Controller

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Extensions/UpdateTransferMethodController.html b/Extensions/UpdateTransferMethodController.html new file mode 100644 index 000000000..b06c9cde1 --- /dev/null +++ b/Extensions/UpdateTransferMethodController.html @@ -0,0 +1,716 @@ + + + + UpdateTransferMethodController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UpdateTransferMethodController

+
+
+ +
extension UpdateTransferMethodController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the header view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayHeaderView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the title for footer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of row

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns fields count to update transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display’s the fields to update transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Presenter - UpdateTransferMethodView +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Scrollview delegate

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Tableview delegate for footer view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayFooterView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Guides.html b/Guides.html new file mode 100644 index 000000000..96282251c --- /dev/null +++ b/Guides.html @@ -0,0 +1,441 @@ + + + + Guides Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Guides

+

The following guides are available globally.

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/Protocols.html b/Protocols.html new file mode 100644 index 000000000..77f2e180b --- /dev/null +++ b/Protocols.html @@ -0,0 +1,759 @@ + + + + Protocols Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Protocols

+

The following protocols are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + UserRepository + +
    +
    +
    +
    +
    +
    +

    User repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol UserRepository
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransferRepository + +
    +
    +
    +
    +
    +
    +

    Transfer repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferRepository
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PrepaidCardRepository + +
    +
    +
    +
    +
    +
    +

    Prepaid Card repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol PrepaidCardRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method configuration repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferMethodConfigurationRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferMethodRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method configuration repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferMethodUpdateConfigurationRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Represents the data displayed in the selection screens (like country, currency)

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol to start/navigate Hyperwallet UI SDK flow

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol HyperwalletCoordinator
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Flow complete protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol HyperwalletFlowDelegate : AnyObject
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol for HyperwalletInsights

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol HyperwalletInsightsProtocol : AnyObject
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Prepaid card receipt repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol PrepaidCardReceiptRepository
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UserReceiptRepository + +
    +
    +
    +
    +
    +
    +

    User receipt repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol UserReceiptRepository
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/GenericCellConfiguration.html b/Protocols/GenericCellConfiguration.html new file mode 100644 index 000000000..a40cec9ab --- /dev/null +++ b/Protocols/GenericCellConfiguration.html @@ -0,0 +1,514 @@ + + + + GenericCellConfiguration Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

GenericCellConfiguration

+
+
+ +
public protocol GenericCellConfiguration
+ +
+
+

Represents the data displayed in the selection screens (like country, currency)

+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    The title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    The value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var value: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + identifier + + + Extension method + +
    +
    +
    +
    +
    +
    +

    The cell identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var identifier: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/HyperwalletCoordinator.html b/Protocols/HyperwalletCoordinator.html new file mode 100644 index 000000000..8d32d2556 --- /dev/null +++ b/Protocols/HyperwalletCoordinator.html @@ -0,0 +1,592 @@ + + + + HyperwalletCoordinator Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCoordinator

+
+
+ +
public protocol HyperwalletCoordinator
+ +
+
+

Protocol to start/navigate Hyperwallet UI SDK flow

+ +
+
+ +
+
+
+
    +
  • +
    + + + + applyTheme() + +
    +
    +
    +
    +
    +
    +

    Apply Theme

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func applyTheme()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getController() + +
    +
    +
    +
    +
    +
    +

    Get the current Controller class for the Coordinator

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getController() -> UITableViewController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + navigate() + +
    +
    +
    +
    +
    +
    +

    Navigate to the flow

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func navigate()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Navigate to next page from the current flow

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func navigateToNextPage(initializationData: [InitializationDataField : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Navigate back from the next page to either current flow or parent flow.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func navigateBackFromNextPage(with response: Any)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Start the coordinator

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func start(initializationData: [InitializationDataField : Any]?, parentController: UIViewController)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/HyperwalletFlowDelegate.html b/Protocols/HyperwalletFlowDelegate.html new file mode 100644 index 000000000..702140700 --- /dev/null +++ b/Protocols/HyperwalletFlowDelegate.html @@ -0,0 +1,457 @@ + + + + HyperwalletFlowDelegate Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletFlowDelegate

+
+
+ +
public protocol HyperwalletFlowDelegate : AnyObject
+ +
+
+

Flow complete protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Protocol method to be called after flow completes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/HyperwalletInsightsProtocol.html b/Protocols/HyperwalletInsightsProtocol.html new file mode 100644 index 000000000..55948fe18 --- /dev/null +++ b/Protocols/HyperwalletInsightsProtocol.html @@ -0,0 +1,652 @@ + + + + HyperwalletInsightsProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletInsightsProtocol

+
+
+ +
public protocol HyperwalletInsightsProtocol : AnyObject
+ +
+
+

Protocol for HyperwalletInsights

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Track Clicks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func trackClick(pageName: String, pageGroup: String, link: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page

    +
    +
    + + pageGroup + + +
    +

    Page group name

    +
    +
    + + link + + +
    +

    The link clicked - example : select-transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Impressions

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func trackImpression(pageName: String, pageGroup: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func trackError(pageName: String, pageGroup: String, errorInfo: ErrorInfo)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + errorInfo + + +
    +

    The ErrorInfo structure is used to describe an occurred error

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/PrepaidCardReceiptRepository.html b/Protocols/PrepaidCardReceiptRepository.html new file mode 100644 index 000000000..ddb81aa75 --- /dev/null +++ b/Protocols/PrepaidCardReceiptRepository.html @@ -0,0 +1,491 @@ + + + + PrepaidCardReceiptRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PrepaidCardReceiptRepository

+
+
+ +
public protocol PrepaidCardReceiptRepository
+ +
+
+

Prepaid card receipt repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the list of receipts for the User associated with the Prepaid card token.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listPrepaidCardReceipts(
    +    prepaidCardToken: String,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>)
    +    -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + prepaidCardToken + + +
    +

    the prepaid card token

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/PrepaidCardRepository.html b/Protocols/PrepaidCardRepository.html new file mode 100644 index 000000000..b18a0edcf --- /dev/null +++ b/Protocols/PrepaidCardRepository.html @@ -0,0 +1,541 @@ + + + + PrepaidCardRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PrepaidCardRepository

+
+
+ +
public protocol PrepaidCardRepository
+ +
+
+

Prepaid Card repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    List Prepaid cards

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listPrepaidCards(queryParam: HyperwalletPrepaidCardQueryParam,
    +                      completion: @escaping (Result<HyperwalletPageList<HyperwalletPrepaidCard>?,
    +HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get Prepaid card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getPrepaidCard(token: String, completion: @escaping (Result < HyperwalletPrepaidCard?,
    +    HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCard() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshPrepaidCard()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCards() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Cards

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshPrepaidCards()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/TransferMethodConfigurationRepository.html b/Protocols/TransferMethodConfigurationRepository.html new file mode 100644 index 000000000..90dc93ecf --- /dev/null +++ b/Protocols/TransferMethodConfigurationRepository.html @@ -0,0 +1,593 @@ + + + + TransferMethodConfigurationRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodConfigurationRepository

+
+
+ +
public protocol TransferMethodConfigurationRepository
+ +
+
+

Transfer method configuration repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gets the transfer method fields based on the parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getFields(
    +    _ country: String,
    +    _ currency: String,
    +    _ transferMethodType: String,
    +    _ transferMethodProfileType: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationField?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getKeys(completion:) + +
    +
    +
    +
    +
    +
    +

    Gets the transfer method configuration keys

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getKeys(
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Retrieve the transfer method types and their fees and processing times based on the parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getTransferMethodTypesFeesAndProcessingTimes(
    +    country: String,
    +    currency: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshFields() + +
    +
    +
    +
    +
    +
    +

    Refreshes the transfer method fields

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshFields()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshKeys() + +
    +
    +
    +
    +
    +
    +

    Refreshes the transfer method keys

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshKeys()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/TransferMethodRepository.html b/Protocols/TransferMethodRepository.html new file mode 100644 index 000000000..5b3d51f77 --- /dev/null +++ b/Protocols/TransferMethodRepository.html @@ -0,0 +1,704 @@ + + + + TransferMethodRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodRepository

+
+
+ +
public protocol TransferMethodRepository
+ +
+
+

Transfer method repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Creates a HyperwalletTransferMethod for the User associated with the authentication token returned from +HyperwalletAuthenticationTokenProvider.retrieveAuthenticationToken(_ : @escaping CompletionHandler).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferMethod(
    +    _ transferMethod: HyperwalletTransferMethod,
    +    _ completion: @escaping (Result<HyperwalletTransferMethod?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transferMethod + + +
    +

    the HyperwalletTransferMethod being created

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Deactivates the HyperwalletTransferMethod linked to the transfer method token specified. The +HyperwalletTransferMethod being deactivated must belong to the User that is associated with the +authentication token returned from +HyperwalletAuthenticationTokenProvider.retrieveAuthenticationToken(_ : @escaping CompletionHandler).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func deactivateTransferMethod(
    +    _ transferMethod: HyperwalletTransferMethod,
    +    _ completion: @escaping (Result<HyperwalletStatusTransition?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transferMethod + + +
    +

    the HyperwalletTransferMethod being deactivated

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the HyperwalletPageList<HyperwalletTransferMethod> (Bank Account, Bank Card, PayPay Account, +Prepaid Card, Paper Checks,Venmo Account), or nil if non exist.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listTransferMethods(
    +    _ completion: @escaping (Result<HyperwalletPageList<HyperwalletTransferMethod>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + queryParam + + +
    +

    the ordering and filtering criteria

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    updates the HyperwalletTransferMethod linked to the transfer method token specified. The +HyperwalletTransferMethod being updated must belong to the User that is associated with the +authentication token returned from +HyperwalletAuthenticationTokenProvider.retrieveAuthenticationToken(_ : @escaping CompletionHandler).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func updateTransferMethods(
    +    _ transferMethod: HyperwalletTransferMethod,
    +    _ completion: @escaping (Result<HyperwalletTransferMethod?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transferMethod + + +
    +

    the HyperwalletTransferMethod being updated

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Refreshes transfer methods

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshTransferMethods()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/TransferMethodUpdateConfigurationRepository.html b/Protocols/TransferMethodUpdateConfigurationRepository.html new file mode 100644 index 000000000..65a10759b --- /dev/null +++ b/Protocols/TransferMethodUpdateConfigurationRepository.html @@ -0,0 +1,460 @@ + + + + TransferMethodUpdateConfigurationRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodUpdateConfigurationRepository

+
+
+ +
public protocol TransferMethodUpdateConfigurationRepository
+ +
+
+

Transfer method configuration repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gets the transfer method update fields based on the parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getFields(
    +    _ transferMethodToken: String,
    +    completion: @escaping (Result < HyperwalletTransferMethodUpdateConfigurationField?,
    +    HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/TransferRepository.html b/Protocols/TransferRepository.html new file mode 100644 index 000000000..9d64bdb21 --- /dev/null +++ b/Protocols/TransferRepository.html @@ -0,0 +1,548 @@ + + + + TransferRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferRepository

+
+
+ +
public protocol TransferRepository
+ +
+
+

Transfer repository protocol

+ +
+
+ +
+
+
+
    +
  • +
    + + + + createTransfer(_:_:) + +
    +
    +
    +
    +
    +
    +

    Create a transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransfer(_ transfer: HyperwalletTransfer,
    +                    _ completion: @escaping (Result<HyperwalletTransfer?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transfer + + +
    +

    the HyperwalletTransfer being created

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Schedule a transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func scheduleTransfer(_ transfer: HyperwalletTransfer,
    +                      _ completion: @escaping (Result<HyperwalletStatusTransition?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transfer + + +
    +

    the transfer that was previously created

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/UserReceiptRepository.html b/Protocols/UserReceiptRepository.html new file mode 100644 index 000000000..e59ccdc2e --- /dev/null +++ b/Protocols/UserReceiptRepository.html @@ -0,0 +1,505 @@ + + + + UserReceiptRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserReceiptRepository

+
+
+ +
public protocol UserReceiptRepository
+ +
+
+

User receipt repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the list of receipts for the User associated with the authentication token.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listUserReceipts(
    +    offset: Int,
    +    limit: Int,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + offset + + +
    +

    The number of records to skip. If no filters are applied, records will be skipped from the + beginning (based on default sort criteria). Range is from 0 to {n-1} where + n = number of matching records for the query.

    +
    +
    + + limit + + +
    +

    The maximum number of records that will be returned per page.

    +
    +
    + + completion + + +
    +

    The callback handler of responses from the Hyperwallet platform.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Protocols/UserRepository.html b/Protocols/UserRepository.html new file mode 100644 index 000000000..ca662770d --- /dev/null +++ b/Protocols/UserRepository.html @@ -0,0 +1,488 @@ + + + + UserRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserRepository

+
+
+ +
public protocol UserRepository
+ +
+
+

User repository protocol

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getUser(completion:) + +
    +
    +
    +
    +
    +
    +

    Gets the user

    + +
      +
    • completion: the callback handler of responses from the Hyperwallet platform
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getUser(completion: @escaping (Result<HyperwalletUser?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshUser() + +
    +
    +
    +
    +
    +
    +

    Refreshes user

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshUser()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Structs.html b/Structs.html new file mode 100644 index 000000000..d6f6345c2 --- /dev/null +++ b/Structs.html @@ -0,0 +1,560 @@ + + + + Structures Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Structures

+

The following structures are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + CurrencyData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CurrencyData : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Currency + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Currency : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CurrencyFormatter + +
    +
    +
    +
    +
    +
    +

    Currency Formatter

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CurrencyFormatter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletUtilViews + +
    +
    +
    +
    +
    +
    +

    Displays the common UI Views - Alerts and Spinners

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct HyperwalletUtilViews
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InsightsTags + +
    +
    +
    +
    +
    +
    +

    Representation of Insights API Tags property for InsightsTags.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InsightsTags
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Structs/Currency.html b/Structs/Currency.html new file mode 100644 index 000000000..02e5dc291 --- /dev/null +++ b/Structs/Currency.html @@ -0,0 +1,455 @@ + + + + Currency Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Currency

+
+
+ +
public struct Currency : Decodable
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + symbol + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let symbol: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Structs/CurrencyFormatter.html b/Structs/CurrencyFormatter.html new file mode 100644 index 000000000..b4969dc45 --- /dev/null +++ b/Structs/CurrencyFormatter.html @@ -0,0 +1,816 @@ + + + + CurrencyFormatter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

CurrencyFormatter

+
+
+ +
public struct CurrencyFormatter
+ +
+
+

Currency Formatter

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getCurrency(for:) + +
    +
    +
    +
    +
    +
    +

    Get Currency

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func getCurrency(for currencyCode: String) -> Currency?
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    instance of Currency

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format double amount to currency string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatDoubleAmount(_ amount: Double, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount

    +
    +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted currency string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get decimal amount from formatted currency code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func getDecimalAmount(amount: String, currencyCode: String?) -> Double
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount string

    +
    +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a decimal amount

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code using users locale

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatStringAmount(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format currency amount by adding symbol and currency code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func addCurrencySymbolAndCode(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code using users locale while adding symbol and currency code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatCurrencyWithSymbolAndCode(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code and add currency symbol from Currency.json

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatCurrencyWithSymbol(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount to format

    +
    +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    formatted amount with currency symbol

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Structs/HyperwalletUtilViews.html b/Structs/HyperwalletUtilViews.html new file mode 100644 index 000000000..ae266e8ab --- /dev/null +++ b/Structs/HyperwalletUtilViews.html @@ -0,0 +1,733 @@ + + + + HyperwalletUtilViews Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletUtilViews

+
+
+ +
public struct HyperwalletUtilViews
+ +
+
+

Displays the common UI Views - Alerts and Spinners

+ +
+
+ +
+
+
+
+ + +
+ +

SelectTransferMethodView +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    show an alert dialog

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showAlert(_ viewController: UIViewController, title: String?, message: String?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + viewController + + +
    +

    current view

    +
    +
    + + title + + +
    +

    title shown in the dialog

    +
    +
    + + message + + +
    +

    description shown in the dialog

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display the alert view with custom list of options

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showAlert(
    +    _ viewController: UIViewController,
    +    title: String? = nil,
    +    message: String?,
    +    style: UIAlertController.Style = .alert,
    +    actions: UIAlertAction...)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    show an alert dialog with retry button

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showAlertWithRetry(
    +    _ viewController: UIViewController,
    +    title: String?,
    +    message: String?,
    +    _ retry: @escaping (UIAlertAction) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + viewController + + +
    +

    current view

    +
    +
    + + title + + +
    +

    title shown in the dialog

    +
    +
    + + message + + +
    +

    description shown in the dialog

    +
    +
    + + retry + + +
    +

    an action needs to be retried

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + showSpinner(view:) + +
    +
    +
    +
    +
    +
    +

    Displays the Activity Indicator embedded on view

    + +

    Example: the self is ViewController + let spinnerView = HyperwalletUtilViews.showSpinner(view: self.view )

    + +

    DispatchQueue.main.asyncAfter(deadline: .now() + 2) { // represent a callback + HyperwalletUtilViews.removeSpinner(spinnerView) + }

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showSpinner(view: UIView) -> SpinnerView
    + +
    +
    +
    +

    Return Value

    +

    SpinnerView

    +
    +
    +
    +
  • +
  • +
    + + + + removeSpinner(_:) + +
    +
    +
    +
    +
    +
    +

    Remove the SpinnerView with animation

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func removeSpinner(_ spinnerView: SpinnerView)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + showProcessing() + +
    +
    +
    +
    +
    +
    +

    Displays the Processing view in a modal view for indicating the UI is processing the data

    + +

    Example: + To show ProcessingView: + let processingView = HyperwalletUtilViews.showProcessing()

    + +

    To hide with Complete state: + processingView.hide(with: .complete)

    +
    To dismiss ProcessView with the same state:
    +processingView.hide()
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showProcessing() -> ProcessingView
    + +
    +
    +
    +

    Return Value

    +

    ProcessingView

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/Structs/InsightsTags.html b/Structs/InsightsTags.html new file mode 100644 index 000000000..33a1ffb5d --- /dev/null +++ b/Structs/InsightsTags.html @@ -0,0 +1,565 @@ + + + + InsightsTags Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InsightsTags

+
+
+ +
public struct InsightsTags
+ +
+
+

Representation of Insights API Tags property for InsightsTags.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + country + +
    +
    +
    +
    +
    +
    +

    The country tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let country: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + currency + +
    +
    +
    +
    +
    +
    +

    The currency tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let currency: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + profileType + +
    +
    +
    +
    +
    +
    +

    The profile type tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let profileType: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodType + +
    +
    +
    +
    +
    +
    +

    The transfer method type tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let transferMethodType: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + goal + +
    +
    +
    +
    +
    +
    +

    The goal tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let goal: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/badge.svg b/badge.svg new file mode 100644 index 000000000..a096feca8 --- /dev/null +++ b/badge.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + documentation + + + documentation + + + 100% + + + 100% + + + diff --git a/changelog.html b/changelog.html new file mode 100644 index 000000000..c255be684 --- /dev/null +++ b/changelog.html @@ -0,0 +1,538 @@ + + + + CHANGELOG Reference + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+ +

Changelog

+

1.0.0-beta19

+ +
    +
  • add security context
  • +
+

1.0.0-beta18

+ +
    +
  • Handle HTTP 401
  • +
+

1.0.0-beta17

+ +
    +
  • iOS upgrade to version 13
  • +
+

1.0.0-beta16

+ +
    +
  • Fixed currency formatting issues
  • +
  • Fixed add transfer method qraphQL calls
  • +
  • Fixed memory leaks
  • +
  • Fixed no fee display issue
  • +
+

1.0.0-beta15

+ +
    +
  • Fixed frameworks issue after upgrade to Xcode 12
  • +
+

1.0.0-beta14

+ +
    +
  • Fixed embedded framework issue
  • +
+

1.0.0-beta13

+ +
    +
  • UI Enhancements
  • +
  • Added support for iOS 14
  • +
+

1.0.0-beta12

+ +
    +
  • UI Enhancements
  • +
+

1.0.0-beta11

+ +
    +
  • Added support for update transfer method
  • +
  • UI Enhancements
  • +
+

1.0.0-beta10

+ +
    +
  • Added Prepaid Card support
  • +
  • Added multiple languages support
  • +
  • Added currency formatting
  • +
  • UI Enhancements
  • +
+

1.0.0-beta09

+ +
    +
  • Increased API Response wait time
  • +
+

1.0.0-beta08

+ +
    +
  • Fixed Cocoapod Insights Integration issue
  • +
  • Made UINavigationBar Theme customization optional
  • +
+

1.0.0-beta07

+ +
    +
  • Fixed Cocoapod issue
  • +
+

1.0.0-beta06

+ +
    +
  • Security fixes
  • +
+

Bug

+ Bug fixes + +
    +
  • UI and usability enhancements
  • +
+

1.0.0-beta05

+ +
    +
  • Added Analytics to Transfer Method Module
  • +
  • Enhancements
  • +
+

1.0.0-beta04

+ +
    +
  • Added support for Create Transfer Funds
  • +
  • Added support for Objective-C
  • +
+

1.0.0-beta03

+ +
    +
  • Enhancements to Add Transfer Method
  • +
  • Added support to the following: + +
      +
    • List Prepaid Card Receipts
    • +
    • List User Receipts
    • +
  • +
+

1.0.0-beta02

+ +
    +
  • Added PayPal as a Transfer method
  • +
  • Defaulted in Transfer Method selection to country of User
  • +
+

1.0.0-beta01

+ +
    +
  • Initial beta release of Hyperwallet UI SDK for iOS. This beta release has the following functionality: + +
      +
    • UI components to create Bank Account and Bank Card for United States (USD)
    • +
    • UI components to list and deactivate accounts
    • +
  • +
+ +
+
+ + +
+
+ + + diff --git a/css/highlight.css b/css/highlight.css new file mode 100644 index 000000000..c170357ce --- /dev/null +++ b/css/highlight.css @@ -0,0 +1,202 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight .c { + color: #999988; + font-style: italic; } + +.highlight .err { + color: #a61717; + background-color: #e3d2d2; } + +.highlight .k { + color: #000000; + font-weight: bold; } + +.highlight .o { + color: #000000; + font-weight: bold; } + +.highlight .cm { + color: #999988; + font-style: italic; } + +.highlight .cp { + color: #999999; + font-weight: bold; } + +.highlight .c1 { + color: #999988; + font-style: italic; } + +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + +.highlight .gd { + color: #000000; + background-color: #ffdddd; } + +.highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + +.highlight .ge { + color: #000000; + font-style: italic; } + +.highlight .gr { + color: #aa0000; } + +.highlight .gh { + color: #999999; } + +.highlight .gi { + color: #000000; + background-color: #ddffdd; } + +.highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + +.highlight .go { + color: #888888; } + +.highlight .gp { + color: #555555; } + +.highlight .gs { + font-weight: bold; } + +.highlight .gu { + color: #aaaaaa; } + +.highlight .gt { + color: #aa0000; } + +.highlight .kc { + color: #000000; + font-weight: bold; } + +.highlight .kd { + color: #000000; + font-weight: bold; } + +.highlight .kp { + color: #000000; + font-weight: bold; } + +.highlight .kr { + color: #000000; + font-weight: bold; } + +.highlight .kt { + color: #445588; } + +.highlight .m { + color: #009999; } + +.highlight .s { + color: #d14; } + +.highlight .na { + color: #008080; } + +.highlight .nb { + color: #0086B3; } + +.highlight .nc { + color: #445588; + font-weight: bold; } + +.highlight .no { + color: #008080; } + +.highlight .ni { + color: #800080; } + +.highlight .ne { + color: #990000; + font-weight: bold; } + +.highlight .nf { + color: #990000; } + +.highlight .nn { + color: #555555; } + +.highlight .nt { + color: #000080; } + +.highlight .nv { + color: #008080; } + +.highlight .ow { + color: #000000; + font-weight: bold; } + +.highlight .w { + color: #bbbbbb; } + +.highlight .mf { + color: #009999; } + +.highlight .mh { + color: #009999; } + +.highlight .mi { + color: #009999; } + +.highlight .mo { + color: #009999; } + +.highlight .sb { + color: #d14; } + +.highlight .sc { + color: #d14; } + +.highlight .sd { + color: #d14; } + +.highlight .s2 { + color: #d14; } + +.highlight .se { + color: #d14; } + +.highlight .sh { + color: #d14; } + +.highlight .si { + color: #d14; } + +.highlight .sx { + color: #d14; } + +.highlight .sr { + color: #009926; } + +.highlight .s1 { + color: #d14; } + +.highlight .ss { + color: #990073; } + +.highlight .bp { + color: #999999; } + +.highlight .vc { + color: #008080; } + +.highlight .vg { + color: #008080; } + +.highlight .vi { + color: #008080; } + +.highlight .il { + color: #009999; } diff --git a/css/jazzy.css b/css/jazzy.css new file mode 100644 index 000000000..c7bb9fe22 --- /dev/null +++ b/css/jazzy.css @@ -0,0 +1,404 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +*, *:before, *:after { + box-sizing: inherit; } + +body { + margin: 0; + background: #fff; + color: #333; + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: .2px; + -webkit-font-smoothing: antialiased; + box-sizing: border-box; } + +h1 { + font-size: 2rem; + font-weight: 700; + margin: 1.275em 0 0.6em; } + +h2 { + font-size: 1.75rem; + font-weight: 700; + margin: 1.275em 0 0.3em; } + +h3 { + font-size: 1.5rem; + font-weight: 700; + margin: 1em 0 0.3em; } + +h4 { + font-size: 1.25rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h5 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h6 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; + color: #777; } + +p { + margin: 0 0 1em; } + +ul, ol { + padding: 0 0 0 2em; + margin: 0 0 0.85em; } + +blockquote { + margin: 0 0 0.85em; + padding: 0 15px; + color: #858585; + border-left: 4px solid #e5e5e5; } + +img { + max-width: 100%; } + +a { + color: #4183c4; + text-decoration: none; } + a:hover, a:focus { + outline: 0; + text-decoration: underline; } + a.discouraged { + text-decoration: line-through; } + a.discouraged:hover, a.discouraged:focus { + text-decoration: underline line-through; } + +table { + background: #fff; + width: 100%; + border-collapse: collapse; + border-spacing: 0; + overflow: auto; + margin: 0 0 0.85em; } + +tr:nth-child(2n) { + background-color: #fbfbfb; } + +th, td { + padding: 6px 13px; + border: 1px solid #ddd; } + +hr { + height: 1px; + border: none; + background-color: #ddd; } + +pre { + margin: 0 0 1.275em; + padding: .85em 1em; + overflow: auto; + background: #f7f7f7; + font-size: .85em; + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +.item-container p > code, .item-container li > code, .top-matter p > code, .top-matter li > code { + background: #f7f7f7; + padding: .2em; } + .item-container p > code:before, .item-container p > code:after, .item-container li > code:before, .item-container li > code:after, .top-matter p > code:before, .top-matter p > code:after, .top-matter li > code:before, .top-matter li > code:after { + letter-spacing: -.2em; + content: "\00a0"; } + +pre code { + padding: 0; + white-space: pre; } + +.content-wrapper { + display: flex; + flex-direction: column; } + @media (min-width: 768px) { + .content-wrapper { + flex-direction: row; } } +.header { + display: flex; + padding: 8px; + font-size: 0.875em; + background: #444; + color: #999; } + +.header-col { + margin: 0; + padding: 0 8px; } + +.header-col--primary { + flex: 1; } + +.header-link { + color: #fff; } + +.header-icon { + padding-right: 2px; + vertical-align: -3px; + height: 16px; } + +.breadcrumbs { + font-size: 0.875em; + padding: 8px 16px; + margin: 0; + background: #fbfbfb; + border-bottom: 1px solid #ddd; } + +.carat { + height: 10px; + margin: 0 5px; } + +.navigation { + order: 2; } + @media (min-width: 768px) { + .navigation { + order: 1; + width: 25%; + max-width: 300px; + padding-bottom: 64px; + overflow: hidden; + word-wrap: normal; + background: #fbfbfb; + border-right: 1px solid #ddd; } } +.nav-groups { + list-style-type: none; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #ddd; + padding: 8px 0 8px 16px; } + +.nav-group-name-link { + color: #333; } + +.nav-group-tasks { + margin: 8px 0; + padding: 0 0 0 8px; } + +.nav-group-task { + font-size: 1em; + list-style-type: none; + white-space: nowrap; } + +.nav-group-task-link { + color: #808080; } + +.main-content { + order: 1; } + @media (min-width: 768px) { + .main-content { + order: 2; + flex: 1; + padding-bottom: 60px; } } +.section { + padding: 0 32px; + border-bottom: 1px solid #ddd; } + +.section-content { + max-width: 834px; + margin: 0 auto; + padding: 16px 0; } + +.section-name { + color: #666; + display: block; } + .section-name p { + margin-bottom: inherit; } + +.declaration .highlight { + overflow-x: initial; + padding: 8px 0; + margin: 0; + background-color: transparent; + border: none; } + +.task-group-section { + border-top: 1px solid #ddd; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; } + +.section-name-container { + position: relative; } + .section-name-container .section-name-link { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + margin-bottom: 0; } + .section-name-container .section-name { + position: relative; + pointer-events: none; + z-index: 1; } + .section-name-container .section-name a { + pointer-events: auto; } + +.item-container { + padding: 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; } + .item .token, .item .direct-link { + display: inline-block; + text-indent: -20px; + padding-left: 3px; + margin-left: 20px; + font-size: 1rem; } + .item .declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #ddd; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + left: 21px; + top: 7px; + display: block; + position: absolute; + width: 12px; + height: 12px; + border-left: 1px solid #ddd; + border-top: 1px solid #ddd; + background: #fff; + transform: rotate(45deg); } + +.height-container { + display: none; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #fff; + border: 1px solid #ddd; + border-top-width: 0; + padding-top: 10px; + padding-bottom: 5px; + padding: 8px 16px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4183c4; } + +.aside-warning, .aside-deprecated, .aside-unavailable { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title, .aside-deprecated .aside-title, .aside-unavailable .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #ddd; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +.footer { + padding: 8px 16px; + background: #444; + color: #ddd; + font-size: 0.8em; } + .footer p { + margin: 8px 0; } + .footer a { + color: #fff; } + +html.dash .header, html.dash .breadcrumbs, html.dash .navigation { + display: none; } + +html.dash .height-container { + display: block; } + +form[role=search] input { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 24px; + padding: 0 10px; + margin: 0; + border: none; + border-radius: 1em; } + .loading form[role=search] input { + background: white url(../img/spinner.gif) center right 4px no-repeat; } + +form[role=search] .tt-menu { + margin: 0; + min-width: 300px; + background: #fbfbfb; + color: #333; + border: 1px solid #ddd; } + +form[role=search] .tt-highlight { + font-weight: bold; } + +form[role=search] .tt-suggestion { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 8px; } + form[role=search] .tt-suggestion span { + display: table-cell; + white-space: nowrap; } + form[role=search] .tt-suggestion .doc-parent-name { + width: 100%; + text-align: right; + font-weight: normal; + font-size: 0.9em; + padding-left: 16px; } + +form[role=search] .tt-suggestion:hover, +form[role=search] .tt-suggestion.tt-cursor { + cursor: pointer; + background-color: #4183c4; + color: #fff; } + +form[role=search] .tt-suggestion:hover .doc-parent-name, +form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { + color: #fff; } diff --git a/docsets/HyperwalletUISDK.docset/Contents/Info.plist b/docsets/HyperwalletUISDK.docset/Contents/Info.plist new file mode 100644 index 000000000..fa741172f --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleIdentifier + com.jazzy.hyperwalletuisdk + CFBundleName + HyperwalletUISDK + DocSetPlatformFamily + hyperwalletuisdk + isDashDocset + + dashIndexFilePath + index.html + isJavaScriptEnabled + + DashDocSetFamily + dashtoc + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes.html new file mode 100644 index 000000000..855cc3fe1 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes.html @@ -0,0 +1,1316 @@ + + + + Classes Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Classes

+

The following classes are available globally.

+ +
+
+ +
+
+
+ +
+
+
+ + +
+ +

SpinnerView +

+
+
+
    +
  • +
    + + + + SpinnerView + +
    +
    +
    +
    +
    +
    +

    Represents Spinner view to be embedded on a view

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class SpinnerView : UIView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Theme + +
    +
    +
    +
    +
    +
    +

    The Theme is used customize all visual style provided by Hyperwallet UI SDK. +In order to apply a new style changes the method ThemeManager.applyTheme() has to been called.

    + + + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objcMembers
    +public class Theme : NSObject
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Class responsible for deciding the coordinator required

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HyperwalletCoordinatorFactory
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletInsights + +
    +
    +
    +
    +
    +
    +

    Class responsible for initializing the Insights module. +It contains methods to call Insights for various actions performed by the user

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class HyperwalletInsights : HyperwalletInsightsProtocol
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ErrorInfoBuilder + +
    +
    +
    +
    +
    +
    +

    A helper class to build the ErrorInfo instance.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ErrorInfoBuilder
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ErrorView + +
    +
    +
    +
    +
    +
    +

    The class to handle UI errors

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class ErrorView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PasteOnlyTextField + +
    +
    +
    +
    +
    +
    +

    To perform paste action in UITextField

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class PasteOnlyTextField : UITextField
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + AmountTextField + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class AmountTextField : PasteOnlyTextField
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ProcessingView + +
    +
    +
    +
    +
    +
    +

    The processing view

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class ProcessingView : UIView
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Prepaid card receipt repository

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class RemotePrepaidCardReceiptRepository : PrepaidCardReceiptRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Receipt Repository Factory

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class ReceiptRepositoryFactory
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    User receipt repository

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class RemoteUserReceiptRepository : UserReceiptRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Coordinator class for ListReceipt

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class ListReceiptCoordinator : NSObject, HyperwalletCoordinator
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/AddTransferMethodCoordinator.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/AddTransferMethodCoordinator.html new file mode 100644 index 000000000..839212cdd --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/AddTransferMethodCoordinator.html @@ -0,0 +1,587 @@ + + + + AddTransferMethodCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddTransferMethodCoordinator

+
+
+ +
public class AddTransferMethodCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for AddTransferMethod

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/AmountTextField.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/AmountTextField.html new file mode 100644 index 000000000..966943dcb --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/AmountTextField.html @@ -0,0 +1,455 @@ + + + + AmountTextField Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AmountTextField

+
+
+ +
public final class AmountTextField : PasteOnlyTextField
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/CreateTransferCoordinator.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/CreateTransferCoordinator.html new file mode 100644 index 000000000..f36354fe0 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/CreateTransferCoordinator.html @@ -0,0 +1,587 @@ + + + + CreateTransferCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

CreateTransferCoordinator

+
+
+ +
public class CreateTransferCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for CreateTransfer

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ErrorInfoBuilder.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ErrorInfoBuilder.html new file mode 100644 index 000000000..3df6497ff --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ErrorInfoBuilder.html @@ -0,0 +1,622 @@ + + + + ErrorInfoBuilder Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ErrorInfoBuilder

+
+
+ +
public class ErrorInfoBuilder
+ +
+
+

A helper class to build the ErrorInfo instance.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(type:message:) + +
    +
    +
    +
    +
    +
    +

    Initializes ErrorInfoBuilder

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(type: String, message: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + type + + +
    +

    The Type of error that occurred.

    +
    +
    + + message + + +
    +

    The Field Name is especially interesting when there is a validation error/issue in combination +with error_type = FORM

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + fieldName(_:) + +
    +
    +
    +
    +
    +
    +

    Sets FieldName

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func fieldName(_ fieldName: String) -> ErrorInfoBuilder
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + fieldName + + +
    +

    The Field Name is especially interesting when there is a validation +error/issue in combination with error_type = FORM or when an API error occurs in relation +to a field, error_type = API

    +
    +
    +
    +
    +

    Return Value

    +

    ErrorInfoBuilder

    +
    +
    +
    +
  • +
  • +
    + + + + code(_:) + +
    +
    +
    +
    +
    +
    +

    Sets Code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func code(_ code: String) -> ErrorInfoBuilder
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + code + + +
    +

    The Error Code is the type of error that occurred

    +
    +
    +
    +
    +

    Return Value

    +

    ErrorInfoBuilder

    +
    +
    +
    +
  • +
  • +
    + + + + build() + +
    +
    +
    +
    +
    +
    +

    Builds a new instance of the ErrorInfo.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func build() -> ErrorInfo
    + +
    +
    +
    +

    Return Value

    +

    a new instance of the ErrorInfo.

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ErrorView.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ErrorView.html new file mode 100644 index 000000000..57d45208e --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ErrorView.html @@ -0,0 +1,562 @@ + + + + ErrorView Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ErrorView

+
+
+ +
public final class ErrorView
+ +
+
+

The class to handle UI errors

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Initializer to initialize the class with errors to be displayed and the ViewController responsible +to display the errors

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(viewController: UIViewController,
    +            error: HyperwalletErrorType,
    +            pageName: String,
    +            pageGroup: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + viewController + + +
    +

    view controller that contains errors

    +
    +
    + + error + + +
    +

    hyperwallet error

    +
    +
    + + pageName + + +
    +

    The Page or screen that is currently visible

    +
    +
    + + pageGroup + + +
    +

    The group of the Page or screen that is currently visible

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + show(_:) + +
    +
    +
    +
    +
    +
    +

    To show error messages

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func show(_ handler: (() -> Void)?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    handler to either remain on same UI page or go back to previous

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/GenericCell.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/GenericCell.html new file mode 100644 index 000000000..276cc4fe8 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/GenericCell.html @@ -0,0 +1,511 @@ + + + + GenericCell Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

GenericCell

+
+
+ +
open class GenericCell<ModelType> : UITableViewCell
+ +
+
+

The tableview cell

+ +
+
+ +
+
+
+
    +
  • +
    + + + + item + +
    +
    +
    +
    +
    +
    +

    The item

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    open var item: ModelType!
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Initializes the tableview cell

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public init(style: UITableViewCell.CellStyle, reuseIdentifier: String?)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(coder:) + +
    +
    +
    +
    +
    +
    +

    The required initializer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public required init?(coder aDecoder: NSCoder)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/GenericController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/GenericController.html new file mode 100644 index 000000000..d036b188b --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/GenericController.html @@ -0,0 +1,959 @@ + + + + GenericController Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

GenericController

+
+
+ +
public class GenericController<T: GenericCell<ModelType>, ModelType>: UITableViewController,
+UISearchResultsUpdating, UISearchControllerDelegate
+ +
+
+

Generic Controller

+ +
+
+ +
+
+
+
    +
  • +
    + + + + items + +
    +
    +
    +
    +
    +
    +

    The item list to be displayed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var items: [ModelType] { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + filteredItems + +
    +
    +
    +
    +
    +
    +

    The filtered items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var filteredItems: [ModelType]
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + shouldMarkCellAction + +
    +
    +
    +
    +
    +
    +

    Event handler to indicate if the item cell should be marked

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var shouldMarkCellAction: ((_ value: ModelType) -> Bool)?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Delegate to customise the filter content.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var filterContentForSearchTextAction: ((_ items: [ModelType], _ searchText: String) -> [ModelType])? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SelectedHandler + +
    +
    +
    +
    +
    +
    +

    The typealias for event handler to return the item selected

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias SelectedHandler = (_ value: ModelType) -> Void
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + selectedHandler + +
    +
    +
    +
    +
    +
    +

    Event handler to return the item selected

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var selectedHandler: SelectedHandler?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Private properties +

+
+
+
    +
  • +
    + + + + viewDidLoad() + +
    +
    +
    +
    +
    +
    +

    Called after the view controller has loaded its view hierarchy into memory.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func viewDidLoad()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + viewWillAppear(_:) + +
    +
    +
    +
    +
    +
    +

    Notifies the view controller that its view is about to be added to a view hierarchy.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func viewWillAppear(_ animated: Bool)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    UIKit calls this method before changing the size of a presented view controller’s view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + size + + +
    +

    The new size for the container’s view.

    +
    +
    + + coordinator + + +
    +

    The transition coordinator object managing the size change.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Called when the search controller is automatically dismissed.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func didDismissSearchController(_ searchController: UISearchController)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns number of items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays the retrieved items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

UITableViewDelegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select the items

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

UISearchResultsUpdating +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    To update search result

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func updateSearchResults(for searchController: UISearchController)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletBundle.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletBundle.html new file mode 100644 index 000000000..16efff0ce --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletBundle.html @@ -0,0 +1,457 @@ + + + + HyperwalletBundle Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletBundle

+
+
+ +
public final class HyperwalletBundle
+ +
+
+

Hyperwallet Bundle

+ +
+
+ +
+
+
+
    +
  • +
    + + + + currentSDKAppVersion + +
    +
    +
    +
    +
    +
    +

    Get the current SDK version

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let currentSDKAppVersion: String?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletCoordinatorFactory.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletCoordinatorFactory.html new file mode 100644 index 000000000..70d54e99f --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletCoordinatorFactory.html @@ -0,0 +1,509 @@ + + + + HyperwalletCoordinatorFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCoordinatorFactory

+
+
+ +
public class HyperwalletCoordinatorFactory
+ +
+
+

Class responsible for deciding the coordinator required

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the Hyperwallet UI SDK interface object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: HyperwalletCoordinatorFactory { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Based on the HyperwalletCoordinatorTypes, determines the coordinator to be returned, +returns nil if the module has not been imported in the project

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getHyperwalletCoordinator(hyperwalletCoordinatorType: HyperwalletCoordinatorTypes)
    +    -> HyperwalletCoordinator?
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + hyperwalletCoordinatorType + + +
    +

    HyperwalletCoordinatorTypes

    +
    +
    +
    +
    +

    Return Value

    +

    The initialized coordinator class

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletIcon.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletIcon.html new file mode 100644 index 000000000..6d2dbecd5 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletIcon.html @@ -0,0 +1,480 @@ + + + + HyperwalletIcon Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletIcon

+
+
+ +
public final class HyperwalletIcon
+ +
+
+

The HyperwalletIcon class

+ +
+
+ +
+
+
+
    +
  • +
    + + + + of(_:) + +
    +
    +
    +
    +
    +
    +

    Make transfer method type icon by transfer method type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func of(_ fontType: String) -> HyperwalletIconContent
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + fontType + + +
    +

    String

    +
    +
    +
    +
    +

    Return Value

    +

    a HyperwalletIconContent object

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletInsights.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletInsights.html new file mode 100644 index 000000000..2fa03c75d --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletInsights.html @@ -0,0 +1,734 @@ + + + + HyperwalletInsights Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletInsights

+
+
+ +
public class HyperwalletInsights : HyperwalletInsightsProtocol
+ +
+
+

Class responsible for initializing the Insights module. +It contains methods to call Insights for various actions performed by the user

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the HyperwalletInsights interface object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: HyperwalletInsights { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears Insights SDK instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setup() + +
    +
    +
    +
    +
    +
    +

    Set up HyperwalletInsights

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func setup()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Clicks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackClick(pageName: String, pageGroup: String, link: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page

    +
    +
    + + pageGroup + + +
    +

    Page group name

    +
    +
    + + link + + +
    +

    The link clicked - example : select-transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackError(pageName: String, pageGroup: String, errorInfo: ErrorInfo)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + ErrorInfo + + +
    +

    ErrorInfo have the information about the error

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Impressions

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackImpression(pageName: String, pageGroup: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletUI.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletUI.html new file mode 100644 index 000000000..cef209f79 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/HyperwalletUI.html @@ -0,0 +1,1073 @@ + + + + HyperwalletUI Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletUI

+
+
+ +
@objcMembers
+public final class HyperwalletUI : NSObject
+ +
+
+

Class responsible for initializing the Hyperwallet UI SDK. It contains methods to interact with the controllers +used to interact with the Hyperwallet platform

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the Hyperwallet UI SDK interface object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: HyperwalletUI { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears Hyperwallet and HyperwalletInsights instances.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + setup(_:) + +
    +
    +
    +
    +
    +
    +

    Creates a new instance of the Hyperwallet UI SDK interface object. If a previously created instance exists, +it will be replaced.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public class func setup(_ provider: HyperwalletAuthenticationTokenProvider)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + provider + + +
    +

    a provider of Hyperwallet authentication tokens.

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Clears TransferRepositoryFactory , TransferMethodRepositoryFactory and UserRepositoryFactory instances.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func transferUIClearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create transfer funds from User Source

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferFromUserCoordinator(clientTransferId: String,
    +                                       parentController: UIViewController) -> CreateTransferCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of CreateTransferCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create transfer funds from Prepaid Card Token Source

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferFromPrepaidCardCoordinator(clientTransferId: String,
    +                                              sourceToken: String,
    +                                              parentController: UIViewController)
    +    -> CreateTransferCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of CreateTransferCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create transfer funds + This function will show all the available sources to create a transfer from.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferFromAllAvailableSourcesCoordinator(clientTransferId: String,
    +                                                      parentController: UIViewController)
    +    -> CreateTransferCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of CreateTransferCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Clears TransferMethodRepositoryFactory and UserRepositoryFactory instances.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func transferMethodUIClearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check).

    + +

    The user can deactivate and add a new transfer method.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listTransferMethodCoordinator(parentController: UIViewController) ->
    +    ListTransferMethodsCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of ListTransferMethodsCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists all transfer method types available based on the country, currency and profile type to create a new +transfer method (bank account, bank card, PayPal account, prepaid card, paper check).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func selectTransferMethodTypeCoordinator(forceUpdateData: Bool = false, parentController: UIViewController)
    +    -> SelectTransferMethodTypeCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + forceUpdateData + + +
    +

    Forces to refresh the cached data.

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of SelectTransferMethodTypeCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Controller to create a new transfer method.

    + +

    The form fields are based on the country, currency, user’s profile type and transfer method type should be +passed to this Controller to create new Transfer Method for those values.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func addTransferMethodCoordinator(
    +    _ country: String,
    +    _ currency: String,
    +    _ profileType: String,
    +    _ transferMethodTypeCode: String,
    +    _ forceUpdateData: Bool = false,
    +    parentController: UIViewController) -> AddTransferMethodCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + country + + +
    +

    The 2 letter ISO 3166-1 country code.

    +
    +
    + + currency + + +
    +

    The 3 letter ISO 4217-1 currency code.

    +
    +
    + + profileType + + +
    +

    The profile type. Possible values - INDIVIDUAL, BUSINESS.

    +
    +
    + + transferMethodTypeCode + + +
    +

    The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD.

    +
    +
    + + forceUpdateData + + +
    +

    Forces to refresh the cached data.

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of AddTransferMethodCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Controller to update a transfer method.

    + +

    The form fields are based transfer method token passed to this controller to update transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func updateTransferMethodCoordinator(_ transferMethodToken: String,
    +                                     parentController: UIViewController) -> UpdateTransferMethodCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + transferMethodToken + + +
    +

    The transfer method token

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of UpdateTransferMethodCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Clears ReceiptRepositoryFactory instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func receiptUIClearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s transactions.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listUserReceiptCoordinator(parentController: UIViewController) -> ListReceiptCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of ListReceiptCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s prepaid card transactions.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listPrepaidCardReceiptCoordinator(parentController: UIViewController, prepaidCardToken: String)
    +    -> ListReceiptCoordinator
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + prepaidCardToken + + +
    +

    prepaid card token for which transactions are requested

    +
    +
    +
    +
    +

    Return Value

    +

    An instance of ListReceiptCoordinator

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the user’s transactions from all sources - wallet and prepaid card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listAllAvailableSourcesReceiptCoordinator(parentController: UIViewController) -> ListReceiptCoordinator
    + +
    +
    +
    +

    Return Value

    +

    An instance of ListReceiptCoordinator

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ListReceiptCoordinator.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ListReceiptCoordinator.html new file mode 100644 index 000000000..203c4a5f4 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ListReceiptCoordinator.html @@ -0,0 +1,587 @@ + + + + ListReceiptCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListReceiptCoordinator

+
+
+ +
public class ListReceiptCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for ListReceipt

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ListTransferMethodsCoordinator.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ListTransferMethodsCoordinator.html new file mode 100644 index 000000000..895060f88 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ListTransferMethodsCoordinator.html @@ -0,0 +1,587 @@ + + + + ListTransferMethodsCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferMethodsCoordinator

+
+
+ +
public final class ListTransferMethodsCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for ListTransferMethods

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/PasteOnlyTextField.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/PasteOnlyTextField.html new file mode 100644 index 000000000..6d0216491 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/PasteOnlyTextField.html @@ -0,0 +1,457 @@ + + + + PasteOnlyTextField Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PasteOnlyTextField

+
+
+ +
public class PasteOnlyTextField : UITextField
+ +
+
+

To perform paste action in UITextField

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Requests the receiving responder to paste text in UITextField

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ProcessingView.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ProcessingView.html new file mode 100644 index 000000000..4bf733888 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ProcessingView.html @@ -0,0 +1,538 @@ + + + + ProcessingView Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ProcessingView

+
+
+ +
public final class ProcessingView : UIView
+ +
+
+

The processing view

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(showInView:) + +
    +
    +
    +
    +
    +
    +

    Convenience Initializer for view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(showInView view: UIView)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init() + +
    +
    +
    +
    +
    +
    +

    Convenience Initializer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + didMoveToSuperview() + +
    +
    +
    +
    +
    +
    +

    Tells the view that its superview changed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didMoveToSuperview()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hide(with:) + +
    +
    +
    +
    +
    +
    +

    To hide processing symbol

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func hide(with state: ProcessingState? = nil)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ReceiptRepositoryFactory.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ReceiptRepositoryFactory.html new file mode 100644 index 000000000..1d42c5a5c --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ReceiptRepositoryFactory.html @@ -0,0 +1,546 @@ + + + + ReceiptRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ReceiptRepositoryFactory

+
+
+ +
public final class ReceiptRepositoryFactory
+ +
+
+

Receipt Repository Factory

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the ReceiptRepositoryFactory object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: ReceiptRepositoryFactory { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears the RepositoryFactory singleton instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the UserReceiptRepository implementation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func userReceiptRepository() -> UserReceiptRepository
    + +
    +
    +
    +

    Return Value

    +

    The implementation of the UserReceiptRepository protocol

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Gets the PrepaidCardReceiptRepository implementation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func prepaidCardReceiptRepository() -> PrepaidCardReceiptRepository
    + +
    +
    +
    +

    Return Value

    +

    The implementation of the PrepaidCardReceiptRepository protocol

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemotePrepaidCardReceiptRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemotePrepaidCardReceiptRepository.html new file mode 100644 index 000000000..4b00686c9 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemotePrepaidCardReceiptRepository.html @@ -0,0 +1,458 @@ + + + + RemotePrepaidCardReceiptRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemotePrepaidCardReceiptRepository

+
+
+ +
public final class RemotePrepaidCardReceiptRepository : PrepaidCardReceiptRepository
+ +
+
+

Prepaid card receipt repository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func listPrepaidCardReceipts(
    +    prepaidCardToken: String,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemotePrepaidCardRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemotePrepaidCardRepository.html new file mode 100644 index 000000000..a002a0fbe --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemotePrepaidCardRepository.html @@ -0,0 +1,540 @@ + + + + RemotePrepaidCardRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemotePrepaidCardRepository

+
+
+ +
public final class RemotePrepaidCardRepository : PrepaidCardRepository
+ +
+
+

Prepaid Card repository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func listPrepaidCards(queryParam: HyperwalletPrepaidCardQueryParam,
    +                             completion: @escaping (Result<HyperwalletPageList<HyperwalletPrepaidCard>?,
    +HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getPrepaidCard(token: String,
    +                           completion: @escaping (Result < HyperwalletPrepaidCard?,
    +HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCard() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshPrepaidCard()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCards() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Cards

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshPrepaidCards()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteTransferMethodConfigurationRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteTransferMethodConfigurationRepository.html new file mode 100644 index 000000000..ad61d3cf0 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteTransferMethodConfigurationRepository.html @@ -0,0 +1,569 @@ + + + + RemoteTransferMethodConfigurationRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteTransferMethodConfigurationRepository

+
+
+ +
public final class RemoteTransferMethodConfigurationRepository : TransferMethodConfigurationRepository
+ +
+
+

RemoteTransferMethodConfigurationRepository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getFields(
    +    _ country: String,
    +    _ currency: String,
    +    _ transferMethodType: String,
    +    _ transferMethodProfileType: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationField?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getKeys(completion:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getKeys(
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getTransferMethodTypesFeesAndProcessingTimes(
    +    country: String,
    +    currency: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshFields() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshFields()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshKeys() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshKeys()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteTransferMethodUpdateConfigurationRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteTransferMethodUpdateConfigurationRepository.html new file mode 100644 index 000000000..5c0ff98a7 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteTransferMethodUpdateConfigurationRepository.html @@ -0,0 +1,458 @@ + + + + RemoteTransferMethodUpdateConfigurationRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteTransferMethodUpdateConfigurationRepository

+
+
+ +
public final class RemoteTransferMethodUpdateConfigurationRepository : TransferMethodUpdateConfigurationRepository
+ +
+
+

RemoteTransferMethodUpdateConfigurationRepository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getFields(_ transferMethodToken: String,
    +                      completion: @escaping (
    +    Result<HyperwalletTransferMethodUpdateConfigurationField?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteUserReceiptRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteUserReceiptRepository.html new file mode 100644 index 000000000..652a422e2 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteUserReceiptRepository.html @@ -0,0 +1,459 @@ + + + + RemoteUserReceiptRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteUserReceiptRepository

+
+
+ +
public final class RemoteUserReceiptRepository : UserReceiptRepository
+ +
+
+

User receipt repository

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func listUserReceipts(
    +    offset: Int,
    +    limit: Int,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteUserRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteUserRepository.html new file mode 100644 index 000000000..cf6b309c1 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/RemoteUserRepository.html @@ -0,0 +1,482 @@ + + + + RemoteUserRepository Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

RemoteUserRepository

+
+
+ +
public final class RemoteUserRepository : UserRepository
+ +
+
+

RemoteUserRepository

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getUser(completion:) + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getUser(completion: @escaping (Result<HyperwalletUser?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshUser() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func refreshUser()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/SelectTransferMethodTypeCoordinator.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/SelectTransferMethodTypeCoordinator.html new file mode 100644 index 000000000..312a740ef --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/SelectTransferMethodTypeCoordinator.html @@ -0,0 +1,587 @@ + + + + SelectTransferMethodTypeCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SelectTransferMethodTypeCoordinator

+
+
+ +
public class SelectTransferMethodTypeCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for SelectTransferMethodType

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/SpinnerView.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/SpinnerView.html new file mode 100644 index 000000000..1656a36a8 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/SpinnerView.html @@ -0,0 +1,457 @@ + + + + SpinnerView Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SpinnerView

+
+
+ +
public final class SpinnerView : UIView
+ +
+
+

Represents Spinner view to be embedded on a view

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(showInView:) + +
    +
    +
    +
    +
    +
    +

    Convenience Initializer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public convenience init(showInView view: UIView)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme.html new file mode 100644 index 000000000..7a1a805b3 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme.html @@ -0,0 +1,772 @@ + + + + Theme Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Theme

+
+
+ +
@objcMembers
+public class Theme : NSObject
+ +
+
+

The Theme is used customize all visual style provided by Hyperwallet UI SDK. +In order to apply a new style changes the method ThemeManager.applyTheme() has to been called.

+ + + +
+
+ +
+
+
+
    +
  • +
    + + + + themeColor + +
    +
    +
    +
    +
    +
    +

    The main color.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var themeColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + tintColor + +
    +
    +
    +
    +
    +
    +

    The tint color.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var tintColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Label + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UILabel.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Label
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NavigationBar + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UINavigationBar.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct NavigationBar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Button + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UIButton.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Button
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Text + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UIText.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Text
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Cell + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UITableViewCell

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Cell
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Icon + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for the Hyperwallet‘s icon.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Icon
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Amount + +
    +
    +
    +
    +
    +
    +

    Representation of all customized visual style property for numbers

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Amount
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UITableViewController + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for UITableViewController.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct UITableViewController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + SpinnerView + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for SpinnerView.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct SpinnerView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ProcessingView + +
    +
    +
    +
    +
    +
    +

    Representation of all customizable visual style property for ProcessingView.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct ProcessingView
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Amount.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Amount.html new file mode 100644 index 000000000..1d4bc3caf --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Amount.html @@ -0,0 +1,484 @@ + + + + Amount Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Amount

+
+
+ +
public struct Amount
+ +
+
+

Representation of all customized visual style property for numbers

+ +
+
+ +
+
+
+
    +
  • +
    + + + + creditColor + +
    +
    +
    +
    +
    +
    +

    The credit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var creditColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debitColor + +
    +
    +
    +
    +
    +
    +

    The debit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var debitColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Button.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Button.html new file mode 100644 index 000000000..5422f6cbc --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Button.html @@ -0,0 +1,565 @@ + + + + Button Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Button

+
+
+ +
public struct Button
+ +
+
+

Representation of all customizable visual style property for UIButton.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    The UIButton primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var color: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + linkColor + +
    +
    +
    +
    +
    +
    +

    The UIButton link color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var linkColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The UIButton background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + linkFont + +
    +
    +
    +
    +
    +
    +

    The UIButton link font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var linkFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + font + +
    +
    +
    +
    +
    +
    +

    The button font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var font: UIFont
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Cell.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Cell.html new file mode 100644 index 000000000..8a8e85344 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Cell.html @@ -0,0 +1,674 @@ + + + + Cell Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Cell

+
+
+ +
public struct Cell
+ +
+
+

Representation of all customizable visual style property for UITableViewCell

+ +
+
+ +
+
+
+
    +
  • +
    + + + + smallHeight + +
    +
    +
    +
    +
    +
    +

    The common UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let smallHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mediumHeight + +
    +
    +
    +
    +
    +
    +

    The common UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let mediumHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + height + +
    +
    +
    +
    +
    +
    +

    The common UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let height: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + largeHeight + +
    +
    +
    +
    +
    +
    +

    The UITableViewCell height for the List transfer method items and +the Select transfer method type items.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let largeHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + headerHeight + +
    +
    +
    +
    +
    +
    +

    The Select transfer method type items header height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let headerHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dividerHeight + +
    +
    +
    +
    +
    +
    +

    The divider UITableViewCell height.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let dividerHeight: CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + tintColor + +
    +
    +
    +
    +
    +
    +

    The UITableViewCell tint color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var tintColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + separatorColor + +
    +
    +
    +
    +
    +
    +

    The UITableViewCell separator color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var separatorColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The UITableViewCell disabled background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var disabledBackgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Icon.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Icon.html new file mode 100644 index 000000000..dfa60d845 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Icon.html @@ -0,0 +1,592 @@ + + + + Icon Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Icon

+
+
+ +
public struct Icon
+ +
+
+

Representation of all customizable visual style property for the Hyperwallet‘s icon.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + size + +
    +
    +
    +
    +
    +
    +

    The icon font size

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let size: Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The add tranfer method icon size

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let addTransferMethodIconSize: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + frame + +
    +
    +
    +
    +
    +
    +

    The icon frame

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let frame: CGSize
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + primaryColor + +
    +
    +
    +
    +
    +
    +

    The icon primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var primaryColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + creditColor + +
    +
    +
    +
    +
    +
    +

    The icon credit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var creditColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debitColor + +
    +
    +
    +
    +
    +
    +

    The icon debit color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var debitColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Label.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Label.html new file mode 100644 index 000000000..a0033ad46 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Label.html @@ -0,0 +1,646 @@ + + + + Label Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Label

+
+
+ +
public struct Label
+ +
+
+

Representation of all customizable visual style property for UILabel.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    The label primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var color: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + errorColor + +
    +
    +
    +
    +
    +
    +

    The color to highlight errors

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var errorColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleColor + +
    +
    +
    +
    +
    +
    +

    The subtitle color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var subtitleColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + textColor + +
    +
    +
    +
    +
    +
    +

    The text color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var textColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleFont + +
    +
    +
    +
    +
    +
    +

    The title font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var titleFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subtitleFont + +
    +
    +
    +
    +
    +
    +

    The subtitle font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var subtitleFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + footnoteFont + +
    +
    +
    +
    +
    +
    +

    The footnote font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var footnoteFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + textSelectionColor + +
    +
    +
    +
    +
    +
    +

    The text selection color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var textSelectionColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/NavigationBar.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/NavigationBar.html new file mode 100644 index 000000000..d85ee865e --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/NavigationBar.html @@ -0,0 +1,647 @@ + + + + NavigationBar Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NavigationBar

+
+
+ +
public struct NavigationBar
+ +
+
+

Representation of all customizable visual style property for UINavigationBar.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + barStyle + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar bar style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var barStyle: UIBarStyle
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isTranslucent + +
    +
    +
    +
    +
    +
    +

    Sets the opaque background color for The UINavigationBar

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var isTranslucent: Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + shadowColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar shadow color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shadowColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + largeTitleColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar large title color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var largeTitleColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar title color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var titleColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + backButtonColor + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar Back Button color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backButtonColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + largeTitleFont + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar large title font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(iOS 11.0, *)
    +public static var largeTitleFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + titleFont + +
    +
    +
    +
    +
    +
    +

    The UINavigationBar title font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var titleFont: UIFont
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/ProcessingView.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/ProcessingView.html new file mode 100644 index 000000000..113566411 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/ProcessingView.html @@ -0,0 +1,484 @@ + + + + ProcessingView Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ProcessingView

+
+
+ +
public struct ProcessingView
+ +
+
+

Representation of all customizable visual style property for ProcessingView.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stateLabelColor + +
    +
    +
    +
    +
    +
    +

    The state label color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var stateLabelColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/SpinnerView.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/SpinnerView.html new file mode 100644 index 000000000..e44ebe431 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/SpinnerView.html @@ -0,0 +1,511 @@ + + + + SpinnerView Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SpinnerView

+
+
+ +
public struct SpinnerView
+ +
+
+

Representation of all customizable visual style property for SpinnerView.

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    The UIActivityIndicatorView style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var activityIndicatorViewStyle: UIActivityIndicatorView.Style
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The UIActivityIndicatorView color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var activityIndicatorViewColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Text.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Text.html new file mode 100644 index 000000000..8197543f3 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/Text.html @@ -0,0 +1,592 @@ + + + + Text Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Text

+
+
+ +
public struct Text
+ +
+
+

Representation of all customizable visual style property for UIText.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + color + +
    +
    +
    +
    +
    +
    +

    The text primary color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var color: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + disabledColor + +
    +
    +
    +
    +
    +
    +

    The text disabled color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var disabledColor: UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + font + +
    +
    +
    +
    +
    +
    +

    The text font style

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var font: UIFont
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create Transfer Amount Font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var createTransferAmountFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + labelFont + +
    +
    +
    +
    +
    +
    +

    The text label font

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var labelFont: UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + labelColor + +
    +
    +
    +
    +
    +
    +

    The text label color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var labelColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/UITableViewController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/UITableViewController.html new file mode 100644 index 000000000..51623c6e1 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/Theme/UITableViewController.html @@ -0,0 +1,457 @@ + + + + UITableViewController Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UITableViewController

+
+
+ +
public struct UITableViewController
+ +
+
+

Representation of all customizable visual style property for UITableViewController.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + backgroundColor + +
    +
    +
    +
    +
    +
    +

    The UITableViewController background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var backgroundColor: UIColor
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ThemeManager.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ThemeManager.html new file mode 100644 index 000000000..2ff1fef5b --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/ThemeManager.html @@ -0,0 +1,593 @@ + + + + ThemeManager Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ThemeManager

+
+
+ +
@objcMembers
+public class ThemeManager : NSObject
+ +
+
+

The ThemeManager class is responsible for applying the visual styles to the Hyperwallet user interface components.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + applyTheme() + +
    +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func applyTheme()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + applyWhiteTheme() + +
    +
    +
    +
    +
    +
    +

    Applies White Theme visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func applyWhiteTheme()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Applies Custom Theme visual styles to the UINavigationBar interface component.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func applyToUINavigationBar()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + applyTransferTheme() + +
    +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func applyTransferTheme()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func applyTransferMethodTheme()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + applyReceiptTheme() + +
    +
    +
    +
    +
    +
    +

    Applies default visual styles to the Hyperwallet user interface components.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func applyReceiptTheme()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/TransferMethodRepositoryFactory.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/TransferMethodRepositoryFactory.html new file mode 100644 index 000000000..cfa61cda4 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/TransferMethodRepositoryFactory.html @@ -0,0 +1,608 @@ + + + + TransferMethodRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodRepositoryFactory

+
+
+ +
public final class TransferMethodRepositoryFactory
+ +
+
+

Class contains methods to get an instance of transfer method repository

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/TransferRepositoryFactory.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/TransferRepositoryFactory.html new file mode 100644 index 000000000..6ff63d344 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/TransferRepositoryFactory.html @@ -0,0 +1,515 @@ + + + + TransferRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferRepositoryFactory

+
+
+ +
public final class TransferRepositoryFactory
+ +
+
+

Class contains methods to get an instance of transfer repository

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the TransferRepositoryFactory object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: TransferRepositoryFactory { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears the TransferRepositoryFactory singleton instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferRepository() + +
    +
    +
    +
    +
    +
    +

    Gets the TransferRepository instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func transferRepository() -> TransferRepository
    + +
    +
    +
    +

    Return Value

    +

    A TransferRepository instance

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/UpdateTransferMethodCoordinator.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/UpdateTransferMethodCoordinator.html new file mode 100644 index 000000000..c790dbee7 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/UpdateTransferMethodCoordinator.html @@ -0,0 +1,587 @@ + + + + UpdateTransferMethodCoordinator Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UpdateTransferMethodCoordinator

+
+
+ +
public class UpdateTransferMethodCoordinator : NSObject, HyperwalletCoordinator
+ +
+
+

Coordinator class for UpdateTransferMethod

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/UserRepositoryFactory.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/UserRepositoryFactory.html new file mode 100644 index 000000000..f1e3fee8b --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Classes/UserRepositoryFactory.html @@ -0,0 +1,515 @@ + + + + UserRepositoryFactory Class Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserRepositoryFactory

+
+
+ +
public final class UserRepositoryFactory
+ +
+
+

Class contains methods to get an instance of user repository

+ +
+
+ +
+
+
+
    +
  • +
    + + + + shared + +
    +
    +
    +
    +
    +
    +

    Returns the previously initialized instance of the RepositoryFactory object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static var shared: UserRepositoryFactory { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clearInstance() + +
    +
    +
    +
    +
    +
    +

    Clears the UserRepositoryFactory singleton instance.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func clearInstance()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + userRepository() + +
    +
    +
    +
    +
    +
    +

    Gets an instance of user repository.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func userRepository() -> UserRepository
    + +
    +
    +
    +

    Return Value

    +

    The UserRepository

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums.html new file mode 100644 index 000000000..0e77984f0 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums.html @@ -0,0 +1,591 @@ + + + + Enumerations Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + UserInfo + +
    +
    +
    +
    +
    +
    +

    The Hyperwallet’s NotificationCenter key to access the information.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum UserInfo : String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Represents the Hyperwallet Icon type

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum HyperwalletIconContent : String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hyperwallet Program Model

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum HyperwalletProgramModel : String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hyperwallet’s enum for the types of coordinators

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum HyperwalletCoordinatorTypes
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Representation of Initialization DataField

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum InitializationDataField : String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + ProcessingState + +
    +
    +
    +
    +
    +
    +

    Hyperwallet’s enum to indicate processing state

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum ProcessingState : CustomStringConvertible
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletCoordinatorTypes.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletCoordinatorTypes.html new file mode 100644 index 000000000..c974f2afd --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletCoordinatorTypes.html @@ -0,0 +1,457 @@ + + + + HyperwalletCoordinatorTypes Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCoordinatorTypes

+
+
+ +
public enum HyperwalletCoordinatorTypes
+ +
+
+

Hyperwallet’s enum for the types of coordinators

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Coordinator for select transfer method type.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case selectTransferMethodType
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletIconContent.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletIconContent.html new file mode 100644 index 000000000..faec1f8c9 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletIconContent.html @@ -0,0 +1,754 @@ + + + + HyperwalletIconContent Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletIconContent

+
+
+ +
public enum HyperwalletIconContent : String
+ +
+
+

Represents the Hyperwallet Icon type

+ +
+
+ +
+
+
+
    +
  • +
    + + + + bankAccount + +
    +
    +
    +
    +
    +
    +

    The icon for Bank Account

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case bankAccount = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addTransferMethod + +
    +
    +
    +
    +
    +
    +

    The icon for add transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case addTransferMethod = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + check + +
    +
    +
    +
    +
    +
    +

    The icon for check type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case check = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debitCredit + +
    +
    +
    +
    +
    +
    +

    The icon for debit and credit card type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case debitCredit = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prepaidCard + +
    +
    +
    +
    +
    +
    +

    The icon for prepaid card type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case prepaidCard = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + wire + +
    +
    +
    +
    +
    +
    +

    The icon for wire transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case wire = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + venmo + +
    +
    +
    +
    +
    +
    +

    The icon for venmo transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case venmo = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + moneygram + +
    +
    +
    +
    +
    +
    +

    The icon for moenygram transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case moneygram = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + paypal + +
    +
    +
    +
    +
    +
    +

    The icon for paypal transfer type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case paypal = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + credit + +
    +
    +
    +
    +
    +
    +

    The credit icon

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case credit = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + debit + +
    +
    +
    +
    +
    +
    +

    The debit icon

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case debit = ""
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + addNewTransferMethod + +
    +
    +
    +
    +
    +
    +

    Add new transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case addNewTransferMethod = ""
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletProgramModel.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletProgramModel.html new file mode 100644 index 000000000..3600d5412 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/HyperwalletProgramModel.html @@ -0,0 +1,535 @@ + + + + HyperwalletProgramModel Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletProgramModel

+
+
+ +
public enum HyperwalletProgramModel : String
+ +
+
+

Hyperwallet Program Model

+ +
+
+ +
+
+
+
    +
  • +
    + + + + walletModel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case walletModel = "WALLET_MODEL"
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pay2CardModel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case pay2CardModel = "PAY2CARD_MODEL"
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cardOnlyModel + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case cardOnlyModel = "CARD_ONLY_MODEL"
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    returns true if Program Model is either pay2Card or CardOnly

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isPay2CardOrCardOnlyModel() -> Bool
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/InitializationDataField.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/InitializationDataField.html new file mode 100644 index 000000000..7303d7254 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/InitializationDataField.html @@ -0,0 +1,889 @@ + + + + InitializationDataField Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InitializationDataField

+
+
+ +
public enum InitializationDataField : String
+ +
+
+

Representation of Initialization DataField

+ +
+
+ +
+
+
+
    +
  • +
    + + + + country + +
    +
    +
    +
    +
    +
    +

    The 2 letter ISO 3166-1 country code.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case country
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + currency + +
    +
    +
    +
    +
    +
    +

    The 3 letter ISO 4217-1 currency code.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case currency
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + profileType + +
    +
    +
    +
    +
    +
    +

    The profile type. Possible values - INDIVIDUAL, BUSINESS.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case profileType
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodTypeCode
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + forceUpdateData + +
    +
    +
    +
    +
    +
    +

    Forces to refresh the cached data.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case forceUpdateData
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + receipt + +
    +
    +
    +
    +
    +
    +

    The receipt

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case receipt
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + clientTransferId + +
    +
    +
    +
    +
    +
    +

    The client TransferId

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case clientTransferId
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + prepaidCardToken + +
    +
    +
    +
    +
    +
    +

    The prepaid token

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case prepaidCardToken
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + sourceToken + +
    +
    +
    +
    +
    +
    +

    The source token

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case sourceToken
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transfer + +
    +
    +
    +
    +
    +
    +

    The transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transfer
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethod + +
    +
    +
    +
    +
    +
    +

    The transfer method like bank account, bank card, PayPal account, prepaid card, paper check

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethod
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + didFxQuoteChange + +
    +
    +
    +
    +
    +
    +

    Boolean value to check whether foreign exchange rate changed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case didFxQuoteChange
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Boolean value to check whether to show all the available sources for receipts/ transfers

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case showAllAvailableSources
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + selectedSourceType + +
    +
    +
    +
    +
    +
    +

    Selected Source Type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case selectedSourceType
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Selected Transfer Source

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case selectedTransferSource
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferSources + +
    +
    +
    +
    +
    +
    +

    Transfer Sources

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferSources
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodToken + +
    +
    +
    +
    +
    +
    +

    Transfer Method Token

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodToken
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/ProcessingState.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/ProcessingState.html new file mode 100644 index 000000000..e7438f816 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/ProcessingState.html @@ -0,0 +1,510 @@ + + + + ProcessingState Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ProcessingState

+
+
+ +
public enum ProcessingState : CustomStringConvertible
+ +
+
+

Hyperwallet’s enum to indicate processing state

+ +
+
+ +
+
+
+
    +
  • +
    + + + + processing + +
    +
    +
    +
    +
    +
    +

    The processing state

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case processing
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + complete + +
    +
    +
    +
    +
    +
    +

    The complete state

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case complete
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var description: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/UserInfo.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/UserInfo.html new file mode 100644 index 000000000..4dd335b16 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Enums/UserInfo.html @@ -0,0 +1,592 @@ + + + + UserInfo Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserInfo

+
+
+ +
public enum UserInfo : String
+ +
+
+

The Hyperwallet’s NotificationCenter key to access the information.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transferMethodAdded + +
    +
    +
    +
    +
    +
    +

    A new transfer method has been added.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodAdded
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodUpdated + +
    +
    +
    +
    +
    +
    +

    A transfer method has been updated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodUpdated
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    A transfer method has been deactivated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferMethodDeactivated
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferCreated + +
    +
    +
    +
    +
    +
    +

    A transfer of funds has been created.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferCreated
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferScheduled + +
    +
    +
    +
    +
    +
    +

    A transfer has been scheduled.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case transferScheduled
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + authenticationError + +
    +
    +
    +
    +
    +
    +

    Authentication error has been occured

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case authenticationError
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions.html new file mode 100644 index 000000000..db82ec299 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions.html @@ -0,0 +1,1454 @@ + + + + Extensions Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+ +
+
+
+
+ + +
+ +

Create transfer table view dataSource +

+
+
+ +
+
+
+ + +
+ +

ListTransferDestinationView delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Transfer method list table view dataSource and delegate

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ListTransferDestinationController
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method list table view dataSource and delegate

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ListTransferSourceController
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Schedule transfer table data source +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ScheduleTransferController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransferAmountCell + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension TransferAmountCell: UITextFieldDelegate
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransferNotesCell + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension TransferNotesCell: UITextFieldDelegate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TableViewController Data source and delegate +

+
+
+ +
+
+
+ + +
+ +

TableViewController Data source +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension CountryCurrencyTableView: UITableViewDataSource
    +
    extension CountryCurrencyTableView: UITableViewDelegate
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TableViewController Data source and delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension UpdateTransferMethodController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Array + +
    +
    +
    +
    +
    +
    +

    The Array extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension Array
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Date + +
    +
    +
    +
    +
    +
    +

    The Date extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension Date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletCountry + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletCountry: GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletCurrency + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletCurrency: GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletFee + +
    +
    +
    +
    +
    +
    +

    The HyperwalletFee extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension HyperwalletFee
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletPrepaidCard
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The HyperwalletTransferMethod extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension HyperwalletTransferMethod: GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The HyperwalletTransferMethodType extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension HyperwalletTransferMethodType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + NSRegularExpression + +
    +
    +
    +
    +
    +
    +

    The NSRegularExpression extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension NSRegularExpression
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Notification + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +
    +
  • +
  • +
    + + + + String + +
    +
    +
    +
    +
    +
    +

    The String extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension String
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The NSMutableAttributedString extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension NSMutableAttributedString
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIAlertAction + +
    +
    +
    +
    +
    +
    +

    The UIAlertAction extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIAlertAction
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIBarButtonItem + +
    +
    +
    +
    +
    +
    +

    The UIBarButtonItem extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIBarButtonItem
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIColor + +
    +
    +
    +
    +
    +
    +

    The UIColor extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIColor
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIFont + +
    +
    +
    +
    +
    +
    +

    The UIFont extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIFont
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIImage + +
    +
    +
    +
    +
    +
    +

    A HyperwalletUI extension to UIImage.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIImage
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UILabel + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension UILabel
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UISearchBar + +
    +
    +
    +
    +
    +
    +

    The UISearchBar extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UISearchBar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIToolbar + +
    +
    +
    +
    +
    +
    +

    The UIToolbar extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIToolbar
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIView + +
    +
    +
    +
    +
    +
    +

    The UIView extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIView
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UIViewController + +
    +
    +
    +
    +
    +
    +

    The UIViewController extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension UIViewController
    +
    extension UIViewController: HyperwalletFlowDelegate
    +
    extension UIViewController: UIAdaptivePresentationControllerDelegate
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The receipt detail controller

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension ReceiptDetailController
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/AddTransferMethodController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/AddTransferMethodController.html new file mode 100644 index 000000000..7d10f8b69 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/AddTransferMethodController.html @@ -0,0 +1,716 @@ + + + + AddTransferMethodController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

AddTransferMethodController

+
+
+ +
extension AddTransferMethodController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the header view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayHeaderView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the title for footer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of row

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns fields count to add transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display’s the fields to add transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Presenter - AddTransferMethodView +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Scrollview delegate

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Tableview delegate for footer view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayFooterView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Array.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Array.html new file mode 100644 index 000000000..ebcfdd292 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Array.html @@ -0,0 +1,530 @@ + + + + Array Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Array

+
+
+ +
public extension Array
+ +
+
+

The Array extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + isNotEmpty + +
    +
    +
    +
    +
    +
    +

    A Boolean value indicating whether the collection is not empty.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var isNotEmpty: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isLast(index:) + +
    +
    +
    +
    +
    +
    +

    Check if the current index is the last element in this array

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isLast(index: Int) -> Bool
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + subscript(safe:) + +
    +
    +
    +
    +
    +
    +

    A safe way to check if element exists in this array

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    subscript(safe index: Index) -> Element? { get }
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + index + + +
    +

    the index of an element

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/CreateTransferController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/CreateTransferController.html new file mode 100644 index 000000000..f20cb777a --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/CreateTransferController.html @@ -0,0 +1,647 @@ + + + + CreateTransferController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

CreateTransferController

+
+
+ +
extension CreateTransferController
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns number of rows

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays cell configuration

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the footer view of tableview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Create transfer table view delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
      +
    • To select the transfer method
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

CreateTransferView implementation +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    To reload create transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Date.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Date.html new file mode 100644 index 000000000..9d784d452 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Date.html @@ -0,0 +1,596 @@ + + + + Date Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Date

+
+
+ +
public extension Date
+ +
+
+

The Date extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + DateFormatMode + +
    +
    +
    +
    +
    +
    +

    The Date type format

    +
    +

    Date

    + The yMMMd format + +
      +
    • dateTime: The yMMMEdjm format
    • +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum DateFormatMode
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Formats date to string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatDateToString(dateFormat: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + dateFormat + + +
    +

    format of the date

    +
    +
    +
    +
    +

    Return Value

    +

    formatted date in string

    +
    +
    +
    +
  • +
  • +
    + + + + firstDayOfMonth() + +
    +
    +
    +
    +
    +
    +

    Returns 1st day of the month

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func firstDayOfMonth() -> Date
    + +
    +
    +
    +

    Return Value

    +

    1st day of the month

    +
    +
    +
    +
  • +
  • +
    + + + + format(for:) + +
    +
    +
    +
    +
    +
    +

    Format date

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func format(for formatMode: DateFormatMode) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + formatMode + + +
    +

    format date/datetime

    +
    +
    +
    +
    +

    Return Value

    +

    formatted date

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Date/DateFormatMode.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Date/DateFormatMode.html new file mode 100644 index 000000000..1f80d1eaf --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Date/DateFormatMode.html @@ -0,0 +1,498 @@ + + + + DateFormatMode Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

DateFormatMode

+
+
+ +
enum DateFormatMode
+ +
+
+

The Date type format

+
+

Date

+ The yMMMd format + +
    +
  • dateTime: The yMMMEdjm format
  • +
+ +
+
+ +
+
+
+
    +
  • +
    + + + + date + +
    +
    +
    +
    +
    +
    +
    +

    Date

    + The yMMMd format + +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + dateTime + +
    +
    +
    +
    +
    +
    + +
      +
    • dateTime: The yMMMEdjm format
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case dateTime
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletCountry.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletCountry.html new file mode 100644 index 000000000..0c725809c --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletCountry.html @@ -0,0 +1,481 @@ + + + + HyperwalletCountry Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCountry

+
+
+ +
extension HyperwalletCountry: GenericCellConfiguration
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletCurrency.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletCurrency.html new file mode 100644 index 000000000..3b708b592 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletCurrency.html @@ -0,0 +1,481 @@ + + + + HyperwalletCurrency Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCurrency

+
+
+ +
extension HyperwalletCurrency: GenericCellConfiguration
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletFee.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletFee.html new file mode 100644 index 000000000..03e9ef321 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletFee.html @@ -0,0 +1,485 @@ + + + + HyperwalletFee Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletFee

+
+
+ +
public extension HyperwalletFee
+ +
+
+

The HyperwalletFee extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + format(fees:) + +
    +
    +
    +
    +
    +
    +

    Formats the Fees to be displayed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func format(fees: [HyperwalletFee]) -> String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + FeeTypes + +
    +
    +
    +
    +
    +
    +

    Represents the fee types

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum FeeTypes
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletFee/FeeTypes.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletFee/FeeTypes.html new file mode 100644 index 000000000..80622c54e --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletFee/FeeTypes.html @@ -0,0 +1,538 @@ + + + + FeeTypes Enumeration Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

FeeTypes

+
+
+ +
enum FeeTypes
+ +
+
+

Represents the fee types

+ +
+
+ +
+
+
+
    +
  • +
    + + + + flat(_:) + +
    +
    +
    +
    +
    +
    +

    Flat fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case flat(_: HyperwalletFee)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + percent(_:) + +
    +
    +
    +
    +
    +
    +

    Percent fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case percent(_: HyperwalletFee)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + mixed(_:_:) + +
    +
    +
    +
    +
    +
    +

    Mixed fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case mixed(_: HyperwalletFee, _: HyperwalletFee)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + noFee + +
    +
    +
    +
    +
    +
    +

    No Fee

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noFee
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletPrepaidCard.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletPrepaidCard.html new file mode 100644 index 000000000..0b9ea4743 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletPrepaidCard.html @@ -0,0 +1,456 @@ + + + + HyperwalletPrepaidCard Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletPrepaidCard

+
+
+ +
extension HyperwalletPrepaidCard
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Formatted Card Brand and Card Number, eg: Visa •••• 1234

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var formattedCardBrandCardNumber: String? { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletTransferMethod.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletTransferMethod.html new file mode 100644 index 000000000..5940114e9 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletTransferMethod.html @@ -0,0 +1,513 @@ + + + + HyperwalletTransferMethod Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletTransferMethod

+
+
+ +
extension HyperwalletTransferMethod: GenericCellConfiguration
+ +
+
+

The HyperwalletTransferMethod extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var value: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + isPrepaidCard() + +
    +
    +
    +
    +
    +
    +

    Checking for transfer method is prepaid card or not

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isPrepaidCard() -> Bool
    + +
    +
    +
    +

    Return Value

    +

    True if transfer method is prepaid card

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletTransferMethodType.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletTransferMethodType.html new file mode 100644 index 000000000..52b1b2dc6 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/HyperwalletTransferMethodType.html @@ -0,0 +1,466 @@ + + + + HyperwalletTransferMethodType Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletTransferMethodType

+
+
+ +
public extension HyperwalletTransferMethodType
+ +
+
+

The HyperwalletTransferMethodType extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Formats the fee processing time

    + +
      +
    • font: The font type applied to attributed text
    • +
    • color: The color applied to attributed text
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatFeesProcessingTime(font: UIFont, color: UIColor) -> NSAttributedString
    + +
    +
    +
    +

    Return Value

    +

    an NSAttributedString

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferDestinationController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferDestinationController.html new file mode 100644 index 000000000..f8b5ca830 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferDestinationController.html @@ -0,0 +1,601 @@ + + + + ListTransferDestinationController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferDestinationController

+
+
+ +
extension ListTransferDestinationController
+ +
+
+

Transfer method list table view dataSource and delegate

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select the transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

ListTransferDestinationView delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    The callback to refresh create transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferMethodCell.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferMethodCell.html new file mode 100644 index 000000000..abe766637 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferMethodCell.html @@ -0,0 +1,475 @@ + + + + ListTransferMethodCell Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferMethodCell

+
+
+ +
extension ListTransferMethodCell
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Fill ListTransferMethodCell related fields

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func configure(transferMethod: HyperwalletTransferMethod)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + transferMethod + + +
    +

    a transfer method which contains the info needs to be filled to the cell.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferMethodController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferMethodController.html new file mode 100644 index 000000000..f8110c74e --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferMethodController.html @@ -0,0 +1,456 @@ + + + + ListTransferMethodController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferMethodController

+
+
+ +
extension ListTransferMethodController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    The callback to refresh transfer method list

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferSourceController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferSourceController.html new file mode 100644 index 000000000..280eb52cf --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ListTransferSourceController.html @@ -0,0 +1,588 @@ + + + + ListTransferSourceController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ListTransferSourceController

+
+
+ +
extension ListTransferSourceController
+ +
+
+

Transfer method list table view dataSource and delegate

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select the transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    The callback to refresh create transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/NSMutableAttributedString.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/NSMutableAttributedString.html new file mode 100644 index 000000000..af9b9458c --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/NSMutableAttributedString.html @@ -0,0 +1,585 @@ + + + + NSMutableAttributedString Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NSMutableAttributedString

+
+
+ +
public extension NSMutableAttributedString
+ +
+
+

The NSMutableAttributedString extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Creates and appends a NSAttributedString

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func append(value: String, font: UIFont, color: UIColor)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + value + + +
    +

    the string value

    +
    +
    + + font + + +
    +

    the UIFont

    +
    +
    + + color + + +
    +

    the UIColor

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Creates and appends a paragraph of NSAttributedString

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func appendParagraph(value: String,
    +                     font: UIFont,
    +                     color: UIColor,
    +                     alignment: NSTextAlignment = .natural)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + value + + +
    +

    the string value

    +
    +
    + + font + + +
    +

    the UIFont

    +
    +
    + + color + + +
    +

    the UIColor

    +
    +
    + + alignment + + +
    +

    the NSTextAlignment

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/NSRegularExpression.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/NSRegularExpression.html new file mode 100644 index 000000000..d1762d510 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/NSRegularExpression.html @@ -0,0 +1,526 @@ + + + + NSRegularExpression Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

NSRegularExpression

+
+
+ +
public extension NSRegularExpression
+ +
+
+

The NSRegularExpression extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + init(_:) + +
    +
    +
    +
    +
    +
    +

    Initializer to initialize regular expression with some pattern

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(_ pattern: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + pattern + + +
    +

    regular expression pattern

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + matches(_:) + +
    +
    +
    +
    +
    +
    +

    checks if the String matches the regular expression or not

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func matches(_ string: String) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + string + + +
    +

    String to be matched

    +
    +
    +
    +
    +

    Return Value

    +

    true if String matches the pattern else returns false

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Notification.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Notification.html new file mode 100644 index 000000000..b3f18c50d --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Notification.html @@ -0,0 +1,450 @@ + + + + Notification Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Notification

+ +
+
+ +
+
+
+
    +
  • +
    + + + + Name + +
    +
    +
    +
    +
    +
    +

    The Notification extension

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public extension Notification.Name
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Notification/Name.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Notification/Name.html new file mode 100644 index 000000000..358808cdf --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/Notification/Name.html @@ -0,0 +1,595 @@ + + + + Name Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Name

+
+
+ +
public extension Notification.Name
+ +
+
+

The Notification extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + transferMethodAdded + +
    +
    +
    +
    +
    +
    +

    Posted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo) +has been created.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferMethodAdded: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodUpdated + +
    +
    +
    +
    +
    +
    +

    Posted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo) +has been updated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferMethodUpdated: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Posted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check) +has been deactivated.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferMethodDeactivated: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferCreated + +
    +
    +
    +
    +
    +
    +

    Posted when a transfer of funds has been created.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferCreated: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferScheduled + +
    +
    +
    +
    +
    +
    +

    Posted when a transfer has been scheduled

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var transferScheduled: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + authenticationError + +
    +
    +
    +
    +
    +
    +

    Posted when authentication error occurs

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var authenticationError: Notification.Name { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ReceiptDetailController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ReceiptDetailController.html new file mode 100644 index 000000000..cce29575f --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ReceiptDetailController.html @@ -0,0 +1,592 @@ + + + + ReceiptDetailController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ReceiptDetailController

+
+
+ +
extension ReceiptDetailController
+ +
+
+

The receipt detail controller

+ +
+
+ +
+
+
+
    +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the count of receipt detail fields

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display the receipt details

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimated height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               estimatedHeightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ScheduleTransferController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ScheduleTransferController.html new file mode 100644 index 000000000..489e89f37 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/ScheduleTransferController.html @@ -0,0 +1,592 @@ + + + + ScheduleTransferController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

ScheduleTransferController

+
+
+ +
extension ScheduleTransferController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Estimated height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               estimatedHeightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns number of rows

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Displays cell configuration

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the footer view of tableview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/SelectTransferMethodTypeController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/SelectTransferMethodTypeController.html new file mode 100644 index 000000000..30649364f --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/SelectTransferMethodTypeController.html @@ -0,0 +1,631 @@ + + + + SelectTransferMethodTypeController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

SelectTransferMethodTypeController

+
+
+ +
extension SelectTransferMethodTypeController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns transfer method count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display transfer methods

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

TableViewController delegate +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of headerview

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    To select transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    This function will navigate back from next page and pass the control back to it’s caller

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/String.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/String.html new file mode 100644 index 000000000..3525c0bbe --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/String.html @@ -0,0 +1,705 @@ + + + + String Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

String

+
+
+ +
public extension String
+ +
+
+

The String extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns a localized string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func localized(withComment: String? = nil) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + withComment + + +
    +

    Comment for localization.

    +
    +
    +
    +
    +

    Return Value

    +

    Returns a substring

    +
    +
    +
    +
  • +
  • +
    + + + + suffix(startAt:) + +
    +
    +
    +
    +
    +
    +

    Returns a string, up to the given maximum length, containing the +final elements of the collection.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func suffix(startAt: Int) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + startAt + + +
    +

    The start character of elements to get the suffix string.

    +
    +
    +
    +
    +

    Return Value

    +

    Returns a substring

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Calculates the string height based on UIFont

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + width + + +
    +

    the UIView width

    +
    +
    + + font + + +
    +

    the UIFont

    +
    +
    +
    +
    +

    Return Value

    +

    the String height

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount to double

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatAmountToDouble() -> Double
    + +
    +
    +
    +

    Return Value

    +

    double value

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get FX Rate with four decimal

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getFxRateWithFourDecimal() -> String
    + +
    +
    +
    +

    Return Value

    +

    return string with four decimal

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code using users locale

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatToCurrency(with currencyCode: String?) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIAlertAction.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIAlertAction.html new file mode 100644 index 000000000..b10ae61f0 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIAlertAction.html @@ -0,0 +1,901 @@ + + + + UIAlertAction Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIAlertAction

+
+
+ +
public extension UIAlertAction
+ +
+
+

The UIAlertAction extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + cancel + +
    +
    +
    +
    +
    +
    +

    The default cancel button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let cancel: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + retry + +
    +
    +
    +
    +
    +
    +

    The default retry button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let retry: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + close + +
    +
    +
    +
    +
    +
    +

    The default close button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let close: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + remove + +
    +
    +
    +
    +
    +
    +

    The default remove button label

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static let remove: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + cancel(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a cancel alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func cancel(_ handler: ((UIAlertAction) -> Void)? = nil) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    if provided, will be invoked after the cancel button is clicked

    +
    +
    +
    +
    +

    Return Value

    +

    a cancel alert action

    +
    +
    +
    +
  • +
  • +
    + + + + cancel(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a cancel alert action with pop back functionality

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func cancel(_ viewController: UIViewController) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + viewController + + +
    +

    a view needs to show the alert dialog

    +
    +
    +
    +
    +

    Return Value

    +

    a cancel alert action with a pop back handler

    +
    +
    +
    +
  • +
  • +
    + + + + close(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a close alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func close(_ handler: ((UIAlertAction) -> Void)? = nil) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    if provided, will be invoked after the close button is clicked

    +
    +
    +
    +
    +

    Return Value

    +

    a close alert action

    +
    +
    +
    +
  • +
  • +
    + + + + close(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a close alert action with pop back functionality

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func close(_ viewController: UIViewController) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + viewController + + +
    +

    a view needs to show the alert dialog

    +
    +
    +
    +
    +

    Return Value

    +

    a close alert action with a pop back handler

    +
    +
    +
    +
  • +
  • +
    + + + + remove(_:_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a remove alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func remove(_ handler: @escaping (UIAlertAction) -> Void,
    +                   _ title: String = UIAlertAction.remove) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + handler + + +
    +

    will be invoked after the remove button is clicked

    +
    +
    + + title + + +
    +

    a string value of the alert action

    +
    +
    +
    +
    +

    Return Value

    +

    a remove alert action

    +
    +
    +
    +
  • +
  • +
    + + + + retry(_:) + +
    +
    +
    +
    +
    +
    +

    Initialize a retry alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func retry(_ handler: ((UIAlertAction) -> Void)? = nil) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + handler + + +
    +

    if provided, will be invoked after the retry button is clicked

    +
    +
    +
    +
    +

    Return Value

    +

    a confirm retry action

    +
    +
    +
    +
  • +
  • +
    + + + + addIcon(imageName:) + +
    +
    +
    +
    +
    +
    +

    Add an icon image on this alert action

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func addIcon(imageName: String) -> UIAlertAction
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + imageName + + +
    +

    The image name

    +
    +
    +
    +
    +

    Return Value

    +

    An alert action with an icon

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIBarButtonItem.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIBarButtonItem.html new file mode 100644 index 000000000..f8f88a34b --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIBarButtonItem.html @@ -0,0 +1,457 @@ + + + + UIBarButtonItem Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIBarButtonItem

+
+
+ +
public extension UIBarButtonItem
+ +
+
+

The UIBarButtonItem extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + back + +
    +
    +
    +
    +
    +
    +

    Override the text of back button

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var back: UIBarButtonItem
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIColor.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIColor.html new file mode 100644 index 000000000..1a4419796 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIColor.html @@ -0,0 +1,570 @@ + + + + UIColor Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIColor

+
+
+ +
public extension UIColor
+ +
+
+

The UIColor extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Inits based on the RBG values

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(red: Int, green: Int, blue: Int, alpha: CGFloat = 1.0)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + red + + +
    +

    the red value

    +
    +
    + + green + + +
    +

    the green value

    +
    +
    + + blue + + +
    +

    the blue value

    +
    +
    + + alpha + + +
    +

    the alpha value

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + init(rgb:alpha:) + +
    +
    +
    +
    +
    +
    +

    Inits based on the RBG values

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    convenience init(rgb: Int, alpha: CGFloat = 1.0)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + rgb + + +
    +

    the RGB int value

    +
    +
    + + alpha + + +
    +

    the alpha value

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIFont.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIFont.html new file mode 100644 index 000000000..b77ccec69 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIFont.html @@ -0,0 +1,515 @@ + + + + UIFont Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIFont

+
+
+ +
public extension UIFont
+ +
+
+

The UIFont extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + register(_:type:) + +
    +
    +
    +
    +
    +
    +

    To register UIFont

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func register(_ fileName: String, type: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + fileName + + +
    +

    String

    +
    +
    + + type + + +
    +

    String

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + isLargeSizeCategory + +
    +
    +
    +
    +
    +
    +

    Indicates if current preferred content size category belongs to large or not

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static var isLargeSizeCategory: Bool { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIImage.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIImage.html new file mode 100644 index 000000000..859e32c29 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIImage.html @@ -0,0 +1,756 @@ + + + + UIImage Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIImage

+
+
+ +
public extension UIImage
+ +
+
+

A HyperwalletUI extension to UIImage.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + fontIcon(_:_:_:_:) + +
    +
    +
    +
    +
    +
    +

    Get an icon image with the given icon name, text color, size and background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func fontIcon(_ name: String,
    +                     _ iconSize: CGSize,
    +                     _ fontSize: CGFloat,
    +                     _ textColor: UIColor) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + name + + +
    +

    The preferred HyperwalletIconContent.

    +
    +
    + + iconSize + + +
    +

    The image size

    +
    +
    + + fontSize + + +
    +

    The font size of the icon

    +
    +
    + + textColor + + +
    +

    The text color (optional).

    +
    +
    +
    +
    +

    Return Value

    +

    A string that will appear as icon

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create Background Pattern

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func createBackgroundPattern(color: UIColor, size: CGSize, cornerRadius: Int) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + color + + +
    +

    UIColor

    +
    +
    + + size + + +
    +

    CGSize

    +
    +
    + + cornerRadius + + +
    +

    Int

    +
    +
    +
    +
    +

    Return Value

    +

    UIImage

    +
    +
    +
    +
  • +
  • +
    + + + + fontIcon(_:_:_:_:) + +
    +
    +
    +
    +
    +
    +

    Get an icon image with the given icon name, text color, size and background color

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func fontIcon(_ name: String,
    +                     _ iconSize: CGSize,
    +                     _ fontSize: CGFloat,
    +                     _ textColor: UIColor) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + name + + +
    +

    The preferred HyperwalletIconContent.

    +
    +
    + + iconSize + + +
    +

    The image size

    +
    +
    + + fontSize + + +
    +

    The font size of the icon

    +
    +
    + + textColor + + +
    +

    The text color (optional).

    +
    +
    +
    +
    +

    Return Value

    +

    A string that will appear as icon

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Create Background Pattern

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    static func createBackgroundPattern(color: UIColor, size: CGSize, cornerRadius: Int) -> UIImage
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + color + + +
    +

    UIColor

    +
    +
    + + size + + +
    +

    CGSize

    +
    +
    + + cornerRadius + + +
    +

    Int

    +
    +
    +
    +
    +

    Return Value

    +

    UIImage

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UILabel.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UILabel.html new file mode 100644 index 000000000..5ede685f6 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UILabel.html @@ -0,0 +1,482 @@ + + + + UILabel Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UILabel

+
+
+ +
extension UILabel
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override open var canBecomeFirstResponder: Bool { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + allowTextSelection() + +
    +
    +
    +
    +
    +
    +

    Allow text selection

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func allowTextSelection()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UISearchBar.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UISearchBar.html new file mode 100644 index 000000000..1d032d2c5 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UISearchBar.html @@ -0,0 +1,457 @@ + + + + UISearchBar Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UISearchBar

+
+
+ +
public extension UISearchBar
+ +
+
+

The UISearchBar extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + setLeftAlignment() + +
    +
    +
    +
    +
    +
    +

    Setup text alignment to the left

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setLeftAlignment()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIToolbar.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIToolbar.html new file mode 100644 index 000000000..6c57ce2d3 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIToolbar.html @@ -0,0 +1,488 @@ + + + + UIToolbar Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIToolbar

+
+
+ +
public extension UIToolbar
+ +
+
+

The UIToolbar extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Setup toolbar

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setupToolBar(target: UIView, action: Selector?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + target + + +
    +

    UIView

    +
    +
    + + action + + +
    +

    action to be performed on toolbar

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIView.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIView.html new file mode 100644 index 000000000..acccecbe5 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIView.html @@ -0,0 +1,715 @@ + + + + UIView Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIView

+
+
+ +
public extension UIView
+ +
+
+

The UIView extension

+ +
+
+ +
+
+
+
    +
  • +
    + + + + safeAreaTopAnchor + +
    +
    +
    +
    +
    +
    +

    Top Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaTopAnchor: NSLayoutYAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaCenterYAnchor + +
    +
    +
    +
    +
    +
    +

    CenterY Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaCenterYAnchor: NSLayoutYAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaCenterXAnchor + +
    +
    +
    +
    +
    +
    +

    CenterX Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaCenterXAnchor: NSLayoutXAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaBottomAnchor + +
    +
    +
    +
    +
    +
    +

    Bottom Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaBottomAnchor: NSLayoutYAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + safeAreaLeadingAnchor + +
    +
    +
    +
    +
    +
    +

    Leading Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaLeadingAnchor: NSLayoutXAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Trailing Anchor

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var safeAreaTrailingAnchor: NSLayoutXAxisAnchor { get }
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Setups the empty list with message

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func setUpEmptyListLabel(text: String) -> UILabel
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + text + + +
    +

    the string description

    +
    +
    +
    +
    +

    Return Value

    +

    the UILabel instance

    +
    +
    +
    +
  • +
  • +
    + + + + isSeparatorView() + +
    +
    +
    +
    +
    +
    +

    Check if current view is UITableViewCellSeparatorView

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func isSeparatorView() -> Bool
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Adjust segment titles width

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class func adjustWidthOfSegmentTitles(view: UIView)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + view + + +
    +

    Segmented Controller

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIViewController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIViewController.html new file mode 100644 index 000000000..d2ec0562c --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UIViewController.html @@ -0,0 +1,761 @@ + + + + UIViewController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UIViewController

+
+
+ +
public extension UIViewController
+
extension UIViewController: HyperwalletFlowDelegate
+
extension UIViewController: UIAdaptivePresentationControllerDelegate
+ +
+
+

The UIViewController extension

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    To set the display mode for large titles

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func titleDisplayMode(_ mode: UINavigationItem.LargeTitleDisplayMode, for title: String?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + mode + + +
    +

    UINavigationItem.LargeTitleDisplayMode

    +
    +
    + + title + + +
    +

    title displayed

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Hide keyboard when tapped around on the screen

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func hideKeyboardWhenTappedAround()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc
    +open func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + flowDelegate + +
    +
    +
    +
    +
    +
    +

    The reference to call didFlowComplete

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public weak var flowDelegate: HyperwalletFlowDelegate? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + coordinator + +
    +
    +
    +
    +
    +
    +

    The reference to start/navigate Hyperwallet UI SDK flow

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var coordinator: HyperwalletCoordinator? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + initializationData + +
    +
    +
    +
    +
    +
    +

    Data required to initialize a flow (render UI screen)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var initializationData: [InitializationDataField : Any]? { get set }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + removeCoordinator() + +
    +
    +
    +
    +
    +
    +

    Removes the current coordinator while moving back

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeCoordinator()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + removeFlowDelegate() + +
    +
    +
    +
    +
    +
    +

    Removes the current flow delegate while moving back

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeFlowDelegate()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Removes the current coordinator while moving back

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeInitializedData()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Removes all coordinators

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeAllCoordinators()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Removes the current coordinator after dismissing the Controller

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UpdateTransferMethodController.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UpdateTransferMethodController.html new file mode 100644 index 000000000..b06c9cde1 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Extensions/UpdateTransferMethodController.html @@ -0,0 +1,716 @@ + + + + UpdateTransferMethodController Extension Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UpdateTransferMethodController

+
+
+ +
extension UpdateTransferMethodController
+ +
+
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the title for header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the header view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayHeaderView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the title for footer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String?
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the height of header

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns height of row

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + numberOfSections(in:) + +
    +
    +
    +
    +
    +
    +

    Returns tableview section count

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func numberOfSections(in tableView: UITableView) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns fields count to update transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display’s the fields to update transfer method

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    + +
    +
    +
    +
    +
  • +
+
+
+
+ + +
+ +

Presenter - UpdateTransferMethodView +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Scrollview delegate

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Tableview delegate for footer view

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    override public func tableView(_ tableView: UITableView,
    +                               willDisplayFooterView view: UIView,
    +                               forSection section: Int)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Guides.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Guides.html new file mode 100644 index 000000000..96282251c --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Guides.html @@ -0,0 +1,441 @@ + + + + Guides Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Guides

+

The following guides are available globally.

+ +
+
+ +
+
+
+ +
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols.html new file mode 100644 index 000000000..77f2e180b --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols.html @@ -0,0 +1,759 @@ + + + + Protocols Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Protocols

+

The following protocols are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + UserRepository + +
    +
    +
    +
    +
    +
    +

    User repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol UserRepository
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + TransferRepository + +
    +
    +
    +
    +
    +
    +

    Transfer repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferRepository
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + PrepaidCardRepository + +
    +
    +
    +
    +
    +
    +

    Prepaid Card repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol PrepaidCardRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method configuration repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferMethodConfigurationRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferMethodRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Transfer method configuration repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol TransferMethodUpdateConfigurationRepository
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Represents the data displayed in the selection screens (like country, currency)

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol GenericCellConfiguration
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol to start/navigate Hyperwallet UI SDK flow

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol HyperwalletCoordinator
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Flow complete protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol HyperwalletFlowDelegate : AnyObject
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Protocol for HyperwalletInsights

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol HyperwalletInsightsProtocol : AnyObject
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Prepaid card receipt repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol PrepaidCardReceiptRepository
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + UserReceiptRepository + +
    +
    +
    +
    +
    +
    +

    User receipt repository protocol

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol UserReceiptRepository
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/GenericCellConfiguration.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/GenericCellConfiguration.html new file mode 100644 index 000000000..a40cec9ab --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/GenericCellConfiguration.html @@ -0,0 +1,514 @@ + + + + GenericCellConfiguration Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

GenericCellConfiguration

+
+
+ +
public protocol GenericCellConfiguration
+ +
+
+

Represents the data displayed in the selection screens (like country, currency)

+ +
+
+ +
+
+
+
    +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    The title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var title: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + value + +
    +
    +
    +
    +
    +
    +

    The value

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    var value: String? { get }
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + identifier + + + Extension method + +
    +
    +
    +
    +
    +
    +

    The cell identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var identifier: String { get }
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletCoordinator.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletCoordinator.html new file mode 100644 index 000000000..8d32d2556 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletCoordinator.html @@ -0,0 +1,592 @@ + + + + HyperwalletCoordinator Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletCoordinator

+
+
+ +
public protocol HyperwalletCoordinator
+ +
+
+

Protocol to start/navigate Hyperwallet UI SDK flow

+ +
+
+ +
+
+
+
    +
  • +
    + + + + applyTheme() + +
    +
    +
    +
    +
    +
    +

    Apply Theme

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func applyTheme()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getController() + +
    +
    +
    +
    +
    +
    +

    Get the current Controller class for the Coordinator

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getController() -> UITableViewController
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + navigate() + +
    +
    +
    +
    +
    +
    +

    Navigate to the flow

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func navigate()
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Navigate to next page from the current flow

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func navigateToNextPage(initializationData: [InitializationDataField : Any]?)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Navigate back from the next page to either current flow or parent flow.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func navigateBackFromNextPage(with response: Any)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Start the coordinator

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func start(initializationData: [InitializationDataField : Any]?, parentController: UIViewController)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletFlowDelegate.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletFlowDelegate.html new file mode 100644 index 000000000..702140700 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletFlowDelegate.html @@ -0,0 +1,457 @@ + + + + HyperwalletFlowDelegate Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletFlowDelegate

+
+
+ +
public protocol HyperwalletFlowDelegate : AnyObject
+ +
+
+

Flow complete protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Protocol method to be called after flow completes

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func didFlowComplete(with response: Any)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletInsightsProtocol.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletInsightsProtocol.html new file mode 100644 index 000000000..55948fe18 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/HyperwalletInsightsProtocol.html @@ -0,0 +1,652 @@ + + + + HyperwalletInsightsProtocol Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletInsightsProtocol

+
+
+ +
public protocol HyperwalletInsightsProtocol : AnyObject
+ +
+
+

Protocol for HyperwalletInsights

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Track Clicks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func trackClick(pageName: String, pageGroup: String, link: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page

    +
    +
    + + pageGroup + + +
    +

    Page group name

    +
    +
    + + link + + +
    +

    The link clicked - example : select-transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Impressions

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func trackImpression(pageName: String, pageGroup: String, params: [String : String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + params + + +
    +

    A list of other information to be tracked - example : country,currency

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Track Error

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func trackError(pageName: String, pageGroup: String, errorInfo: ErrorInfo)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + pageName + + +
    +

    Name of the page - example : transfer-method:add:select-transfer-method

    +
    +
    + + pageGroup + + +
    +

    Page group name - example : transfer-method

    +
    +
    + + errorInfo + + +
    +

    The ErrorInfo structure is used to describe an occurred error

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/PrepaidCardReceiptRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/PrepaidCardReceiptRepository.html new file mode 100644 index 000000000..ddb81aa75 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/PrepaidCardReceiptRepository.html @@ -0,0 +1,491 @@ + + + + PrepaidCardReceiptRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PrepaidCardReceiptRepository

+
+
+ +
public protocol PrepaidCardReceiptRepository
+ +
+
+

Prepaid card receipt repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the list of receipts for the User associated with the Prepaid card token.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listPrepaidCardReceipts(
    +    prepaidCardToken: String,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>)
    +    -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + prepaidCardToken + + +
    +

    the prepaid card token

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/PrepaidCardRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/PrepaidCardRepository.html new file mode 100644 index 000000000..b18a0edcf --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/PrepaidCardRepository.html @@ -0,0 +1,541 @@ + + + + PrepaidCardRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

PrepaidCardRepository

+
+
+ +
public protocol PrepaidCardRepository
+ +
+
+

Prepaid Card repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    List Prepaid cards

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listPrepaidCards(queryParam: HyperwalletPrepaidCardQueryParam,
    +                      completion: @escaping (Result<HyperwalletPageList<HyperwalletPrepaidCard>?,
    +HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get Prepaid card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getPrepaidCard(token: String, completion: @escaping (Result < HyperwalletPrepaidCard?,
    +    HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCard() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Card

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshPrepaidCard()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshPrepaidCards() + +
    +
    +
    +
    +
    +
    +

    Refreshes Prepaid Cards

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshPrepaidCards()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodConfigurationRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodConfigurationRepository.html new file mode 100644 index 000000000..90dc93ecf --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodConfigurationRepository.html @@ -0,0 +1,593 @@ + + + + TransferMethodConfigurationRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodConfigurationRepository

+
+
+ +
public protocol TransferMethodConfigurationRepository
+ +
+
+

Transfer method configuration repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gets the transfer method fields based on the parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getFields(
    +    _ country: String,
    +    _ currency: String,
    +    _ transferMethodType: String,
    +    _ transferMethodProfileType: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationField?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + getKeys(completion:) + +
    +
    +
    +
    +
    +
    +

    Gets the transfer method configuration keys

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getKeys(
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Retrieve the transfer method types and their fees and processing times based on the parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getTransferMethodTypesFeesAndProcessingTimes(
    +    country: String,
    +    currency: String,
    +    completion: @escaping (Result<HyperwalletTransferMethodConfigurationKey?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshFields() + +
    +
    +
    +
    +
    +
    +

    Refreshes the transfer method fields

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshFields()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshKeys() + +
    +
    +
    +
    +
    +
    +

    Refreshes the transfer method keys

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshKeys()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodRepository.html new file mode 100644 index 000000000..5b3d51f77 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodRepository.html @@ -0,0 +1,704 @@ + + + + TransferMethodRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodRepository

+
+
+ +
public protocol TransferMethodRepository
+ +
+
+

Transfer method repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Creates a HyperwalletTransferMethod for the User associated with the authentication token returned from +HyperwalletAuthenticationTokenProvider.retrieveAuthenticationToken(_ : @escaping CompletionHandler).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransferMethod(
    +    _ transferMethod: HyperwalletTransferMethod,
    +    _ completion: @escaping (Result<HyperwalletTransferMethod?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transferMethod + + +
    +

    the HyperwalletTransferMethod being created

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Deactivates the HyperwalletTransferMethod linked to the transfer method token specified. The +HyperwalletTransferMethod being deactivated must belong to the User that is associated with the +authentication token returned from +HyperwalletAuthenticationTokenProvider.retrieveAuthenticationToken(_ : @escaping CompletionHandler).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func deactivateTransferMethod(
    +    _ transferMethod: HyperwalletTransferMethod,
    +    _ completion: @escaping (Result<HyperwalletStatusTransition?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transferMethod + + +
    +

    the HyperwalletTransferMethod being deactivated

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Returns the HyperwalletPageList<HyperwalletTransferMethod> (Bank Account, Bank Card, PayPay Account, +Prepaid Card, Paper Checks,Venmo Account), or nil if non exist.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listTransferMethods(
    +    _ completion: @escaping (Result<HyperwalletPageList<HyperwalletTransferMethod>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + queryParam + + +
    +

    the ordering and filtering criteria

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    updates the HyperwalletTransferMethod linked to the transfer method token specified. The +HyperwalletTransferMethod being updated must belong to the User that is associated with the +authentication token returned from +HyperwalletAuthenticationTokenProvider.retrieveAuthenticationToken(_ : @escaping CompletionHandler).

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func updateTransferMethods(
    +    _ transferMethod: HyperwalletTransferMethod,
    +    _ completion: @escaping (Result<HyperwalletTransferMethod?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transferMethod + + +
    +

    the HyperwalletTransferMethod being updated

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Refreshes transfer methods

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshTransferMethods()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodUpdateConfigurationRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodUpdateConfigurationRepository.html new file mode 100644 index 000000000..65a10759b --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferMethodUpdateConfigurationRepository.html @@ -0,0 +1,460 @@ + + + + TransferMethodUpdateConfigurationRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferMethodUpdateConfigurationRepository

+
+
+ +
public protocol TransferMethodUpdateConfigurationRepository
+ +
+
+

Transfer method configuration repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Gets the transfer method update fields based on the parameters

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getFields(
    +    _ transferMethodToken: String,
    +    completion: @escaping (Result < HyperwalletTransferMethodUpdateConfigurationField?,
    +    HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferRepository.html new file mode 100644 index 000000000..9d64bdb21 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/TransferRepository.html @@ -0,0 +1,548 @@ + + + + TransferRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

TransferRepository

+
+
+ +
public protocol TransferRepository
+ +
+
+

Transfer repository protocol

+ +
+
+ +
+
+
+
    +
  • +
    + + + + createTransfer(_:_:) + +
    +
    +
    +
    +
    +
    +

    Create a transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func createTransfer(_ transfer: HyperwalletTransfer,
    +                    _ completion: @escaping (Result<HyperwalletTransfer?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transfer + + +
    +

    the HyperwalletTransfer being created

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Schedule a transfer

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func scheduleTransfer(_ transfer: HyperwalletTransfer,
    +                      _ completion: @escaping (Result<HyperwalletStatusTransition?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + transfer + + +
    +

    the transfer that was previously created

    +
    +
    + + completion + + +
    +

    the callback handler of responses from the Hyperwallet platform

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/UserReceiptRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/UserReceiptRepository.html new file mode 100644 index 000000000..e59ccdc2e --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/UserReceiptRepository.html @@ -0,0 +1,505 @@ + + + + UserReceiptRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserReceiptRepository

+
+
+ +
public protocol UserReceiptRepository
+ +
+
+

User receipt repository protocol

+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Returns the list of receipts for the User associated with the authentication token.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func listUserReceipts(
    +    offset: Int,
    +    limit: Int,
    +    completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + offset + + +
    +

    The number of records to skip. If no filters are applied, records will be skipped from the + beginning (based on default sort criteria). Range is from 0 to {n-1} where + n = number of matching records for the query.

    +
    +
    + + limit + + +
    +

    The maximum number of records that will be returned per page.

    +
    +
    + + completion + + +
    +

    The callback handler of responses from the Hyperwallet platform.

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/UserRepository.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/UserRepository.html new file mode 100644 index 000000000..ca662770d --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Protocols/UserRepository.html @@ -0,0 +1,488 @@ + + + + UserRepository Protocol Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

UserRepository

+
+
+ +
public protocol UserRepository
+ +
+
+

User repository protocol

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getUser(completion:) + +
    +
    +
    +
    +
    +
    +

    Gets the user

    + +
      +
    • completion: the callback handler of responses from the Hyperwallet platform
    • +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func getUser(completion: @escaping (Result<HyperwalletUser?, HyperwalletErrorType>) -> Void)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + refreshUser() + +
    +
    +
    +
    +
    +
    +

    Refreshes user

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func refreshUser()
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs.html new file mode 100644 index 000000000..d6f6345c2 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs.html @@ -0,0 +1,560 @@ + + + + Structures Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Structures

+

The following structures are available globally.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + CurrencyData + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CurrencyData : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Currency + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Currency : Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + CurrencyFormatter + +
    +
    +
    +
    +
    +
    +

    Currency Formatter

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct CurrencyFormatter
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + HyperwalletUtilViews + +
    +
    +
    +
    +
    +
    +

    Displays the common UI Views - Alerts and Spinners

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct HyperwalletUtilViews
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + InsightsTags + +
    +
    +
    +
    +
    +
    +

    Representation of Insights API Tags property for InsightsTags.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct InsightsTags
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/Currency.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/Currency.html new file mode 100644 index 000000000..02e5dc291 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/Currency.html @@ -0,0 +1,455 @@ + + + + Currency Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

Currency

+
+
+ +
public struct Currency : Decodable
+ +
+
+ +
+
+ +
+
+
+
    +
  • +
    + + + + symbol + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let symbol: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/CurrencyFormatter.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/CurrencyFormatter.html new file mode 100644 index 000000000..b4969dc45 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/CurrencyFormatter.html @@ -0,0 +1,816 @@ + + + + CurrencyFormatter Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

CurrencyFormatter

+
+
+ +
public struct CurrencyFormatter
+ +
+
+

Currency Formatter

+ +
+
+ +
+
+
+
    +
  • +
    + + + + getCurrency(for:) + +
    +
    +
    +
    +
    +
    +

    Get Currency

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func getCurrency(for currencyCode: String) -> Currency?
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    instance of Currency

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format double amount to currency string

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatDoubleAmount(_ amount: Double, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount

    +
    +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted currency string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Get decimal amount from formatted currency code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func getDecimalAmount(amount: String, currencyCode: String?) -> Double
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount string

    +
    +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a decimal amount

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code using users locale

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatStringAmount(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format currency amount by adding symbol and currency code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func addCurrencySymbolAndCode(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code using users locale while adding symbol and currency code

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatCurrencyWithSymbolAndCode(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    a formatted amount string

    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Format amount for currency code and add currency symbol from Currency.json

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func formatCurrencyWithSymbol(_ amount: String, with currencyCode: String) -> String
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount to format

    +
    +
    + + currencyCode + + +
    +

    currency code

    +
    +
    +
    +
    +

    Return Value

    +

    formatted amount with currency symbol

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/HyperwalletUtilViews.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/HyperwalletUtilViews.html new file mode 100644 index 000000000..ae266e8ab --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/HyperwalletUtilViews.html @@ -0,0 +1,733 @@ + + + + HyperwalletUtilViews Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

HyperwalletUtilViews

+
+
+ +
public struct HyperwalletUtilViews
+ +
+
+

Displays the common UI Views - Alerts and Spinners

+ +
+
+ +
+
+
+
+ + +
+ +

SelectTransferMethodView +

+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    show an alert dialog

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showAlert(_ viewController: UIViewController, title: String?, message: String?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + viewController + + +
    +

    current view

    +
    +
    + + title + + +
    +

    title shown in the dialog

    +
    +
    + + message + + +
    +

    description shown in the dialog

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Display the alert view with custom list of options

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showAlert(
    +    _ viewController: UIViewController,
    +    title: String? = nil,
    +    message: String?,
    +    style: UIAlertController.Style = .alert,
    +    actions: UIAlertAction...)
    + +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    show an alert dialog with retry button

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showAlertWithRetry(
    +    _ viewController: UIViewController,
    +    title: String?,
    +    message: String?,
    +    _ retry: @escaping (UIAlertAction) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + viewController + + +
    +

    current view

    +
    +
    + + title + + +
    +

    title shown in the dialog

    +
    +
    + + message + + +
    +

    description shown in the dialog

    +
    +
    + + retry + + +
    +

    an action needs to be retried

    +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + showSpinner(view:) + +
    +
    +
    +
    +
    +
    +

    Displays the Activity Indicator embedded on view

    + +

    Example: the self is ViewController + let spinnerView = HyperwalletUtilViews.showSpinner(view: self.view )

    + +

    DispatchQueue.main.asyncAfter(deadline: .now() + 2) { // represent a callback + HyperwalletUtilViews.removeSpinner(spinnerView) + }

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showSpinner(view: UIView) -> SpinnerView
    + +
    +
    +
    +

    Return Value

    +

    SpinnerView

    +
    +
    +
    +
  • +
  • +
    + + + + removeSpinner(_:) + +
    +
    +
    +
    +
    +
    +

    Remove the SpinnerView with animation

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func removeSpinner(_ spinnerView: SpinnerView)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + showProcessing() + +
    +
    +
    +
    +
    +
    +

    Displays the Processing view in a modal view for indicating the UI is processing the data

    + +

    Example: + To show ProcessingView: + let processingView = HyperwalletUtilViews.showProcessing()

    + +

    To hide with Complete state: + processingView.hide(with: .complete)

    +
    To dismiss ProcessView with the same state:
    +processingView.hide()
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func showProcessing() -> ProcessingView
    + +
    +
    +
    +

    Return Value

    +

    ProcessingView

    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/InsightsTags.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/InsightsTags.html new file mode 100644 index 000000000..33a1ffb5d --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/Structs/InsightsTags.html @@ -0,0 +1,565 @@ + + + + InsightsTags Structure Reference + + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+

InsightsTags

+
+
+ +
public struct InsightsTags
+ +
+
+

Representation of Insights API Tags property for InsightsTags.

+ +
+
+ +
+
+
+
    +
  • +
    + + + + country + +
    +
    +
    +
    +
    +
    +

    The country tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let country: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + currency + +
    +
    +
    +
    +
    +
    +

    The currency tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let currency: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + profileType + +
    +
    +
    +
    +
    +
    +

    The profile type tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let profileType: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + transferMethodType + +
    +
    +
    +
    +
    +
    +

    The transfer method type tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let transferMethodType: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + goal + +
    +
    +
    +
    +
    +
    +

    The goal tag

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static let goal: String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/changelog.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/changelog.html new file mode 100644 index 000000000..c255be684 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/changelog.html @@ -0,0 +1,538 @@ + + + + CHANGELOG Reference + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+ +

Changelog

+

1.0.0-beta19

+ +
    +
  • add security context
  • +
+

1.0.0-beta18

+ +
    +
  • Handle HTTP 401
  • +
+

1.0.0-beta17

+ +
    +
  • iOS upgrade to version 13
  • +
+

1.0.0-beta16

+ +
    +
  • Fixed currency formatting issues
  • +
  • Fixed add transfer method qraphQL calls
  • +
  • Fixed memory leaks
  • +
  • Fixed no fee display issue
  • +
+

1.0.0-beta15

+ +
    +
  • Fixed frameworks issue after upgrade to Xcode 12
  • +
+

1.0.0-beta14

+ +
    +
  • Fixed embedded framework issue
  • +
+

1.0.0-beta13

+ +
    +
  • UI Enhancements
  • +
  • Added support for iOS 14
  • +
+

1.0.0-beta12

+ +
    +
  • UI Enhancements
  • +
+

1.0.0-beta11

+ +
    +
  • Added support for update transfer method
  • +
  • UI Enhancements
  • +
+

1.0.0-beta10

+ +
    +
  • Added Prepaid Card support
  • +
  • Added multiple languages support
  • +
  • Added currency formatting
  • +
  • UI Enhancements
  • +
+

1.0.0-beta09

+ +
    +
  • Increased API Response wait time
  • +
+

1.0.0-beta08

+ +
    +
  • Fixed Cocoapod Insights Integration issue
  • +
  • Made UINavigationBar Theme customization optional
  • +
+

1.0.0-beta07

+ +
    +
  • Fixed Cocoapod issue
  • +
+

1.0.0-beta06

+ +
    +
  • Security fixes
  • +
+

Bug

+ Bug fixes + +
    +
  • UI and usability enhancements
  • +
+

1.0.0-beta05

+ +
    +
  • Added Analytics to Transfer Method Module
  • +
  • Enhancements
  • +
+

1.0.0-beta04

+ +
    +
  • Added support for Create Transfer Funds
  • +
  • Added support for Objective-C
  • +
+

1.0.0-beta03

+ +
    +
  • Enhancements to Add Transfer Method
  • +
  • Added support to the following: + +
      +
    • List Prepaid Card Receipts
    • +
    • List User Receipts
    • +
  • +
+

1.0.0-beta02

+ +
    +
  • Added PayPal as a Transfer method
  • +
  • Defaulted in Transfer Method selection to country of User
  • +
+

1.0.0-beta01

+ +
    +
  • Initial beta release of Hyperwallet UI SDK for iOS. This beta release has the following functionality: + +
      +
    • UI components to create Bank Account and Bank Card for United States (USD)
    • +
    • UI components to list and deactivate accounts
    • +
  • +
+ +
+
+ + +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/css/highlight.css b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/css/highlight.css new file mode 100644 index 000000000..c170357ce --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/css/highlight.css @@ -0,0 +1,202 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight .c { + color: #999988; + font-style: italic; } + +.highlight .err { + color: #a61717; + background-color: #e3d2d2; } + +.highlight .k { + color: #000000; + font-weight: bold; } + +.highlight .o { + color: #000000; + font-weight: bold; } + +.highlight .cm { + color: #999988; + font-style: italic; } + +.highlight .cp { + color: #999999; + font-weight: bold; } + +.highlight .c1 { + color: #999988; + font-style: italic; } + +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + +.highlight .gd { + color: #000000; + background-color: #ffdddd; } + +.highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + +.highlight .ge { + color: #000000; + font-style: italic; } + +.highlight .gr { + color: #aa0000; } + +.highlight .gh { + color: #999999; } + +.highlight .gi { + color: #000000; + background-color: #ddffdd; } + +.highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + +.highlight .go { + color: #888888; } + +.highlight .gp { + color: #555555; } + +.highlight .gs { + font-weight: bold; } + +.highlight .gu { + color: #aaaaaa; } + +.highlight .gt { + color: #aa0000; } + +.highlight .kc { + color: #000000; + font-weight: bold; } + +.highlight .kd { + color: #000000; + font-weight: bold; } + +.highlight .kp { + color: #000000; + font-weight: bold; } + +.highlight .kr { + color: #000000; + font-weight: bold; } + +.highlight .kt { + color: #445588; } + +.highlight .m { + color: #009999; } + +.highlight .s { + color: #d14; } + +.highlight .na { + color: #008080; } + +.highlight .nb { + color: #0086B3; } + +.highlight .nc { + color: #445588; + font-weight: bold; } + +.highlight .no { + color: #008080; } + +.highlight .ni { + color: #800080; } + +.highlight .ne { + color: #990000; + font-weight: bold; } + +.highlight .nf { + color: #990000; } + +.highlight .nn { + color: #555555; } + +.highlight .nt { + color: #000080; } + +.highlight .nv { + color: #008080; } + +.highlight .ow { + color: #000000; + font-weight: bold; } + +.highlight .w { + color: #bbbbbb; } + +.highlight .mf { + color: #009999; } + +.highlight .mh { + color: #009999; } + +.highlight .mi { + color: #009999; } + +.highlight .mo { + color: #009999; } + +.highlight .sb { + color: #d14; } + +.highlight .sc { + color: #d14; } + +.highlight .sd { + color: #d14; } + +.highlight .s2 { + color: #d14; } + +.highlight .se { + color: #d14; } + +.highlight .sh { + color: #d14; } + +.highlight .si { + color: #d14; } + +.highlight .sx { + color: #d14; } + +.highlight .sr { + color: #009926; } + +.highlight .s1 { + color: #d14; } + +.highlight .ss { + color: #990073; } + +.highlight .bp { + color: #999999; } + +.highlight .vc { + color: #008080; } + +.highlight .vg { + color: #008080; } + +.highlight .vi { + color: #008080; } + +.highlight .il { + color: #009999; } diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/css/jazzy.css b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/css/jazzy.css new file mode 100644 index 000000000..c7bb9fe22 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/css/jazzy.css @@ -0,0 +1,404 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ +*, *:before, *:after { + box-sizing: inherit; } + +body { + margin: 0; + background: #fff; + color: #333; + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + letter-spacing: .2px; + -webkit-font-smoothing: antialiased; + box-sizing: border-box; } + +h1 { + font-size: 2rem; + font-weight: 700; + margin: 1.275em 0 0.6em; } + +h2 { + font-size: 1.75rem; + font-weight: 700; + margin: 1.275em 0 0.3em; } + +h3 { + font-size: 1.5rem; + font-weight: 700; + margin: 1em 0 0.3em; } + +h4 { + font-size: 1.25rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h5 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; } + +h6 { + font-size: 1rem; + font-weight: 700; + margin: 1.275em 0 0.85em; + color: #777; } + +p { + margin: 0 0 1em; } + +ul, ol { + padding: 0 0 0 2em; + margin: 0 0 0.85em; } + +blockquote { + margin: 0 0 0.85em; + padding: 0 15px; + color: #858585; + border-left: 4px solid #e5e5e5; } + +img { + max-width: 100%; } + +a { + color: #4183c4; + text-decoration: none; } + a:hover, a:focus { + outline: 0; + text-decoration: underline; } + a.discouraged { + text-decoration: line-through; } + a.discouraged:hover, a.discouraged:focus { + text-decoration: underline line-through; } + +table { + background: #fff; + width: 100%; + border-collapse: collapse; + border-spacing: 0; + overflow: auto; + margin: 0 0 0.85em; } + +tr:nth-child(2n) { + background-color: #fbfbfb; } + +th, td { + padding: 6px 13px; + border: 1px solid #ddd; } + +hr { + height: 1px; + border: none; + background-color: #ddd; } + +pre { + margin: 0 0 1.275em; + padding: .85em 1em; + overflow: auto; + background: #f7f7f7; + font-size: .85em; + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; } + +.item-container p > code, .item-container li > code, .top-matter p > code, .top-matter li > code { + background: #f7f7f7; + padding: .2em; } + .item-container p > code:before, .item-container p > code:after, .item-container li > code:before, .item-container li > code:after, .top-matter p > code:before, .top-matter p > code:after, .top-matter li > code:before, .top-matter li > code:after { + letter-spacing: -.2em; + content: "\00a0"; } + +pre code { + padding: 0; + white-space: pre; } + +.content-wrapper { + display: flex; + flex-direction: column; } + @media (min-width: 768px) { + .content-wrapper { + flex-direction: row; } } +.header { + display: flex; + padding: 8px; + font-size: 0.875em; + background: #444; + color: #999; } + +.header-col { + margin: 0; + padding: 0 8px; } + +.header-col--primary { + flex: 1; } + +.header-link { + color: #fff; } + +.header-icon { + padding-right: 2px; + vertical-align: -3px; + height: 16px; } + +.breadcrumbs { + font-size: 0.875em; + padding: 8px 16px; + margin: 0; + background: #fbfbfb; + border-bottom: 1px solid #ddd; } + +.carat { + height: 10px; + margin: 0 5px; } + +.navigation { + order: 2; } + @media (min-width: 768px) { + .navigation { + order: 1; + width: 25%; + max-width: 300px; + padding-bottom: 64px; + overflow: hidden; + word-wrap: normal; + background: #fbfbfb; + border-right: 1px solid #ddd; } } +.nav-groups { + list-style-type: none; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #ddd; + padding: 8px 0 8px 16px; } + +.nav-group-name-link { + color: #333; } + +.nav-group-tasks { + margin: 8px 0; + padding: 0 0 0 8px; } + +.nav-group-task { + font-size: 1em; + list-style-type: none; + white-space: nowrap; } + +.nav-group-task-link { + color: #808080; } + +.main-content { + order: 1; } + @media (min-width: 768px) { + .main-content { + order: 2; + flex: 1; + padding-bottom: 60px; } } +.section { + padding: 0 32px; + border-bottom: 1px solid #ddd; } + +.section-content { + max-width: 834px; + margin: 0 auto; + padding: 16px 0; } + +.section-name { + color: #666; + display: block; } + .section-name p { + margin-bottom: inherit; } + +.declaration .highlight { + overflow-x: initial; + padding: 8px 0; + margin: 0; + background-color: transparent; + border: none; } + +.task-group-section { + border-top: 1px solid #ddd; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; } + +.section-name-container { + position: relative; } + .section-name-container .section-name-link { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + margin-bottom: 0; } + .section-name-container .section-name { + position: relative; + pointer-events: none; + z-index: 1; } + .section-name-container .section-name a { + pointer-events: auto; } + +.item-container { + padding: 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; } + .item .token, .item .direct-link { + display: inline-block; + text-indent: -20px; + padding-left: 3px; + margin-left: 20px; + font-size: 1rem; } + .item .declaration-note { + font-size: .85em; + color: #808080; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #ddd; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + left: 21px; + top: 7px; + display: block; + position: absolute; + width: 12px; + height: 12px; + border-left: 1px solid #ddd; + border-top: 1px solid #ddd; + background: #fff; + transform: rotate(45deg); } + +.height-container { + display: none; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #fff; + border: 1px solid #ddd; + border-top-width: 0; + padding-top: 10px; + padding-bottom: 5px; + padding: 8px 16px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4183c4; } + +.aside-warning, .aside-deprecated, .aside-unavailable { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title, .aside-deprecated .aside-title, .aside-unavailable .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #ddd; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +.footer { + padding: 8px 16px; + background: #444; + color: #ddd; + font-size: 0.8em; } + .footer p { + margin: 8px 0; } + .footer a { + color: #fff; } + +html.dash .header, html.dash .breadcrumbs, html.dash .navigation { + display: none; } + +html.dash .height-container { + display: block; } + +form[role=search] input { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 24px; + padding: 0 10px; + margin: 0; + border: none; + border-radius: 1em; } + .loading form[role=search] input { + background: white url(../img/spinner.gif) center right 4px no-repeat; } + +form[role=search] .tt-menu { + margin: 0; + min-width: 300px; + background: #fbfbfb; + color: #333; + border: 1px solid #ddd; } + +form[role=search] .tt-highlight { + font-weight: bold; } + +form[role=search] .tt-suggestion { + font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 8px; } + form[role=search] .tt-suggestion span { + display: table-cell; + white-space: nowrap; } + form[role=search] .tt-suggestion .doc-parent-name { + width: 100%; + text-align: right; + font-weight: normal; + font-size: 0.9em; + padding-left: 16px; } + +form[role=search] .tt-suggestion:hover, +form[role=search] .tt-suggestion.tt-cursor { + cursor: pointer; + background-color: #4183c4; + color: #fff; } + +form[role=search] .tt-suggestion:hover .doc-parent-name, +form[role=search] .tt-suggestion.tt-cursor .doc-parent-name { + color: #fff; } diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/carat.png b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/carat.png new file mode 100755 index 000000000..29d2f7fd4 Binary files /dev/null and b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/carat.png differ diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/dash.png b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/dash.png new file mode 100755 index 000000000..6f694c7a0 Binary files /dev/null and b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/dash.png differ diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/gh.png b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/gh.png new file mode 100755 index 000000000..628da97c7 Binary files /dev/null and b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/gh.png differ diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/spinner.gif b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/spinner.gif new file mode 100644 index 000000000..e3038d0a4 Binary files /dev/null and b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/img/spinner.gif differ diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/index.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/index.html new file mode 100644 index 000000000..9063feb8e --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/index.html @@ -0,0 +1,1082 @@ + + + + HyperwalletUISDK Reference + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+ +

Hyperwallet UI SDK

+ +

Platforms +Build Status +Coverage Status

+ +

CocoaPods +Carthage compatible

+ +

NOTE: This is a beta product available for use in your mobile app. If you are interested in using this product, please notify your Relationship Manager and / or Project Manager to support you during the integration process.

+ +

Welcome to Hyperwallet’s iOS UI SDK. This out-of-the-box library will help you create transfer methods in your iOS app, such as bank account, PayPal account, etc.

+ +

Note that this SDK is geared towards those who need both backend data and UI features. Please refer to Hyperwallet iOS Core SDK if you decide to build your own UI.

+

Prerequisites

+ +
    +
  • A Hyperwallet merchant account
  • +
  • Set Up your server to manage the user’s authentication process on the Hyperwallet platform. See the Authentication section for more information.
  • +
  • iOS 13.0+
  • +
  • Xcode 10.2+
  • +
  • Swift 5.0
  • +
+

Dependencies

+ + +

Installation

+ +

Use Carthage or CocoaPods to integrate to HyperwalletSDK. +Currently, the following modules are available:

+ +
    +
  • TransferMethod - List, add or remove Transfer Methods
  • +
  • Transfer - Create a transfer from user account or prepaid card to available accounts for the user
  • +
  • Receipt - List user/prepaid card receipts +Adding one or more of these frameworks allows users to explore the particular function. If every feature is required, all the frameworks should be added +### Carthage +Specify it in your Cartfile: +ogdl +github "hyperwallet/hyperwallet-ios-ui-sdk" "1.0.0-beta18" + +Add desired modules using the Linked Frameworks and Libraries option to make them available in the app. +Use import <module-name> to add the dependency within a file
  • +
+

CocoaPods

+ +
    +
  • Install a specific framework (install one or more frameworks based on your requirement) +ruby +pod "HyperwalletUISDK/TransferMethod", "1.0.0-beta18" +pod "HyperwalletUISDK/Transfer", "1.0.0-beta18" +pod "HyperwalletUISDK/Receipt", "1.0.0-beta18" +
  • +
  • To install all available modules (TransferMethod, Transfer, Receipt) +ruby +pod 'HyperwalletUISDK', '~> 1.0.0-beta18' + +Use import HyperwalletUISDK to add the dependency within a file.
  • +
+

Initialization

+ +

After you’re done installing the SDK, you need to initialize an instance in order to utilize core SDK functions. Also, you need to provide a HyperwalletAuthenticationTokenProvider object to retrieve an authentication token.

+

Setup the UI Style

+ +

HyperwalletUISDK provides default themes for all the modules(e.g. TransferMethod, Receipt). If you import HyperwalletUISDK, in order to +apply the default theme, you will have to call ThemeManager.applyTheme() which will apply the basic theme to ProcessingView and SpinnerView. If you want Hyperwallet custom theme for UINavigationBar then add ThemeManager.applyToUINavigationBar() +For example:

+
...
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Optional - Define the HyperwalletUISDK on the `Theme` object. See the section `Customize the visual style`.
+
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        // Apply basic theme
+        ThemeManager.applyTheme()
+        return true
+    }
+}
+
+ +

You can also customize the default themes according to your needs. Please see customize the visual style for detail.

+

Setup the authentication

+ +

Add in the header:

+
import HyperwalletUISDK
+
+ +

Initialize the HyperwalletUISDK with a HyperwalletAuthenticationTokenProvider implementation instance:

+
HyperwalletUI.setup(_ :HyperwalletAuthenticationTokenProvider)
+
+

Authentication

+ +

Your server side should be able to send a POST request to Hyperwallet endpoint /rest/v3/users/{user-token}/authentication-token to retrieve an authentication token. +Then, you need to provide a class (an authentication provider) which implements HyperwalletAuthenticationTokenProvider to retrieve an authentication token from your server.

+ +

Example implementation using the URLRequest from Swift Foundation :

+
public struct AuthenticationTokenProviders: HyperwalletAuthenticationTokenProvider {
+    private let url = URL(string: "http://your/server/to/retrieve/authenticationToken")!
+
+    public func retrieveAuthenticationToken(
+        completionHandler: @escaping HyperwalletAuthenticationTokenProvider.CompletionHandler) {
+
+        var request = URLRequest(url: url)
+        request.httpMethod = "POST"
+        request.addValue("application/json", forHTTPHeaderField: "Content-Type")
+
+        let defaultSession = URLSession(configuration: .default)
+        let task = defaultSession.dataTask(with: request) {(data, response, error) in
+            DispatchQueue.main.async {
+                guard let data = data,
+                    let clientToken = String(data: data, encoding: .utf8),
+                    let response = response as? HTTPURLResponse else {
+                        completionHandler(nil, HyperwalletAuthenticationErrorType.unexpected(error?.localizedDescription ??
+                        "authentication token cannot be retrieved"))
+                        return
+                }
+
+                switch response.statusCode {
+                    case 200 ..< 300:
+                        completionHandler(clientToken, nil)
+
+                    default:
+                        completionHandler(nil, HyperwalletAuthenticationErrorType
+                            .unexpected("authentication token cannot be retrieved"))
+                }
+            }
+        }
+        task.resume()
+    }
+}
+
+

Usage

+ +

The functions in the UI SDK are available to use once the authentication is done.

+

The user’s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check)

+ +

Add in the header:

+
import HyperwalletSDK
+import HyperwalletUISDK
+
+

Lists the user’s transfer methods

+ +

The user can deactivate or add a new transfer method.

+
let coordinator = HyperwalletUI.shared.listTransferMethodCoordinator(parentController: self)
+coordinator.navigate()
+
+

Select a transfer method type available by country and currency

+
let coordinator = HyperwalletUI.shared.selectTransferMethodTypeCoordinator(parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Create a transfer method

+ +

The form fields are based on the country, currency, user’s profile type, and transfer method type. These values should be passed to this method to create a new Transfer Method.

+
let coordinator = HyperwalletUI.shared.addTransferMethodCoordinator(
+    "US", // The 2 letter ISO 3166-1 country code.
+    "USD", // The 3 letter ISO 4217-1 currency code.
+    "INDIVIDUAL", // The profile type. Possible values - INDIVIDUAL, BUSINESS.
+    "BANK_ACCOUNT", // The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD, PAYPAL_ACCOUNT
+    parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer method and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Update a transfer method

+
let coordinator = HyperwalletUI.shared.updateTransferMethodCoordinator(
+    "your-transfer-method-token", // The transfer method token
+    parentController: self)
+coordinator.navigate()
+
+

Lists the user’s receipts

+
let coordinator = HyperwalletUI.shared.listUserReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Lists the prepaid card’s receipts

+
let coordinator = HyperwalletUI.shared.listPrepaidCardReceiptCoordinator(parentController: self, prepaidCardToken: "your-prepaid-card-token")
+coordinator.navigate()
+
+

Lists receipts from all available sources

+
let coordinator = HyperwalletUI.shared.listAllAvailableSourcesReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Make a new transfer from user’s account

+ +

To add new Transfer Method from Transfer module, TransferMethod module needs to be added as a dependency in the app. If TransferMethod module is not added, users will not be able to add a new Transfer Method inside the Transfer flow.

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromUserCoordinator(clientTransferId: clientTransferId, parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Make a new transfer from prepaid card

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromPrepaidCardCoordinator(clientTransferId: clientTransferId,
+                                                      sourceToken: "your-prepaid-card-token",
+                                                      parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Display all the available sources to make a new transfer from. User can then select the transfer from source and make a new tansfer from that source

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromAllAvailableSourcesCoordinator(clientTransferId: clientTransferId,
+                                                              parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

NotificationCenter Events

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Notification nameDescription
Notification.Name.transferMethodAddedPosted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been created.
Notification.Name.transferMethodDeactivatedPosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been deactivated.
Notification.Name.transferCreatedPosted when a transfer of funds has been created.
Notification.Name.transferScheduledPosted when a transfer of funds has been scheduled.
Notification.Name.authenticationErrorPosted when SDK is unable to fetch new authentication token from client implementation. Client can choose to close the app/ logout/ navigate to some other screen when this notification is received.
+ +

When an object adds itself as an observer, it specifies which notifications it should receive. An object may, therefore, call this method several times in order to register itself as an observer for several different notifications.

+

How to use Notification.Name.transferMethodAdded

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didCreateNewTransferMethodNotification(notification:)),
+                                        name: Notification.Name.transferMethodAdded, object: nil)
+}
+
+@objc func didCreateNewTransferMethodNotification(notification: Notification) {
+    if let transferMethod = notification.userInfo![UserInfo.transferMethodAdded] as? HyperwalletTransferMethod {
+        // A new transfer method has been created
+    }
+}
+
+

How to use Notification.Name.transferMethodDeactivated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferMethodDeactivatedNotification(notification:)),
+                                        name: Notification.Name.transferMethodDeactivated, object: nil)
+}
+
+@objc func didTransferMethodDeactivatedNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferMethodDeactivated] as? HyperwalletStatusTransition {
+        // A transfer method has been deactivated.
+    }
+}
+
+

How to use Notification.Name.transferCreated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferCreatedNotification(notification:)),
+                                        name: Notification.Name.transferCreated, object: nil)
+}
+
+@objc func didTransferCreatedNotification(notification: Notification) {
+    if let transfer = notification.userInfo![UserInfo.transferCreated] as? HyperwalletTransfer {
+        // A transfer has been created.
+    }
+}
+
+

How to use Notification.Name.transferScheduled

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferScheduledNotification(notification:)),
+                                        name: Notification.Name.transferScheduled, object: nil)
+}
+
+@objc func didTransferScheduledNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferScheduled] as? HyperwalletStatusTransition {
+        // A transfer has been scheduled.
+    }
+}
+
+

How to use Notification.Name.authenticationError

+
override public func viewDidLoad() {
+super.viewDidLoad()
+...
+NotificationCenter.default.addObserver(self,
+selector: #selector(didAuthenticationErrorOccur(notification:)),
+name: Notification.Name.authenticationError, object: nil)
+}
+
+@objc func didAuthenticationErrorOccur(notification: Notification) {
+// Logout/ navigate to any other screen
+}
+
+

Customize the visual style

+ +

UI SDK is designed to make the process of the UI Styling as simple as possible. The Theme.swift object is responsible for UI customization.

+ +

Use the application(_:didFinishLaunchingWithOptions:) method to customize the user interface of SDK.

+ +

On the Theme is possible to customize the properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyDefault ValueDescription
Theme.themeColor0x00AFD0The main color
Theme.tintColorUIColor.whiteThe tint color
Theme.Label.colorUIColor(rgb: 0x2C2E2F)The label primary color
Theme.Label.errorColor0xFF3B30The color to highlight errors
Theme.Label.subtitleColorUIColor(rgb: 0x3c3c43, alpha: 0.6)The subtitle color
Theme.Label.textColor0x8e8e93The text color
Theme.Label.titleFontUIFont.preferredFont(forTextStyle: .body)The title font style
Theme.Label.subtitleFontUIFont.preferredFont(forTextStyle: .subheadline)The caption one font style
Theme.Label.footnoteFontUIFont.preferredFont(forTextStyle: .footnote)The footnote font style
Theme.Label.textSelectionColorUIColor(rgb: 0x00AFD0).withAlphaComponent(0.14)The text selection color
Theme.NavigationBar.barStyleUIBarStyle.defaultThe UINavigationBar bar style.
Theme.NavigationBar.isTranslucentfalseSets the opaque background color
Theme.NavigationBar.shadowColorUIColor.clearThe color of NavigationBar shadow
Theme.NavigationBar.largeTitleColorUIColor.whiteThe UINavigationBar large title color
Theme.NavigationBar.titleColorUIColor.whiteThe UINavigationBar title color
Theme.NavigationBar.backButtonColorUIColor.whiteThe UINavigationBar Back Button color
Theme.NavigationBar.largeTitleFontUIFont.preferredFont(forTextStyle: .largeTitle)The UINavigationBar large title font
Theme.NavigationBar.titleFontUIFont.preferredFont(forTextStyle: .body)The UINavigationBar title font
Theme.Button.colorUIColor(rgb: 0xFFFFFF)The button primary color
Theme.Button.linkColorTheme.themeColorThe button link color
Theme.Button.fontTheme.Label.bodyFontThe button font
Theme.Button.linkFontTheme.Label.titleFontThe link button font
Theme.Button.backgroundColorTheme.themeColorThe button background color
Theme.Text.fontUIFont.preferredFont(forTextStyle: .body)The text font style
Theme.Text.labelFontTheme.Label.titleFontThe text label font style
Theme.Text.colorTheme.Label.colorThe text primary color
Theme.Text.labelColorTheme.Label.colorThe text label primary color
Theme.Text.disabledColorTheme.Label.textColorThe text disabled color
Theme.Cell.smallHeight61The common UITableViewCell height.
Theme.Cell.height80The common UITableViewCell height.
Theme.Cell.largeHeight88The UITableViewCell height for the List transfer method items and the Select transfer method type items.
Theme.Cell.headerHeight37The Select transfer method type items header height.
Theme.Cell.dividerHeight8The divider UITableViewCell height.
Theme.Cell.separatorColorUIColor(rgb: 0x3c3c43, alpha: 0.29)The UITableViewCell separator color.
Theme.Cell.tintColorUIColor.whiteThe UITableViewCell tint color.
Theme.Icon.size30The icon font size
Theme.Icon.frameCGSize(width: 30, height: 30)The icon frame
Theme.Icon.primaryColorTheme.themeColorThe icon primary color
Theme.Icon.creditColorAmount.creditColorThe icon credit color
Theme.Icon.debitColorAmount.debitColorThe icon debit color
Theme.Amount.creditColorUIColor(rgb: 0x299976)The credit color
Theme.Amount.debitColorTheme.Label.colorThe debit color
Theme.ViewController.backgroundColorUIColor.whiteThe UIViewController background color.
Theme.SpinnerView.activityIndicatorViewStyleUIActivityIndicatorView.Style.whiteLargeThe UIActivityIndicatorView style.
Theme.SpinnerView.activityIndicatorViewColorTheme.themeColorThe UIActivityIndicatorView color.
Theme.SpinnerView.backgroundColorUIColor.clearThe background color
Theme.ProcessingView.backgroundColorUIColor.black.withAlphaComponent(0.85)The background color.
Theme.ProcessingView.stateLabelColorUIColor.whiteThe state label color.
+ +

Example to define the light theme code in class AppDelegate:

+
@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Override point for customization after application launch.
+
+        ThemeManager.applyWhiteTheme()
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        return true
+    }
+}
+
+ +

Example to customize the label colors:

+
...
+/// Labels
+Theme.Label.color = UIColor(red: 252 / 255, green: 67 / 255, blue: 77 / 255, alpha: 1)
+Theme.Label.subTitleColor = UIColor(red: 19 / 255, green: 165 / 255, blue: 185 / 255, alpha: 1)
+Theme.Label.textColor = UIColor(red: 0 / 255, green: 45 / 255, blue: 67 / 255, alpha: 1)
+Theme.Label.errorColor = .red
+
+ +

Note: If you do not use ThemeManager.applyToUINavigationBar(), then any changes done to Theme.NavigationBar.xxx will not be reflected.

+

Error Handling

+ +

In Hyperwallet UI SDK, we categorized HyperwalletException into three groups, which are input errors (business errors), network errors and unexpected errors.

+

Unexpected Error

+ +

Once an unexpected error occurs, an AlertView that only contains the OK button will be shown in the UI.

+

Network Error

+ +

Network errors occurs due to connectivity issues, such as poor-quality network connection, the request timed out from the server side, etc. Once a network error happened, an AlertView that contains a Cancel and a Try Again buttons will be shown in the UI.

+

Business Errors

+ +

Business errors occurs when the Hyperwallet platform has found invalid information or some business restriction related to the data has been submitted and require some action from the user.

+

Authentication Error

+ +

Authentication error occurs when the Hyperwallet SDK is not able to fetch the authentication token from the client implementation.

+

License

+ +

The Hyperwallet iOS SDK is open source and available under the MIT license

+ +
+
+ + +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jazzy.js b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jazzy.js new file mode 100755 index 000000000..198441660 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jazzy.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +window.jazzy = {'docset': false} +if (typeof window.dash != 'undefined') { + document.documentElement.className += ' dash' + window.jazzy.docset = true +} +if (navigator.userAgent.match(/xcode/i)) { + document.documentElement.className += ' xcode' + window.jazzy.docset = true +} + +function toggleItem($link, $content) { + var animationDuration = 300; + $link.toggleClass('token-open'); + $content.slideToggle(animationDuration); +} + +function itemLinkToContent($link) { + return $link.parent().parent().next(); +} + +// On doc load + hash-change, open any targetted item +function openCurrentItemIfClosed() { + if (window.jazzy.docset) { + return; + } + var $link = $(`a[name="${location.hash.substring(1)}"]`).nextAll('.token'); + $content = itemLinkToContent($link); + if ($content.is(':hidden')) { + toggleItem($link, $content); + } +} + +$(openCurrentItemIfClosed); +$(window).on('hashchange', openCurrentItemIfClosed); + +// On item link ('token') click, toggle its discussion +$('.token').on('click', function(event) { + if (window.jazzy.docset) { + return; + } + var $link = $(this); + toggleItem($link, itemLinkToContent($link)); + + // Keeps the document from jumping to the hash. + var href = $link.attr('href'); + if (history.pushState) { + history.pushState({}, '', href); + } else { + location.hash = href; + } + event.preventDefault(); +}); + +// Clicks on links to the current, closed, item need to open the item +$("a:not('.token')").on('click', function() { + if (location == this.href) { + openCurrentItemIfClosed(); + } +}); + +// KaTeX rendering +if ("katex" in window) { + $($('.math').each( (_, element) => { + katex.render(element.textContent, element, { + displayMode: $(element).hasClass('m-block'), + throwOnError: false, + trust: true + }); + })) +} diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jazzy.search.js b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jazzy.search.js new file mode 100644 index 000000000..359cdbb8b --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jazzy.search.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +$(function(){ + var $typeahead = $('[data-typeahead]'); + var $form = $typeahead.parents('form'); + var searchURL = $form.attr('action'); + + function displayTemplate(result) { + return result.name; + } + + function suggestionTemplate(result) { + var t = '
'; + t += '' + result.name + ''; + if (result.parent_name) { + t += '' + result.parent_name + ''; + } + t += '
'; + return t; + } + + $typeahead.one('focus', function() { + $form.addClass('loading'); + + $.getJSON(searchURL).then(function(searchData) { + const searchIndex = lunr(function() { + this.ref('url'); + this.field('name'); + this.field('abstract'); + for (const [url, doc] of Object.entries(searchData)) { + this.add({url: url, name: doc.name, abstract: doc.abstract}); + } + }); + + $typeahead.typeahead( + { + highlight: true, + minLength: 3, + autoselect: true + }, + { + limit: 10, + display: displayTemplate, + templates: { suggestion: suggestionTemplate }, + source: function(query, sync) { + const lcSearch = query.toLowerCase(); + const results = searchIndex.query(function(q) { + q.term(lcSearch, { boost: 100 }); + q.term(lcSearch, { + boost: 10, + wildcard: lunr.Query.wildcard.TRAILING + }); + }).map(function(result) { + var doc = searchData[result.ref]; + doc.url = result.ref; + return doc; + }); + sync(results); + } + } + ); + $form.removeClass('loading'); + $typeahead.trigger('focus'); + }); + }); + + var baseURL = searchURL.slice(0, -"search.json".length); + + $typeahead.on('typeahead:select', function(e, result) { + window.location = baseURL + result.url; + }); +}); diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jquery.min.js b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jquery.min.js new file mode 100644 index 000000000..7f37b5d99 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 00){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}(); diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/typeahead.jquery.js b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/typeahead.jquery.js new file mode 100644 index 000000000..3a2d2ab03 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/js/typeahead.jquery.js @@ -0,0 +1,1694 @@ +/*! + * typeahead.js 1.3.1 + * https://github.com/corejavascript/typeahead.js + * Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT + */ + + +(function(root, factory) { + if (typeof define === "function" && define.amd) { + define([ "jquery" ], function(a0) { + return factory(a0); + }); + } else if (typeof module === "object" && module.exports) { + module.exports = factory(require("jquery")); + } else { + factory(root["jQuery"]); + } +})(this, function($) { + var _ = function() { + "use strict"; + return { + isMsie: function() { + return /(msie|trident)/i.test(navigator.userAgent) ? navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] : false; + }, + isBlankString: function(str) { + return !str || /^\s*$/.test(str); + }, + escapeRegExChars: function(str) { + return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); + }, + isString: function(obj) { + return typeof obj === "string"; + }, + isNumber: function(obj) { + return typeof obj === "number"; + }, + isArray: $.isArray, + isFunction: $.isFunction, + isObject: $.isPlainObject, + isUndefined: function(obj) { + return typeof obj === "undefined"; + }, + isElement: function(obj) { + return !!(obj && obj.nodeType === 1); + }, + isJQuery: function(obj) { + return obj instanceof $; + }, + toStr: function toStr(s) { + return _.isUndefined(s) || s === null ? "" : s + ""; + }, + bind: $.proxy, + each: function(collection, cb) { + $.each(collection, reverseArgs); + function reverseArgs(index, value) { + return cb(value, index); + } + }, + map: $.map, + filter: $.grep, + every: function(obj, test) { + var result = true; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (!(result = test.call(null, val, key, obj))) { + return false; + } + }); + return !!result; + }, + some: function(obj, test) { + var result = false; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (result = test.call(null, val, key, obj)) { + return false; + } + }); + return !!result; + }, + mixin: $.extend, + identity: function(x) { + return x; + }, + clone: function(obj) { + return $.extend(true, {}, obj); + }, + getIdGenerator: function() { + var counter = 0; + return function() { + return counter++; + }; + }, + templatify: function templatify(obj) { + return $.isFunction(obj) ? obj : template; + function template() { + return String(obj); + } + }, + defer: function(fn) { + setTimeout(fn, 0); + }, + debounce: function(func, wait, immediate) { + var timeout, result; + return function() { + var context = this, args = arguments, later, callNow; + later = function() { + timeout = null; + if (!immediate) { + result = func.apply(context, args); + } + }; + callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) { + result = func.apply(context, args); + } + return result; + }; + }, + throttle: function(func, wait) { + var context, args, timeout, result, previous, later; + previous = 0; + later = function() { + previous = new Date(); + timeout = null; + result = func.apply(context, args); + }; + return function() { + var now = new Date(), remaining = wait - (now - previous); + context = this; + args = arguments; + if (remaining <= 0) { + clearTimeout(timeout); + timeout = null; + previous = now; + result = func.apply(context, args); + } else if (!timeout) { + timeout = setTimeout(later, remaining); + } + return result; + }; + }, + stringify: function(val) { + return _.isString(val) ? val : JSON.stringify(val); + }, + guid: function() { + function _p8(s) { + var p = (Math.random().toString(16) + "000000000").substr(2, 8); + return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p; + } + return "tt-" + _p8() + _p8(true) + _p8(true) + _p8(); + }, + noop: function() {} + }; + }(); + var WWW = function() { + "use strict"; + var defaultClassNames = { + wrapper: "twitter-typeahead", + input: "tt-input", + hint: "tt-hint", + menu: "tt-menu", + dataset: "tt-dataset", + suggestion: "tt-suggestion", + selectable: "tt-selectable", + empty: "tt-empty", + open: "tt-open", + cursor: "tt-cursor", + highlight: "tt-highlight" + }; + return build; + function build(o) { + var www, classes; + classes = _.mixin({}, defaultClassNames, o); + www = { + css: buildCss(), + classes: classes, + html: buildHtml(classes), + selectors: buildSelectors(classes) + }; + return { + css: www.css, + html: www.html, + classes: www.classes, + selectors: www.selectors, + mixin: function(o) { + _.mixin(o, www); + } + }; + } + function buildHtml(c) { + return { + wrapper: '', + menu: '
' + }; + } + function buildSelectors(classes) { + var selectors = {}; + _.each(classes, function(v, k) { + selectors[k] = "." + v; + }); + return selectors; + } + function buildCss() { + var css = { + wrapper: { + position: "relative", + display: "inline-block" + }, + hint: { + position: "absolute", + top: "0", + left: "0", + borderColor: "transparent", + boxShadow: "none", + opacity: "1" + }, + input: { + position: "relative", + verticalAlign: "top", + backgroundColor: "transparent" + }, + inputWithNoHint: { + position: "relative", + verticalAlign: "top" + }, + menu: { + position: "absolute", + top: "100%", + left: "0", + zIndex: "100", + display: "none" + }, + ltr: { + left: "0", + right: "auto" + }, + rtl: { + left: "auto", + right: " 0" + } + }; + if (_.isMsie()) { + _.mixin(css.input, { + backgroundImage: "url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)" + }); + } + return css; + } + }(); + var EventBus = function() { + "use strict"; + var namespace, deprecationMap; + namespace = "typeahead:"; + deprecationMap = { + render: "rendered", + cursorchange: "cursorchanged", + select: "selected", + autocomplete: "autocompleted" + }; + function EventBus(o) { + if (!o || !o.el) { + $.error("EventBus initialized without el"); + } + this.$el = $(o.el); + } + _.mixin(EventBus.prototype, { + _trigger: function(type, args) { + var $e = $.Event(namespace + type); + this.$el.trigger.call(this.$el, $e, args || []); + return $e; + }, + before: function(type) { + var args, $e; + args = [].slice.call(arguments, 1); + $e = this._trigger("before" + type, args); + return $e.isDefaultPrevented(); + }, + trigger: function(type) { + var deprecatedType; + this._trigger(type, [].slice.call(arguments, 1)); + if (deprecatedType = deprecationMap[type]) { + this._trigger(deprecatedType, [].slice.call(arguments, 1)); + } + } + }); + return EventBus; + }(); + var EventEmitter = function() { + "use strict"; + var splitter = /\s+/, nextTick = getNextTick(); + return { + onSync: onSync, + onAsync: onAsync, + off: off, + trigger: trigger + }; + function on(method, types, cb, context) { + var type; + if (!cb) { + return this; + } + types = types.split(splitter); + cb = context ? bindContext(cb, context) : cb; + this._callbacks = this._callbacks || {}; + while (type = types.shift()) { + this._callbacks[type] = this._callbacks[type] || { + sync: [], + async: [] + }; + this._callbacks[type][method].push(cb); + } + return this; + } + function onAsync(types, cb, context) { + return on.call(this, "async", types, cb, context); + } + function onSync(types, cb, context) { + return on.call(this, "sync", types, cb, context); + } + function off(types) { + var type; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + while (type = types.shift()) { + delete this._callbacks[type]; + } + return this; + } + function trigger(types) { + var type, callbacks, args, syncFlush, asyncFlush; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + args = [].slice.call(arguments, 1); + while ((type = types.shift()) && (callbacks = this._callbacks[type])) { + syncFlush = getFlush(callbacks.sync, this, [ type ].concat(args)); + asyncFlush = getFlush(callbacks.async, this, [ type ].concat(args)); + syncFlush() && nextTick(asyncFlush); + } + return this; + } + function getFlush(callbacks, context, args) { + return flush; + function flush() { + var cancelled; + for (var i = 0, len = callbacks.length; !cancelled && i < len; i += 1) { + cancelled = callbacks[i].apply(context, args) === false; + } + return !cancelled; + } + } + function getNextTick() { + var nextTickFn; + if (window.setImmediate) { + nextTickFn = function nextTickSetImmediate(fn) { + setImmediate(function() { + fn(); + }); + }; + } else { + nextTickFn = function nextTickSetTimeout(fn) { + setTimeout(function() { + fn(); + }, 0); + }; + } + return nextTickFn; + } + function bindContext(fn, context) { + return fn.bind ? fn.bind(context) : function() { + fn.apply(context, [].slice.call(arguments, 0)); + }; + } + }(); + var highlight = function(doc) { + "use strict"; + var defaults = { + node: null, + pattern: null, + tagName: "strong", + className: null, + wordsOnly: false, + caseSensitive: false, + diacriticInsensitive: false + }; + var accented = { + A: "[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]", + B: "[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]", + C: "[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]", + D: "[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]", + E: "[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]", + F: "[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]", + G: "[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]", + H: "[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]", + I: "[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]", + J: "[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]", + K: "[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]", + L: "[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]", + M: "[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]", + N: "[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]", + O: "[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]", + P: "[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]", + Q: "[Qqℚ⒬Ⓠⓠ㏃Qq]", + R: "[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]", + S: "[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]", + T: "[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]", + U: "[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]", + V: "[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]", + W: "[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]", + X: "[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]", + Y: "[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]", + Z: "[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]" + }; + return function hightlight(o) { + var regex; + o = _.mixin({}, defaults, o); + if (!o.node || !o.pattern) { + return; + } + o.pattern = _.isArray(o.pattern) ? o.pattern : [ o.pattern ]; + regex = getRegex(o.pattern, o.caseSensitive, o.wordsOnly, o.diacriticInsensitive); + traverse(o.node, hightlightTextNode); + function hightlightTextNode(textNode) { + var match, patternNode, wrapperNode; + if (match = regex.exec(textNode.data)) { + wrapperNode = doc.createElement(o.tagName); + o.className && (wrapperNode.className = o.className); + patternNode = textNode.splitText(match.index); + patternNode.splitText(match[0].length); + wrapperNode.appendChild(patternNode.cloneNode(true)); + textNode.parentNode.replaceChild(wrapperNode, patternNode); + } + return !!match; + } + function traverse(el, hightlightTextNode) { + var childNode, TEXT_NODE_TYPE = 3; + for (var i = 0; i < el.childNodes.length; i++) { + childNode = el.childNodes[i]; + if (childNode.nodeType === TEXT_NODE_TYPE) { + i += hightlightTextNode(childNode) ? 1 : 0; + } else { + traverse(childNode, hightlightTextNode); + } + } + } + }; + function accent_replacer(chr) { + return accented[chr.toUpperCase()] || chr; + } + function getRegex(patterns, caseSensitive, wordsOnly, diacriticInsensitive) { + var escapedPatterns = [], regexStr; + for (var i = 0, len = patterns.length; i < len; i++) { + var escapedWord = _.escapeRegExChars(patterns[i]); + if (diacriticInsensitive) { + escapedWord = escapedWord.replace(/\S/g, accent_replacer); + } + escapedPatterns.push(escapedWord); + } + regexStr = wordsOnly ? "\\b(" + escapedPatterns.join("|") + ")\\b" : "(" + escapedPatterns.join("|") + ")"; + return caseSensitive ? new RegExp(regexStr) : new RegExp(regexStr, "i"); + } + }(window.document); + var Input = function() { + "use strict"; + var specialKeyCodeMap; + specialKeyCodeMap = { + 9: "tab", + 27: "esc", + 37: "left", + 39: "right", + 13: "enter", + 38: "up", + 40: "down" + }; + function Input(o, www) { + var id; + o = o || {}; + if (!o.input) { + $.error("input is missing"); + } + www.mixin(this); + this.$hint = $(o.hint); + this.$input = $(o.input); + this.$menu = $(o.menu); + id = this.$input.attr("id") || _.guid(); + this.$menu.attr("id", id + "_listbox"); + this.$hint.attr({ + "aria-hidden": true + }); + this.$input.attr({ + "aria-owns": id + "_listbox", + role: "combobox", + "aria-autocomplete": "list", + "aria-expanded": false + }); + this.query = this.$input.val(); + this.queryWhenFocused = this.hasFocus() ? this.query : null; + this.$overflowHelper = buildOverflowHelper(this.$input); + this._checkLanguageDirection(); + if (this.$hint.length === 0) { + this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = _.noop; + } + this.onSync("cursorchange", this._updateDescendent); + } + Input.normalizeQuery = function(str) { + return _.toStr(str).replace(/^\s*/g, "").replace(/\s{2,}/g, " "); + }; + _.mixin(Input.prototype, EventEmitter, { + _onBlur: function onBlur() { + this.resetInputValue(); + this.trigger("blurred"); + }, + _onFocus: function onFocus() { + this.queryWhenFocused = this.query; + this.trigger("focused"); + }, + _onKeydown: function onKeydown($e) { + var keyName = specialKeyCodeMap[$e.which || $e.keyCode]; + this._managePreventDefault(keyName, $e); + if (keyName && this._shouldTrigger(keyName, $e)) { + this.trigger(keyName + "Keyed", $e); + } + }, + _onInput: function onInput() { + this._setQuery(this.getInputValue()); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + _managePreventDefault: function managePreventDefault(keyName, $e) { + var preventDefault; + switch (keyName) { + case "up": + case "down": + preventDefault = !withModifier($e); + break; + + default: + preventDefault = false; + } + preventDefault && $e.preventDefault(); + }, + _shouldTrigger: function shouldTrigger(keyName, $e) { + var trigger; + switch (keyName) { + case "tab": + trigger = !withModifier($e); + break; + + default: + trigger = true; + } + return trigger; + }, + _checkLanguageDirection: function checkLanguageDirection() { + var dir = (this.$input.css("direction") || "ltr").toLowerCase(); + if (this.dir !== dir) { + this.dir = dir; + this.$hint.attr("dir", dir); + this.trigger("langDirChanged", dir); + } + }, + _setQuery: function setQuery(val, silent) { + var areEquivalent, hasDifferentWhitespace; + areEquivalent = areQueriesEquivalent(val, this.query); + hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false; + this.query = val; + if (!silent && !areEquivalent) { + this.trigger("queryChanged", this.query); + } else if (!silent && hasDifferentWhitespace) { + this.trigger("whitespaceChanged", this.query); + } + }, + _updateDescendent: function updateDescendent(event, id) { + this.$input.attr("aria-activedescendant", id); + }, + bind: function() { + var that = this, onBlur, onFocus, onKeydown, onInput; + onBlur = _.bind(this._onBlur, this); + onFocus = _.bind(this._onFocus, this); + onKeydown = _.bind(this._onKeydown, this); + onInput = _.bind(this._onInput, this); + this.$input.on("blur.tt", onBlur).on("focus.tt", onFocus).on("keydown.tt", onKeydown); + if (!_.isMsie() || _.isMsie() > 9) { + this.$input.on("input.tt", onInput); + } else { + this.$input.on("keydown.tt keypress.tt cut.tt paste.tt", function($e) { + if (specialKeyCodeMap[$e.which || $e.keyCode]) { + return; + } + _.defer(_.bind(that._onInput, that, $e)); + }); + } + return this; + }, + focus: function focus() { + this.$input.focus(); + }, + blur: function blur() { + this.$input.blur(); + }, + getLangDir: function getLangDir() { + return this.dir; + }, + getQuery: function getQuery() { + return this.query || ""; + }, + setQuery: function setQuery(val, silent) { + this.setInputValue(val); + this._setQuery(val, silent); + }, + hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() { + return this.query !== this.queryWhenFocused; + }, + getInputValue: function getInputValue() { + return this.$input.val(); + }, + setInputValue: function setInputValue(value) { + this.$input.val(value); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + resetInputValue: function resetInputValue() { + this.setInputValue(this.query); + }, + getHint: function getHint() { + return this.$hint.val(); + }, + setHint: function setHint(value) { + this.$hint.val(value); + }, + clearHint: function clearHint() { + this.setHint(""); + }, + clearHintIfInvalid: function clearHintIfInvalid() { + var val, hint, valIsPrefixOfHint, isValid; + val = this.getInputValue(); + hint = this.getHint(); + valIsPrefixOfHint = val !== hint && hint.indexOf(val) === 0; + isValid = val !== "" && valIsPrefixOfHint && !this.hasOverflow(); + !isValid && this.clearHint(); + }, + hasFocus: function hasFocus() { + return this.$input.is(":focus"); + }, + hasOverflow: function hasOverflow() { + var constraint = this.$input.width() - 2; + this.$overflowHelper.text(this.getInputValue()); + return this.$overflowHelper.width() >= constraint; + }, + isCursorAtEnd: function() { + var valueLength, selectionStart, range; + valueLength = this.$input.val().length; + selectionStart = this.$input[0].selectionStart; + if (_.isNumber(selectionStart)) { + return selectionStart === valueLength; + } else if (document.selection) { + range = document.selection.createRange(); + range.moveStart("character", -valueLength); + return valueLength === range.text.length; + } + return true; + }, + destroy: function destroy() { + this.$hint.off(".tt"); + this.$input.off(".tt"); + this.$overflowHelper.remove(); + this.$hint = this.$input = this.$overflowHelper = $("
"); + }, + setAriaExpanded: function setAriaExpanded(value) { + this.$input.attr("aria-expanded", value); + } + }); + return Input; + function buildOverflowHelper($input) { + return $('').css({ + position: "absolute", + visibility: "hidden", + whiteSpace: "pre", + fontFamily: $input.css("font-family"), + fontSize: $input.css("font-size"), + fontStyle: $input.css("font-style"), + fontVariant: $input.css("font-variant"), + fontWeight: $input.css("font-weight"), + wordSpacing: $input.css("word-spacing"), + letterSpacing: $input.css("letter-spacing"), + textIndent: $input.css("text-indent"), + textRendering: $input.css("text-rendering"), + textTransform: $input.css("text-transform") + }).insertAfter($input); + } + function areQueriesEquivalent(a, b) { + return Input.normalizeQuery(a) === Input.normalizeQuery(b); + } + function withModifier($e) { + return $e.altKey || $e.ctrlKey || $e.metaKey || $e.shiftKey; + } + }(); + var Dataset = function() { + "use strict"; + var keys, nameGenerator; + keys = { + dataset: "tt-selectable-dataset", + val: "tt-selectable-display", + obj: "tt-selectable-object" + }; + nameGenerator = _.getIdGenerator(); + function Dataset(o, www) { + o = o || {}; + o.templates = o.templates || {}; + o.templates.notFound = o.templates.notFound || o.templates.empty; + if (!o.source) { + $.error("missing source"); + } + if (!o.node) { + $.error("missing node"); + } + if (o.name && !isValidName(o.name)) { + $.error("invalid dataset name: " + o.name); + } + www.mixin(this); + this.highlight = !!o.highlight; + this.name = _.toStr(o.name || nameGenerator()); + this.limit = o.limit || 5; + this.displayFn = getDisplayFn(o.display || o.displayKey); + this.templates = getTemplates(o.templates, this.displayFn); + this.source = o.source.__ttAdapter ? o.source.__ttAdapter() : o.source; + this.async = _.isUndefined(o.async) ? this.source.length > 2 : !!o.async; + this._resetLastSuggestion(); + this.$el = $(o.node).attr("role", "presentation").addClass(this.classes.dataset).addClass(this.classes.dataset + "-" + this.name); + } + Dataset.extractData = function extractData(el) { + var $el = $(el); + if ($el.data(keys.obj)) { + return { + dataset: $el.data(keys.dataset) || "", + val: $el.data(keys.val) || "", + obj: $el.data(keys.obj) || null + }; + } + return null; + }; + _.mixin(Dataset.prototype, EventEmitter, { + _overwrite: function overwrite(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (this.async && this.templates.pending) { + this._renderPending(query); + } else if (!this.async && this.templates.notFound) { + this._renderNotFound(query); + } else { + this._empty(); + } + this.trigger("rendered", suggestions, false, this.name); + }, + _append: function append(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length && this.$lastSuggestion.length) { + this._appendSuggestions(query, suggestions); + } else if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (!this.$lastSuggestion.length && this.templates.notFound) { + this._renderNotFound(query); + } + this.trigger("rendered", suggestions, true, this.name); + }, + _renderSuggestions: function renderSuggestions(query, suggestions) { + var $fragment; + $fragment = this._getSuggestionsFragment(query, suggestions); + this.$lastSuggestion = $fragment.children().last(); + this.$el.html($fragment).prepend(this._getHeader(query, suggestions)).append(this._getFooter(query, suggestions)); + }, + _appendSuggestions: function appendSuggestions(query, suggestions) { + var $fragment, $lastSuggestion; + $fragment = this._getSuggestionsFragment(query, suggestions); + $lastSuggestion = $fragment.children().last(); + this.$lastSuggestion.after($fragment); + this.$lastSuggestion = $lastSuggestion; + }, + _renderPending: function renderPending(query) { + var template = this.templates.pending; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _renderNotFound: function renderNotFound(query) { + var template = this.templates.notFound; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _empty: function empty() { + this.$el.empty(); + this._resetLastSuggestion(); + }, + _getSuggestionsFragment: function getSuggestionsFragment(query, suggestions) { + var that = this, fragment; + fragment = document.createDocumentFragment(); + _.each(suggestions, function getSuggestionNode(suggestion) { + var $el, context; + context = that._injectQuery(query, suggestion); + $el = $(that.templates.suggestion(context)).data(keys.dataset, that.name).data(keys.obj, suggestion).data(keys.val, that.displayFn(suggestion)).addClass(that.classes.suggestion + " " + that.classes.selectable); + fragment.appendChild($el[0]); + }); + this.highlight && highlight({ + className: this.classes.highlight, + node: fragment, + pattern: query + }); + return $(fragment); + }, + _getFooter: function getFooter(query, suggestions) { + return this.templates.footer ? this.templates.footer({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _getHeader: function getHeader(query, suggestions) { + return this.templates.header ? this.templates.header({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _resetLastSuggestion: function resetLastSuggestion() { + this.$lastSuggestion = $(); + }, + _injectQuery: function injectQuery(query, obj) { + return _.isObject(obj) ? _.mixin({ + _query: query + }, obj) : obj; + }, + update: function update(query) { + var that = this, canceled = false, syncCalled = false, rendered = 0; + this.cancel(); + this.cancel = function cancel() { + canceled = true; + that.cancel = $.noop; + that.async && that.trigger("asyncCanceled", query, that.name); + }; + this.source(query, sync, async); + !syncCalled && sync([]); + function sync(suggestions) { + if (syncCalled) { + return; + } + syncCalled = true; + suggestions = (suggestions || []).slice(0, that.limit); + rendered = suggestions.length; + that._overwrite(query, suggestions); + if (rendered < that.limit && that.async) { + that.trigger("asyncRequested", query, that.name); + } + } + function async(suggestions) { + suggestions = suggestions || []; + if (!canceled && rendered < that.limit) { + that.cancel = $.noop; + var idx = Math.abs(rendered - that.limit); + rendered += idx; + that._append(query, suggestions.slice(0, idx)); + that.async && that.trigger("asyncReceived", query, that.name); + } + } + }, + cancel: $.noop, + clear: function clear() { + this._empty(); + this.cancel(); + this.trigger("cleared"); + }, + isEmpty: function isEmpty() { + return this.$el.is(":empty"); + }, + destroy: function destroy() { + this.$el = $("
"); + } + }); + return Dataset; + function getDisplayFn(display) { + display = display || _.stringify; + return _.isFunction(display) ? display : displayFn; + function displayFn(obj) { + return obj[display]; + } + } + function getTemplates(templates, displayFn) { + return { + notFound: templates.notFound && _.templatify(templates.notFound), + pending: templates.pending && _.templatify(templates.pending), + header: templates.header && _.templatify(templates.header), + footer: templates.footer && _.templatify(templates.footer), + suggestion: templates.suggestion ? userSuggestionTemplate : suggestionTemplate + }; + function userSuggestionTemplate(context) { + var template = templates.suggestion; + return $(template(context)).attr("id", _.guid()); + } + function suggestionTemplate(context) { + return $('
').attr("id", _.guid()).text(displayFn(context)); + } + } + function isValidName(str) { + return /^[_a-zA-Z0-9-]+$/.test(str); + } + }(); + var Menu = function() { + "use strict"; + function Menu(o, www) { + var that = this; + o = o || {}; + if (!o.node) { + $.error("node is required"); + } + www.mixin(this); + this.$node = $(o.node); + this.query = null; + this.datasets = _.map(o.datasets, initializeDataset); + function initializeDataset(oDataset) { + var node = that.$node.find(oDataset.node).first(); + oDataset.node = node.length ? node : $("
").appendTo(that.$node); + return new Dataset(oDataset, www); + } + } + _.mixin(Menu.prototype, EventEmitter, { + _onSelectableClick: function onSelectableClick($e) { + this.trigger("selectableClicked", $($e.currentTarget)); + }, + _onRendered: function onRendered(type, dataset, suggestions, async) { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetRendered", dataset, suggestions, async); + }, + _onCleared: function onCleared() { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetCleared"); + }, + _propagate: function propagate() { + this.trigger.apply(this, arguments); + }, + _allDatasetsEmpty: function allDatasetsEmpty() { + return _.every(this.datasets, _.bind(function isDatasetEmpty(dataset) { + var isEmpty = dataset.isEmpty(); + this.$node.attr("aria-expanded", !isEmpty); + return isEmpty; + }, this)); + }, + _getSelectables: function getSelectables() { + return this.$node.find(this.selectors.selectable); + }, + _removeCursor: function _removeCursor() { + var $selectable = this.getActiveSelectable(); + $selectable && $selectable.removeClass(this.classes.cursor); + }, + _ensureVisible: function ensureVisible($el) { + var elTop, elBottom, nodeScrollTop, nodeHeight; + elTop = $el.position().top; + elBottom = elTop + $el.outerHeight(true); + nodeScrollTop = this.$node.scrollTop(); + nodeHeight = this.$node.height() + parseInt(this.$node.css("paddingTop"), 10) + parseInt(this.$node.css("paddingBottom"), 10); + if (elTop < 0) { + this.$node.scrollTop(nodeScrollTop + elTop); + } else if (nodeHeight < elBottom) { + this.$node.scrollTop(nodeScrollTop + (elBottom - nodeHeight)); + } + }, + bind: function() { + var that = this, onSelectableClick; + onSelectableClick = _.bind(this._onSelectableClick, this); + this.$node.on("click.tt", this.selectors.selectable, onSelectableClick); + this.$node.on("mouseover", this.selectors.selectable, function() { + that.setCursor($(this)); + }); + this.$node.on("mouseleave", function() { + that._removeCursor(); + }); + _.each(this.datasets, function(dataset) { + dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that); + }); + return this; + }, + isOpen: function isOpen() { + return this.$node.hasClass(this.classes.open); + }, + open: function open() { + this.$node.scrollTop(0); + this.$node.addClass(this.classes.open); + }, + close: function close() { + this.$node.attr("aria-expanded", false); + this.$node.removeClass(this.classes.open); + this._removeCursor(); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.attr("dir", dir); + }, + selectableRelativeToCursor: function selectableRelativeToCursor(delta) { + var $selectables, $oldCursor, oldIndex, newIndex; + $oldCursor = this.getActiveSelectable(); + $selectables = this._getSelectables(); + oldIndex = $oldCursor ? $selectables.index($oldCursor) : -1; + newIndex = oldIndex + delta; + newIndex = (newIndex + 1) % ($selectables.length + 1) - 1; + newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex; + return newIndex === -1 ? null : $selectables.eq(newIndex); + }, + setCursor: function setCursor($selectable) { + this._removeCursor(); + if ($selectable = $selectable && $selectable.first()) { + $selectable.addClass(this.classes.cursor); + this._ensureVisible($selectable); + } + }, + getSelectableData: function getSelectableData($el) { + return $el && $el.length ? Dataset.extractData($el) : null; + }, + getActiveSelectable: function getActiveSelectable() { + var $selectable = this._getSelectables().filter(this.selectors.cursor).first(); + return $selectable.length ? $selectable : null; + }, + getTopSelectable: function getTopSelectable() { + var $selectable = this._getSelectables().first(); + return $selectable.length ? $selectable : null; + }, + update: function update(query) { + var isValidUpdate = query !== this.query; + if (isValidUpdate) { + this.query = query; + _.each(this.datasets, updateDataset); + } + return isValidUpdate; + function updateDataset(dataset) { + dataset.update(query); + } + }, + empty: function empty() { + _.each(this.datasets, clearDataset); + this.query = null; + this.$node.addClass(this.classes.empty); + function clearDataset(dataset) { + dataset.clear(); + } + }, + destroy: function destroy() { + this.$node.off(".tt"); + this.$node = $("
"); + _.each(this.datasets, destroyDataset); + function destroyDataset(dataset) { + dataset.destroy(); + } + } + }); + return Menu; + }(); + var Status = function() { + "use strict"; + function Status(options) { + this.$el = $("", { + role: "status", + "aria-live": "polite" + }).css({ + position: "absolute", + padding: "0", + border: "0", + height: "1px", + width: "1px", + "margin-bottom": "-1px", + "margin-right": "-1px", + overflow: "hidden", + clip: "rect(0 0 0 0)", + "white-space": "nowrap" + }); + options.$input.after(this.$el); + _.each(options.menu.datasets, _.bind(function(dataset) { + if (dataset.onSync) { + dataset.onSync("rendered", _.bind(this.update, this)); + dataset.onSync("cleared", _.bind(this.cleared, this)); + } + }, this)); + } + _.mixin(Status.prototype, { + update: function update(event, suggestions) { + var length = suggestions.length; + var words; + if (length === 1) { + words = { + result: "result", + is: "is" + }; + } else { + words = { + result: "results", + is: "are" + }; + } + this.$el.text(length + " " + words.result + " " + words.is + " available, use up and down arrow keys to navigate."); + }, + cleared: function() { + this.$el.text(""); + } + }); + return Status; + }(); + var DefaultMenu = function() { + "use strict"; + var s = Menu.prototype; + function DefaultMenu() { + Menu.apply(this, [].slice.call(arguments, 0)); + } + _.mixin(DefaultMenu.prototype, Menu.prototype, { + open: function open() { + !this._allDatasetsEmpty() && this._show(); + return s.open.apply(this, [].slice.call(arguments, 0)); + }, + close: function close() { + this._hide(); + return s.close.apply(this, [].slice.call(arguments, 0)); + }, + _onRendered: function onRendered() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onRendered.apply(this, [].slice.call(arguments, 0)); + }, + _onCleared: function onCleared() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onCleared.apply(this, [].slice.call(arguments, 0)); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.css(dir === "ltr" ? this.css.ltr : this.css.rtl); + return s.setLanguageDirection.apply(this, [].slice.call(arguments, 0)); + }, + _hide: function hide() { + this.$node.hide(); + }, + _show: function show() { + this.$node.css("display", "block"); + } + }); + return DefaultMenu; + }(); + var Typeahead = function() { + "use strict"; + function Typeahead(o, www) { + var onFocused, onBlurred, onEnterKeyed, onTabKeyed, onEscKeyed, onUpKeyed, onDownKeyed, onLeftKeyed, onRightKeyed, onQueryChanged, onWhitespaceChanged; + o = o || {}; + if (!o.input) { + $.error("missing input"); + } + if (!o.menu) { + $.error("missing menu"); + } + if (!o.eventBus) { + $.error("missing event bus"); + } + www.mixin(this); + this.eventBus = o.eventBus; + this.minLength = _.isNumber(o.minLength) ? o.minLength : 1; + this.input = o.input; + this.menu = o.menu; + this.enabled = true; + this.autoselect = !!o.autoselect; + this.active = false; + this.input.hasFocus() && this.activate(); + this.dir = this.input.getLangDir(); + this._hacks(); + this.menu.bind().onSync("selectableClicked", this._onSelectableClicked, this).onSync("asyncRequested", this._onAsyncRequested, this).onSync("asyncCanceled", this._onAsyncCanceled, this).onSync("asyncReceived", this._onAsyncReceived, this).onSync("datasetRendered", this._onDatasetRendered, this).onSync("datasetCleared", this._onDatasetCleared, this); + onFocused = c(this, "activate", "open", "_onFocused"); + onBlurred = c(this, "deactivate", "_onBlurred"); + onEnterKeyed = c(this, "isActive", "isOpen", "_onEnterKeyed"); + onTabKeyed = c(this, "isActive", "isOpen", "_onTabKeyed"); + onEscKeyed = c(this, "isActive", "_onEscKeyed"); + onUpKeyed = c(this, "isActive", "open", "_onUpKeyed"); + onDownKeyed = c(this, "isActive", "open", "_onDownKeyed"); + onLeftKeyed = c(this, "isActive", "isOpen", "_onLeftKeyed"); + onRightKeyed = c(this, "isActive", "isOpen", "_onRightKeyed"); + onQueryChanged = c(this, "_openIfActive", "_onQueryChanged"); + onWhitespaceChanged = c(this, "_openIfActive", "_onWhitespaceChanged"); + this.input.bind().onSync("focused", onFocused, this).onSync("blurred", onBlurred, this).onSync("enterKeyed", onEnterKeyed, this).onSync("tabKeyed", onTabKeyed, this).onSync("escKeyed", onEscKeyed, this).onSync("upKeyed", onUpKeyed, this).onSync("downKeyed", onDownKeyed, this).onSync("leftKeyed", onLeftKeyed, this).onSync("rightKeyed", onRightKeyed, this).onSync("queryChanged", onQueryChanged, this).onSync("whitespaceChanged", onWhitespaceChanged, this).onSync("langDirChanged", this._onLangDirChanged, this); + } + _.mixin(Typeahead.prototype, { + _hacks: function hacks() { + var $input, $menu; + $input = this.input.$input || $("
"); + $menu = this.menu.$node || $("
"); + $input.on("blur.tt", function($e) { + var active, isActive, hasActive; + active = document.activeElement; + isActive = $menu.is(active); + hasActive = $menu.has(active).length > 0; + if (_.isMsie() && (isActive || hasActive)) { + $e.preventDefault(); + $e.stopImmediatePropagation(); + _.defer(function() { + $input.focus(); + }); + } + }); + $menu.on("mousedown.tt", function($e) { + $e.preventDefault(); + }); + }, + _onSelectableClicked: function onSelectableClicked(type, $el) { + this.select($el); + }, + _onDatasetCleared: function onDatasetCleared() { + this._updateHint(); + }, + _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) { + this._updateHint(); + if (this.autoselect) { + var cursorClass = this.selectors.cursor.substr(1); + this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass); + } + this.eventBus.trigger("render", suggestions, async, dataset); + }, + _onAsyncRequested: function onAsyncRequested(type, dataset, query) { + this.eventBus.trigger("asyncrequest", query, dataset); + }, + _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) { + this.eventBus.trigger("asynccancel", query, dataset); + }, + _onAsyncReceived: function onAsyncReceived(type, dataset, query) { + this.eventBus.trigger("asyncreceive", query, dataset); + }, + _onFocused: function onFocused() { + this._minLengthMet() && this.menu.update(this.input.getQuery()); + }, + _onBlurred: function onBlurred() { + if (this.input.hasQueryChangedSinceLastFocus()) { + this.eventBus.trigger("change", this.input.getQuery()); + } + }, + _onEnterKeyed: function onEnterKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + if (this.select($selectable)) { + $e.preventDefault(); + $e.stopPropagation(); + } + } else if (this.autoselect) { + if (this.select(this.menu.getTopSelectable())) { + $e.preventDefault(); + $e.stopPropagation(); + } + } + }, + _onTabKeyed: function onTabKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + this.select($selectable) && $e.preventDefault(); + } else if (this.autoselect) { + if ($selectable = this.menu.getTopSelectable()) { + this.autocomplete($selectable) && $e.preventDefault(); + } + } + }, + _onEscKeyed: function onEscKeyed() { + this.close(); + }, + _onUpKeyed: function onUpKeyed() { + this.moveCursor(-1); + }, + _onDownKeyed: function onDownKeyed() { + this.moveCursor(+1); + }, + _onLeftKeyed: function onLeftKeyed() { + if (this.dir === "rtl" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onRightKeyed: function onRightKeyed() { + if (this.dir === "ltr" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onQueryChanged: function onQueryChanged(e, query) { + this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty(); + }, + _onWhitespaceChanged: function onWhitespaceChanged() { + this._updateHint(); + }, + _onLangDirChanged: function onLangDirChanged(e, dir) { + if (this.dir !== dir) { + this.dir = dir; + this.menu.setLanguageDirection(dir); + } + }, + _openIfActive: function openIfActive() { + this.isActive() && this.open(); + }, + _minLengthMet: function minLengthMet(query) { + query = _.isString(query) ? query : this.input.getQuery() || ""; + return query.length >= this.minLength; + }, + _updateHint: function updateHint() { + var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match; + $selectable = this.menu.getTopSelectable(); + data = this.menu.getSelectableData($selectable); + val = this.input.getInputValue(); + if (data && !_.isBlankString(val) && !this.input.hasOverflow()) { + query = Input.normalizeQuery(val); + escapedQuery = _.escapeRegExChars(query); + frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i"); + match = frontMatchRegEx.exec(data.val); + match && this.input.setHint(val + match[1]); + } else { + this.input.clearHint(); + } + }, + isEnabled: function isEnabled() { + return this.enabled; + }, + enable: function enable() { + this.enabled = true; + }, + disable: function disable() { + this.enabled = false; + }, + isActive: function isActive() { + return this.active; + }, + activate: function activate() { + if (this.isActive()) { + return true; + } else if (!this.isEnabled() || this.eventBus.before("active")) { + return false; + } else { + this.active = true; + this.eventBus.trigger("active"); + return true; + } + }, + deactivate: function deactivate() { + if (!this.isActive()) { + return true; + } else if (this.eventBus.before("idle")) { + return false; + } else { + this.active = false; + this.close(); + this.eventBus.trigger("idle"); + return true; + } + }, + isOpen: function isOpen() { + return this.menu.isOpen(); + }, + open: function open() { + if (!this.isOpen() && !this.eventBus.before("open")) { + this.input.setAriaExpanded(true); + this.menu.open(); + this._updateHint(); + this.eventBus.trigger("open"); + } + return this.isOpen(); + }, + close: function close() { + if (this.isOpen() && !this.eventBus.before("close")) { + this.input.setAriaExpanded(false); + this.menu.close(); + this.input.clearHint(); + this.input.resetInputValue(); + this.eventBus.trigger("close"); + } + return !this.isOpen(); + }, + setVal: function setVal(val) { + this.input.setQuery(_.toStr(val)); + }, + getVal: function getVal() { + return this.input.getQuery(); + }, + select: function select($selectable) { + var data = this.menu.getSelectableData($selectable); + if (data && !this.eventBus.before("select", data.obj, data.dataset)) { + this.input.setQuery(data.val, true); + this.eventBus.trigger("select", data.obj, data.dataset); + this.close(); + return true; + } + return false; + }, + autocomplete: function autocomplete($selectable) { + var query, data, isValid; + query = this.input.getQuery(); + data = this.menu.getSelectableData($selectable); + isValid = data && query !== data.val; + if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) { + this.input.setQuery(data.val); + this.eventBus.trigger("autocomplete", data.obj, data.dataset); + return true; + } + return false; + }, + moveCursor: function moveCursor(delta) { + var query, $candidate, data, suggestion, datasetName, cancelMove, id; + query = this.input.getQuery(); + $candidate = this.menu.selectableRelativeToCursor(delta); + data = this.menu.getSelectableData($candidate); + suggestion = data ? data.obj : null; + datasetName = data ? data.dataset : null; + id = $candidate ? $candidate.attr("id") : null; + this.input.trigger("cursorchange", id); + cancelMove = this._minLengthMet() && this.menu.update(query); + if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) { + this.menu.setCursor($candidate); + if (data) { + if (typeof data.val === "string") { + this.input.setInputValue(data.val); + } + } else { + this.input.resetInputValue(); + this._updateHint(); + } + this.eventBus.trigger("cursorchange", suggestion, datasetName); + return true; + } + return false; + }, + destroy: function destroy() { + this.input.destroy(); + this.menu.destroy(); + } + }); + return Typeahead; + function c(ctx) { + var methods = [].slice.call(arguments, 1); + return function() { + var args = [].slice.call(arguments); + _.each(methods, function(method) { + return ctx[method].apply(ctx, args); + }); + }; + } + }(); + (function() { + "use strict"; + var old, keys, methods; + old = $.fn.typeahead; + keys = { + www: "tt-www", + attrs: "tt-attrs", + typeahead: "tt-typeahead" + }; + methods = { + initialize: function initialize(o, datasets) { + var www; + datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1); + o = o || {}; + www = WWW(o.classNames); + return this.each(attach); + function attach() { + var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor; + _.each(datasets, function(d) { + d.highlight = !!o.highlight; + }); + $input = $(this); + $wrapper = $(www.html.wrapper); + $hint = $elOrNull(o.hint); + $menu = $elOrNull(o.menu); + defaultHint = o.hint !== false && !$hint; + defaultMenu = o.menu !== false && !$menu; + defaultHint && ($hint = buildHintFromInput($input, www)); + defaultMenu && ($menu = $(www.html.menu).css(www.css.menu)); + $hint && $hint.val(""); + $input = prepInput($input, www); + if (defaultHint || defaultMenu) { + $wrapper.css(www.css.wrapper); + $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint); + $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null); + } + MenuConstructor = defaultMenu ? DefaultMenu : Menu; + eventBus = new EventBus({ + el: $input + }); + input = new Input({ + hint: $hint, + input: $input, + menu: $menu + }, www); + menu = new MenuConstructor({ + node: $menu, + datasets: datasets + }, www); + status = new Status({ + $input: $input, + menu: menu + }); + typeahead = new Typeahead({ + input: input, + menu: menu, + eventBus: eventBus, + minLength: o.minLength, + autoselect: o.autoselect + }, www); + $input.data(keys.www, www); + $input.data(keys.typeahead, typeahead); + } + }, + isEnabled: function isEnabled() { + var enabled; + ttEach(this.first(), function(t) { + enabled = t.isEnabled(); + }); + return enabled; + }, + enable: function enable() { + ttEach(this, function(t) { + t.enable(); + }); + return this; + }, + disable: function disable() { + ttEach(this, function(t) { + t.disable(); + }); + return this; + }, + isActive: function isActive() { + var active; + ttEach(this.first(), function(t) { + active = t.isActive(); + }); + return active; + }, + activate: function activate() { + ttEach(this, function(t) { + t.activate(); + }); + return this; + }, + deactivate: function deactivate() { + ttEach(this, function(t) { + t.deactivate(); + }); + return this; + }, + isOpen: function isOpen() { + var open; + ttEach(this.first(), function(t) { + open = t.isOpen(); + }); + return open; + }, + open: function open() { + ttEach(this, function(t) { + t.open(); + }); + return this; + }, + close: function close() { + ttEach(this, function(t) { + t.close(); + }); + return this; + }, + select: function select(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.select($el); + }); + return success; + }, + autocomplete: function autocomplete(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.autocomplete($el); + }); + return success; + }, + moveCursor: function moveCursoe(delta) { + var success = false; + ttEach(this.first(), function(t) { + success = t.moveCursor(delta); + }); + return success; + }, + val: function val(newVal) { + var query; + if (!arguments.length) { + ttEach(this.first(), function(t) { + query = t.getVal(); + }); + return query; + } else { + ttEach(this, function(t) { + t.setVal(_.toStr(newVal)); + }); + return this; + } + }, + destroy: function destroy() { + ttEach(this, function(typeahead, $input) { + revert($input); + typeahead.destroy(); + }); + return this; + } + }; + $.fn.typeahead = function(method) { + if (methods[method]) { + return methods[method].apply(this, [].slice.call(arguments, 1)); + } else { + return methods.initialize.apply(this, arguments); + } + }; + $.fn.typeahead.noConflict = function noConflict() { + $.fn.typeahead = old; + return this; + }; + function ttEach($els, fn) { + $els.each(function() { + var $input = $(this), typeahead; + (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input); + }); + } + function buildHintFromInput($input, www) { + return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({ + readonly: true, + required: false + }).removeAttr("id name placeholder").removeClass("required").attr({ + spellcheck: "false", + tabindex: -1 + }); + } + function prepInput($input, www) { + $input.data(keys.attrs, { + dir: $input.attr("dir"), + autocomplete: $input.attr("autocomplete"), + spellcheck: $input.attr("spellcheck"), + style: $input.attr("style") + }); + $input.addClass(www.classes.input).attr({ + spellcheck: false + }); + try { + !$input.attr("dir") && $input.attr("dir", "auto"); + } catch (e) {} + return $input; + } + function getBackgroundStyles($el) { + return { + backgroundAttachment: $el.css("background-attachment"), + backgroundClip: $el.css("background-clip"), + backgroundColor: $el.css("background-color"), + backgroundImage: $el.css("background-image"), + backgroundOrigin: $el.css("background-origin"), + backgroundPosition: $el.css("background-position"), + backgroundRepeat: $el.css("background-repeat"), + backgroundSize: $el.css("background-size") + }; + } + function revert($input) { + var www, $wrapper; + www = $input.data(keys.www); + $wrapper = $input.parent().filter(www.selectors.wrapper); + _.each($input.data(keys.attrs), function(val, key) { + _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val); + }); + $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input); + if ($wrapper.length) { + $input.detach().insertAfter($wrapper); + $wrapper.remove(); + } + } + function $elOrNull(obj) { + var isValid, $el; + isValid = _.isJQuery(obj) || _.isElement(obj); + $el = isValid ? $(obj).first() : []; + return $el.length ? $el : null; + } + })(); +}); \ No newline at end of file diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/readme.html b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/readme.html new file mode 100644 index 000000000..1dd384f17 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/readme.html @@ -0,0 +1,1082 @@ + + + + README Reference + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+ +

Hyperwallet UI SDK

+ +

Platforms +Build Status +Coverage Status

+ +

CocoaPods +Carthage compatible

+ +

NOTE: This is a beta product available for use in your mobile app. If you are interested in using this product, please notify your Relationship Manager and / or Project Manager to support you during the integration process.

+ +

Welcome to Hyperwallet’s iOS UI SDK. This out-of-the-box library will help you create transfer methods in your iOS app, such as bank account, PayPal account, etc.

+ +

Note that this SDK is geared towards those who need both backend data and UI features. Please refer to Hyperwallet iOS Core SDK if you decide to build your own UI.

+

Prerequisites

+ +
    +
  • A Hyperwallet merchant account
  • +
  • Set Up your server to manage the user’s authentication process on the Hyperwallet platform. See the Authentication section for more information.
  • +
  • iOS 13.0+
  • +
  • Xcode 10.2+
  • +
  • Swift 5.0
  • +
+

Dependencies

+ + +

Installation

+ +

Use Carthage or CocoaPods to integrate to HyperwalletSDK. +Currently, the following modules are available:

+ +
    +
  • TransferMethod - List, add or remove Transfer Methods
  • +
  • Transfer - Create a transfer from user account or prepaid card to available accounts for the user
  • +
  • Receipt - List user/prepaid card receipts +Adding one or more of these frameworks allows users to explore the particular function. If every feature is required, all the frameworks should be added +### Carthage +Specify it in your Cartfile: +ogdl +github "hyperwallet/hyperwallet-ios-ui-sdk" "1.0.0-beta18" + +Add desired modules using the Linked Frameworks and Libraries option to make them available in the app. +Use import <module-name> to add the dependency within a file
  • +
+

CocoaPods

+ +
    +
  • Install a specific framework (install one or more frameworks based on your requirement) +ruby +pod "HyperwalletUISDK/TransferMethod", "1.0.0-beta18" +pod "HyperwalletUISDK/Transfer", "1.0.0-beta18" +pod "HyperwalletUISDK/Receipt", "1.0.0-beta18" +
  • +
  • To install all available modules (TransferMethod, Transfer, Receipt) +ruby +pod 'HyperwalletUISDK', '~> 1.0.0-beta18' + +Use import HyperwalletUISDK to add the dependency within a file.
  • +
+

Initialization

+ +

After you’re done installing the SDK, you need to initialize an instance in order to utilize core SDK functions. Also, you need to provide a HyperwalletAuthenticationTokenProvider object to retrieve an authentication token.

+

Setup the UI Style

+ +

HyperwalletUISDK provides default themes for all the modules(e.g. TransferMethod, Receipt). If you import HyperwalletUISDK, in order to +apply the default theme, you will have to call ThemeManager.applyTheme() which will apply the basic theme to ProcessingView and SpinnerView. If you want Hyperwallet custom theme for UINavigationBar then add ThemeManager.applyToUINavigationBar() +For example:

+
...
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Optional - Define the HyperwalletUISDK on the `Theme` object. See the section `Customize the visual style`.
+
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        // Apply basic theme
+        ThemeManager.applyTheme()
+        return true
+    }
+}
+
+ +

You can also customize the default themes according to your needs. Please see customize the visual style for detail.

+

Setup the authentication

+ +

Add in the header:

+
import HyperwalletUISDK
+
+ +

Initialize the HyperwalletUISDK with a HyperwalletAuthenticationTokenProvider implementation instance:

+
HyperwalletUI.setup(_ :HyperwalletAuthenticationTokenProvider)
+
+

Authentication

+ +

Your server side should be able to send a POST request to Hyperwallet endpoint /rest/v3/users/{user-token}/authentication-token to retrieve an authentication token. +Then, you need to provide a class (an authentication provider) which implements HyperwalletAuthenticationTokenProvider to retrieve an authentication token from your server.

+ +

Example implementation using the URLRequest from Swift Foundation :

+
public struct AuthenticationTokenProviders: HyperwalletAuthenticationTokenProvider {
+    private let url = URL(string: "http://your/server/to/retrieve/authenticationToken")!
+
+    public func retrieveAuthenticationToken(
+        completionHandler: @escaping HyperwalletAuthenticationTokenProvider.CompletionHandler) {
+
+        var request = URLRequest(url: url)
+        request.httpMethod = "POST"
+        request.addValue("application/json", forHTTPHeaderField: "Content-Type")
+
+        let defaultSession = URLSession(configuration: .default)
+        let task = defaultSession.dataTask(with: request) {(data, response, error) in
+            DispatchQueue.main.async {
+                guard let data = data,
+                    let clientToken = String(data: data, encoding: .utf8),
+                    let response = response as? HTTPURLResponse else {
+                        completionHandler(nil, HyperwalletAuthenticationErrorType.unexpected(error?.localizedDescription ??
+                        "authentication token cannot be retrieved"))
+                        return
+                }
+
+                switch response.statusCode {
+                    case 200 ..< 300:
+                        completionHandler(clientToken, nil)
+
+                    default:
+                        completionHandler(nil, HyperwalletAuthenticationErrorType
+                            .unexpected("authentication token cannot be retrieved"))
+                }
+            }
+        }
+        task.resume()
+    }
+}
+
+

Usage

+ +

The functions in the UI SDK are available to use once the authentication is done.

+

The user’s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check)

+ +

Add in the header:

+
import HyperwalletSDK
+import HyperwalletUISDK
+
+

Lists the user’s transfer methods

+ +

The user can deactivate or add a new transfer method.

+
let coordinator = HyperwalletUI.shared.listTransferMethodCoordinator(parentController: self)
+coordinator.navigate()
+
+

Select a transfer method type available by country and currency

+
let coordinator = HyperwalletUI.shared.selectTransferMethodTypeCoordinator(parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Create a transfer method

+ +

The form fields are based on the country, currency, user’s profile type, and transfer method type. These values should be passed to this method to create a new Transfer Method.

+
let coordinator = HyperwalletUI.shared.addTransferMethodCoordinator(
+    "US", // The 2 letter ISO 3166-1 country code.
+    "USD", // The 3 letter ISO 4217-1 currency code.
+    "INDIVIDUAL", // The profile type. Possible values - INDIVIDUAL, BUSINESS.
+    "BANK_ACCOUNT", // The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD, PAYPAL_ACCOUNT
+    parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer method and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Update a transfer method

+
let coordinator = HyperwalletUI.shared.updateTransferMethodCoordinator(
+    "your-transfer-method-token", // The transfer method token
+    parentController: self)
+coordinator.navigate()
+
+

Lists the user’s receipts

+
let coordinator = HyperwalletUI.shared.listUserReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Lists the prepaid card’s receipts

+
let coordinator = HyperwalletUI.shared.listPrepaidCardReceiptCoordinator(parentController: self, prepaidCardToken: "your-prepaid-card-token")
+coordinator.navigate()
+
+

Lists receipts from all available sources

+
let coordinator = HyperwalletUI.shared.listAllAvailableSourcesReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Make a new transfer from user’s account

+ +

To add new Transfer Method from Transfer module, TransferMethod module needs to be added as a dependency in the app. If TransferMethod module is not added, users will not be able to add a new Transfer Method inside the Transfer flow.

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromUserCoordinator(clientTransferId: clientTransferId, parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Make a new transfer from prepaid card

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromPrepaidCardCoordinator(clientTransferId: clientTransferId,
+                                                      sourceToken: "your-prepaid-card-token",
+                                                      parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Display all the available sources to make a new transfer from. User can then select the transfer from source and make a new tansfer from that source

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromAllAvailableSourcesCoordinator(clientTransferId: clientTransferId,
+                                                              parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

NotificationCenter Events

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Notification nameDescription
Notification.Name.transferMethodAddedPosted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been created.
Notification.Name.transferMethodDeactivatedPosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been deactivated.
Notification.Name.transferCreatedPosted when a transfer of funds has been created.
Notification.Name.transferScheduledPosted when a transfer of funds has been scheduled.
Notification.Name.authenticationErrorPosted when SDK is unable to fetch new authentication token from client implementation. Client can choose to close the app/ logout/ navigate to some other screen when this notification is received.
+ +

When an object adds itself as an observer, it specifies which notifications it should receive. An object may, therefore, call this method several times in order to register itself as an observer for several different notifications.

+

How to use Notification.Name.transferMethodAdded

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didCreateNewTransferMethodNotification(notification:)),
+                                        name: Notification.Name.transferMethodAdded, object: nil)
+}
+
+@objc func didCreateNewTransferMethodNotification(notification: Notification) {
+    if let transferMethod = notification.userInfo![UserInfo.transferMethodAdded] as? HyperwalletTransferMethod {
+        // A new transfer method has been created
+    }
+}
+
+

How to use Notification.Name.transferMethodDeactivated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferMethodDeactivatedNotification(notification:)),
+                                        name: Notification.Name.transferMethodDeactivated, object: nil)
+}
+
+@objc func didTransferMethodDeactivatedNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferMethodDeactivated] as? HyperwalletStatusTransition {
+        // A transfer method has been deactivated.
+    }
+}
+
+

How to use Notification.Name.transferCreated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferCreatedNotification(notification:)),
+                                        name: Notification.Name.transferCreated, object: nil)
+}
+
+@objc func didTransferCreatedNotification(notification: Notification) {
+    if let transfer = notification.userInfo![UserInfo.transferCreated] as? HyperwalletTransfer {
+        // A transfer has been created.
+    }
+}
+
+

How to use Notification.Name.transferScheduled

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferScheduledNotification(notification:)),
+                                        name: Notification.Name.transferScheduled, object: nil)
+}
+
+@objc func didTransferScheduledNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferScheduled] as? HyperwalletStatusTransition {
+        // A transfer has been scheduled.
+    }
+}
+
+

How to use Notification.Name.authenticationError

+
override public func viewDidLoad() {
+super.viewDidLoad()
+...
+NotificationCenter.default.addObserver(self,
+selector: #selector(didAuthenticationErrorOccur(notification:)),
+name: Notification.Name.authenticationError, object: nil)
+}
+
+@objc func didAuthenticationErrorOccur(notification: Notification) {
+// Logout/ navigate to any other screen
+}
+
+

Customize the visual style

+ +

UI SDK is designed to make the process of the UI Styling as simple as possible. The Theme.swift object is responsible for UI customization.

+ +

Use the application(_:didFinishLaunchingWithOptions:) method to customize the user interface of SDK.

+ +

On the Theme is possible to customize the properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyDefault ValueDescription
Theme.themeColor0x00AFD0The main color
Theme.tintColorUIColor.whiteThe tint color
Theme.Label.colorUIColor(rgb: 0x2C2E2F)The label primary color
Theme.Label.errorColor0xFF3B30The color to highlight errors
Theme.Label.subtitleColorUIColor(rgb: 0x3c3c43, alpha: 0.6)The subtitle color
Theme.Label.textColor0x8e8e93The text color
Theme.Label.titleFontUIFont.preferredFont(forTextStyle: .body)The title font style
Theme.Label.subtitleFontUIFont.preferredFont(forTextStyle: .subheadline)The caption one font style
Theme.Label.footnoteFontUIFont.preferredFont(forTextStyle: .footnote)The footnote font style
Theme.Label.textSelectionColorUIColor(rgb: 0x00AFD0).withAlphaComponent(0.14)The text selection color
Theme.NavigationBar.barStyleUIBarStyle.defaultThe UINavigationBar bar style.
Theme.NavigationBar.isTranslucentfalseSets the opaque background color
Theme.NavigationBar.shadowColorUIColor.clearThe color of NavigationBar shadow
Theme.NavigationBar.largeTitleColorUIColor.whiteThe UINavigationBar large title color
Theme.NavigationBar.titleColorUIColor.whiteThe UINavigationBar title color
Theme.NavigationBar.backButtonColorUIColor.whiteThe UINavigationBar Back Button color
Theme.NavigationBar.largeTitleFontUIFont.preferredFont(forTextStyle: .largeTitle)The UINavigationBar large title font
Theme.NavigationBar.titleFontUIFont.preferredFont(forTextStyle: .body)The UINavigationBar title font
Theme.Button.colorUIColor(rgb: 0xFFFFFF)The button primary color
Theme.Button.linkColorTheme.themeColorThe button link color
Theme.Button.fontTheme.Label.bodyFontThe button font
Theme.Button.linkFontTheme.Label.titleFontThe link button font
Theme.Button.backgroundColorTheme.themeColorThe button background color
Theme.Text.fontUIFont.preferredFont(forTextStyle: .body)The text font style
Theme.Text.labelFontTheme.Label.titleFontThe text label font style
Theme.Text.colorTheme.Label.colorThe text primary color
Theme.Text.labelColorTheme.Label.colorThe text label primary color
Theme.Text.disabledColorTheme.Label.textColorThe text disabled color
Theme.Cell.smallHeight61The common UITableViewCell height.
Theme.Cell.height80The common UITableViewCell height.
Theme.Cell.largeHeight88The UITableViewCell height for the List transfer method items and the Select transfer method type items.
Theme.Cell.headerHeight37The Select transfer method type items header height.
Theme.Cell.dividerHeight8The divider UITableViewCell height.
Theme.Cell.separatorColorUIColor(rgb: 0x3c3c43, alpha: 0.29)The UITableViewCell separator color.
Theme.Cell.tintColorUIColor.whiteThe UITableViewCell tint color.
Theme.Icon.size30The icon font size
Theme.Icon.frameCGSize(width: 30, height: 30)The icon frame
Theme.Icon.primaryColorTheme.themeColorThe icon primary color
Theme.Icon.creditColorAmount.creditColorThe icon credit color
Theme.Icon.debitColorAmount.debitColorThe icon debit color
Theme.Amount.creditColorUIColor(rgb: 0x299976)The credit color
Theme.Amount.debitColorTheme.Label.colorThe debit color
Theme.ViewController.backgroundColorUIColor.whiteThe UIViewController background color.
Theme.SpinnerView.activityIndicatorViewStyleUIActivityIndicatorView.Style.whiteLargeThe UIActivityIndicatorView style.
Theme.SpinnerView.activityIndicatorViewColorTheme.themeColorThe UIActivityIndicatorView color.
Theme.SpinnerView.backgroundColorUIColor.clearThe background color
Theme.ProcessingView.backgroundColorUIColor.black.withAlphaComponent(0.85)The background color.
Theme.ProcessingView.stateLabelColorUIColor.whiteThe state label color.
+ +

Example to define the light theme code in class AppDelegate:

+
@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Override point for customization after application launch.
+
+        ThemeManager.applyWhiteTheme()
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        return true
+    }
+}
+
+ +

Example to customize the label colors:

+
...
+/// Labels
+Theme.Label.color = UIColor(red: 252 / 255, green: 67 / 255, blue: 77 / 255, alpha: 1)
+Theme.Label.subTitleColor = UIColor(red: 19 / 255, green: 165 / 255, blue: 185 / 255, alpha: 1)
+Theme.Label.textColor = UIColor(red: 0 / 255, green: 45 / 255, blue: 67 / 255, alpha: 1)
+Theme.Label.errorColor = .red
+
+ +

Note: If you do not use ThemeManager.applyToUINavigationBar(), then any changes done to Theme.NavigationBar.xxx will not be reflected.

+

Error Handling

+ +

In Hyperwallet UI SDK, we categorized HyperwalletException into three groups, which are input errors (business errors), network errors and unexpected errors.

+

Unexpected Error

+ +

Once an unexpected error occurs, an AlertView that only contains the OK button will be shown in the UI.

+

Network Error

+ +

Network errors occurs due to connectivity issues, such as poor-quality network connection, the request timed out from the server side, etc. Once a network error happened, an AlertView that contains a Cancel and a Try Again buttons will be shown in the UI.

+

Business Errors

+ +

Business errors occurs when the Hyperwallet platform has found invalid information or some business restriction related to the data has been submitted and require some action from the user.

+

Authentication Error

+ +

Authentication error occurs when the Hyperwallet SDK is not able to fetch the authentication token from the client implementation.

+

License

+ +

The Hyperwallet iOS SDK is open source and available under the MIT license

+ +
+
+ + +
+
+ + + diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/search.json b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/search.json new file mode 100644 index 000000000..9e53c9944 --- /dev/null +++ b/docsets/HyperwalletUISDK.docset/Contents/Resources/Documents/search.json @@ -0,0 +1 @@ +{"Structs/InsightsTags.html#/s:6Common12InsightsTagsV7countrySSvpZ":{"name":"country","abstract":"\u003cp\u003eThe country tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV8currencySSvpZ":{"name":"currency","abstract":"\u003cp\u003eThe currency tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV11profileTypeSSvpZ":{"name":"profileType","abstract":"\u003cp\u003eThe profile type tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV18transferMethodTypeSSvpZ":{"name":"transferMethodType","abstract":"\u003cp\u003eThe transfer method type tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV4goalSSvpZ":{"name":"goal","abstract":"\u003cp\u003eThe goal tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV9showAlert_5title7messageySo16UIViewControllerC_SSSgAItFZ":{"name":"showAlert(_:title:message:)","abstract":"\u003cp\u003eshow an alert dialog\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV9showAlert_5title7message5style7actionsySo16UIViewControllerC_SSSgAKSo07UIAlertL5StyleVSo0M6ActionCdtFZ":{"name":"showAlert(_:title:message:style:actions:)","abstract":"\u003cp\u003eDisplay the alert view with custom list of options\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV18showAlertWithRetry_5title7message_ySo16UIViewControllerC_SSSgAIySo13UIAlertActionCctFZ":{"name":"showAlertWithRetry(_:title:message:_:)","abstract":"\u003cp\u003eshow an alert dialog with retry button\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV11showSpinner4viewAA0F4ViewCSo6UIViewC_tFZ":{"name":"showSpinner(view:)","abstract":"\u003cp\u003eDisplays the Activity Indicator embedded on view\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV13removeSpinneryyAA0F4ViewCFZ":{"name":"removeSpinner(_:)","abstract":"\u003cp\u003eRemove the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/SpinnerView.html\"\u003eSpinnerView\u003c/a\u003e\u003c/code\u003e with animation\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV14showProcessingAA0F4ViewCyFZ":{"name":"showProcessing()","abstract":"\u003cp\u003eDisplays the Processing view in a modal view for indicating the UI is processing the data\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV03getB03forAA0B0VSgSS_tFZ":{"name":"getCurrency(for:)","abstract":"\u003cp\u003eGet Currency\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV18formatDoubleAmount_4withSSSd_SStFZ":{"name":"formatDoubleAmount(_:with:)","abstract":"\u003cp\u003eFormat double amount to currency string\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV16getDecimalAmount6amount12currencyCodeSdSS_SSSgtFZ":{"name":"getDecimalAmount(amount:currencyCode:)","abstract":"\u003cp\u003eGet decimal amount from formatted currency code\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV18formatStringAmount_4withS2S_SStFZ":{"name":"formatStringAmount(_:with:)","abstract":"\u003cp\u003eFormat amount for currency code using users locale\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV03addB13SymbolAndCode_4withS2S_SStFZ":{"name":"addCurrencySymbolAndCode(_:with:)","abstract":"\u003cp\u003eFormat currency amount by adding symbol and currency code\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV06formatB17WithSymbolAndCode_4withS2S_SStFZ":{"name":"formatCurrencyWithSymbolAndCode(_:with:)","abstract":"\u003cp\u003eFormat amount for currency code using users locale while adding symbol and currency code\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV06formatB10WithSymbol_4withS2S_SStFZ":{"name":"formatCurrencyWithSymbol(_:with:)","abstract":"\u003cp\u003eFormat amount for currency code and add currency symbol from Currency.json\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/Currency.html#/s:6Common8CurrencyV6symbolSSvp":{"name":"symbol","parent_name":"Currency"},"Structs.html#/s:6Common12CurrencyDataV":{"name":"CurrencyData"},"Structs/Currency.html":{"name":"Currency"},"Structs/CurrencyFormatter.html":{"name":"CurrencyFormatter","abstract":"\u003cp\u003eCurrency Formatter\u003c/p\u003e"},"Structs/HyperwalletUtilViews.html":{"name":"HyperwalletUtilViews","abstract":"\u003cp\u003eDisplays the common UI Views - Alerts and Spinners\u003c/p\u003e"},"Structs/InsightsTags.html":{"name":"InsightsTags","abstract":"\u003cp\u003eRepresentation of Insights API Tags property for \u003ccode\u003eInsightsTags\u003c/code\u003e.\u003c/p\u003e"},"Protocols/UserReceiptRepository.html#/s:17ReceiptRepository04UseraB0P04listC8Receipts6offset5limit10completionySi_Siys6ResultOy14HyperwalletSDK0J8PageListVyAJ0jA0VGSgAJ0J9ErrorTypeOGctF":{"name":"listUserReceipts(offset:limit:completion:)","abstract":"\u003cp\u003eReturns the list of receipts for the User associated with the authentication token.\u003c/p\u003e","parent_name":"UserReceiptRepository"},"Protocols/PrepaidCardReceiptRepository.html#/s:17ReceiptRepository011PrepaidCardaB0P04listcD8Receipts07prepaidD5Token10completionySS_ys6ResultOy14HyperwalletSDK0K8PageListVyAI0kA0VGSgAI0K9ErrorTypeOGctF":{"name":"listPrepaidCardReceipts(prepaidCardToken:completion:)","abstract":"\u003cp\u003eReturns the list of receipts for the User associated with the Prepaid card token.\u003c/p\u003e","parent_name":"PrepaidCardReceiptRepository"},"Protocols/HyperwalletInsightsProtocol.html#/s:6Common27HyperwalletInsightsProtocolP10trackClick8pageName0G5Group4link6paramsySS_S2SSDyS2SGtF":{"name":"trackClick(pageName:pageGroup:link:params:)","abstract":"\u003cp\u003eTrack Clicks\u003c/p\u003e","parent_name":"HyperwalletInsightsProtocol"},"Protocols/HyperwalletInsightsProtocol.html#/s:6Common27HyperwalletInsightsProtocolP15trackImpression8pageName0G5Group6paramsySS_SSSDyS2SGtF":{"name":"trackImpression(pageName:pageGroup:params:)","abstract":"\u003cp\u003eTrack Impressions\u003c/p\u003e","parent_name":"HyperwalletInsightsProtocol"},"Protocols/HyperwalletInsightsProtocol.html#/s:6Common27HyperwalletInsightsProtocolP10trackError8pageName0G5Group9errorInfoySS_SS0C00fK0VtF":{"name":"trackError(pageName:pageGroup:errorInfo:)","abstract":"\u003cp\u003eTrack Error\u003c/p\u003e","parent_name":"HyperwalletInsightsProtocol"},"Protocols/HyperwalletFlowDelegate.html#/s:6Common23HyperwalletFlowDelegateP03didC8Complete4withyyp_tF":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eProtocol method to be called after flow completes\u003c/p\u003e","parent_name":"HyperwalletFlowDelegate"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","abstract":"\u003cp\u003eApply Theme\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","abstract":"\u003cp\u003eGet the current Controller class for the Coordinator\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","abstract":"\u003cp\u003eNavigate to the flow\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","abstract":"\u003cp\u003eNavigate to next page from the current flow\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","abstract":"\u003cp\u003eNavigate back from the next page to either current flow or parent flow.\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","abstract":"\u003cp\u003eStart the coordinator\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/GenericCellConfiguration.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","abstract":"\u003cp\u003eThe title\u003c/p\u003e","parent_name":"GenericCellConfiguration"},"Protocols/GenericCellConfiguration.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","abstract":"\u003cp\u003eThe value\u003c/p\u003e","parent_name":"GenericCellConfiguration"},"Protocols/GenericCellConfiguration.html#/s:6Common24GenericCellConfigurationPAAE10identifierSSvp":{"name":"identifier","abstract":"\u003cp\u003eThe cell identifier\u003c/p\u003e","parent_name":"GenericCellConfiguration"},"Protocols/TransferMethodUpdateConfigurationRepository.html#/s:24TransferMethodRepository0ab19UpdateConfigurationC0P9getFields_10completionySS_ys6ResultOy14HyperwalletSDK0jabdE5Field_pSgAH0J9ErrorTypeOGctF":{"name":"getFields(_:completion:)","abstract":"\u003cp\u003eGets the transfer method update fields based on the parameters\u003c/p\u003e","parent_name":"TransferMethodUpdateConfigurationRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP06createaB0yy14HyperwalletSDK0eaB0C_ys6ResultOyAFSgAD0E9ErrorTypeOGctF":{"name":"createTransferMethod(_:_:)","abstract":"\u003cp\u003eCreates a \u003ccode\u003eHyperwalletTransferMethod\u003c/code\u003e for the User associated with the authentication token returned from","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP010deactivateaB0yy14HyperwalletSDK0eaB0C_ys6ResultOyAD0E16StatusTransitionVSgAD0E9ErrorTypeOGctF":{"name":"deactivateTransferMethod(_:_:)","abstract":"\u003cp\u003eDeactivates the \u003ccode\u003eHyperwalletTransferMethod\u003c/code\u003e linked to the transfer method token specified. The","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP04listA7Methodsyyys6ResultOy14HyperwalletSDK0G8PageListVyAF0gaB0CGSgAF0G9ErrorTypeOGcF":{"name":"listTransferMethods(_:)","abstract":"\u003cp\u003eReturns the \u003ccode\u003eHyperwalletPageList\u0026lt;HyperwalletTransferMethod\u0026gt;\u003c/code\u003e (Bank Account, Bank Card, PayPay Account,","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP06updateA7Methodsyy14HyperwalletSDK0faB0C_ys6ResultOyAFSgAD0F9ErrorTypeOGctF":{"name":"updateTransferMethods(_:_:)","abstract":"\u003cp\u003eupdates the \u003ccode\u003eHyperwalletTransferMethod\u003c/code\u003e linked to the transfer method token specified. The","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP07refreshA7MethodsyyF":{"name":"refreshTransferMethods()","abstract":"\u003cp\u003eRefreshes transfer methods\u003c/p\u003e","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P9getFields____10completionySS_S3Sys6ResultOy14HyperwalletSDK0iabD5Field_pSgAH0I9ErrorTypeOGctF":{"name":"getFields(_:_:_:_:completion:)","abstract":"\u003cp\u003eGets the transfer method fields based on the parameters\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P7getKeys10completionyys6ResultOy14HyperwalletSDK0iabD3Key_pSgAH0I9ErrorTypeOGc_tF":{"name":"getKeys(completion:)","abstract":"\u003cp\u003eGets the transfer method configuration keys\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P03getaB27TypesFeesAndProcessingTimes7country8currency10completionySS_SSys6ResultOy14HyperwalletSDK0oabD3Key_pSgAJ0O9ErrorTypeOGctF":{"name":"getTransferMethodTypesFeesAndProcessingTimes(country:currency:completion:)","abstract":"\u003cp\u003eRetrieve the transfer method types and their fees and processing times based on the parameters\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P13refreshFieldsyyF":{"name":"refreshFields()","abstract":"\u003cp\u003eRefreshes the transfer method fields\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P11refreshKeysyyF":{"name":"refreshKeys()","abstract":"\u003cp\u003eRefreshes the transfer method keys\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P04listD5Cards10queryParam10completiony14HyperwalletSDK0kde5QueryI0C_ys6ResultOyAG0K8PageListVyAG0kdE0CGSgAG0K9ErrorTypeOGctF":{"name":"listPrepaidCards(queryParam:completion:)","abstract":"\u003cp\u003eList Prepaid cards\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P03getdE05token10completionySS_ys6ResultOy14HyperwalletSDK0jdE0CSgAI0J9ErrorTypeOGctF":{"name":"getPrepaidCard(token:completion:)","abstract":"\u003cp\u003eGet Prepaid card\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P07refreshdE0yyF":{"name":"refreshPrepaidCard()","abstract":"\u003cp\u003eRefreshes Prepaid Card\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P07refreshD5CardsyyF":{"name":"refreshPrepaidCards()","abstract":"\u003cp\u003eRefreshes Prepaid Cards\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/TransferRepository.html#/s:18TransferRepositoryAAP06createA0yy14HyperwalletSDK0dA0V_ys6ResultOyAFSgAD0D9ErrorTypeOGctF":{"name":"createTransfer(_:_:)","abstract":"\u003cp\u003eCreate a transfer\u003c/p\u003e","parent_name":"TransferRepository"},"Protocols/TransferRepository.html#/s:18TransferRepositoryAAP08scheduleA0yy14HyperwalletSDK0dA0V_ys6ResultOyAD0D16StatusTransitionVSgAD0D9ErrorTypeOGctF":{"name":"scheduleTransfer(_:_:)","abstract":"\u003cp\u003eSchedule a transfer\u003c/p\u003e","parent_name":"TransferRepository"},"Protocols/UserRepository.html#/s:14UserRepositoryAAP03getA010completionyys6ResultOy14HyperwalletSDK0fA0CSgAG0F9ErrorTypeOGc_tF":{"name":"getUser(completion:)","abstract":"\u003cp\u003eGets the user\u003c/p\u003e","parent_name":"UserRepository"},"Protocols/UserRepository.html#/s:14UserRepositoryAAP07refreshA0yyF":{"name":"refreshUser()","abstract":"\u003cp\u003eRefreshes user\u003c/p\u003e","parent_name":"UserRepository"},"Protocols/UserRepository.html":{"name":"UserRepository","abstract":"\u003cp\u003eUser repository protocol\u003c/p\u003e"},"Protocols/TransferRepository.html":{"name":"TransferRepository","abstract":"\u003cp\u003eTransfer repository protocol\u003c/p\u003e"},"Protocols/PrepaidCardRepository.html":{"name":"PrepaidCardRepository","abstract":"\u003cp\u003ePrepaid Card repository protocol\u003c/p\u003e"},"Protocols/TransferMethodConfigurationRepository.html":{"name":"TransferMethodConfigurationRepository","abstract":"\u003cp\u003eTransfer method configuration repository protocol\u003c/p\u003e"},"Protocols/TransferMethodRepository.html":{"name":"TransferMethodRepository","abstract":"\u003cp\u003eTransfer method repository protocol\u003c/p\u003e"},"Protocols/TransferMethodUpdateConfigurationRepository.html":{"name":"TransferMethodUpdateConfigurationRepository","abstract":"\u003cp\u003eTransfer method configuration repository protocol\u003c/p\u003e"},"Protocols/GenericCellConfiguration.html":{"name":"GenericCellConfiguration","abstract":"\u003cp\u003eRepresents the data displayed in the selection screens (like country, currency)\u003c/p\u003e"},"Protocols/HyperwalletCoordinator.html":{"name":"HyperwalletCoordinator","abstract":"\u003cp\u003eProtocol to start/navigate Hyperwallet UI SDK flow\u003c/p\u003e"},"Protocols/HyperwalletFlowDelegate.html":{"name":"HyperwalletFlowDelegate","abstract":"\u003cp\u003eFlow complete protocol\u003c/p\u003e"},"Protocols/HyperwalletInsightsProtocol.html":{"name":"HyperwalletInsightsProtocol","abstract":"\u003cp\u003eProtocol for HyperwalletInsights\u003c/p\u003e"},"Protocols/PrepaidCardReceiptRepository.html":{"name":"PrepaidCardReceiptRepository","abstract":"\u003cp\u003ePrepaid card receipt repository protocol\u003c/p\u003e"},"Protocols/UserReceiptRepository.html":{"name":"UserReceiptRepository","abstract":"\u003cp\u003eUser receipt repository protocol\u003c/p\u003e"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns title for header\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns the count of receipt detail fields\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay the receipt details\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:estimatedHeightForHeaderInSection:":{"name":"tableView(_:estimatedHeightForHeaderInSection:)","abstract":"\u003cp\u003eEstimated height of header\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:heightForRowAtIndexPath:":{"name":"tableView(_:heightForRowAt:)","parent_name":"ReceiptDetailController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE16titleDisplayMode_3forySo026UINavigationItemLargeTitleeF0V_SSSgtF":{"name":"titleDisplayMode(_:for:)","abstract":"\u003cp\u003eTo set the display mode for large titles\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE28hideKeyboardWhenTappedAroundyyF":{"name":"hideKeyboardWhenTappedAround()","abstract":"\u003cp\u003eHide keyboard when tapped around on the screen\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/c:@CM@Common@@objc(cs)UIViewController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eProtocol method\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE12flowDelegateAC015HyperwalletFlowE0_pSgvp":{"name":"flowDelegate","abstract":"\u003cp\u003eThe reference to call didFlowComplete\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE11coordinatorAC22HyperwalletCoordinator_pSgvp":{"name":"coordinator","abstract":"\u003cp\u003eThe reference to start/navigate Hyperwallet UI SDK flow\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE18initializationDataSDyAC014InitializationE5FieldOypGSgvp":{"name":"initializationData","abstract":"\u003cp\u003eData required to initialize a flow (render UI screen)\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE17removeCoordinatoryyF":{"name":"removeCoordinator()","abstract":"\u003cp\u003eRemoves the current coordinator while moving back\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE18removeFlowDelegateyyF":{"name":"removeFlowDelegate()","abstract":"\u003cp\u003eRemoves the current flow delegate while moving back\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE21removeInitializedDatayyF":{"name":"removeInitializedData()","abstract":"\u003cp\u003eRemoves the current coordinator while moving back\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE21removeAllCoordinatorsyyF":{"name":"removeAllCoordinators()","abstract":"\u003cp\u003eRemoves all coordinators\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/c:@CM@Common@@objc(cs)UIViewController(im)presentationControllerDidDismiss:":{"name":"presentationControllerDidDismiss(_:)","abstract":"\u003cp\u003eRemoves the current coordinator after dismissing the Controller\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIView.html#/s:So6UIViewC6CommonE17safeAreaTopAnchorSo013NSLayoutYAxisF0Cvp":{"name":"safeAreaTopAnchor","abstract":"\u003cp\u003eTop Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE21safeAreaCenterYAnchorSo19NSLayoutYAxisAnchorCvp":{"name":"safeAreaCenterYAnchor","abstract":"\u003cp\u003eCenterY Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE21safeAreaCenterXAnchorSo19NSLayoutXAxisAnchorCvp":{"name":"safeAreaCenterXAnchor","abstract":"\u003cp\u003eCenterX Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE20safeAreaBottomAnchorSo013NSLayoutYAxisF0Cvp":{"name":"safeAreaBottomAnchor","abstract":"\u003cp\u003eBottom Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE21safeAreaLeadingAnchorSo013NSLayoutXAxisF0Cvp":{"name":"safeAreaLeadingAnchor","abstract":"\u003cp\u003eLeading Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE22safeAreaTrailingAnchorSo013NSLayoutXAxisF0Cvp":{"name":"safeAreaTrailingAnchor","abstract":"\u003cp\u003eTrailing Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE19setUpEmptyListLabel4textSo7UILabelCSS_tF":{"name":"setUpEmptyListLabel(text:)","abstract":"\u003cp\u003eSetups the empty list with message\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE15isSeparatorViewSbyF":{"name":"isSeparatorView()","abstract":"\u003cp\u003eCheck if current view is \u003ccode\u003eUITableViewCellSeparatorView\u003c/code\u003e\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE26adjustWidthOfSegmentTitles4viewyAB_tFZ":{"name":"adjustWidthOfSegmentTitles(view:)","abstract":"\u003cp\u003eAdjust segment titles width\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIToolbar.html#/s:So9UIToolbarC6CommonE12setupToolBar6target6actionySo6UIViewC_10ObjectiveC8SelectorVSgtF":{"name":"setupToolBar(target:action:)","abstract":"\u003cp\u003eSetup toolbar\u003c/p\u003e","parent_name":"UIToolbar"},"Extensions/UISearchBar.html#/s:So11UISearchBarC6CommonE16setLeftAlignmentyyF":{"name":"setLeftAlignment()","abstract":"\u003cp\u003eSetup text alignment to the left\u003c/p\u003e","parent_name":"UISearchBar"},"Extensions/UILabel.html#/c:@CM@Common@@objc(cs)UILabel(py)canBecomeFirstResponder":{"name":"canBecomeFirstResponder","parent_name":"UILabel"},"Extensions/UILabel.html#/s:So7UILabelC6CommonE18allowTextSelectionyyF":{"name":"allowTextSelection()","abstract":"\u003cp\u003eAllow text selection\u003c/p\u003e","parent_name":"UILabel"},"Extensions/UIImage.html#/s:So7UIImageC6CommonE8fontIconyABSS_So6CGSizeV12CoreGraphics7CGFloatVSo7UIColorCtFZ":{"name":"fontIcon(_:_:_:_:)","abstract":"\u003cp\u003eGet an icon image with the given icon name, text color, size and background color\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIImage.html#/s:So7UIImageC6CommonE23createBackgroundPattern5color4size12cornerRadiusABSo7UIColorC_So6CGSizeVSitFZ":{"name":"createBackgroundPattern(color:size:cornerRadius:)","abstract":"\u003cp\u003eCreate Background Pattern\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIImage.html#/s:So7UIImageC7ReceiptE8fontIconyABSS_So6CGSizeV12CoreGraphics7CGFloatVSo7UIColorCtFZ":{"name":"fontIcon(_:_:_:_:)","abstract":"\u003cp\u003eGet an icon image with the given icon name, text color, size and background color\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIImage.html#/s:So7UIImageC7ReceiptE23createBackgroundPattern5color4size12cornerRadiusABSo7UIColorC_So6CGSizeVSitFZ":{"name":"createBackgroundPattern(color:size:cornerRadius:)","abstract":"\u003cp\u003eCreate Background Pattern\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIFont.html#/s:So6UIFontC6CommonE8register_4typeySS_SStFZ":{"name":"register(_:type:)","abstract":"\u003cp\u003eTo register UIFont\u003c/p\u003e","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6CommonE19isLargeSizeCategorySbvpZ":{"name":"isLargeSizeCategory","abstract":"\u003cp\u003eIndicates if current preferred content size category belongs to large or not\u003c/p\u003e","parent_name":"UIFont"},"Extensions/UIColor.html#/s:So7UIColorC6CommonE3red5green4blue5alphaABSi_S2i12CoreGraphics7CGFloatVtcfc":{"name":"init(red:green:blue:alpha:)","abstract":"\u003cp\u003eInits based on the RBG values\u003c/p\u003e","parent_name":"UIColor"},"Extensions/UIColor.html#/s:So7UIColorC6CommonE3rgb5alphaABSi_12CoreGraphics7CGFloatVtcfc":{"name":"init(rgb:alpha:)","abstract":"\u003cp\u003eInits based on the RBG values\u003c/p\u003e","parent_name":"UIColor"},"Extensions/UIBarButtonItem.html#/s:So15UIBarButtonItemC6CommonE4backABvpZ":{"name":"back","abstract":"\u003cp\u003eOverride the text of back button\u003c/p\u003e","parent_name":"UIBarButtonItem"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6cancelSSvpZ":{"name":"cancel","abstract":"\u003cp\u003eThe default cancel button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5retrySSvpZ":{"name":"retry","abstract":"\u003cp\u003eThe default retry button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5closeSSvpZ":{"name":"close","abstract":"\u003cp\u003eThe default close button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6removeSSvpZ":{"name":"remove","abstract":"\u003cp\u003eThe default remove button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6cancelyAByABcSgFZ":{"name":"cancel(_:)","abstract":"\u003cp\u003eInitialize a cancel alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6cancelyABSo16UIViewControllerCFZ":{"name":"cancel(_:)","abstract":"\u003cp\u003eInitialize a cancel alert action with pop back functionality\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5closeyAByABcSgFZ":{"name":"close(_:)","abstract":"\u003cp\u003eInitialize a close alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5closeyABSo16UIViewControllerCFZ":{"name":"close(_:)","abstract":"\u003cp\u003eInitialize a close alert action with pop back functionality\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6removeyAByABc_SStFZ":{"name":"remove(_:_:)","abstract":"\u003cp\u003eInitialize a remove alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5retryyAByABcSgFZ":{"name":"retry(_:)","abstract":"\u003cp\u003eInitialize a retry alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE7addIcon9imageNameABSS_tF":{"name":"addIcon(imageName:)","abstract":"\u003cp\u003eAdd an icon image on this alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/NSMutableAttributedString.html#/s:So25NSMutableAttributedStringC6CommonE6append5value4font5colorySS_So6UIFontCSo7UIColorCtF":{"name":"append(value:font:color:)","abstract":"\u003cp\u003eCreates and appends a NSAttributedString\u003c/p\u003e","parent_name":"NSMutableAttributedString"},"Extensions/NSMutableAttributedString.html#/s:So25NSMutableAttributedStringC6CommonE15appendParagraph5value4font5color9alignmentySS_So6UIFontCSo7UIColorCSo15NSTextAlignmentVtF":{"name":"appendParagraph(value:font:color:alignment:)","abstract":"\u003cp\u003eCreates and appends a paragraph of NSAttributedString\u003c/p\u003e","parent_name":"NSMutableAttributedString"},"Extensions/String.html#/s:SS6CommonE9localized11withCommentS2SSg_tF":{"name":"localized(withComment:)","abstract":"\u003cp\u003eReturns a localized string\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE6suffix7startAtSSSi_tF":{"name":"suffix(startAt:)","abstract":"\u003cp\u003eReturns a string, up to the given maximum length, containing the","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE6height20withConstrainedWidth4font12CoreGraphics7CGFloatVAG_So6UIFontCtF":{"name":"height(withConstrainedWidth:font:)","abstract":"\u003cp\u003eCalculates the string height based on UIFont\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE20formatAmountToDoubleSdyF":{"name":"formatAmountToDouble()","abstract":"\u003cp\u003eFormat amount to double\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE24getFxRateWithFourDecimalSSyF":{"name":"getFxRateWithFourDecimal()","abstract":"\u003cp\u003eGet FX Rate with four decimal\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE16formatToCurrency4withS2SSg_tF":{"name":"formatToCurrency(with:)","abstract":"\u003cp\u003eFormat amount for currency code using users locale\u003c/p\u003e","parent_name":"String"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE19transferMethodAddedABvpZ":{"name":"transferMethodAdded","abstract":"\u003cp\u003ePosted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo)","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE21transferMethodUpdatedABvpZ":{"name":"transferMethodUpdated","abstract":"\u003cp\u003ePosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo)","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE25transferMethodDeactivatedABvpZ":{"name":"transferMethodDeactivated","abstract":"\u003cp\u003ePosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check)","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE15transferCreatedABvpZ":{"name":"transferCreated","abstract":"\u003cp\u003ePosted when a transfer of funds has been created.\u003c/p\u003e","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE17transferScheduledABvpZ":{"name":"transferScheduled","abstract":"\u003cp\u003ePosted when a transfer has been scheduled\u003c/p\u003e","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE19authenticationErrorABvpZ":{"name":"authenticationError","abstract":"\u003cp\u003ePosted when authentication error occurs\u003c/p\u003e","parent_name":"Name"},"Extensions/Notification/Name.html":{"name":"Name","abstract":"\u003cp\u003eThe Notification extension\u003c/p\u003e","parent_name":"Notification"},"Extensions/NSRegularExpression.html#/s:So19NSRegularExpressionC6CommonEyABSScfc":{"name":"init(_:)","abstract":"\u003cp\u003eInitializer to initialize regular expression with some pattern\u003c/p\u003e","parent_name":"NSRegularExpression"},"Extensions/NSRegularExpression.html#/s:So19NSRegularExpressionC6CommonE7matchesySbSSF":{"name":"matches(_:)","abstract":"\u003cp\u003echecks if the String matches the regular expression or not\u003c/p\u003e","parent_name":"NSRegularExpression"},"Extensions/HyperwalletTransferMethodType.html#/s:14HyperwalletSDK0A18TransferMethodTypeV6CommonE24formatFeesProcessingTime4font5colorSo18NSAttributedStringCSo6UIFontC_So7UIColorCtF":{"name":"formatFeesProcessingTime(font:color:)","abstract":"\u003cp\u003eFormats the fee processing time\u003c/p\u003e","parent_name":"HyperwalletTransferMethodType"},"Extensions/HyperwalletTransferMethod.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","parent_name":"HyperwalletTransferMethod"},"Extensions/HyperwalletTransferMethod.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","parent_name":"HyperwalletTransferMethod"},"Extensions/HyperwalletTransferMethod.html#/c:@CM@Common@HyperwalletSDK@objc(cs)HyperwalletTransferMethod(im)isPrepaidCard":{"name":"isPrepaidCard()","abstract":"\u003cp\u003eChecking for transfer method is prepaid card or not\u003c/p\u003e","parent_name":"HyperwalletTransferMethod"},"Extensions/HyperwalletPrepaidCard.html#/c:@CM@Common@HyperwalletSDK@objc(cs)HyperwalletPrepaidCard(py)formattedCardBrandCardNumber":{"name":"formattedCardBrandCardNumber","abstract":"\u003cp\u003eFormatted Card Brand and Card Number, eg: Visa •••• 1234\u003c/p\u003e","parent_name":"HyperwalletPrepaidCard"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO4flatyAfCcAFmF":{"name":"flat(_:)","abstract":"\u003cp\u003eFlat fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO7percentyAfCcAFmF":{"name":"percent(_:)","abstract":"\u003cp\u003ePercent fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO5mixedyAfC_ACtcAFmF":{"name":"mixed(_:_:)","abstract":"\u003cp\u003eMixed fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO02noC0yA2FmF":{"name":"noFee","abstract":"\u003cp\u003eNo Fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee.html#/s:14HyperwalletSDK0A3FeeV6CommonE6format4feesSSSayACG_tFZ":{"name":"format(fees:)","abstract":"\u003cp\u003eFormats the Fees to be displayed\u003c/p\u003e","parent_name":"HyperwalletFee"},"Extensions/HyperwalletFee/FeeTypes.html":{"name":"FeeTypes","abstract":"\u003cp\u003eRepresents the fee types\u003c/p\u003e","parent_name":"HyperwalletFee"},"Extensions/HyperwalletCurrency.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","parent_name":"HyperwalletCurrency"},"Extensions/HyperwalletCurrency.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","parent_name":"HyperwalletCurrency"},"Extensions/HyperwalletCountry.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","parent_name":"HyperwalletCountry"},"Extensions/HyperwalletCountry.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","parent_name":"HyperwalletCountry"},"Extensions/Date/DateFormatMode.html#/s:10Foundation4DateV6CommonE0B10FormatModeO4dateyA2FmF":{"name":"date","abstract":"\u003cdiv class=\"aside aside-date\"\u003e","parent_name":"DateFormatMode"},"Extensions/Date/DateFormatMode.html#/s:10Foundation4DateV6CommonE0B10FormatModeO8dateTimeyA2FmF":{"name":"dateTime","parent_name":"DateFormatMode"},"Extensions/Date/DateFormatMode.html":{"name":"DateFormatMode","abstract":"\u003cp\u003eThe Date type format\u003c/p\u003e","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV6CommonE06formatB8ToString10dateFormatS2S_tF":{"name":"formatDateToString(dateFormat:)","abstract":"\u003cp\u003eFormats date to string\u003c/p\u003e","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV6CommonE15firstDayOfMonthACyF":{"name":"firstDayOfMonth()","abstract":"\u003cp\u003eReturns 1st day of the month\u003c/p\u003e","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV6CommonE6format3forSSAcDE0B10FormatModeO_tF":{"name":"format(for:)","abstract":"\u003cp\u003eFormat date\u003c/p\u003e","parent_name":"Date"},"Extensions/Array.html#/s:Sa6CommonE10isNotEmptySbvp":{"name":"isNotEmpty","abstract":"\u003cp\u003eA Boolean value indicating whether the collection is not empty.\u003c/p\u003e","parent_name":"Array"},"Extensions/Array.html#/s:Sa6CommonE6isLast5indexSbSi_tF":{"name":"isLast(index:)","abstract":"\u003cp\u003eCheck if the current index is the last element in this array\u003c/p\u003e","parent_name":"Array"},"Extensions/Array.html#/s:Sa6CommonE4safexSgSi_tcip":{"name":"subscript(safe:)","abstract":"\u003cp\u003eA safe way to check if element exists in this array\u003c/p\u003e","parent_name":"Array"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:willDisplayHeaderView:forSection:":{"name":"tableView(_:willDisplayHeaderView:forSection:)","abstract":"\u003cp\u003eReturns the header view\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:titleForFooterInSection:":{"name":"tableView(_:titleForFooterInSection:)","abstract":"\u003cp\u003eReturns the title for footer\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns the height of header\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:heightForRowAtIndexPath:":{"name":"tableView(_:heightForRowAt:)","abstract":"\u003cp\u003eReturns height of row\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns fields count to update transfer method\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay\u0026rsquo;s the fields to update transfer method\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)scrollViewDidEndScrollingAnimation:":{"name":"scrollViewDidEndScrollingAnimation(_:)","abstract":"\u003cp\u003eScrollview delegate\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:willDisplayFooterView:forSection:":{"name":"tableView(_:willDisplayFooterView:forSection:)","abstract":"\u003cp\u003eTableview delegate for footer view\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns transfer method count\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay transfer methods\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:viewForHeaderInSection:":{"name":"tableView(_:viewForHeaderInSection:)","abstract":"\u003cp\u003eReturns headerview\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns height of headerview\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select transfer method\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThis function will navigate back from next page and pass the control back to it\u0026rsquo;s caller\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/ListTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)ListTransferMethodController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThe callback to refresh transfer method list\u003c/p\u003e","parent_name":"ListTransferMethodController"},"Extensions/ListTransferMethodCell.html#/s:14TransferMethod04ListaB4CellC9configure08transferB0y14HyperwalletSDK0gaB0C_tF":{"name":"configure(transferMethod:)","abstract":"\u003cp\u003eFill \u003ccode\u003eListTransferMethodCell\u003c/code\u003e related fields\u003c/p\u003e","parent_name":"ListTransferMethodCell"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:willDisplayHeaderView:forSection:":{"name":"tableView(_:willDisplayHeaderView:forSection:)","abstract":"\u003cp\u003eReturns the header view\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:titleForFooterInSection:":{"name":"tableView(_:titleForFooterInSection:)","abstract":"\u003cp\u003eReturns the title for footer\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns the height of header\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:heightForRowAtIndexPath:":{"name":"tableView(_:heightForRowAt:)","abstract":"\u003cp\u003eReturns height of row\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns fields count to add transfer method\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay\u0026rsquo;s the fields to add transfer method\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)scrollViewDidEndScrollingAnimation:":{"name":"scrollViewDidEndScrollingAnimation(_:)","abstract":"\u003cp\u003eScrollview delegate\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:willDisplayFooterView:forSection:":{"name":"tableView(_:willDisplayFooterView:forSection:)","abstract":"\u003cp\u003eTableview delegate for footer view\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:estimatedHeightForHeaderInSection:":{"name":"tableView(_:estimatedHeightForHeaderInSection:)","abstract":"\u003cp\u003eEstimated height of header\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns number of rows\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplays cell configuration\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:viewForFooterInSection:":{"name":"tableView(_:viewForFooterInSection:)","abstract":"\u003cp\u003eReturns the footer view of tableview\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select the transfer method\u003c/p\u003e","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:viewForHeaderInSection:":{"name":"tableView(_:viewForHeaderInSection:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThe callback to refresh create transfer\u003c/p\u003e","parent_name":"ListTransferSourceController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select the transfer method\u003c/p\u003e","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:viewForHeaderInSection:":{"name":"tableView(_:viewForHeaderInSection:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThe callback to refresh create transfer\u003c/p\u003e","parent_name":"ListTransferDestinationController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns number of rows\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplays cell configuration\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:viewForFooterInSection:":{"name":"tableView(_:viewForFooterInSection:)","abstract":"\u003cp\u003eReturns the footer view of tableview\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eTo reload create transfer method\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html":{"name":"CreateTransferController"},"Extensions/ListTransferDestinationController.html":{"name":"ListTransferDestinationController","abstract":"\u003cp\u003eTransfer method list table view dataSource and delegate\u003c/p\u003e"},"Extensions/ListTransferSourceController.html":{"name":"ListTransferSourceController","abstract":"\u003cp\u003eTransfer method list table view dataSource and delegate\u003c/p\u003e"},"Extensions/ScheduleTransferController.html":{"name":"ScheduleTransferController"},"Extensions.html#/c:@M@Transfer@objc(cs)TransferAmountCell":{"name":"TransferAmountCell"},"Extensions.html#/c:@M@Transfer@objc(cs)TransferNotesCell":{"name":"TransferNotesCell"},"Extensions/AddTransferMethodController.html":{"name":"AddTransferMethodController"},"Extensions/ListTransferMethodCell.html":{"name":"ListTransferMethodCell"},"Extensions/ListTransferMethodController.html":{"name":"ListTransferMethodController"},"Extensions/SelectTransferMethodTypeController.html":{"name":"SelectTransferMethodTypeController"},"Extensions.html#/c:@M@TransferMethod@objc(cs)CountryCurrencyTableView":{"name":"CountryCurrencyTableView"},"Extensions/UpdateTransferMethodController.html":{"name":"UpdateTransferMethodController"},"Extensions/Array.html":{"name":"Array","abstract":"\u003cp\u003eThe Array extension\u003c/p\u003e"},"Extensions/Date.html":{"name":"Date","abstract":"\u003cp\u003eThe Date extension\u003c/p\u003e"},"Extensions/HyperwalletCountry.html":{"name":"HyperwalletCountry"},"Extensions/HyperwalletCurrency.html":{"name":"HyperwalletCurrency"},"Extensions/HyperwalletFee.html":{"name":"HyperwalletFee","abstract":"\u003cp\u003eThe HyperwalletFee extension\u003c/p\u003e"},"Extensions/HyperwalletPrepaidCard.html":{"name":"HyperwalletPrepaidCard"},"Extensions/HyperwalletTransferMethod.html":{"name":"HyperwalletTransferMethod","abstract":"\u003cp\u003eThe HyperwalletTransferMethod extension\u003c/p\u003e"},"Extensions/HyperwalletTransferMethodType.html":{"name":"HyperwalletTransferMethodType","abstract":"\u003cp\u003eThe HyperwalletTransferMethodType extension\u003c/p\u003e"},"Extensions/NSRegularExpression.html":{"name":"NSRegularExpression","abstract":"\u003cp\u003eThe NSRegularExpression extension\u003c/p\u003e"},"Extensions/Notification.html":{"name":"Notification"},"Extensions/String.html":{"name":"String","abstract":"\u003cp\u003eThe String extension\u003c/p\u003e"},"Extensions/NSMutableAttributedString.html":{"name":"NSMutableAttributedString","abstract":"\u003cp\u003eThe NSMutableAttributedString extension\u003c/p\u003e"},"Extensions/UIAlertAction.html":{"name":"UIAlertAction","abstract":"\u003cp\u003eThe UIAlertAction extension\u003c/p\u003e"},"Extensions/UIBarButtonItem.html":{"name":"UIBarButtonItem","abstract":"\u003cp\u003eThe UIBarButtonItem extension\u003c/p\u003e"},"Extensions/UIColor.html":{"name":"UIColor","abstract":"\u003cp\u003eThe UIColor extension\u003c/p\u003e"},"Extensions/UIFont.html":{"name":"UIFont","abstract":"\u003cp\u003eThe UIFont extension\u003c/p\u003e"},"Extensions/UIImage.html":{"name":"UIImage","abstract":"\u003cp\u003eA HyperwalletUI extension to UIImage.\u003c/p\u003e"},"Extensions/UILabel.html":{"name":"UILabel"},"Extensions/UISearchBar.html":{"name":"UISearchBar","abstract":"\u003cp\u003eThe UISearchBar extension\u003c/p\u003e"},"Extensions/UIToolbar.html":{"name":"UIToolbar","abstract":"\u003cp\u003eThe UIToolbar extension\u003c/p\u003e"},"Extensions/UIView.html":{"name":"UIView","abstract":"\u003cp\u003eThe UIView extension\u003c/p\u003e"},"Extensions/UIViewController.html":{"name":"UIViewController","abstract":"\u003cp\u003eThe UIViewController extension\u003c/p\u003e"},"Extensions/ReceiptDetailController.html":{"name":"ReceiptDetailController","abstract":"\u003cp\u003eThe receipt detail controller\u003c/p\u003e"},"Enums/ProcessingState.html#/s:6Common15ProcessingStateO10processingyA2CmF":{"name":"processing","abstract":"\u003cp\u003eThe processing state\u003c/p\u003e","parent_name":"ProcessingState"},"Enums/ProcessingState.html#/s:6Common15ProcessingStateO8completeyA2CmF":{"name":"complete","abstract":"\u003cp\u003eThe complete state\u003c/p\u003e","parent_name":"ProcessingState"},"Enums/ProcessingState.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"ProcessingState"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO7countryyA2CmF":{"name":"country","abstract":"\u003cp\u003eThe 2 letter ISO 3166-1 country code.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO8currencyyA2CmF":{"name":"currency","abstract":"\u003cp\u003eThe 3 letter ISO 4217-1 currency code.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO11profileTypeyA2CmF":{"name":"profileType","abstract":"\u003cp\u003eThe profile type. Possible values - INDIVIDUAL, BUSINESS.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO22transferMethodTypeCodeyA2CmF":{"name":"transferMethodTypeCode","abstract":"\u003cp\u003eThe transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO011forceUpdateC0yA2CmF":{"name":"forceUpdateData","abstract":"\u003cp\u003eForces to refresh the cached data.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO7receiptyA2CmF":{"name":"receipt","abstract":"\u003cp\u003eThe receipt\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO16clientTransferIdyA2CmF":{"name":"clientTransferId","abstract":"\u003cp\u003eThe client TransferId\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO16prepaidCardTokenyA2CmF":{"name":"prepaidCardToken","abstract":"\u003cp\u003eThe prepaid token\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO11sourceTokenyA2CmF":{"name":"sourceToken","abstract":"\u003cp\u003eThe source token\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO8transferyA2CmF":{"name":"transfer","abstract":"\u003cp\u003eThe transfer\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO14transferMethodyA2CmF":{"name":"transferMethod","abstract":"\u003cp\u003eThe transfer method like bank account, bank card, PayPal account, prepaid card, paper check\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO16didFxQuoteChangeyA2CmF":{"name":"didFxQuoteChange","abstract":"\u003cp\u003eBoolean value to check whether foreign exchange rate changed\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO23showAllAvailableSourcesyA2CmF":{"name":"showAllAvailableSources","abstract":"\u003cp\u003eBoolean value to check whether to show all the available sources for receipts/ transfers\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO18selectedSourceTypeyA2CmF":{"name":"selectedSourceType","abstract":"\u003cp\u003eSelected Source Type\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO22selectedTransferSourceyA2CmF":{"name":"selectedTransferSource","abstract":"\u003cp\u003eSelected Transfer Source\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO15transferSourcesyA2CmF":{"name":"transferSources","abstract":"\u003cp\u003eTransfer Sources\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO19transferMethodTokenyA2CmF":{"name":"transferMethodToken","abstract":"\u003cp\u003eTransfer Method Token\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/HyperwalletCoordinatorTypes.html#/s:6Common27HyperwalletCoordinatorTypesO24selectTransferMethodTypeyA2CmF":{"name":"selectTransferMethodType","abstract":"\u003cp\u003eCoordinator for select transfer method type.\u003c/p\u003e","parent_name":"HyperwalletCoordinatorTypes"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO06walletD0yA2CmF":{"name":"walletModel","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO08pay2CardD0yA2CmF":{"name":"pay2CardModel","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO08cardOnlyD0yA2CmF":{"name":"cardOnlyModel","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO012isPay2CardOrg4OnlyD0SbyF":{"name":"isPay2CardOrCardOnlyModel()","abstract":"\u003cp\u003ereturns true if Program Model is either pay2Card or CardOnly\u003c/p\u003e","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO11bankAccountyA2CmF":{"name":"bankAccount","abstract":"\u003cp\u003eThe icon for Bank Account\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO17addTransferMethodyA2CmF":{"name":"addTransferMethod","abstract":"\u003cp\u003eThe icon for add transfer method\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO5checkyA2CmF":{"name":"check","abstract":"\u003cp\u003eThe icon for check type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO11debitCredityA2CmF":{"name":"debitCredit","abstract":"\u003cp\u003eThe icon for debit and credit card type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO11prepaidCardyA2CmF":{"name":"prepaidCard","abstract":"\u003cp\u003eThe icon for prepaid card type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO4wireyA2CmF":{"name":"wire","abstract":"\u003cp\u003eThe icon for wire transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO5venmoyA2CmF":{"name":"venmo","abstract":"\u003cp\u003eThe icon for venmo transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO9moneygramyA2CmF":{"name":"moneygram","abstract":"\u003cp\u003eThe icon for moenygram transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO6paypalyA2CmF":{"name":"paypal","abstract":"\u003cp\u003eThe icon for paypal transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO6credityA2CmF":{"name":"credit","abstract":"\u003cp\u003eThe credit icon\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO5debityA2CmF":{"name":"debit","abstract":"\u003cp\u003eThe debit icon\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO20addNewTransferMethodyA2CmF":{"name":"addNewTransferMethod","abstract":"\u003cp\u003eAdd new transfer method\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/UserInfo.html#/s:6Common8UserInfoO19transferMethodAddedyA2CmF":{"name":"transferMethodAdded","abstract":"\u003cp\u003eA new transfer method has been added.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO21transferMethodUpdatedyA2CmF":{"name":"transferMethodUpdated","abstract":"\u003cp\u003eA transfer method has been updated.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO25transferMethodDeactivatedyA2CmF":{"name":"transferMethodDeactivated","abstract":"\u003cp\u003eA transfer method has been deactivated.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO15transferCreatedyA2CmF":{"name":"transferCreated","abstract":"\u003cp\u003eA transfer of funds has been created.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO17transferScheduledyA2CmF":{"name":"transferScheduled","abstract":"\u003cp\u003eA transfer has been scheduled.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO19authenticationErroryA2CmF":{"name":"authenticationError","abstract":"\u003cp\u003eAuthentication error has been occured\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html":{"name":"UserInfo","abstract":"\u003cp\u003eThe Hyperwallet\u0026rsquo;s \u003ccode\u003eNotificationCenter\u003c/code\u003e key to access the information.\u003c/p\u003e"},"Enums/HyperwalletIconContent.html":{"name":"HyperwalletIconContent","abstract":"\u003cp\u003eRepresents the Hyperwallet Icon type\u003c/p\u003e"},"Enums/HyperwalletProgramModel.html":{"name":"HyperwalletProgramModel","abstract":"\u003cp\u003eHyperwallet Program Model\u003c/p\u003e"},"Enums/HyperwalletCoordinatorTypes.html":{"name":"HyperwalletCoordinatorTypes","abstract":"\u003cp\u003eHyperwallet\u0026rsquo;s enum for the types of coordinators\u003c/p\u003e"},"Enums/InitializationDataField.html":{"name":"InitializationDataField","abstract":"\u003cp\u003eRepresentation of Initialization DataField\u003c/p\u003e"},"Enums/ProcessingState.html":{"name":"ProcessingState","abstract":"\u003cp\u003eHyperwallet\u0026rsquo;s enum to indicate processing state\u003c/p\u003e"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"ListReceiptCoordinator"},"Classes/RemoteUserReceiptRepository.html#/s:17ReceiptRepository04UseraB0P04listC8Receipts6offset5limit10completionySi_Siys6ResultOy14HyperwalletSDK0J8PageListVyAJ0jA0VGSgAJ0J9ErrorTypeOGctF":{"name":"listUserReceipts(offset:limit:completion:)","parent_name":"RemoteUserReceiptRepository"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the ReceiptRepositoryFactory object\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the RepositoryFactory singleton instance.\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC04useraB0AA04UseraB0_pyF":{"name":"userReceiptRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/UserReceiptRepository.html\"\u003eUserReceiptRepository\u003c/a\u003e\u003c/code\u003e implementation.\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC011prepaidCardaB0AA07PrepaideaB0_pyF":{"name":"prepaidCardReceiptRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/PrepaidCardReceiptRepository.html\"\u003ePrepaidCardReceiptRepository\u003c/a\u003e\u003c/code\u003e implementation.\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/RemotePrepaidCardReceiptRepository.html#/s:17ReceiptRepository011PrepaidCardaB0P04listcD8Receipts07prepaidD5Token10completionySS_ys6ResultOy14HyperwalletSDK0K8PageListVyAI0kA0VGSgAI0K9ErrorTypeOGctF":{"name":"listPrepaidCardReceipts(prepaidCardToken:completion:)","parent_name":"RemotePrepaidCardReceiptRepository"},"Classes/ProcessingView.html#/s:6Common14ProcessingViewC06showInC0ACSo6UIViewC_tcfc":{"name":"init(showInView:)","abstract":"\u003cp\u003eConvenience Initializer for view\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/ProcessingView.html#/c:@M@Common@objc(cs)ProcessingView(im)init":{"name":"init()","abstract":"\u003cp\u003eConvenience Initializer\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/ProcessingView.html#/c:@M@Common@objc(cs)ProcessingView(im)didMoveToSuperview":{"name":"didMoveToSuperview()","abstract":"\u003cp\u003eTells the view that its superview changed\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/ProcessingView.html#/s:6Common14ProcessingViewC4hide4withyAA0B5StateOSg_tF":{"name":"hide(with:)","abstract":"\u003cp\u003eTo hide processing symbol\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/AmountTextField.html#/c:@M@Common@objc(cs)AmountTextField(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","parent_name":"AmountTextField"},"Classes/PasteOnlyTextField.html#/c:@M@Common@objc(cs)PasteOnlyTextField(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","abstract":"\u003cp\u003eRequests the receiving responder to paste text in UITextField\u003c/p\u003e","parent_name":"PasteOnlyTextField"},"Classes/ErrorView.html#/s:6Common9ErrorViewC14viewController5error8pageName0G5GroupACSo06UIViewE0C_14HyperwalletSDK0kB4TypeOS2Stcfc":{"name":"init(viewController:error:pageName:pageGroup:)","abstract":"\u003cp\u003eInitializer to initialize the class with errors to be displayed and the ViewController responsible","parent_name":"ErrorView"},"Classes/ErrorView.html#/s:6Common9ErrorViewC4showyyyycSgF":{"name":"show(_:)","abstract":"\u003cp\u003eTo show error messages\u003c/p\u003e","parent_name":"ErrorView"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC4type7messageACSS_SStcfc":{"name":"init(type:message:)","abstract":"\u003cp\u003eInitializes ErrorInfoBuilder\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC9fieldNameyACSSF":{"name":"fieldName(_:)","abstract":"\u003cp\u003eSets FieldName\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC4codeyACSSF":{"name":"code(_:)","abstract":"\u003cp\u003eSets Code\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC5build8Insights0bC0VyF":{"name":"build()","abstract":"\u003cp\u003eBuilds a new instance of the \u003ccode\u003eErrorInfo\u003c/code\u003e.\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the HyperwalletInsights interface object\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears Insights SDK instance.\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC5setupyyFZ":{"name":"setup()","abstract":"\u003cp\u003eSet up HyperwalletInsights\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC10trackClick8pageName0F5Group4link6paramsySS_S2SSDyS2SGtF":{"name":"trackClick(pageName:pageGroup:link:params:)","abstract":"\u003cp\u003eTrack Clicks\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC10trackError8pageName0F5Group9errorInfoySS_SS0C00eJ0VtF":{"name":"trackError(pageName:pageGroup:errorInfo:)","abstract":"\u003cp\u003eTrack Error\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC15trackImpression8pageName0F5Group6paramsySS_SSSDyS2SGtF":{"name":"trackImpression(pageName:pageGroup:params:)","abstract":"\u003cp\u003eTrack Impressions\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletCoordinatorFactory.html#/s:6Common29HyperwalletCoordinatorFactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the Hyperwallet UI SDK interface object\u003c/p\u003e","parent_name":"HyperwalletCoordinatorFactory"},"Classes/HyperwalletCoordinatorFactory.html#/s:6Common29HyperwalletCoordinatorFactoryC03getbC0011hyperwalletC4TypeAA0bC0_pSgAA0bC5TypesO_tF":{"name":"getHyperwalletCoordinator(hyperwalletCoordinatorType:)","abstract":"\u003cp\u003eBased on the HyperwalletCoordinatorTypes, determines the coordinator to be returned,","parent_name":"HyperwalletCoordinatorFactory"},"Classes/Theme/ProcessingView.html#/s:6Common5ThemeC14ProcessingViewV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe background color\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/Theme/ProcessingView.html#/s:6Common5ThemeC14ProcessingViewV15stateLabelColorSo7UIColorCvpZ":{"name":"stateLabelColor","abstract":"\u003cp\u003eThe state label color\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/Theme/SpinnerView.html#/s:6Common5ThemeC11SpinnerViewV017activityIndicatorD5StyleSo010UIActivityfdG0VvpZ":{"name":"activityIndicatorViewStyle","abstract":"\u003cp\u003eThe \u003ccode\u003eUIActivityIndicatorView\u003c/code\u003e style\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/Theme/SpinnerView.html#/s:6Common5ThemeC11SpinnerViewV017activityIndicatorD5ColorSo7UIColorCvpZ":{"name":"activityIndicatorViewColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUIActivityIndicatorView\u003c/code\u003e color\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/Theme/SpinnerView.html#/s:6Common5ThemeC11SpinnerViewV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe background color\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/Theme/UITableViewController.html#/s:6Common5ThemeC21UITableViewControllerV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewController\u003c/code\u003e background color\u003c/p\u003e","parent_name":"UITableViewController"},"Classes/Theme/Amount.html#/s:6Common5ThemeC6AmountV11creditColorSo7UIColorCvpZ":{"name":"creditColor","abstract":"\u003cp\u003eThe credit color\u003c/p\u003e","parent_name":"Amount"},"Classes/Theme/Amount.html#/s:6Common5ThemeC6AmountV10debitColorSo7UIColorCvpZ":{"name":"debitColor","abstract":"\u003cp\u003eThe debit color\u003c/p\u003e","parent_name":"Amount"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV4sizeSivpZ":{"name":"size","abstract":"\u003cp\u003eThe icon font size\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV017addTransferMethodC4SizeSivpZ":{"name":"addTransferMethodIconSize","abstract":"\u003cp\u003eThe add tranfer method icon size\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV5frameSo6CGSizeVvpZ":{"name":"frame","abstract":"\u003cp\u003eThe icon frame\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV12primaryColorSo7UIColorCvpZ":{"name":"primaryColor","abstract":"\u003cp\u003eThe icon primary color\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV11creditColorSo7UIColorCvpZ":{"name":"creditColor","abstract":"\u003cp\u003eThe icon credit color\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV10debitColorSo7UIColorCvpZ":{"name":"debitColor","abstract":"\u003cp\u003eThe icon debit color\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV11smallHeight12CoreGraphics7CGFloatVvpZ":{"name":"smallHeight","abstract":"\u003cp\u003eThe common \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV12mediumHeight12CoreGraphics7CGFloatVvpZ":{"name":"mediumHeight","abstract":"\u003cp\u003eThe common \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV6height12CoreGraphics7CGFloatVvpZ":{"name":"height","abstract":"\u003cp\u003eThe common \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV11largeHeight12CoreGraphics7CGFloatVvpZ":{"name":"largeHeight","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e height for the List transfer method items and","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV12headerHeight12CoreGraphics7CGFloatVvpZ":{"name":"headerHeight","abstract":"\u003cp\u003eThe Select transfer method type items header height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV13dividerHeight12CoreGraphics7CGFloatVvpZ":{"name":"dividerHeight","abstract":"\u003cp\u003eThe divider \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV9tintColorSo7UIColorCvpZ":{"name":"tintColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e tint color\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV14separatorColorSo7UIColorCvpZ":{"name":"separatorColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e separator color\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV23disabledBackgroundColorSo7UIColorCvpZ":{"name":"disabledBackgroundColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e disabled background color\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV5colorSo7UIColorCvpZ":{"name":"color","abstract":"\u003cp\u003eThe text primary color\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV13disabledColorSo7UIColorCvpZ":{"name":"disabledColor","abstract":"\u003cp\u003eThe text disabled color\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV4fontSo6UIFontCvpZ":{"name":"font","abstract":"\u003cp\u003eThe text font style\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV24createTransferAmountFontSo6UIFontCvpZ":{"name":"createTransferAmountFont","abstract":"\u003cp\u003eCreate Transfer Amount Font\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV9labelFontSo6UIFontCvpZ":{"name":"labelFont","abstract":"\u003cp\u003eThe text label font\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV10labelColorSo7UIColorCvpZ":{"name":"labelColor","abstract":"\u003cp\u003eThe text label color\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV5colorSo7UIColorCvpZ":{"name":"color","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e primary color\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV9linkColorSo7UIColorCvpZ":{"name":"linkColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e link color\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e background color\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV8linkFontSo6UIFontCvpZ":{"name":"linkFont","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e link font\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV4fontSo6UIFontCvpZ":{"name":"font","abstract":"\u003cp\u003eThe button font\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV8barStyleSo05UIBarF0VvpZ":{"name":"barStyle","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e bar style\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV13isTranslucentSbvpZ":{"name":"isTranslucent","abstract":"\u003cp\u003eSets the opaque background color for The \u003ccode\u003eUINavigationBar\u003c/code\u003e\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV11shadowColorSo7UIColorCvpZ":{"name":"shadowColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e shadow color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV15largeTitleColorSo7UIColorCvpZ":{"name":"largeTitleColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e large title color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV10titleColorSo7UIColorCvpZ":{"name":"titleColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e title color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV15backButtonColorSo7UIColorCvpZ":{"name":"backButtonColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e Back Button color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV14largeTitleFontSo6UIFontCvpZ":{"name":"largeTitleFont","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e large title font\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV9titleFontSo6UIFontCvpZ":{"name":"titleFont","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e title font\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV5colorSo7UIColorCvpZ":{"name":"color","abstract":"\u003cp\u003eThe label primary color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV10errorColorSo7UIColorCvpZ":{"name":"errorColor","abstract":"\u003cp\u003eThe color to highlight errors\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV13subtitleColorSo7UIColorCvpZ":{"name":"subtitleColor","abstract":"\u003cp\u003eThe subtitle color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV9textColorSo7UIColorCvpZ":{"name":"textColor","abstract":"\u003cp\u003eThe text color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV9titleFontSo6UIFontCvpZ":{"name":"titleFont","abstract":"\u003cp\u003eThe title font style\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV12subtitleFontSo6UIFontCvpZ":{"name":"subtitleFont","abstract":"\u003cp\u003eThe subtitle font style\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV12footnoteFontSo6UIFontCvpZ":{"name":"footnoteFont","abstract":"\u003cp\u003eThe footnote font style\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV18textSelectionColorSo7UIColorCvpZ":{"name":"textSelectionColor","abstract":"\u003cp\u003eThe text selection color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme.html#/c:@M@Common@objc(cs)Theme(cpy)themeColor":{"name":"themeColor","abstract":"\u003cp\u003eThe main color.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme.html#/c:@M@Common@objc(cs)Theme(cpy)tintColor":{"name":"tintColor","abstract":"\u003cp\u003eThe tint color.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Label.html":{"name":"Label","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUILabel\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/NavigationBar.html":{"name":"NavigationBar","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUINavigationBar\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Button.html":{"name":"Button","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUIButton\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Text.html":{"name":"Text","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUIText\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Cell.html":{"name":"Cell","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUITableViewCell\u003c/code\u003e\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Icon.html":{"name":"Icon","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for the \u003ccode\u003eHyperwallet\u003c/code\u003e\u0026lsquo;s icon.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Amount.html":{"name":"Amount","abstract":"\u003cp\u003eRepresentation of all customized visual style property for numbers\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/UITableViewController.html":{"name":"UITableViewController","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUITableViewController\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/SpinnerView.html":{"name":"SpinnerView","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eSpinnerView\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/ProcessingView.html":{"name":"ProcessingView","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eProcessingView\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/SpinnerView.html#/s:6Common11SpinnerViewC06showInC0ACSo6UIViewC_tcfc":{"name":"init(showInView:)","abstract":"\u003cp\u003eConvenience Initializer\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/HyperwalletIcon.html#/s:6Common15HyperwalletIconC2ofyAA0bC7ContentOSSFZ":{"name":"of(_:)","abstract":"\u003cp\u003eMake transfer method type icon by transfer method type\u003c/p\u003e","parent_name":"HyperwalletIcon"},"Classes/HyperwalletBundle.html#/s:6Common17HyperwalletBundleC20currentSDKAppVersionSSSgvpZ":{"name":"currentSDKAppVersion","abstract":"\u003cp\u003eGet the current SDK version\u003c/p\u003e","parent_name":"HyperwalletBundle"},"Classes/GenericController.html#/s:6Common17GenericControllerC5itemsSayq_Gvp":{"name":"items","abstract":"\u003cp\u003eThe item list to be displayed\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC13filteredItemsSayq_Gvp":{"name":"filteredItems","abstract":"\u003cp\u003eThe filtered items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC20shouldMarkCellActionSbq_cSgvp":{"name":"shouldMarkCellAction","abstract":"\u003cp\u003eEvent handler to indicate if the item cell should be marked\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC32filterContentForSearchTextActionSayq_GAE_SStcSgvp":{"name":"filterContentForSearchTextAction","abstract":"\u003cp\u003eDelegate to customise the filter content.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC15SelectedHandlera":{"name":"SelectedHandler","abstract":"\u003cp\u003eThe typealias for event handler to return the item selected\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC15selectedHandleryq_cSgvp":{"name":"selectedHandler","abstract":"\u003cp\u003eEvent handler to return the item selected\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC11viewDidLoadyyF":{"name":"viewDidLoad()","abstract":"\u003cp\u003eCalled after the view controller has loaded its view hierarchy into memory.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC14viewWillAppearyySbF":{"name":"viewWillAppear(_:)","abstract":"\u003cp\u003eNotifies the view controller that its view is about to be added to a view hierarchy.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC18viewWillTransition2to4withySo6CGSizeV_So06UIViewcF11Coordinator_ptF":{"name":"viewWillTransition(to:with:)","abstract":"\u003cp\u003eUIKit calls this method before changing the size of a presented view controller’s view\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC016didDismissSearchC0yySo08UISearchC0CF":{"name":"didDismissSearchController(_:)","abstract":"\u003cp\u003eCalled when the search controller is automatically dismissed.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_21numberOfRowsInSectionSiSo07UITableE0C_SitF":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns number of items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_12cellForRowAtSo07UITableE4CellCSo0jE0C_10Foundation9IndexPathVtF":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplays the retrieved items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_22viewForHeaderInSectionSo6UIViewCSgSo07UITableE0C_SitF":{"name":"tableView(_:viewForHeaderInSection:)","abstract":"\u003cp\u003eReturns headerview\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_24heightForHeaderInSection12CoreGraphics7CGFloatVSo07UITableE0C_SitF":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns height of headerview\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_14heightForRowAt12CoreGraphics7CGFloatVSo07UITableE0C_10Foundation9IndexPathVtF":{"name":"tableView(_:heightForRowAt:)","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_14didSelectRowAtySo07UITableE0C_10Foundation9IndexPathVtF":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select the items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC19updateSearchResults3forySo08UISearchC0C_tF":{"name":"updateSearchResults(for:)","abstract":"\u003cp\u003eTo update search result\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericCell.html#/s:6Common11GenericCellC4itemxSgvp":{"name":"item","abstract":"\u003cp\u003eThe item\u003c/p\u003e","parent_name":"GenericCell"},"Classes/GenericCell.html#/s:6Common11GenericCellC5style15reuseIdentifierACyxGSo011UITableViewC5StyleV_SSSgtcfc":{"name":"init(style:reuseIdentifier:)","abstract":"\u003cp\u003eInitializes the tableview cell\u003c/p\u003e","parent_name":"GenericCell"},"Classes/GenericCell.html#/s:6Common11GenericCellC5coderACyxGSgSo7NSCoderC_tcfc":{"name":"init(coder:)","abstract":"\u003cp\u003eThe required initializer\u003c/p\u003e","parent_name":"GenericCell"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"UpdateTransferMethodCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"ListTransferMethodsCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"AddTransferMethodCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/RemoteTransferMethodUpdateConfigurationRepository.html#/s:24TransferMethodRepository0ab19UpdateConfigurationC0P9getFields_10completionySS_ys6ResultOy14HyperwalletSDK0jabdE5Field_pSgAH0J9ErrorTypeOGctF":{"name":"getFields(_:completion:)","parent_name":"RemoteTransferMethodUpdateConfigurationRepository"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the RepositoryFactory object\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the TransferMethodRepositoryFactory singleton instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC08transferb13ConfigurationC0AA0abfC0_pyF":{"name":"transferMethodConfigurationRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferMethodConfigurationRepository.html\"\u003eTransferMethodConfigurationRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC08transferb19UpdateConfigurationC0AA0abfgC0_pyF":{"name":"transferMethodUpdateConfigurationRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferMethodUpdateConfigurationRepository.html\"\u003eTransferMethodUpdateConfigurationRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC08transferbC0A2A_pyF":{"name":"transferMethodRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferMethodRepository.html\"\u003eTransferMethodRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC011prepaidCardC0AA07PrepaidfC0_pyF":{"name":"prepaidCardRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/PrepaidCardRepository.html\"\u003ePrepaidCardRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P9getFields____10completionySS_S3Sys6ResultOy14HyperwalletSDK0iabD5Field_pSgAH0I9ErrorTypeOGctF":{"name":"getFields(_:_:_:_:completion:)","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P7getKeys10completionyys6ResultOy14HyperwalletSDK0iabD3Key_pSgAH0I9ErrorTypeOGc_tF":{"name":"getKeys(completion:)","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P03getaB27TypesFeesAndProcessingTimes7country8currency10completionySS_SSys6ResultOy14HyperwalletSDK0oabD3Key_pSgAJ0O9ErrorTypeOGctF":{"name":"getTransferMethodTypesFeesAndProcessingTimes(country:currency:completion:)","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P13refreshFieldsyyF":{"name":"refreshFields()","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P11refreshKeysyyF":{"name":"refreshKeys()","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P04listD5Cards10queryParam10completiony14HyperwalletSDK0kde5QueryI0C_ys6ResultOyAG0K8PageListVyAG0kdE0CGSgAG0K9ErrorTypeOGctF":{"name":"listPrepaidCards(queryParam:completion:)","parent_name":"RemotePrepaidCardRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P03getdE05token10completionySS_ys6ResultOy14HyperwalletSDK0jdE0CSgAI0J9ErrorTypeOGctF":{"name":"getPrepaidCard(token:completion:)","parent_name":"RemotePrepaidCardRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository017RemotePrepaidCardC0C07refresheF0yyF":{"name":"refreshPrepaidCard()","abstract":"\u003cp\u003eRefreshes Prepaid Card\u003c/p\u003e","parent_name":"RemotePrepaidCardRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository017RemotePrepaidCardC0C07refreshE5CardsyyF":{"name":"refreshPrepaidCards()","abstract":"\u003cp\u003eRefreshes Prepaid Cards\u003c/p\u003e","parent_name":"RemotePrepaidCardRepository"},"Classes/TransferRepositoryFactory.html#/s:18TransferRepository0aB7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the \u003ccode\u003eTransferRepositoryFactory\u003c/code\u003e object\u003c/p\u003e","parent_name":"TransferRepositoryFactory"},"Classes/TransferRepositoryFactory.html#/s:18TransferRepository0aB7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the \u003ccode\u003eTransferRepositoryFactory\u003c/code\u003e singleton instance.\u003c/p\u003e","parent_name":"TransferRepositoryFactory"},"Classes/TransferRepositoryFactory.html#/s:18TransferRepository0aB7FactoryC08transferB0A2A_pyF":{"name":"transferRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferRepository.html\"\u003eTransferRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferRepositoryFactory"},"Classes/UserRepositoryFactory.html#/s:14UserRepository0aB7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the RepositoryFactory object\u003c/p\u003e","parent_name":"UserRepositoryFactory"},"Classes/UserRepositoryFactory.html#/s:14UserRepository0aB7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the UserRepositoryFactory singleton instance.\u003c/p\u003e","parent_name":"UserRepositoryFactory"},"Classes/UserRepositoryFactory.html#/s:14UserRepository0aB7FactoryC04userB0A2A_pyF":{"name":"userRepository()","abstract":"\u003cp\u003eGets an instance of user repository.\u003c/p\u003e","parent_name":"UserRepositoryFactory"},"Classes/RemoteUserRepository.html#/s:14UserRepositoryAAP03getA010completionyys6ResultOy14HyperwalletSDK0fA0CSgAG0F9ErrorTypeOGc_tF":{"name":"getUser(completion:)","parent_name":"RemoteUserRepository"},"Classes/RemoteUserRepository.html#/s:14UserRepositoryAAP07refreshA0yyF":{"name":"refreshUser()","parent_name":"RemoteUserRepository"},"Classes/ThemeManager.html#/c:@M@Common@objc(cs)ThemeManager(cm)applyTheme":{"name":"applyTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@Common@objc(cs)ThemeManager(cm)applyWhiteTheme":{"name":"applyWhiteTheme()","abstract":"\u003cp\u003eApplies White Theme visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@Common@objc(cs)ThemeManager(cm)applyToUINavigationBar":{"name":"applyToUINavigationBar()","abstract":"\u003cp\u003eApplies Custom Theme visual styles to the \u003ccode\u003eUINavigationBar\u003c/code\u003e interface component.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@CM@Transfer@Common@objc(cs)ThemeManager(cm)applyTransferTheme":{"name":"applyTransferTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@CM@TransferMethod@Common@objc(cs)ThemeManager(cm)applyTransferMethodTheme":{"name":"applyTransferMethodTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@CM@Receipt@Common@objc(cs)ThemeManager(cm)applyReceiptTheme":{"name":"applyReceiptTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/HyperwalletUI.html#/c:@M@Common@objc(cs)HyperwalletUI(cpy)shared":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the Hyperwallet UI SDK interface object\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@M@Common@objc(cs)HyperwalletUI(cm)clearInstance":{"name":"clearInstance()","abstract":"\u003cp\u003eClears Hyperwallet and HyperwalletInsights instances.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@M@Common@objc(cs)HyperwalletUI(cm)setup:":{"name":"setup(_:)","abstract":"\u003cp\u003eCreates a new instance of the Hyperwallet UI SDK interface object. If a previously created instance exists,","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(cm)transferUIClearInstance":{"name":"transferUIClearInstance()","abstract":"\u003cp\u003eClears TransferRepositoryFactory , TransferMethodRepositoryFactory and UserRepositoryFactory instances.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(im)createTransferFromUserCoordinatorWithClientTransferId:parentController:":{"name":"createTransferFromUserCoordinator(clientTransferId:parentController:)","abstract":"\u003cp\u003eCreate transfer funds from User Source\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(im)createTransferFromPrepaidCardCoordinatorWithClientTransferId:sourceToken:parentController:":{"name":"createTransferFromPrepaidCardCoordinator(clientTransferId:sourceToken:parentController:)","abstract":"\u003cp\u003eCreate transfer funds from Prepaid Card Token Source\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(im)createTransferFromAllAvailableSourcesCoordinatorWithClientTransferId:parentController:":{"name":"createTransferFromAllAvailableSourcesCoordinator(clientTransferId:parentController:)","abstract":"\u003cp\u003eCreate transfer funds","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(cm)transferMethodUIClearInstance":{"name":"transferMethodUIClearInstance()","abstract":"\u003cp\u003eClears TransferMethodRepositoryFactory and UserRepositoryFactory instances.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)listTransferMethodCoordinatorWithParentController:":{"name":"listTransferMethodCoordinator(parentController:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check).\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)selectTransferMethodTypeCoordinatorWithForceUpdateData:parentController:":{"name":"selectTransferMethodTypeCoordinator(forceUpdateData:parentController:)","abstract":"\u003cp\u003eLists all transfer method types available based on the country, currency and profile type to create a new","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)addTransferMethodCoordinator:::::parentController:":{"name":"addTransferMethodCoordinator(_:_:_:_:_:parentController:)","abstract":"\u003cp\u003eController to create a new transfer method.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)updateTransferMethodCoordinator:parentController:":{"name":"updateTransferMethodCoordinator(_:parentController:)","abstract":"\u003cp\u003eController to update a transfer method.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(cm)receiptUIClearInstance":{"name":"receiptUIClearInstance()","abstract":"\u003cp\u003eClears ReceiptRepositoryFactory instance.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(im)listUserReceiptCoordinatorWithParentController:":{"name":"listUserReceiptCoordinator(parentController:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s transactions.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(im)listPrepaidCardReceiptCoordinatorWithParentController:prepaidCardToken:":{"name":"listPrepaidCardReceiptCoordinator(parentController:prepaidCardToken:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s prepaid card transactions.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(im)listAllAvailableSourcesReceiptCoordinatorWithParentController:":{"name":"listAllAvailableSourcesReceiptCoordinator(parentController:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s transactions from all sources - wallet and prepaid card\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html":{"name":"CreateTransferCoordinator","abstract":"\u003cp\u003eCoordinator class for CreateTransfer\u003c/p\u003e"},"Classes/HyperwalletUI.html":{"name":"HyperwalletUI","abstract":"\u003cp\u003eClass responsible for initializing the Hyperwallet UI SDK. It contains methods to interact with the controllers"},"Classes/ThemeManager.html":{"name":"ThemeManager","abstract":"\u003cp\u003eThe \u003ccode\u003eThemeManager\u003c/code\u003e class is responsible for applying the visual styles to the Hyperwallet user interface components.\u003c/p\u003e"},"Classes/RemoteUserRepository.html":{"name":"RemoteUserRepository","abstract":"\u003cp\u003eRemoteUserRepository\u003c/p\u003e"},"Classes/UserRepositoryFactory.html":{"name":"UserRepositoryFactory","abstract":"\u003cp\u003eClass contains methods to get an instance of user repository\u003c/p\u003e"},"Classes/TransferRepositoryFactory.html":{"name":"TransferRepositoryFactory","abstract":"\u003cp\u003eClass contains methods to get an instance of transfer repository\u003c/p\u003e"},"Classes/RemotePrepaidCardRepository.html":{"name":"RemotePrepaidCardRepository","abstract":"\u003cp\u003ePrepaid Card repository\u003c/p\u003e"},"Classes/RemoteTransferMethodConfigurationRepository.html":{"name":"RemoteTransferMethodConfigurationRepository","abstract":"\u003cp\u003eRemoteTransferMethodConfigurationRepository\u003c/p\u003e"},"Classes/TransferMethodRepositoryFactory.html":{"name":"TransferMethodRepositoryFactory","abstract":"\u003cp\u003eClass contains methods to get an instance of transfer method repository\u003c/p\u003e"},"Classes/RemoteTransferMethodUpdateConfigurationRepository.html":{"name":"RemoteTransferMethodUpdateConfigurationRepository","abstract":"\u003cp\u003eRemoteTransferMethodUpdateConfigurationRepository\u003c/p\u003e"},"Classes/SelectTransferMethodTypeCoordinator.html":{"name":"SelectTransferMethodTypeCoordinator","abstract":"\u003cp\u003eCoordinator class for SelectTransferMethodType\u003c/p\u003e"},"Classes/AddTransferMethodCoordinator.html":{"name":"AddTransferMethodCoordinator","abstract":"\u003cp\u003eCoordinator class for AddTransferMethod\u003c/p\u003e"},"Classes/ListTransferMethodsCoordinator.html":{"name":"ListTransferMethodsCoordinator","abstract":"\u003cp\u003eCoordinator class for ListTransferMethods\u003c/p\u003e"},"Classes/UpdateTransferMethodCoordinator.html":{"name":"UpdateTransferMethodCoordinator","abstract":"\u003cp\u003eCoordinator class for UpdateTransferMethod\u003c/p\u003e"},"Classes/GenericCell.html":{"name":"GenericCell","abstract":"\u003cp\u003eThe tableview cell\u003c/p\u003e"},"Classes/GenericController.html":{"name":"GenericController","abstract":"\u003cp\u003eGeneric Controller\u003c/p\u003e"},"Classes/HyperwalletBundle.html":{"name":"HyperwalletBundle","abstract":"\u003cp\u003eHyperwallet Bundle\u003c/p\u003e"},"Classes/HyperwalletIcon.html":{"name":"HyperwalletIcon","abstract":"\u003cp\u003eThe HyperwalletIcon class\u003c/p\u003e"},"Classes/SpinnerView.html":{"name":"SpinnerView","abstract":"\u003cp\u003eRepresents Spinner view to be embedded on a view\u003c/p\u003e"},"Classes/Theme.html":{"name":"Theme","abstract":"\u003cp\u003eThe \u003ccode\u003eTheme\u003c/code\u003e is used customize all visual style provided by Hyperwallet UI SDK."},"Classes/HyperwalletCoordinatorFactory.html":{"name":"HyperwalletCoordinatorFactory","abstract":"\u003cp\u003eClass responsible for deciding the coordinator required\u003c/p\u003e"},"Classes/HyperwalletInsights.html":{"name":"HyperwalletInsights","abstract":"\u003cp\u003eClass responsible for initializing the Insights module."},"Classes/ErrorInfoBuilder.html":{"name":"ErrorInfoBuilder","abstract":"\u003cp\u003eA helper class to build the \u003ccode\u003eErrorInfo\u003c/code\u003e instance.\u003c/p\u003e"},"Classes/ErrorView.html":{"name":"ErrorView","abstract":"\u003cp\u003eThe class to handle UI errors\u003c/p\u003e"},"Classes/PasteOnlyTextField.html":{"name":"PasteOnlyTextField","abstract":"\u003cp\u003eTo perform paste action in UITextField\u003c/p\u003e"},"Classes/AmountTextField.html":{"name":"AmountTextField"},"Classes/ProcessingView.html":{"name":"ProcessingView","abstract":"\u003cp\u003eThe processing view\u003c/p\u003e"},"Classes/RemotePrepaidCardReceiptRepository.html":{"name":"RemotePrepaidCardReceiptRepository","abstract":"\u003cp\u003ePrepaid card receipt repository\u003c/p\u003e"},"Classes/ReceiptRepositoryFactory.html":{"name":"ReceiptRepositoryFactory","abstract":"\u003cp\u003eReceipt Repository Factory\u003c/p\u003e"},"Classes/RemoteUserReceiptRepository.html":{"name":"RemoteUserReceiptRepository","abstract":"\u003cp\u003eUser receipt repository\u003c/p\u003e"},"Classes/ListReceiptCoordinator.html":{"name":"ListReceiptCoordinator","abstract":"\u003cp\u003eCoordinator class for ListReceipt\u003c/p\u003e"},"changelog.html":{"name":"CHANGELOG"},"readme.html":{"name":"README"},"Guides.html":{"name":"Guides","abstract":"\u003cp\u003eThe following guides are available globally.\u003c/p\u003e"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Enums.html":{"name":"Enumerations","abstract":"\u003cp\u003eThe following enumerations are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"},"Protocols.html":{"name":"Protocols","abstract":"\u003cp\u003eThe following protocols are available globally.\u003c/p\u003e"},"Structs.html":{"name":"Structures","abstract":"\u003cp\u003eThe following structures are available globally.\u003c/p\u003e"}} \ No newline at end of file diff --git a/docsets/HyperwalletUISDK.docset/Contents/Resources/docSet.dsidx b/docsets/HyperwalletUISDK.docset/Contents/Resources/docSet.dsidx new file mode 100644 index 000000000..be739cd57 Binary files /dev/null and b/docsets/HyperwalletUISDK.docset/Contents/Resources/docSet.dsidx differ diff --git a/docsets/HyperwalletUISDK.tgz b/docsets/HyperwalletUISDK.tgz new file mode 100644 index 000000000..50f745968 Binary files /dev/null and b/docsets/HyperwalletUISDK.tgz differ diff --git a/img/carat.png b/img/carat.png new file mode 100755 index 000000000..29d2f7fd4 Binary files /dev/null and b/img/carat.png differ diff --git a/img/dash.png b/img/dash.png new file mode 100755 index 000000000..6f694c7a0 Binary files /dev/null and b/img/dash.png differ diff --git a/img/gh.png b/img/gh.png new file mode 100755 index 000000000..628da97c7 Binary files /dev/null and b/img/gh.png differ diff --git a/img/spinner.gif b/img/spinner.gif new file mode 100644 index 000000000..e3038d0a4 Binary files /dev/null and b/img/spinner.gif differ diff --git a/index.html b/index.html new file mode 100644 index 000000000..9063feb8e --- /dev/null +++ b/index.html @@ -0,0 +1,1082 @@ + + + + HyperwalletUISDK Reference + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+ +

Hyperwallet UI SDK

+ +

Platforms +Build Status +Coverage Status

+ +

CocoaPods +Carthage compatible

+ +

NOTE: This is a beta product available for use in your mobile app. If you are interested in using this product, please notify your Relationship Manager and / or Project Manager to support you during the integration process.

+ +

Welcome to Hyperwallet’s iOS UI SDK. This out-of-the-box library will help you create transfer methods in your iOS app, such as bank account, PayPal account, etc.

+ +

Note that this SDK is geared towards those who need both backend data and UI features. Please refer to Hyperwallet iOS Core SDK if you decide to build your own UI.

+

Prerequisites

+ +
    +
  • A Hyperwallet merchant account
  • +
  • Set Up your server to manage the user’s authentication process on the Hyperwallet platform. See the Authentication section for more information.
  • +
  • iOS 13.0+
  • +
  • Xcode 10.2+
  • +
  • Swift 5.0
  • +
+

Dependencies

+ + +

Installation

+ +

Use Carthage or CocoaPods to integrate to HyperwalletSDK. +Currently, the following modules are available:

+ +
    +
  • TransferMethod - List, add or remove Transfer Methods
  • +
  • Transfer - Create a transfer from user account or prepaid card to available accounts for the user
  • +
  • Receipt - List user/prepaid card receipts +Adding one or more of these frameworks allows users to explore the particular function. If every feature is required, all the frameworks should be added +### Carthage +Specify it in your Cartfile: +ogdl +github "hyperwallet/hyperwallet-ios-ui-sdk" "1.0.0-beta18" + +Add desired modules using the Linked Frameworks and Libraries option to make them available in the app. +Use import <module-name> to add the dependency within a file
  • +
+

CocoaPods

+ +
    +
  • Install a specific framework (install one or more frameworks based on your requirement) +ruby +pod "HyperwalletUISDK/TransferMethod", "1.0.0-beta18" +pod "HyperwalletUISDK/Transfer", "1.0.0-beta18" +pod "HyperwalletUISDK/Receipt", "1.0.0-beta18" +
  • +
  • To install all available modules (TransferMethod, Transfer, Receipt) +ruby +pod 'HyperwalletUISDK', '~> 1.0.0-beta18' + +Use import HyperwalletUISDK to add the dependency within a file.
  • +
+

Initialization

+ +

After you’re done installing the SDK, you need to initialize an instance in order to utilize core SDK functions. Also, you need to provide a HyperwalletAuthenticationTokenProvider object to retrieve an authentication token.

+

Setup the UI Style

+ +

HyperwalletUISDK provides default themes for all the modules(e.g. TransferMethod, Receipt). If you import HyperwalletUISDK, in order to +apply the default theme, you will have to call ThemeManager.applyTheme() which will apply the basic theme to ProcessingView and SpinnerView. If you want Hyperwallet custom theme for UINavigationBar then add ThemeManager.applyToUINavigationBar() +For example:

+
...
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Optional - Define the HyperwalletUISDK on the `Theme` object. See the section `Customize the visual style`.
+
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        // Apply basic theme
+        ThemeManager.applyTheme()
+        return true
+    }
+}
+
+ +

You can also customize the default themes according to your needs. Please see customize the visual style for detail.

+

Setup the authentication

+ +

Add in the header:

+
import HyperwalletUISDK
+
+ +

Initialize the HyperwalletUISDK with a HyperwalletAuthenticationTokenProvider implementation instance:

+
HyperwalletUI.setup(_ :HyperwalletAuthenticationTokenProvider)
+
+

Authentication

+ +

Your server side should be able to send a POST request to Hyperwallet endpoint /rest/v3/users/{user-token}/authentication-token to retrieve an authentication token. +Then, you need to provide a class (an authentication provider) which implements HyperwalletAuthenticationTokenProvider to retrieve an authentication token from your server.

+ +

Example implementation using the URLRequest from Swift Foundation :

+
public struct AuthenticationTokenProviders: HyperwalletAuthenticationTokenProvider {
+    private let url = URL(string: "http://your/server/to/retrieve/authenticationToken")!
+
+    public func retrieveAuthenticationToken(
+        completionHandler: @escaping HyperwalletAuthenticationTokenProvider.CompletionHandler) {
+
+        var request = URLRequest(url: url)
+        request.httpMethod = "POST"
+        request.addValue("application/json", forHTTPHeaderField: "Content-Type")
+
+        let defaultSession = URLSession(configuration: .default)
+        let task = defaultSession.dataTask(with: request) {(data, response, error) in
+            DispatchQueue.main.async {
+                guard let data = data,
+                    let clientToken = String(data: data, encoding: .utf8),
+                    let response = response as? HTTPURLResponse else {
+                        completionHandler(nil, HyperwalletAuthenticationErrorType.unexpected(error?.localizedDescription ??
+                        "authentication token cannot be retrieved"))
+                        return
+                }
+
+                switch response.statusCode {
+                    case 200 ..< 300:
+                        completionHandler(clientToken, nil)
+
+                    default:
+                        completionHandler(nil, HyperwalletAuthenticationErrorType
+                            .unexpected("authentication token cannot be retrieved"))
+                }
+            }
+        }
+        task.resume()
+    }
+}
+
+

Usage

+ +

The functions in the UI SDK are available to use once the authentication is done.

+

The user’s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check)

+ +

Add in the header:

+
import HyperwalletSDK
+import HyperwalletUISDK
+
+

Lists the user’s transfer methods

+ +

The user can deactivate or add a new transfer method.

+
let coordinator = HyperwalletUI.shared.listTransferMethodCoordinator(parentController: self)
+coordinator.navigate()
+
+

Select a transfer method type available by country and currency

+
let coordinator = HyperwalletUI.shared.selectTransferMethodTypeCoordinator(parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Create a transfer method

+ +

The form fields are based on the country, currency, user’s profile type, and transfer method type. These values should be passed to this method to create a new Transfer Method.

+
let coordinator = HyperwalletUI.shared.addTransferMethodCoordinator(
+    "US", // The 2 letter ISO 3166-1 country code.
+    "USD", // The 3 letter ISO 4217-1 currency code.
+    "INDIVIDUAL", // The profile type. Possible values - INDIVIDUAL, BUSINESS.
+    "BANK_ACCOUNT", // The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD, PAYPAL_ACCOUNT
+    parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer method and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Update a transfer method

+
let coordinator = HyperwalletUI.shared.updateTransferMethodCoordinator(
+    "your-transfer-method-token", // The transfer method token
+    parentController: self)
+coordinator.navigate()
+
+

Lists the user’s receipts

+
let coordinator = HyperwalletUI.shared.listUserReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Lists the prepaid card’s receipts

+
let coordinator = HyperwalletUI.shared.listPrepaidCardReceiptCoordinator(parentController: self, prepaidCardToken: "your-prepaid-card-token")
+coordinator.navigate()
+
+

Lists receipts from all available sources

+
let coordinator = HyperwalletUI.shared.listAllAvailableSourcesReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Make a new transfer from user’s account

+ +

To add new Transfer Method from Transfer module, TransferMethod module needs to be added as a dependency in the app. If TransferMethod module is not added, users will not be able to add a new Transfer Method inside the Transfer flow.

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromUserCoordinator(clientTransferId: clientTransferId, parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Make a new transfer from prepaid card

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromPrepaidCardCoordinator(clientTransferId: clientTransferId,
+                                                      sourceToken: "your-prepaid-card-token",
+                                                      parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Display all the available sources to make a new transfer from. User can then select the transfer from source and make a new tansfer from that source

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromAllAvailableSourcesCoordinator(clientTransferId: clientTransferId,
+                                                              parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

NotificationCenter Events

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Notification nameDescription
Notification.Name.transferMethodAddedPosted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been created.
Notification.Name.transferMethodDeactivatedPosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been deactivated.
Notification.Name.transferCreatedPosted when a transfer of funds has been created.
Notification.Name.transferScheduledPosted when a transfer of funds has been scheduled.
Notification.Name.authenticationErrorPosted when SDK is unable to fetch new authentication token from client implementation. Client can choose to close the app/ logout/ navigate to some other screen when this notification is received.
+ +

When an object adds itself as an observer, it specifies which notifications it should receive. An object may, therefore, call this method several times in order to register itself as an observer for several different notifications.

+

How to use Notification.Name.transferMethodAdded

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didCreateNewTransferMethodNotification(notification:)),
+                                        name: Notification.Name.transferMethodAdded, object: nil)
+}
+
+@objc func didCreateNewTransferMethodNotification(notification: Notification) {
+    if let transferMethod = notification.userInfo![UserInfo.transferMethodAdded] as? HyperwalletTransferMethod {
+        // A new transfer method has been created
+    }
+}
+
+

How to use Notification.Name.transferMethodDeactivated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferMethodDeactivatedNotification(notification:)),
+                                        name: Notification.Name.transferMethodDeactivated, object: nil)
+}
+
+@objc func didTransferMethodDeactivatedNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferMethodDeactivated] as? HyperwalletStatusTransition {
+        // A transfer method has been deactivated.
+    }
+}
+
+

How to use Notification.Name.transferCreated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferCreatedNotification(notification:)),
+                                        name: Notification.Name.transferCreated, object: nil)
+}
+
+@objc func didTransferCreatedNotification(notification: Notification) {
+    if let transfer = notification.userInfo![UserInfo.transferCreated] as? HyperwalletTransfer {
+        // A transfer has been created.
+    }
+}
+
+

How to use Notification.Name.transferScheduled

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferScheduledNotification(notification:)),
+                                        name: Notification.Name.transferScheduled, object: nil)
+}
+
+@objc func didTransferScheduledNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferScheduled] as? HyperwalletStatusTransition {
+        // A transfer has been scheduled.
+    }
+}
+
+

How to use Notification.Name.authenticationError

+
override public func viewDidLoad() {
+super.viewDidLoad()
+...
+NotificationCenter.default.addObserver(self,
+selector: #selector(didAuthenticationErrorOccur(notification:)),
+name: Notification.Name.authenticationError, object: nil)
+}
+
+@objc func didAuthenticationErrorOccur(notification: Notification) {
+// Logout/ navigate to any other screen
+}
+
+

Customize the visual style

+ +

UI SDK is designed to make the process of the UI Styling as simple as possible. The Theme.swift object is responsible for UI customization.

+ +

Use the application(_:didFinishLaunchingWithOptions:) method to customize the user interface of SDK.

+ +

On the Theme is possible to customize the properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyDefault ValueDescription
Theme.themeColor0x00AFD0The main color
Theme.tintColorUIColor.whiteThe tint color
Theme.Label.colorUIColor(rgb: 0x2C2E2F)The label primary color
Theme.Label.errorColor0xFF3B30The color to highlight errors
Theme.Label.subtitleColorUIColor(rgb: 0x3c3c43, alpha: 0.6)The subtitle color
Theme.Label.textColor0x8e8e93The text color
Theme.Label.titleFontUIFont.preferredFont(forTextStyle: .body)The title font style
Theme.Label.subtitleFontUIFont.preferredFont(forTextStyle: .subheadline)The caption one font style
Theme.Label.footnoteFontUIFont.preferredFont(forTextStyle: .footnote)The footnote font style
Theme.Label.textSelectionColorUIColor(rgb: 0x00AFD0).withAlphaComponent(0.14)The text selection color
Theme.NavigationBar.barStyleUIBarStyle.defaultThe UINavigationBar bar style.
Theme.NavigationBar.isTranslucentfalseSets the opaque background color
Theme.NavigationBar.shadowColorUIColor.clearThe color of NavigationBar shadow
Theme.NavigationBar.largeTitleColorUIColor.whiteThe UINavigationBar large title color
Theme.NavigationBar.titleColorUIColor.whiteThe UINavigationBar title color
Theme.NavigationBar.backButtonColorUIColor.whiteThe UINavigationBar Back Button color
Theme.NavigationBar.largeTitleFontUIFont.preferredFont(forTextStyle: .largeTitle)The UINavigationBar large title font
Theme.NavigationBar.titleFontUIFont.preferredFont(forTextStyle: .body)The UINavigationBar title font
Theme.Button.colorUIColor(rgb: 0xFFFFFF)The button primary color
Theme.Button.linkColorTheme.themeColorThe button link color
Theme.Button.fontTheme.Label.bodyFontThe button font
Theme.Button.linkFontTheme.Label.titleFontThe link button font
Theme.Button.backgroundColorTheme.themeColorThe button background color
Theme.Text.fontUIFont.preferredFont(forTextStyle: .body)The text font style
Theme.Text.labelFontTheme.Label.titleFontThe text label font style
Theme.Text.colorTheme.Label.colorThe text primary color
Theme.Text.labelColorTheme.Label.colorThe text label primary color
Theme.Text.disabledColorTheme.Label.textColorThe text disabled color
Theme.Cell.smallHeight61The common UITableViewCell height.
Theme.Cell.height80The common UITableViewCell height.
Theme.Cell.largeHeight88The UITableViewCell height for the List transfer method items and the Select transfer method type items.
Theme.Cell.headerHeight37The Select transfer method type items header height.
Theme.Cell.dividerHeight8The divider UITableViewCell height.
Theme.Cell.separatorColorUIColor(rgb: 0x3c3c43, alpha: 0.29)The UITableViewCell separator color.
Theme.Cell.tintColorUIColor.whiteThe UITableViewCell tint color.
Theme.Icon.size30The icon font size
Theme.Icon.frameCGSize(width: 30, height: 30)The icon frame
Theme.Icon.primaryColorTheme.themeColorThe icon primary color
Theme.Icon.creditColorAmount.creditColorThe icon credit color
Theme.Icon.debitColorAmount.debitColorThe icon debit color
Theme.Amount.creditColorUIColor(rgb: 0x299976)The credit color
Theme.Amount.debitColorTheme.Label.colorThe debit color
Theme.ViewController.backgroundColorUIColor.whiteThe UIViewController background color.
Theme.SpinnerView.activityIndicatorViewStyleUIActivityIndicatorView.Style.whiteLargeThe UIActivityIndicatorView style.
Theme.SpinnerView.activityIndicatorViewColorTheme.themeColorThe UIActivityIndicatorView color.
Theme.SpinnerView.backgroundColorUIColor.clearThe background color
Theme.ProcessingView.backgroundColorUIColor.black.withAlphaComponent(0.85)The background color.
Theme.ProcessingView.stateLabelColorUIColor.whiteThe state label color.
+ +

Example to define the light theme code in class AppDelegate:

+
@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Override point for customization after application launch.
+
+        ThemeManager.applyWhiteTheme()
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        return true
+    }
+}
+
+ +

Example to customize the label colors:

+
...
+/// Labels
+Theme.Label.color = UIColor(red: 252 / 255, green: 67 / 255, blue: 77 / 255, alpha: 1)
+Theme.Label.subTitleColor = UIColor(red: 19 / 255, green: 165 / 255, blue: 185 / 255, alpha: 1)
+Theme.Label.textColor = UIColor(red: 0 / 255, green: 45 / 255, blue: 67 / 255, alpha: 1)
+Theme.Label.errorColor = .red
+
+ +

Note: If you do not use ThemeManager.applyToUINavigationBar(), then any changes done to Theme.NavigationBar.xxx will not be reflected.

+

Error Handling

+ +

In Hyperwallet UI SDK, we categorized HyperwalletException into three groups, which are input errors (business errors), network errors and unexpected errors.

+

Unexpected Error

+ +

Once an unexpected error occurs, an AlertView that only contains the OK button will be shown in the UI.

+

Network Error

+ +

Network errors occurs due to connectivity issues, such as poor-quality network connection, the request timed out from the server side, etc. Once a network error happened, an AlertView that contains a Cancel and a Try Again buttons will be shown in the UI.

+

Business Errors

+ +

Business errors occurs when the Hyperwallet platform has found invalid information or some business restriction related to the data has been submitted and require some action from the user.

+

Authentication Error

+ +

Authentication error occurs when the Hyperwallet SDK is not able to fetch the authentication token from the client implementation.

+

License

+ +

The Hyperwallet iOS SDK is open source and available under the MIT license

+ +
+
+ + +
+
+ + + diff --git a/js/jazzy.js b/js/jazzy.js new file mode 100755 index 000000000..198441660 --- /dev/null +++ b/js/jazzy.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +window.jazzy = {'docset': false} +if (typeof window.dash != 'undefined') { + document.documentElement.className += ' dash' + window.jazzy.docset = true +} +if (navigator.userAgent.match(/xcode/i)) { + document.documentElement.className += ' xcode' + window.jazzy.docset = true +} + +function toggleItem($link, $content) { + var animationDuration = 300; + $link.toggleClass('token-open'); + $content.slideToggle(animationDuration); +} + +function itemLinkToContent($link) { + return $link.parent().parent().next(); +} + +// On doc load + hash-change, open any targetted item +function openCurrentItemIfClosed() { + if (window.jazzy.docset) { + return; + } + var $link = $(`a[name="${location.hash.substring(1)}"]`).nextAll('.token'); + $content = itemLinkToContent($link); + if ($content.is(':hidden')) { + toggleItem($link, $content); + } +} + +$(openCurrentItemIfClosed); +$(window).on('hashchange', openCurrentItemIfClosed); + +// On item link ('token') click, toggle its discussion +$('.token').on('click', function(event) { + if (window.jazzy.docset) { + return; + } + var $link = $(this); + toggleItem($link, itemLinkToContent($link)); + + // Keeps the document from jumping to the hash. + var href = $link.attr('href'); + if (history.pushState) { + history.pushState({}, '', href); + } else { + location.hash = href; + } + event.preventDefault(); +}); + +// Clicks on links to the current, closed, item need to open the item +$("a:not('.token')").on('click', function() { + if (location == this.href) { + openCurrentItemIfClosed(); + } +}); + +// KaTeX rendering +if ("katex" in window) { + $($('.math').each( (_, element) => { + katex.render(element.textContent, element, { + displayMode: $(element).hasClass('m-block'), + throwOnError: false, + trust: true + }); + })) +} diff --git a/js/jazzy.search.js b/js/jazzy.search.js new file mode 100644 index 000000000..359cdbb8b --- /dev/null +++ b/js/jazzy.search.js @@ -0,0 +1,74 @@ +// Jazzy - https://github.com/realm/jazzy +// Copyright Realm Inc. +// SPDX-License-Identifier: MIT + +$(function(){ + var $typeahead = $('[data-typeahead]'); + var $form = $typeahead.parents('form'); + var searchURL = $form.attr('action'); + + function displayTemplate(result) { + return result.name; + } + + function suggestionTemplate(result) { + var t = '
'; + t += '' + result.name + ''; + if (result.parent_name) { + t += '' + result.parent_name + ''; + } + t += '
'; + return t; + } + + $typeahead.one('focus', function() { + $form.addClass('loading'); + + $.getJSON(searchURL).then(function(searchData) { + const searchIndex = lunr(function() { + this.ref('url'); + this.field('name'); + this.field('abstract'); + for (const [url, doc] of Object.entries(searchData)) { + this.add({url: url, name: doc.name, abstract: doc.abstract}); + } + }); + + $typeahead.typeahead( + { + highlight: true, + minLength: 3, + autoselect: true + }, + { + limit: 10, + display: displayTemplate, + templates: { suggestion: suggestionTemplate }, + source: function(query, sync) { + const lcSearch = query.toLowerCase(); + const results = searchIndex.query(function(q) { + q.term(lcSearch, { boost: 100 }); + q.term(lcSearch, { + boost: 10, + wildcard: lunr.Query.wildcard.TRAILING + }); + }).map(function(result) { + var doc = searchData[result.ref]; + doc.url = result.ref; + return doc; + }); + sync(results); + } + } + ); + $form.removeClass('loading'); + $typeahead.trigger('focus'); + }); + }); + + var baseURL = searchURL.slice(0, -"search.json".length); + + $typeahead.on('typeahead:select', function(e, result) { + window.location = baseURL + result.url; + }); +}); diff --git a/js/jquery.min.js b/js/jquery.min.js new file mode 100644 index 000000000..7f37b5d99 --- /dev/null +++ b/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 00){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}(); diff --git a/js/typeahead.jquery.js b/js/typeahead.jquery.js new file mode 100644 index 000000000..3a2d2ab03 --- /dev/null +++ b/js/typeahead.jquery.js @@ -0,0 +1,1694 @@ +/*! + * typeahead.js 1.3.1 + * https://github.com/corejavascript/typeahead.js + * Copyright 2013-2020 Twitter, Inc. and other contributors; Licensed MIT + */ + + +(function(root, factory) { + if (typeof define === "function" && define.amd) { + define([ "jquery" ], function(a0) { + return factory(a0); + }); + } else if (typeof module === "object" && module.exports) { + module.exports = factory(require("jquery")); + } else { + factory(root["jQuery"]); + } +})(this, function($) { + var _ = function() { + "use strict"; + return { + isMsie: function() { + return /(msie|trident)/i.test(navigator.userAgent) ? navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] : false; + }, + isBlankString: function(str) { + return !str || /^\s*$/.test(str); + }, + escapeRegExChars: function(str) { + return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); + }, + isString: function(obj) { + return typeof obj === "string"; + }, + isNumber: function(obj) { + return typeof obj === "number"; + }, + isArray: $.isArray, + isFunction: $.isFunction, + isObject: $.isPlainObject, + isUndefined: function(obj) { + return typeof obj === "undefined"; + }, + isElement: function(obj) { + return !!(obj && obj.nodeType === 1); + }, + isJQuery: function(obj) { + return obj instanceof $; + }, + toStr: function toStr(s) { + return _.isUndefined(s) || s === null ? "" : s + ""; + }, + bind: $.proxy, + each: function(collection, cb) { + $.each(collection, reverseArgs); + function reverseArgs(index, value) { + return cb(value, index); + } + }, + map: $.map, + filter: $.grep, + every: function(obj, test) { + var result = true; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (!(result = test.call(null, val, key, obj))) { + return false; + } + }); + return !!result; + }, + some: function(obj, test) { + var result = false; + if (!obj) { + return result; + } + $.each(obj, function(key, val) { + if (result = test.call(null, val, key, obj)) { + return false; + } + }); + return !!result; + }, + mixin: $.extend, + identity: function(x) { + return x; + }, + clone: function(obj) { + return $.extend(true, {}, obj); + }, + getIdGenerator: function() { + var counter = 0; + return function() { + return counter++; + }; + }, + templatify: function templatify(obj) { + return $.isFunction(obj) ? obj : template; + function template() { + return String(obj); + } + }, + defer: function(fn) { + setTimeout(fn, 0); + }, + debounce: function(func, wait, immediate) { + var timeout, result; + return function() { + var context = this, args = arguments, later, callNow; + later = function() { + timeout = null; + if (!immediate) { + result = func.apply(context, args); + } + }; + callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) { + result = func.apply(context, args); + } + return result; + }; + }, + throttle: function(func, wait) { + var context, args, timeout, result, previous, later; + previous = 0; + later = function() { + previous = new Date(); + timeout = null; + result = func.apply(context, args); + }; + return function() { + var now = new Date(), remaining = wait - (now - previous); + context = this; + args = arguments; + if (remaining <= 0) { + clearTimeout(timeout); + timeout = null; + previous = now; + result = func.apply(context, args); + } else if (!timeout) { + timeout = setTimeout(later, remaining); + } + return result; + }; + }, + stringify: function(val) { + return _.isString(val) ? val : JSON.stringify(val); + }, + guid: function() { + function _p8(s) { + var p = (Math.random().toString(16) + "000000000").substr(2, 8); + return s ? "-" + p.substr(0, 4) + "-" + p.substr(4, 4) : p; + } + return "tt-" + _p8() + _p8(true) + _p8(true) + _p8(); + }, + noop: function() {} + }; + }(); + var WWW = function() { + "use strict"; + var defaultClassNames = { + wrapper: "twitter-typeahead", + input: "tt-input", + hint: "tt-hint", + menu: "tt-menu", + dataset: "tt-dataset", + suggestion: "tt-suggestion", + selectable: "tt-selectable", + empty: "tt-empty", + open: "tt-open", + cursor: "tt-cursor", + highlight: "tt-highlight" + }; + return build; + function build(o) { + var www, classes; + classes = _.mixin({}, defaultClassNames, o); + www = { + css: buildCss(), + classes: classes, + html: buildHtml(classes), + selectors: buildSelectors(classes) + }; + return { + css: www.css, + html: www.html, + classes: www.classes, + selectors: www.selectors, + mixin: function(o) { + _.mixin(o, www); + } + }; + } + function buildHtml(c) { + return { + wrapper: '', + menu: '
' + }; + } + function buildSelectors(classes) { + var selectors = {}; + _.each(classes, function(v, k) { + selectors[k] = "." + v; + }); + return selectors; + } + function buildCss() { + var css = { + wrapper: { + position: "relative", + display: "inline-block" + }, + hint: { + position: "absolute", + top: "0", + left: "0", + borderColor: "transparent", + boxShadow: "none", + opacity: "1" + }, + input: { + position: "relative", + verticalAlign: "top", + backgroundColor: "transparent" + }, + inputWithNoHint: { + position: "relative", + verticalAlign: "top" + }, + menu: { + position: "absolute", + top: "100%", + left: "0", + zIndex: "100", + display: "none" + }, + ltr: { + left: "0", + right: "auto" + }, + rtl: { + left: "auto", + right: " 0" + } + }; + if (_.isMsie()) { + _.mixin(css.input, { + backgroundImage: "url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)" + }); + } + return css; + } + }(); + var EventBus = function() { + "use strict"; + var namespace, deprecationMap; + namespace = "typeahead:"; + deprecationMap = { + render: "rendered", + cursorchange: "cursorchanged", + select: "selected", + autocomplete: "autocompleted" + }; + function EventBus(o) { + if (!o || !o.el) { + $.error("EventBus initialized without el"); + } + this.$el = $(o.el); + } + _.mixin(EventBus.prototype, { + _trigger: function(type, args) { + var $e = $.Event(namespace + type); + this.$el.trigger.call(this.$el, $e, args || []); + return $e; + }, + before: function(type) { + var args, $e; + args = [].slice.call(arguments, 1); + $e = this._trigger("before" + type, args); + return $e.isDefaultPrevented(); + }, + trigger: function(type) { + var deprecatedType; + this._trigger(type, [].slice.call(arguments, 1)); + if (deprecatedType = deprecationMap[type]) { + this._trigger(deprecatedType, [].slice.call(arguments, 1)); + } + } + }); + return EventBus; + }(); + var EventEmitter = function() { + "use strict"; + var splitter = /\s+/, nextTick = getNextTick(); + return { + onSync: onSync, + onAsync: onAsync, + off: off, + trigger: trigger + }; + function on(method, types, cb, context) { + var type; + if (!cb) { + return this; + } + types = types.split(splitter); + cb = context ? bindContext(cb, context) : cb; + this._callbacks = this._callbacks || {}; + while (type = types.shift()) { + this._callbacks[type] = this._callbacks[type] || { + sync: [], + async: [] + }; + this._callbacks[type][method].push(cb); + } + return this; + } + function onAsync(types, cb, context) { + return on.call(this, "async", types, cb, context); + } + function onSync(types, cb, context) { + return on.call(this, "sync", types, cb, context); + } + function off(types) { + var type; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + while (type = types.shift()) { + delete this._callbacks[type]; + } + return this; + } + function trigger(types) { + var type, callbacks, args, syncFlush, asyncFlush; + if (!this._callbacks) { + return this; + } + types = types.split(splitter); + args = [].slice.call(arguments, 1); + while ((type = types.shift()) && (callbacks = this._callbacks[type])) { + syncFlush = getFlush(callbacks.sync, this, [ type ].concat(args)); + asyncFlush = getFlush(callbacks.async, this, [ type ].concat(args)); + syncFlush() && nextTick(asyncFlush); + } + return this; + } + function getFlush(callbacks, context, args) { + return flush; + function flush() { + var cancelled; + for (var i = 0, len = callbacks.length; !cancelled && i < len; i += 1) { + cancelled = callbacks[i].apply(context, args) === false; + } + return !cancelled; + } + } + function getNextTick() { + var nextTickFn; + if (window.setImmediate) { + nextTickFn = function nextTickSetImmediate(fn) { + setImmediate(function() { + fn(); + }); + }; + } else { + nextTickFn = function nextTickSetTimeout(fn) { + setTimeout(function() { + fn(); + }, 0); + }; + } + return nextTickFn; + } + function bindContext(fn, context) { + return fn.bind ? fn.bind(context) : function() { + fn.apply(context, [].slice.call(arguments, 0)); + }; + } + }(); + var highlight = function(doc) { + "use strict"; + var defaults = { + node: null, + pattern: null, + tagName: "strong", + className: null, + wordsOnly: false, + caseSensitive: false, + diacriticInsensitive: false + }; + var accented = { + A: "[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]", + B: "[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]", + C: "[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]", + D: "[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]", + E: "[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]", + F: "[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]", + G: "[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]", + H: "[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]", + I: "[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]", + J: "[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]", + K: "[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]", + L: "[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]", + M: "[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]", + N: "[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]", + O: "[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]", + P: "[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]", + Q: "[Qqℚ⒬Ⓠⓠ㏃Qq]", + R: "[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]", + S: "[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]", + T: "[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]", + U: "[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]", + V: "[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]", + W: "[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]", + X: "[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]", + Y: "[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]", + Z: "[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]" + }; + return function hightlight(o) { + var regex; + o = _.mixin({}, defaults, o); + if (!o.node || !o.pattern) { + return; + } + o.pattern = _.isArray(o.pattern) ? o.pattern : [ o.pattern ]; + regex = getRegex(o.pattern, o.caseSensitive, o.wordsOnly, o.diacriticInsensitive); + traverse(o.node, hightlightTextNode); + function hightlightTextNode(textNode) { + var match, patternNode, wrapperNode; + if (match = regex.exec(textNode.data)) { + wrapperNode = doc.createElement(o.tagName); + o.className && (wrapperNode.className = o.className); + patternNode = textNode.splitText(match.index); + patternNode.splitText(match[0].length); + wrapperNode.appendChild(patternNode.cloneNode(true)); + textNode.parentNode.replaceChild(wrapperNode, patternNode); + } + return !!match; + } + function traverse(el, hightlightTextNode) { + var childNode, TEXT_NODE_TYPE = 3; + for (var i = 0; i < el.childNodes.length; i++) { + childNode = el.childNodes[i]; + if (childNode.nodeType === TEXT_NODE_TYPE) { + i += hightlightTextNode(childNode) ? 1 : 0; + } else { + traverse(childNode, hightlightTextNode); + } + } + } + }; + function accent_replacer(chr) { + return accented[chr.toUpperCase()] || chr; + } + function getRegex(patterns, caseSensitive, wordsOnly, diacriticInsensitive) { + var escapedPatterns = [], regexStr; + for (var i = 0, len = patterns.length; i < len; i++) { + var escapedWord = _.escapeRegExChars(patterns[i]); + if (diacriticInsensitive) { + escapedWord = escapedWord.replace(/\S/g, accent_replacer); + } + escapedPatterns.push(escapedWord); + } + regexStr = wordsOnly ? "\\b(" + escapedPatterns.join("|") + ")\\b" : "(" + escapedPatterns.join("|") + ")"; + return caseSensitive ? new RegExp(regexStr) : new RegExp(regexStr, "i"); + } + }(window.document); + var Input = function() { + "use strict"; + var specialKeyCodeMap; + specialKeyCodeMap = { + 9: "tab", + 27: "esc", + 37: "left", + 39: "right", + 13: "enter", + 38: "up", + 40: "down" + }; + function Input(o, www) { + var id; + o = o || {}; + if (!o.input) { + $.error("input is missing"); + } + www.mixin(this); + this.$hint = $(o.hint); + this.$input = $(o.input); + this.$menu = $(o.menu); + id = this.$input.attr("id") || _.guid(); + this.$menu.attr("id", id + "_listbox"); + this.$hint.attr({ + "aria-hidden": true + }); + this.$input.attr({ + "aria-owns": id + "_listbox", + role: "combobox", + "aria-autocomplete": "list", + "aria-expanded": false + }); + this.query = this.$input.val(); + this.queryWhenFocused = this.hasFocus() ? this.query : null; + this.$overflowHelper = buildOverflowHelper(this.$input); + this._checkLanguageDirection(); + if (this.$hint.length === 0) { + this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = _.noop; + } + this.onSync("cursorchange", this._updateDescendent); + } + Input.normalizeQuery = function(str) { + return _.toStr(str).replace(/^\s*/g, "").replace(/\s{2,}/g, " "); + }; + _.mixin(Input.prototype, EventEmitter, { + _onBlur: function onBlur() { + this.resetInputValue(); + this.trigger("blurred"); + }, + _onFocus: function onFocus() { + this.queryWhenFocused = this.query; + this.trigger("focused"); + }, + _onKeydown: function onKeydown($e) { + var keyName = specialKeyCodeMap[$e.which || $e.keyCode]; + this._managePreventDefault(keyName, $e); + if (keyName && this._shouldTrigger(keyName, $e)) { + this.trigger(keyName + "Keyed", $e); + } + }, + _onInput: function onInput() { + this._setQuery(this.getInputValue()); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + _managePreventDefault: function managePreventDefault(keyName, $e) { + var preventDefault; + switch (keyName) { + case "up": + case "down": + preventDefault = !withModifier($e); + break; + + default: + preventDefault = false; + } + preventDefault && $e.preventDefault(); + }, + _shouldTrigger: function shouldTrigger(keyName, $e) { + var trigger; + switch (keyName) { + case "tab": + trigger = !withModifier($e); + break; + + default: + trigger = true; + } + return trigger; + }, + _checkLanguageDirection: function checkLanguageDirection() { + var dir = (this.$input.css("direction") || "ltr").toLowerCase(); + if (this.dir !== dir) { + this.dir = dir; + this.$hint.attr("dir", dir); + this.trigger("langDirChanged", dir); + } + }, + _setQuery: function setQuery(val, silent) { + var areEquivalent, hasDifferentWhitespace; + areEquivalent = areQueriesEquivalent(val, this.query); + hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false; + this.query = val; + if (!silent && !areEquivalent) { + this.trigger("queryChanged", this.query); + } else if (!silent && hasDifferentWhitespace) { + this.trigger("whitespaceChanged", this.query); + } + }, + _updateDescendent: function updateDescendent(event, id) { + this.$input.attr("aria-activedescendant", id); + }, + bind: function() { + var that = this, onBlur, onFocus, onKeydown, onInput; + onBlur = _.bind(this._onBlur, this); + onFocus = _.bind(this._onFocus, this); + onKeydown = _.bind(this._onKeydown, this); + onInput = _.bind(this._onInput, this); + this.$input.on("blur.tt", onBlur).on("focus.tt", onFocus).on("keydown.tt", onKeydown); + if (!_.isMsie() || _.isMsie() > 9) { + this.$input.on("input.tt", onInput); + } else { + this.$input.on("keydown.tt keypress.tt cut.tt paste.tt", function($e) { + if (specialKeyCodeMap[$e.which || $e.keyCode]) { + return; + } + _.defer(_.bind(that._onInput, that, $e)); + }); + } + return this; + }, + focus: function focus() { + this.$input.focus(); + }, + blur: function blur() { + this.$input.blur(); + }, + getLangDir: function getLangDir() { + return this.dir; + }, + getQuery: function getQuery() { + return this.query || ""; + }, + setQuery: function setQuery(val, silent) { + this.setInputValue(val); + this._setQuery(val, silent); + }, + hasQueryChangedSinceLastFocus: function hasQueryChangedSinceLastFocus() { + return this.query !== this.queryWhenFocused; + }, + getInputValue: function getInputValue() { + return this.$input.val(); + }, + setInputValue: function setInputValue(value) { + this.$input.val(value); + this.clearHintIfInvalid(); + this._checkLanguageDirection(); + }, + resetInputValue: function resetInputValue() { + this.setInputValue(this.query); + }, + getHint: function getHint() { + return this.$hint.val(); + }, + setHint: function setHint(value) { + this.$hint.val(value); + }, + clearHint: function clearHint() { + this.setHint(""); + }, + clearHintIfInvalid: function clearHintIfInvalid() { + var val, hint, valIsPrefixOfHint, isValid; + val = this.getInputValue(); + hint = this.getHint(); + valIsPrefixOfHint = val !== hint && hint.indexOf(val) === 0; + isValid = val !== "" && valIsPrefixOfHint && !this.hasOverflow(); + !isValid && this.clearHint(); + }, + hasFocus: function hasFocus() { + return this.$input.is(":focus"); + }, + hasOverflow: function hasOverflow() { + var constraint = this.$input.width() - 2; + this.$overflowHelper.text(this.getInputValue()); + return this.$overflowHelper.width() >= constraint; + }, + isCursorAtEnd: function() { + var valueLength, selectionStart, range; + valueLength = this.$input.val().length; + selectionStart = this.$input[0].selectionStart; + if (_.isNumber(selectionStart)) { + return selectionStart === valueLength; + } else if (document.selection) { + range = document.selection.createRange(); + range.moveStart("character", -valueLength); + return valueLength === range.text.length; + } + return true; + }, + destroy: function destroy() { + this.$hint.off(".tt"); + this.$input.off(".tt"); + this.$overflowHelper.remove(); + this.$hint = this.$input = this.$overflowHelper = $("
"); + }, + setAriaExpanded: function setAriaExpanded(value) { + this.$input.attr("aria-expanded", value); + } + }); + return Input; + function buildOverflowHelper($input) { + return $('').css({ + position: "absolute", + visibility: "hidden", + whiteSpace: "pre", + fontFamily: $input.css("font-family"), + fontSize: $input.css("font-size"), + fontStyle: $input.css("font-style"), + fontVariant: $input.css("font-variant"), + fontWeight: $input.css("font-weight"), + wordSpacing: $input.css("word-spacing"), + letterSpacing: $input.css("letter-spacing"), + textIndent: $input.css("text-indent"), + textRendering: $input.css("text-rendering"), + textTransform: $input.css("text-transform") + }).insertAfter($input); + } + function areQueriesEquivalent(a, b) { + return Input.normalizeQuery(a) === Input.normalizeQuery(b); + } + function withModifier($e) { + return $e.altKey || $e.ctrlKey || $e.metaKey || $e.shiftKey; + } + }(); + var Dataset = function() { + "use strict"; + var keys, nameGenerator; + keys = { + dataset: "tt-selectable-dataset", + val: "tt-selectable-display", + obj: "tt-selectable-object" + }; + nameGenerator = _.getIdGenerator(); + function Dataset(o, www) { + o = o || {}; + o.templates = o.templates || {}; + o.templates.notFound = o.templates.notFound || o.templates.empty; + if (!o.source) { + $.error("missing source"); + } + if (!o.node) { + $.error("missing node"); + } + if (o.name && !isValidName(o.name)) { + $.error("invalid dataset name: " + o.name); + } + www.mixin(this); + this.highlight = !!o.highlight; + this.name = _.toStr(o.name || nameGenerator()); + this.limit = o.limit || 5; + this.displayFn = getDisplayFn(o.display || o.displayKey); + this.templates = getTemplates(o.templates, this.displayFn); + this.source = o.source.__ttAdapter ? o.source.__ttAdapter() : o.source; + this.async = _.isUndefined(o.async) ? this.source.length > 2 : !!o.async; + this._resetLastSuggestion(); + this.$el = $(o.node).attr("role", "presentation").addClass(this.classes.dataset).addClass(this.classes.dataset + "-" + this.name); + } + Dataset.extractData = function extractData(el) { + var $el = $(el); + if ($el.data(keys.obj)) { + return { + dataset: $el.data(keys.dataset) || "", + val: $el.data(keys.val) || "", + obj: $el.data(keys.obj) || null + }; + } + return null; + }; + _.mixin(Dataset.prototype, EventEmitter, { + _overwrite: function overwrite(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (this.async && this.templates.pending) { + this._renderPending(query); + } else if (!this.async && this.templates.notFound) { + this._renderNotFound(query); + } else { + this._empty(); + } + this.trigger("rendered", suggestions, false, this.name); + }, + _append: function append(query, suggestions) { + suggestions = suggestions || []; + if (suggestions.length && this.$lastSuggestion.length) { + this._appendSuggestions(query, suggestions); + } else if (suggestions.length) { + this._renderSuggestions(query, suggestions); + } else if (!this.$lastSuggestion.length && this.templates.notFound) { + this._renderNotFound(query); + } + this.trigger("rendered", suggestions, true, this.name); + }, + _renderSuggestions: function renderSuggestions(query, suggestions) { + var $fragment; + $fragment = this._getSuggestionsFragment(query, suggestions); + this.$lastSuggestion = $fragment.children().last(); + this.$el.html($fragment).prepend(this._getHeader(query, suggestions)).append(this._getFooter(query, suggestions)); + }, + _appendSuggestions: function appendSuggestions(query, suggestions) { + var $fragment, $lastSuggestion; + $fragment = this._getSuggestionsFragment(query, suggestions); + $lastSuggestion = $fragment.children().last(); + this.$lastSuggestion.after($fragment); + this.$lastSuggestion = $lastSuggestion; + }, + _renderPending: function renderPending(query) { + var template = this.templates.pending; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _renderNotFound: function renderNotFound(query) { + var template = this.templates.notFound; + this._resetLastSuggestion(); + template && this.$el.html(template({ + query: query, + dataset: this.name + })); + }, + _empty: function empty() { + this.$el.empty(); + this._resetLastSuggestion(); + }, + _getSuggestionsFragment: function getSuggestionsFragment(query, suggestions) { + var that = this, fragment; + fragment = document.createDocumentFragment(); + _.each(suggestions, function getSuggestionNode(suggestion) { + var $el, context; + context = that._injectQuery(query, suggestion); + $el = $(that.templates.suggestion(context)).data(keys.dataset, that.name).data(keys.obj, suggestion).data(keys.val, that.displayFn(suggestion)).addClass(that.classes.suggestion + " " + that.classes.selectable); + fragment.appendChild($el[0]); + }); + this.highlight && highlight({ + className: this.classes.highlight, + node: fragment, + pattern: query + }); + return $(fragment); + }, + _getFooter: function getFooter(query, suggestions) { + return this.templates.footer ? this.templates.footer({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _getHeader: function getHeader(query, suggestions) { + return this.templates.header ? this.templates.header({ + query: query, + suggestions: suggestions, + dataset: this.name + }) : null; + }, + _resetLastSuggestion: function resetLastSuggestion() { + this.$lastSuggestion = $(); + }, + _injectQuery: function injectQuery(query, obj) { + return _.isObject(obj) ? _.mixin({ + _query: query + }, obj) : obj; + }, + update: function update(query) { + var that = this, canceled = false, syncCalled = false, rendered = 0; + this.cancel(); + this.cancel = function cancel() { + canceled = true; + that.cancel = $.noop; + that.async && that.trigger("asyncCanceled", query, that.name); + }; + this.source(query, sync, async); + !syncCalled && sync([]); + function sync(suggestions) { + if (syncCalled) { + return; + } + syncCalled = true; + suggestions = (suggestions || []).slice(0, that.limit); + rendered = suggestions.length; + that._overwrite(query, suggestions); + if (rendered < that.limit && that.async) { + that.trigger("asyncRequested", query, that.name); + } + } + function async(suggestions) { + suggestions = suggestions || []; + if (!canceled && rendered < that.limit) { + that.cancel = $.noop; + var idx = Math.abs(rendered - that.limit); + rendered += idx; + that._append(query, suggestions.slice(0, idx)); + that.async && that.trigger("asyncReceived", query, that.name); + } + } + }, + cancel: $.noop, + clear: function clear() { + this._empty(); + this.cancel(); + this.trigger("cleared"); + }, + isEmpty: function isEmpty() { + return this.$el.is(":empty"); + }, + destroy: function destroy() { + this.$el = $("
"); + } + }); + return Dataset; + function getDisplayFn(display) { + display = display || _.stringify; + return _.isFunction(display) ? display : displayFn; + function displayFn(obj) { + return obj[display]; + } + } + function getTemplates(templates, displayFn) { + return { + notFound: templates.notFound && _.templatify(templates.notFound), + pending: templates.pending && _.templatify(templates.pending), + header: templates.header && _.templatify(templates.header), + footer: templates.footer && _.templatify(templates.footer), + suggestion: templates.suggestion ? userSuggestionTemplate : suggestionTemplate + }; + function userSuggestionTemplate(context) { + var template = templates.suggestion; + return $(template(context)).attr("id", _.guid()); + } + function suggestionTemplate(context) { + return $('
').attr("id", _.guid()).text(displayFn(context)); + } + } + function isValidName(str) { + return /^[_a-zA-Z0-9-]+$/.test(str); + } + }(); + var Menu = function() { + "use strict"; + function Menu(o, www) { + var that = this; + o = o || {}; + if (!o.node) { + $.error("node is required"); + } + www.mixin(this); + this.$node = $(o.node); + this.query = null; + this.datasets = _.map(o.datasets, initializeDataset); + function initializeDataset(oDataset) { + var node = that.$node.find(oDataset.node).first(); + oDataset.node = node.length ? node : $("
").appendTo(that.$node); + return new Dataset(oDataset, www); + } + } + _.mixin(Menu.prototype, EventEmitter, { + _onSelectableClick: function onSelectableClick($e) { + this.trigger("selectableClicked", $($e.currentTarget)); + }, + _onRendered: function onRendered(type, dataset, suggestions, async) { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetRendered", dataset, suggestions, async); + }, + _onCleared: function onCleared() { + this.$node.toggleClass(this.classes.empty, this._allDatasetsEmpty()); + this.trigger("datasetCleared"); + }, + _propagate: function propagate() { + this.trigger.apply(this, arguments); + }, + _allDatasetsEmpty: function allDatasetsEmpty() { + return _.every(this.datasets, _.bind(function isDatasetEmpty(dataset) { + var isEmpty = dataset.isEmpty(); + this.$node.attr("aria-expanded", !isEmpty); + return isEmpty; + }, this)); + }, + _getSelectables: function getSelectables() { + return this.$node.find(this.selectors.selectable); + }, + _removeCursor: function _removeCursor() { + var $selectable = this.getActiveSelectable(); + $selectable && $selectable.removeClass(this.classes.cursor); + }, + _ensureVisible: function ensureVisible($el) { + var elTop, elBottom, nodeScrollTop, nodeHeight; + elTop = $el.position().top; + elBottom = elTop + $el.outerHeight(true); + nodeScrollTop = this.$node.scrollTop(); + nodeHeight = this.$node.height() + parseInt(this.$node.css("paddingTop"), 10) + parseInt(this.$node.css("paddingBottom"), 10); + if (elTop < 0) { + this.$node.scrollTop(nodeScrollTop + elTop); + } else if (nodeHeight < elBottom) { + this.$node.scrollTop(nodeScrollTop + (elBottom - nodeHeight)); + } + }, + bind: function() { + var that = this, onSelectableClick; + onSelectableClick = _.bind(this._onSelectableClick, this); + this.$node.on("click.tt", this.selectors.selectable, onSelectableClick); + this.$node.on("mouseover", this.selectors.selectable, function() { + that.setCursor($(this)); + }); + this.$node.on("mouseleave", function() { + that._removeCursor(); + }); + _.each(this.datasets, function(dataset) { + dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that); + }); + return this; + }, + isOpen: function isOpen() { + return this.$node.hasClass(this.classes.open); + }, + open: function open() { + this.$node.scrollTop(0); + this.$node.addClass(this.classes.open); + }, + close: function close() { + this.$node.attr("aria-expanded", false); + this.$node.removeClass(this.classes.open); + this._removeCursor(); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.attr("dir", dir); + }, + selectableRelativeToCursor: function selectableRelativeToCursor(delta) { + var $selectables, $oldCursor, oldIndex, newIndex; + $oldCursor = this.getActiveSelectable(); + $selectables = this._getSelectables(); + oldIndex = $oldCursor ? $selectables.index($oldCursor) : -1; + newIndex = oldIndex + delta; + newIndex = (newIndex + 1) % ($selectables.length + 1) - 1; + newIndex = newIndex < -1 ? $selectables.length - 1 : newIndex; + return newIndex === -1 ? null : $selectables.eq(newIndex); + }, + setCursor: function setCursor($selectable) { + this._removeCursor(); + if ($selectable = $selectable && $selectable.first()) { + $selectable.addClass(this.classes.cursor); + this._ensureVisible($selectable); + } + }, + getSelectableData: function getSelectableData($el) { + return $el && $el.length ? Dataset.extractData($el) : null; + }, + getActiveSelectable: function getActiveSelectable() { + var $selectable = this._getSelectables().filter(this.selectors.cursor).first(); + return $selectable.length ? $selectable : null; + }, + getTopSelectable: function getTopSelectable() { + var $selectable = this._getSelectables().first(); + return $selectable.length ? $selectable : null; + }, + update: function update(query) { + var isValidUpdate = query !== this.query; + if (isValidUpdate) { + this.query = query; + _.each(this.datasets, updateDataset); + } + return isValidUpdate; + function updateDataset(dataset) { + dataset.update(query); + } + }, + empty: function empty() { + _.each(this.datasets, clearDataset); + this.query = null; + this.$node.addClass(this.classes.empty); + function clearDataset(dataset) { + dataset.clear(); + } + }, + destroy: function destroy() { + this.$node.off(".tt"); + this.$node = $("
"); + _.each(this.datasets, destroyDataset); + function destroyDataset(dataset) { + dataset.destroy(); + } + } + }); + return Menu; + }(); + var Status = function() { + "use strict"; + function Status(options) { + this.$el = $("", { + role: "status", + "aria-live": "polite" + }).css({ + position: "absolute", + padding: "0", + border: "0", + height: "1px", + width: "1px", + "margin-bottom": "-1px", + "margin-right": "-1px", + overflow: "hidden", + clip: "rect(0 0 0 0)", + "white-space": "nowrap" + }); + options.$input.after(this.$el); + _.each(options.menu.datasets, _.bind(function(dataset) { + if (dataset.onSync) { + dataset.onSync("rendered", _.bind(this.update, this)); + dataset.onSync("cleared", _.bind(this.cleared, this)); + } + }, this)); + } + _.mixin(Status.prototype, { + update: function update(event, suggestions) { + var length = suggestions.length; + var words; + if (length === 1) { + words = { + result: "result", + is: "is" + }; + } else { + words = { + result: "results", + is: "are" + }; + } + this.$el.text(length + " " + words.result + " " + words.is + " available, use up and down arrow keys to navigate."); + }, + cleared: function() { + this.$el.text(""); + } + }); + return Status; + }(); + var DefaultMenu = function() { + "use strict"; + var s = Menu.prototype; + function DefaultMenu() { + Menu.apply(this, [].slice.call(arguments, 0)); + } + _.mixin(DefaultMenu.prototype, Menu.prototype, { + open: function open() { + !this._allDatasetsEmpty() && this._show(); + return s.open.apply(this, [].slice.call(arguments, 0)); + }, + close: function close() { + this._hide(); + return s.close.apply(this, [].slice.call(arguments, 0)); + }, + _onRendered: function onRendered() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onRendered.apply(this, [].slice.call(arguments, 0)); + }, + _onCleared: function onCleared() { + if (this._allDatasetsEmpty()) { + this._hide(); + } else { + this.isOpen() && this._show(); + } + return s._onCleared.apply(this, [].slice.call(arguments, 0)); + }, + setLanguageDirection: function setLanguageDirection(dir) { + this.$node.css(dir === "ltr" ? this.css.ltr : this.css.rtl); + return s.setLanguageDirection.apply(this, [].slice.call(arguments, 0)); + }, + _hide: function hide() { + this.$node.hide(); + }, + _show: function show() { + this.$node.css("display", "block"); + } + }); + return DefaultMenu; + }(); + var Typeahead = function() { + "use strict"; + function Typeahead(o, www) { + var onFocused, onBlurred, onEnterKeyed, onTabKeyed, onEscKeyed, onUpKeyed, onDownKeyed, onLeftKeyed, onRightKeyed, onQueryChanged, onWhitespaceChanged; + o = o || {}; + if (!o.input) { + $.error("missing input"); + } + if (!o.menu) { + $.error("missing menu"); + } + if (!o.eventBus) { + $.error("missing event bus"); + } + www.mixin(this); + this.eventBus = o.eventBus; + this.minLength = _.isNumber(o.minLength) ? o.minLength : 1; + this.input = o.input; + this.menu = o.menu; + this.enabled = true; + this.autoselect = !!o.autoselect; + this.active = false; + this.input.hasFocus() && this.activate(); + this.dir = this.input.getLangDir(); + this._hacks(); + this.menu.bind().onSync("selectableClicked", this._onSelectableClicked, this).onSync("asyncRequested", this._onAsyncRequested, this).onSync("asyncCanceled", this._onAsyncCanceled, this).onSync("asyncReceived", this._onAsyncReceived, this).onSync("datasetRendered", this._onDatasetRendered, this).onSync("datasetCleared", this._onDatasetCleared, this); + onFocused = c(this, "activate", "open", "_onFocused"); + onBlurred = c(this, "deactivate", "_onBlurred"); + onEnterKeyed = c(this, "isActive", "isOpen", "_onEnterKeyed"); + onTabKeyed = c(this, "isActive", "isOpen", "_onTabKeyed"); + onEscKeyed = c(this, "isActive", "_onEscKeyed"); + onUpKeyed = c(this, "isActive", "open", "_onUpKeyed"); + onDownKeyed = c(this, "isActive", "open", "_onDownKeyed"); + onLeftKeyed = c(this, "isActive", "isOpen", "_onLeftKeyed"); + onRightKeyed = c(this, "isActive", "isOpen", "_onRightKeyed"); + onQueryChanged = c(this, "_openIfActive", "_onQueryChanged"); + onWhitespaceChanged = c(this, "_openIfActive", "_onWhitespaceChanged"); + this.input.bind().onSync("focused", onFocused, this).onSync("blurred", onBlurred, this).onSync("enterKeyed", onEnterKeyed, this).onSync("tabKeyed", onTabKeyed, this).onSync("escKeyed", onEscKeyed, this).onSync("upKeyed", onUpKeyed, this).onSync("downKeyed", onDownKeyed, this).onSync("leftKeyed", onLeftKeyed, this).onSync("rightKeyed", onRightKeyed, this).onSync("queryChanged", onQueryChanged, this).onSync("whitespaceChanged", onWhitespaceChanged, this).onSync("langDirChanged", this._onLangDirChanged, this); + } + _.mixin(Typeahead.prototype, { + _hacks: function hacks() { + var $input, $menu; + $input = this.input.$input || $("
"); + $menu = this.menu.$node || $("
"); + $input.on("blur.tt", function($e) { + var active, isActive, hasActive; + active = document.activeElement; + isActive = $menu.is(active); + hasActive = $menu.has(active).length > 0; + if (_.isMsie() && (isActive || hasActive)) { + $e.preventDefault(); + $e.stopImmediatePropagation(); + _.defer(function() { + $input.focus(); + }); + } + }); + $menu.on("mousedown.tt", function($e) { + $e.preventDefault(); + }); + }, + _onSelectableClicked: function onSelectableClicked(type, $el) { + this.select($el); + }, + _onDatasetCleared: function onDatasetCleared() { + this._updateHint(); + }, + _onDatasetRendered: function onDatasetRendered(type, suggestions, async, dataset) { + this._updateHint(); + if (this.autoselect) { + var cursorClass = this.selectors.cursor.substr(1); + this.menu.$node.find(this.selectors.suggestion).first().addClass(cursorClass); + } + this.eventBus.trigger("render", suggestions, async, dataset); + }, + _onAsyncRequested: function onAsyncRequested(type, dataset, query) { + this.eventBus.trigger("asyncrequest", query, dataset); + }, + _onAsyncCanceled: function onAsyncCanceled(type, dataset, query) { + this.eventBus.trigger("asynccancel", query, dataset); + }, + _onAsyncReceived: function onAsyncReceived(type, dataset, query) { + this.eventBus.trigger("asyncreceive", query, dataset); + }, + _onFocused: function onFocused() { + this._minLengthMet() && this.menu.update(this.input.getQuery()); + }, + _onBlurred: function onBlurred() { + if (this.input.hasQueryChangedSinceLastFocus()) { + this.eventBus.trigger("change", this.input.getQuery()); + } + }, + _onEnterKeyed: function onEnterKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + if (this.select($selectable)) { + $e.preventDefault(); + $e.stopPropagation(); + } + } else if (this.autoselect) { + if (this.select(this.menu.getTopSelectable())) { + $e.preventDefault(); + $e.stopPropagation(); + } + } + }, + _onTabKeyed: function onTabKeyed(type, $e) { + var $selectable; + if ($selectable = this.menu.getActiveSelectable()) { + this.select($selectable) && $e.preventDefault(); + } else if (this.autoselect) { + if ($selectable = this.menu.getTopSelectable()) { + this.autocomplete($selectable) && $e.preventDefault(); + } + } + }, + _onEscKeyed: function onEscKeyed() { + this.close(); + }, + _onUpKeyed: function onUpKeyed() { + this.moveCursor(-1); + }, + _onDownKeyed: function onDownKeyed() { + this.moveCursor(+1); + }, + _onLeftKeyed: function onLeftKeyed() { + if (this.dir === "rtl" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onRightKeyed: function onRightKeyed() { + if (this.dir === "ltr" && this.input.isCursorAtEnd()) { + this.autocomplete(this.menu.getActiveSelectable() || this.menu.getTopSelectable()); + } + }, + _onQueryChanged: function onQueryChanged(e, query) { + this._minLengthMet(query) ? this.menu.update(query) : this.menu.empty(); + }, + _onWhitespaceChanged: function onWhitespaceChanged() { + this._updateHint(); + }, + _onLangDirChanged: function onLangDirChanged(e, dir) { + if (this.dir !== dir) { + this.dir = dir; + this.menu.setLanguageDirection(dir); + } + }, + _openIfActive: function openIfActive() { + this.isActive() && this.open(); + }, + _minLengthMet: function minLengthMet(query) { + query = _.isString(query) ? query : this.input.getQuery() || ""; + return query.length >= this.minLength; + }, + _updateHint: function updateHint() { + var $selectable, data, val, query, escapedQuery, frontMatchRegEx, match; + $selectable = this.menu.getTopSelectable(); + data = this.menu.getSelectableData($selectable); + val = this.input.getInputValue(); + if (data && !_.isBlankString(val) && !this.input.hasOverflow()) { + query = Input.normalizeQuery(val); + escapedQuery = _.escapeRegExChars(query); + frontMatchRegEx = new RegExp("^(?:" + escapedQuery + ")(.+$)", "i"); + match = frontMatchRegEx.exec(data.val); + match && this.input.setHint(val + match[1]); + } else { + this.input.clearHint(); + } + }, + isEnabled: function isEnabled() { + return this.enabled; + }, + enable: function enable() { + this.enabled = true; + }, + disable: function disable() { + this.enabled = false; + }, + isActive: function isActive() { + return this.active; + }, + activate: function activate() { + if (this.isActive()) { + return true; + } else if (!this.isEnabled() || this.eventBus.before("active")) { + return false; + } else { + this.active = true; + this.eventBus.trigger("active"); + return true; + } + }, + deactivate: function deactivate() { + if (!this.isActive()) { + return true; + } else if (this.eventBus.before("idle")) { + return false; + } else { + this.active = false; + this.close(); + this.eventBus.trigger("idle"); + return true; + } + }, + isOpen: function isOpen() { + return this.menu.isOpen(); + }, + open: function open() { + if (!this.isOpen() && !this.eventBus.before("open")) { + this.input.setAriaExpanded(true); + this.menu.open(); + this._updateHint(); + this.eventBus.trigger("open"); + } + return this.isOpen(); + }, + close: function close() { + if (this.isOpen() && !this.eventBus.before("close")) { + this.input.setAriaExpanded(false); + this.menu.close(); + this.input.clearHint(); + this.input.resetInputValue(); + this.eventBus.trigger("close"); + } + return !this.isOpen(); + }, + setVal: function setVal(val) { + this.input.setQuery(_.toStr(val)); + }, + getVal: function getVal() { + return this.input.getQuery(); + }, + select: function select($selectable) { + var data = this.menu.getSelectableData($selectable); + if (data && !this.eventBus.before("select", data.obj, data.dataset)) { + this.input.setQuery(data.val, true); + this.eventBus.trigger("select", data.obj, data.dataset); + this.close(); + return true; + } + return false; + }, + autocomplete: function autocomplete($selectable) { + var query, data, isValid; + query = this.input.getQuery(); + data = this.menu.getSelectableData($selectable); + isValid = data && query !== data.val; + if (isValid && !this.eventBus.before("autocomplete", data.obj, data.dataset)) { + this.input.setQuery(data.val); + this.eventBus.trigger("autocomplete", data.obj, data.dataset); + return true; + } + return false; + }, + moveCursor: function moveCursor(delta) { + var query, $candidate, data, suggestion, datasetName, cancelMove, id; + query = this.input.getQuery(); + $candidate = this.menu.selectableRelativeToCursor(delta); + data = this.menu.getSelectableData($candidate); + suggestion = data ? data.obj : null; + datasetName = data ? data.dataset : null; + id = $candidate ? $candidate.attr("id") : null; + this.input.trigger("cursorchange", id); + cancelMove = this._minLengthMet() && this.menu.update(query); + if (!cancelMove && !this.eventBus.before("cursorchange", suggestion, datasetName)) { + this.menu.setCursor($candidate); + if (data) { + if (typeof data.val === "string") { + this.input.setInputValue(data.val); + } + } else { + this.input.resetInputValue(); + this._updateHint(); + } + this.eventBus.trigger("cursorchange", suggestion, datasetName); + return true; + } + return false; + }, + destroy: function destroy() { + this.input.destroy(); + this.menu.destroy(); + } + }); + return Typeahead; + function c(ctx) { + var methods = [].slice.call(arguments, 1); + return function() { + var args = [].slice.call(arguments); + _.each(methods, function(method) { + return ctx[method].apply(ctx, args); + }); + }; + } + }(); + (function() { + "use strict"; + var old, keys, methods; + old = $.fn.typeahead; + keys = { + www: "tt-www", + attrs: "tt-attrs", + typeahead: "tt-typeahead" + }; + methods = { + initialize: function initialize(o, datasets) { + var www; + datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1); + o = o || {}; + www = WWW(o.classNames); + return this.each(attach); + function attach() { + var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor; + _.each(datasets, function(d) { + d.highlight = !!o.highlight; + }); + $input = $(this); + $wrapper = $(www.html.wrapper); + $hint = $elOrNull(o.hint); + $menu = $elOrNull(o.menu); + defaultHint = o.hint !== false && !$hint; + defaultMenu = o.menu !== false && !$menu; + defaultHint && ($hint = buildHintFromInput($input, www)); + defaultMenu && ($menu = $(www.html.menu).css(www.css.menu)); + $hint && $hint.val(""); + $input = prepInput($input, www); + if (defaultHint || defaultMenu) { + $wrapper.css(www.css.wrapper); + $input.css(defaultHint ? www.css.input : www.css.inputWithNoHint); + $input.wrap($wrapper).parent().prepend(defaultHint ? $hint : null).append(defaultMenu ? $menu : null); + } + MenuConstructor = defaultMenu ? DefaultMenu : Menu; + eventBus = new EventBus({ + el: $input + }); + input = new Input({ + hint: $hint, + input: $input, + menu: $menu + }, www); + menu = new MenuConstructor({ + node: $menu, + datasets: datasets + }, www); + status = new Status({ + $input: $input, + menu: menu + }); + typeahead = new Typeahead({ + input: input, + menu: menu, + eventBus: eventBus, + minLength: o.minLength, + autoselect: o.autoselect + }, www); + $input.data(keys.www, www); + $input.data(keys.typeahead, typeahead); + } + }, + isEnabled: function isEnabled() { + var enabled; + ttEach(this.first(), function(t) { + enabled = t.isEnabled(); + }); + return enabled; + }, + enable: function enable() { + ttEach(this, function(t) { + t.enable(); + }); + return this; + }, + disable: function disable() { + ttEach(this, function(t) { + t.disable(); + }); + return this; + }, + isActive: function isActive() { + var active; + ttEach(this.first(), function(t) { + active = t.isActive(); + }); + return active; + }, + activate: function activate() { + ttEach(this, function(t) { + t.activate(); + }); + return this; + }, + deactivate: function deactivate() { + ttEach(this, function(t) { + t.deactivate(); + }); + return this; + }, + isOpen: function isOpen() { + var open; + ttEach(this.first(), function(t) { + open = t.isOpen(); + }); + return open; + }, + open: function open() { + ttEach(this, function(t) { + t.open(); + }); + return this; + }, + close: function close() { + ttEach(this, function(t) { + t.close(); + }); + return this; + }, + select: function select(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.select($el); + }); + return success; + }, + autocomplete: function autocomplete(el) { + var success = false, $el = $(el); + ttEach(this.first(), function(t) { + success = t.autocomplete($el); + }); + return success; + }, + moveCursor: function moveCursoe(delta) { + var success = false; + ttEach(this.first(), function(t) { + success = t.moveCursor(delta); + }); + return success; + }, + val: function val(newVal) { + var query; + if (!arguments.length) { + ttEach(this.first(), function(t) { + query = t.getVal(); + }); + return query; + } else { + ttEach(this, function(t) { + t.setVal(_.toStr(newVal)); + }); + return this; + } + }, + destroy: function destroy() { + ttEach(this, function(typeahead, $input) { + revert($input); + typeahead.destroy(); + }); + return this; + } + }; + $.fn.typeahead = function(method) { + if (methods[method]) { + return methods[method].apply(this, [].slice.call(arguments, 1)); + } else { + return methods.initialize.apply(this, arguments); + } + }; + $.fn.typeahead.noConflict = function noConflict() { + $.fn.typeahead = old; + return this; + }; + function ttEach($els, fn) { + $els.each(function() { + var $input = $(this), typeahead; + (typeahead = $input.data(keys.typeahead)) && fn(typeahead, $input); + }); + } + function buildHintFromInput($input, www) { + return $input.clone().addClass(www.classes.hint).removeData().css(www.css.hint).css(getBackgroundStyles($input)).prop({ + readonly: true, + required: false + }).removeAttr("id name placeholder").removeClass("required").attr({ + spellcheck: "false", + tabindex: -1 + }); + } + function prepInput($input, www) { + $input.data(keys.attrs, { + dir: $input.attr("dir"), + autocomplete: $input.attr("autocomplete"), + spellcheck: $input.attr("spellcheck"), + style: $input.attr("style") + }); + $input.addClass(www.classes.input).attr({ + spellcheck: false + }); + try { + !$input.attr("dir") && $input.attr("dir", "auto"); + } catch (e) {} + return $input; + } + function getBackgroundStyles($el) { + return { + backgroundAttachment: $el.css("background-attachment"), + backgroundClip: $el.css("background-clip"), + backgroundColor: $el.css("background-color"), + backgroundImage: $el.css("background-image"), + backgroundOrigin: $el.css("background-origin"), + backgroundPosition: $el.css("background-position"), + backgroundRepeat: $el.css("background-repeat"), + backgroundSize: $el.css("background-size") + }; + } + function revert($input) { + var www, $wrapper; + www = $input.data(keys.www); + $wrapper = $input.parent().filter(www.selectors.wrapper); + _.each($input.data(keys.attrs), function(val, key) { + _.isUndefined(val) ? $input.removeAttr(key) : $input.attr(key, val); + }); + $input.removeData(keys.typeahead).removeData(keys.www).removeData(keys.attr).removeClass(www.classes.input); + if ($wrapper.length) { + $input.detach().insertAfter($wrapper); + $wrapper.remove(); + } + } + function $elOrNull(obj) { + var isValid, $el; + isValid = _.isJQuery(obj) || _.isElement(obj); + $el = isValid ? $(obj).first() : []; + return $el.length ? $el : null; + } + })(); +}); \ No newline at end of file diff --git a/readme.html b/readme.html new file mode 100644 index 000000000..1dd384f17 --- /dev/null +++ b/readme.html @@ -0,0 +1,1082 @@ + + + + README Reference + + + + + + + + + + + + + + + +
+

+ + HyperwalletUISDK + + (100% documented) +

+ +
+
+ +
+
+ +

+ + GitHub + View on GitHub + +

+ +
+ + + +
+ +
+ +
+
+ +

Hyperwallet UI SDK

+ +

Platforms +Build Status +Coverage Status

+ +

CocoaPods +Carthage compatible

+ +

NOTE: This is a beta product available for use in your mobile app. If you are interested in using this product, please notify your Relationship Manager and / or Project Manager to support you during the integration process.

+ +

Welcome to Hyperwallet’s iOS UI SDK. This out-of-the-box library will help you create transfer methods in your iOS app, such as bank account, PayPal account, etc.

+ +

Note that this SDK is geared towards those who need both backend data and UI features. Please refer to Hyperwallet iOS Core SDK if you decide to build your own UI.

+

Prerequisites

+ +
    +
  • A Hyperwallet merchant account
  • +
  • Set Up your server to manage the user’s authentication process on the Hyperwallet platform. See the Authentication section for more information.
  • +
  • iOS 13.0+
  • +
  • Xcode 10.2+
  • +
  • Swift 5.0
  • +
+

Dependencies

+ + +

Installation

+ +

Use Carthage or CocoaPods to integrate to HyperwalletSDK. +Currently, the following modules are available:

+ +
    +
  • TransferMethod - List, add or remove Transfer Methods
  • +
  • Transfer - Create a transfer from user account or prepaid card to available accounts for the user
  • +
  • Receipt - List user/prepaid card receipts +Adding one or more of these frameworks allows users to explore the particular function. If every feature is required, all the frameworks should be added +### Carthage +Specify it in your Cartfile: +ogdl +github "hyperwallet/hyperwallet-ios-ui-sdk" "1.0.0-beta18" + +Add desired modules using the Linked Frameworks and Libraries option to make them available in the app. +Use import <module-name> to add the dependency within a file
  • +
+

CocoaPods

+ +
    +
  • Install a specific framework (install one or more frameworks based on your requirement) +ruby +pod "HyperwalletUISDK/TransferMethod", "1.0.0-beta18" +pod "HyperwalletUISDK/Transfer", "1.0.0-beta18" +pod "HyperwalletUISDK/Receipt", "1.0.0-beta18" +
  • +
  • To install all available modules (TransferMethod, Transfer, Receipt) +ruby +pod 'HyperwalletUISDK', '~> 1.0.0-beta18' + +Use import HyperwalletUISDK to add the dependency within a file.
  • +
+

Initialization

+ +

After you’re done installing the SDK, you need to initialize an instance in order to utilize core SDK functions. Also, you need to provide a HyperwalletAuthenticationTokenProvider object to retrieve an authentication token.

+

Setup the UI Style

+ +

HyperwalletUISDK provides default themes for all the modules(e.g. TransferMethod, Receipt). If you import HyperwalletUISDK, in order to +apply the default theme, you will have to call ThemeManager.applyTheme() which will apply the basic theme to ProcessingView and SpinnerView. If you want Hyperwallet custom theme for UINavigationBar then add ThemeManager.applyToUINavigationBar() +For example:

+
...
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Optional - Define the HyperwalletUISDK on the `Theme` object. See the section `Customize the visual style`.
+
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        // Apply basic theme
+        ThemeManager.applyTheme()
+        return true
+    }
+}
+
+ +

You can also customize the default themes according to your needs. Please see customize the visual style for detail.

+

Setup the authentication

+ +

Add in the header:

+
import HyperwalletUISDK
+
+ +

Initialize the HyperwalletUISDK with a HyperwalletAuthenticationTokenProvider implementation instance:

+
HyperwalletUI.setup(_ :HyperwalletAuthenticationTokenProvider)
+
+

Authentication

+ +

Your server side should be able to send a POST request to Hyperwallet endpoint /rest/v3/users/{user-token}/authentication-token to retrieve an authentication token. +Then, you need to provide a class (an authentication provider) which implements HyperwalletAuthenticationTokenProvider to retrieve an authentication token from your server.

+ +

Example implementation using the URLRequest from Swift Foundation :

+
public struct AuthenticationTokenProviders: HyperwalletAuthenticationTokenProvider {
+    private let url = URL(string: "http://your/server/to/retrieve/authenticationToken")!
+
+    public func retrieveAuthenticationToken(
+        completionHandler: @escaping HyperwalletAuthenticationTokenProvider.CompletionHandler) {
+
+        var request = URLRequest(url: url)
+        request.httpMethod = "POST"
+        request.addValue("application/json", forHTTPHeaderField: "Content-Type")
+
+        let defaultSession = URLSession(configuration: .default)
+        let task = defaultSession.dataTask(with: request) {(data, response, error) in
+            DispatchQueue.main.async {
+                guard let data = data,
+                    let clientToken = String(data: data, encoding: .utf8),
+                    let response = response as? HTTPURLResponse else {
+                        completionHandler(nil, HyperwalletAuthenticationErrorType.unexpected(error?.localizedDescription ??
+                        "authentication token cannot be retrieved"))
+                        return
+                }
+
+                switch response.statusCode {
+                    case 200 ..< 300:
+                        completionHandler(clientToken, nil)
+
+                    default:
+                        completionHandler(nil, HyperwalletAuthenticationErrorType
+                            .unexpected("authentication token cannot be retrieved"))
+                }
+            }
+        }
+        task.resume()
+    }
+}
+
+

Usage

+ +

The functions in the UI SDK are available to use once the authentication is done.

+

The user’s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check)

+ +

Add in the header:

+
import HyperwalletSDK
+import HyperwalletUISDK
+
+

Lists the user’s transfer methods

+ +

The user can deactivate or add a new transfer method.

+
let coordinator = HyperwalletUI.shared.listTransferMethodCoordinator(parentController: self)
+coordinator.navigate()
+
+

Select a transfer method type available by country and currency

+
let coordinator = HyperwalletUI.shared.selectTransferMethodTypeCoordinator(parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Create a transfer method

+ +

The form fields are based on the country, currency, user’s profile type, and transfer method type. These values should be passed to this method to create a new Transfer Method.

+
let coordinator = HyperwalletUI.shared.addTransferMethodCoordinator(
+    "US", // The 2 letter ISO 3166-1 country code.
+    "USD", // The 3 letter ISO 4217-1 currency code.
+    "INDIVIDUAL", // The profile type. Possible values - INDIVIDUAL, BUSINESS.
+    "BANK_ACCOUNT", // The transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD, PAYPAL_ACCOUNT
+    parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer method and perform any action based on the transfer method created.

+
override public func didFlowComplete(with response: Any) {
+    if let transferMethod = response as? HyperwalletTransferMethod {
+    navigationController?.popViewController(animated: false)
+    }
+}
+
+

Update a transfer method

+
let coordinator = HyperwalletUI.shared.updateTransferMethodCoordinator(
+    "your-transfer-method-token", // The transfer method token
+    parentController: self)
+coordinator.navigate()
+
+

Lists the user’s receipts

+
let coordinator = HyperwalletUI.shared.listUserReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Lists the prepaid card’s receipts

+
let coordinator = HyperwalletUI.shared.listPrepaidCardReceiptCoordinator(parentController: self, prepaidCardToken: "your-prepaid-card-token")
+coordinator.navigate()
+
+

Lists receipts from all available sources

+
let coordinator = HyperwalletUI.shared.listAllAvailableSourcesReceiptCoordinator(parentController: self)
+coordinator.navigate()
+
+

Make a new transfer from user’s account

+ +

To add new Transfer Method from Transfer module, TransferMethod module needs to be added as a dependency in the app. If TransferMethod module is not added, users will not be able to add a new Transfer Method inside the Transfer flow.

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromUserCoordinator(clientTransferId: clientTransferId, parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Make a new transfer from prepaid card

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromPrepaidCardCoordinator(clientTransferId: clientTransferId,
+                                                      sourceToken: "your-prepaid-card-token",
+                                                      parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

Display all the available sources to make a new transfer from. User can then select the transfer from source and make a new tansfer from that source

+
let clientTransferId = UUID().uuidString.lowercased()
+let coordinator = HyperwalletUI.shared
+            .createTransferFromAllAvailableSourcesCoordinator(clientTransferId: clientTransferId,
+                                                              parentController: self)
+coordinator.navigate()
+
+ +

Also add following method to dismiss the presented view on successful creation of transfer and perform any action based on the transfer created.

+
override public func didFlowComplete(with response: Any) {
+    if let statusTransition = response as? HyperwalletStatusTransition, let transition = statusTransition.transition {
+        if transition == HyperwalletStatusTransition.Status.scheduled {
+            navigationController?.popViewController(animated: false)
+        }
+    }
+}
+
+

NotificationCenter Events

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Notification nameDescription
Notification.Name.transferMethodAddedPosted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been created.
Notification.Name.transferMethodDeactivatedPosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check) has been deactivated.
Notification.Name.transferCreatedPosted when a transfer of funds has been created.
Notification.Name.transferScheduledPosted when a transfer of funds has been scheduled.
Notification.Name.authenticationErrorPosted when SDK is unable to fetch new authentication token from client implementation. Client can choose to close the app/ logout/ navigate to some other screen when this notification is received.
+ +

When an object adds itself as an observer, it specifies which notifications it should receive. An object may, therefore, call this method several times in order to register itself as an observer for several different notifications.

+

How to use Notification.Name.transferMethodAdded

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didCreateNewTransferMethodNotification(notification:)),
+                                        name: Notification.Name.transferMethodAdded, object: nil)
+}
+
+@objc func didCreateNewTransferMethodNotification(notification: Notification) {
+    if let transferMethod = notification.userInfo![UserInfo.transferMethodAdded] as? HyperwalletTransferMethod {
+        // A new transfer method has been created
+    }
+}
+
+

How to use Notification.Name.transferMethodDeactivated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferMethodDeactivatedNotification(notification:)),
+                                        name: Notification.Name.transferMethodDeactivated, object: nil)
+}
+
+@objc func didTransferMethodDeactivatedNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferMethodDeactivated] as? HyperwalletStatusTransition {
+        // A transfer method has been deactivated.
+    }
+}
+
+

How to use Notification.Name.transferCreated

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferCreatedNotification(notification:)),
+                                        name: Notification.Name.transferCreated, object: nil)
+}
+
+@objc func didTransferCreatedNotification(notification: Notification) {
+    if let transfer = notification.userInfo![UserInfo.transferCreated] as? HyperwalletTransfer {
+        // A transfer has been created.
+    }
+}
+
+

How to use Notification.Name.transferScheduled

+
override public func viewDidLoad() {
+    super.viewDidLoad()
+    ...
+    NotificationCenter.default.addObserver(self,
+                                        selector: #selector(didTransferScheduledNotification(notification:)),
+                                        name: Notification.Name.transferScheduled, object: nil)
+}
+
+@objc func didTransferScheduledNotification(notification: Notification) {
+    if let statusTransition = notification.userInfo![UserInfo.transferScheduled] as? HyperwalletStatusTransition {
+        // A transfer has been scheduled.
+    }
+}
+
+

How to use Notification.Name.authenticationError

+
override public func viewDidLoad() {
+super.viewDidLoad()
+...
+NotificationCenter.default.addObserver(self,
+selector: #selector(didAuthenticationErrorOccur(notification:)),
+name: Notification.Name.authenticationError, object: nil)
+}
+
+@objc func didAuthenticationErrorOccur(notification: Notification) {
+// Logout/ navigate to any other screen
+}
+
+

Customize the visual style

+ +

UI SDK is designed to make the process of the UI Styling as simple as possible. The Theme.swift object is responsible for UI customization.

+ +

Use the application(_:didFinishLaunchingWithOptions:) method to customize the user interface of SDK.

+ +

On the Theme is possible to customize the properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyDefault ValueDescription
Theme.themeColor0x00AFD0The main color
Theme.tintColorUIColor.whiteThe tint color
Theme.Label.colorUIColor(rgb: 0x2C2E2F)The label primary color
Theme.Label.errorColor0xFF3B30The color to highlight errors
Theme.Label.subtitleColorUIColor(rgb: 0x3c3c43, alpha: 0.6)The subtitle color
Theme.Label.textColor0x8e8e93The text color
Theme.Label.titleFontUIFont.preferredFont(forTextStyle: .body)The title font style
Theme.Label.subtitleFontUIFont.preferredFont(forTextStyle: .subheadline)The caption one font style
Theme.Label.footnoteFontUIFont.preferredFont(forTextStyle: .footnote)The footnote font style
Theme.Label.textSelectionColorUIColor(rgb: 0x00AFD0).withAlphaComponent(0.14)The text selection color
Theme.NavigationBar.barStyleUIBarStyle.defaultThe UINavigationBar bar style.
Theme.NavigationBar.isTranslucentfalseSets the opaque background color
Theme.NavigationBar.shadowColorUIColor.clearThe color of NavigationBar shadow
Theme.NavigationBar.largeTitleColorUIColor.whiteThe UINavigationBar large title color
Theme.NavigationBar.titleColorUIColor.whiteThe UINavigationBar title color
Theme.NavigationBar.backButtonColorUIColor.whiteThe UINavigationBar Back Button color
Theme.NavigationBar.largeTitleFontUIFont.preferredFont(forTextStyle: .largeTitle)The UINavigationBar large title font
Theme.NavigationBar.titleFontUIFont.preferredFont(forTextStyle: .body)The UINavigationBar title font
Theme.Button.colorUIColor(rgb: 0xFFFFFF)The button primary color
Theme.Button.linkColorTheme.themeColorThe button link color
Theme.Button.fontTheme.Label.bodyFontThe button font
Theme.Button.linkFontTheme.Label.titleFontThe link button font
Theme.Button.backgroundColorTheme.themeColorThe button background color
Theme.Text.fontUIFont.preferredFont(forTextStyle: .body)The text font style
Theme.Text.labelFontTheme.Label.titleFontThe text label font style
Theme.Text.colorTheme.Label.colorThe text primary color
Theme.Text.labelColorTheme.Label.colorThe text label primary color
Theme.Text.disabledColorTheme.Label.textColorThe text disabled color
Theme.Cell.smallHeight61The common UITableViewCell height.
Theme.Cell.height80The common UITableViewCell height.
Theme.Cell.largeHeight88The UITableViewCell height for the List transfer method items and the Select transfer method type items.
Theme.Cell.headerHeight37The Select transfer method type items header height.
Theme.Cell.dividerHeight8The divider UITableViewCell height.
Theme.Cell.separatorColorUIColor(rgb: 0x3c3c43, alpha: 0.29)The UITableViewCell separator color.
Theme.Cell.tintColorUIColor.whiteThe UITableViewCell tint color.
Theme.Icon.size30The icon font size
Theme.Icon.frameCGSize(width: 30, height: 30)The icon frame
Theme.Icon.primaryColorTheme.themeColorThe icon primary color
Theme.Icon.creditColorAmount.creditColorThe icon credit color
Theme.Icon.debitColorAmount.debitColorThe icon debit color
Theme.Amount.creditColorUIColor(rgb: 0x299976)The credit color
Theme.Amount.debitColorTheme.Label.colorThe debit color
Theme.ViewController.backgroundColorUIColor.whiteThe UIViewController background color.
Theme.SpinnerView.activityIndicatorViewStyleUIActivityIndicatorView.Style.whiteLargeThe UIActivityIndicatorView style.
Theme.SpinnerView.activityIndicatorViewColorTheme.themeColorThe UIActivityIndicatorView color.
Theme.SpinnerView.backgroundColorUIColor.clearThe background color
Theme.ProcessingView.backgroundColorUIColor.black.withAlphaComponent(0.85)The background color.
Theme.ProcessingView.stateLabelColorUIColor.whiteThe state label color.
+ +

Example to define the light theme code in class AppDelegate:

+
@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+    var window: UIWindow?
+
+    func application(_ application: UIApplication,
+                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
+
+        // Override point for customization after application launch.
+
+        ThemeManager.applyWhiteTheme()
+        // Set the default tint color
+        window?.tintColor = .systemBlue
+        // Avoid to display a black area during the view transaction in the UINavigationBar.
+        window?.backgroundColor = Theme.UITableViewController.backgroundColor
+
+        return true
+    }
+}
+
+ +

Example to customize the label colors:

+
...
+/// Labels
+Theme.Label.color = UIColor(red: 252 / 255, green: 67 / 255, blue: 77 / 255, alpha: 1)
+Theme.Label.subTitleColor = UIColor(red: 19 / 255, green: 165 / 255, blue: 185 / 255, alpha: 1)
+Theme.Label.textColor = UIColor(red: 0 / 255, green: 45 / 255, blue: 67 / 255, alpha: 1)
+Theme.Label.errorColor = .red
+
+ +

Note: If you do not use ThemeManager.applyToUINavigationBar(), then any changes done to Theme.NavigationBar.xxx will not be reflected.

+

Error Handling

+ +

In Hyperwallet UI SDK, we categorized HyperwalletException into three groups, which are input errors (business errors), network errors and unexpected errors.

+

Unexpected Error

+ +

Once an unexpected error occurs, an AlertView that only contains the OK button will be shown in the UI.

+

Network Error

+ +

Network errors occurs due to connectivity issues, such as poor-quality network connection, the request timed out from the server side, etc. Once a network error happened, an AlertView that contains a Cancel and a Try Again buttons will be shown in the UI.

+

Business Errors

+ +

Business errors occurs when the Hyperwallet platform has found invalid information or some business restriction related to the data has been submitted and require some action from the user.

+

Authentication Error

+ +

Authentication error occurs when the Hyperwallet SDK is not able to fetch the authentication token from the client implementation.

+

License

+ +

The Hyperwallet iOS SDK is open source and available under the MIT license

+ +
+
+ + +
+
+ + + diff --git a/search.json b/search.json new file mode 100644 index 000000000..9e53c9944 --- /dev/null +++ b/search.json @@ -0,0 +1 @@ +{"Structs/InsightsTags.html#/s:6Common12InsightsTagsV7countrySSvpZ":{"name":"country","abstract":"\u003cp\u003eThe country tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV8currencySSvpZ":{"name":"currency","abstract":"\u003cp\u003eThe currency tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV11profileTypeSSvpZ":{"name":"profileType","abstract":"\u003cp\u003eThe profile type tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV18transferMethodTypeSSvpZ":{"name":"transferMethodType","abstract":"\u003cp\u003eThe transfer method type tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/InsightsTags.html#/s:6Common12InsightsTagsV4goalSSvpZ":{"name":"goal","abstract":"\u003cp\u003eThe goal tag\u003c/p\u003e","parent_name":"InsightsTags"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV9showAlert_5title7messageySo16UIViewControllerC_SSSgAItFZ":{"name":"showAlert(_:title:message:)","abstract":"\u003cp\u003eshow an alert dialog\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV9showAlert_5title7message5style7actionsySo16UIViewControllerC_SSSgAKSo07UIAlertL5StyleVSo0M6ActionCdtFZ":{"name":"showAlert(_:title:message:style:actions:)","abstract":"\u003cp\u003eDisplay the alert view with custom list of options\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV18showAlertWithRetry_5title7message_ySo16UIViewControllerC_SSSgAIySo13UIAlertActionCctFZ":{"name":"showAlertWithRetry(_:title:message:_:)","abstract":"\u003cp\u003eshow an alert dialog with retry button\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV11showSpinner4viewAA0F4ViewCSo6UIViewC_tFZ":{"name":"showSpinner(view:)","abstract":"\u003cp\u003eDisplays the Activity Indicator embedded on view\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV13removeSpinneryyAA0F4ViewCFZ":{"name":"removeSpinner(_:)","abstract":"\u003cp\u003eRemove the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbClasses/SpinnerView.html\"\u003eSpinnerView\u003c/a\u003e\u003c/code\u003e with animation\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/HyperwalletUtilViews.html#/s:6Common20HyperwalletUtilViewsV14showProcessingAA0F4ViewCyFZ":{"name":"showProcessing()","abstract":"\u003cp\u003eDisplays the Processing view in a modal view for indicating the UI is processing the data\u003c/p\u003e","parent_name":"HyperwalletUtilViews"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV03getB03forAA0B0VSgSS_tFZ":{"name":"getCurrency(for:)","abstract":"\u003cp\u003eGet Currency\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV18formatDoubleAmount_4withSSSd_SStFZ":{"name":"formatDoubleAmount(_:with:)","abstract":"\u003cp\u003eFormat double amount to currency string\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV16getDecimalAmount6amount12currencyCodeSdSS_SSSgtFZ":{"name":"getDecimalAmount(amount:currencyCode:)","abstract":"\u003cp\u003eGet decimal amount from formatted currency code\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV18formatStringAmount_4withS2S_SStFZ":{"name":"formatStringAmount(_:with:)","abstract":"\u003cp\u003eFormat amount for currency code using users locale\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV03addB13SymbolAndCode_4withS2S_SStFZ":{"name":"addCurrencySymbolAndCode(_:with:)","abstract":"\u003cp\u003eFormat currency amount by adding symbol and currency code\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV06formatB17WithSymbolAndCode_4withS2S_SStFZ":{"name":"formatCurrencyWithSymbolAndCode(_:with:)","abstract":"\u003cp\u003eFormat amount for currency code using users locale while adding symbol and currency code\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/CurrencyFormatter.html#/s:6Common17CurrencyFormatterV06formatB10WithSymbol_4withS2S_SStFZ":{"name":"formatCurrencyWithSymbol(_:with:)","abstract":"\u003cp\u003eFormat amount for currency code and add currency symbol from Currency.json\u003c/p\u003e","parent_name":"CurrencyFormatter"},"Structs/Currency.html#/s:6Common8CurrencyV6symbolSSvp":{"name":"symbol","parent_name":"Currency"},"Structs.html#/s:6Common12CurrencyDataV":{"name":"CurrencyData"},"Structs/Currency.html":{"name":"Currency"},"Structs/CurrencyFormatter.html":{"name":"CurrencyFormatter","abstract":"\u003cp\u003eCurrency Formatter\u003c/p\u003e"},"Structs/HyperwalletUtilViews.html":{"name":"HyperwalletUtilViews","abstract":"\u003cp\u003eDisplays the common UI Views - Alerts and Spinners\u003c/p\u003e"},"Structs/InsightsTags.html":{"name":"InsightsTags","abstract":"\u003cp\u003eRepresentation of Insights API Tags property for \u003ccode\u003eInsightsTags\u003c/code\u003e.\u003c/p\u003e"},"Protocols/UserReceiptRepository.html#/s:17ReceiptRepository04UseraB0P04listC8Receipts6offset5limit10completionySi_Siys6ResultOy14HyperwalletSDK0J8PageListVyAJ0jA0VGSgAJ0J9ErrorTypeOGctF":{"name":"listUserReceipts(offset:limit:completion:)","abstract":"\u003cp\u003eReturns the list of receipts for the User associated with the authentication token.\u003c/p\u003e","parent_name":"UserReceiptRepository"},"Protocols/PrepaidCardReceiptRepository.html#/s:17ReceiptRepository011PrepaidCardaB0P04listcD8Receipts07prepaidD5Token10completionySS_ys6ResultOy14HyperwalletSDK0K8PageListVyAI0kA0VGSgAI0K9ErrorTypeOGctF":{"name":"listPrepaidCardReceipts(prepaidCardToken:completion:)","abstract":"\u003cp\u003eReturns the list of receipts for the User associated with the Prepaid card token.\u003c/p\u003e","parent_name":"PrepaidCardReceiptRepository"},"Protocols/HyperwalletInsightsProtocol.html#/s:6Common27HyperwalletInsightsProtocolP10trackClick8pageName0G5Group4link6paramsySS_S2SSDyS2SGtF":{"name":"trackClick(pageName:pageGroup:link:params:)","abstract":"\u003cp\u003eTrack Clicks\u003c/p\u003e","parent_name":"HyperwalletInsightsProtocol"},"Protocols/HyperwalletInsightsProtocol.html#/s:6Common27HyperwalletInsightsProtocolP15trackImpression8pageName0G5Group6paramsySS_SSSDyS2SGtF":{"name":"trackImpression(pageName:pageGroup:params:)","abstract":"\u003cp\u003eTrack Impressions\u003c/p\u003e","parent_name":"HyperwalletInsightsProtocol"},"Protocols/HyperwalletInsightsProtocol.html#/s:6Common27HyperwalletInsightsProtocolP10trackError8pageName0G5Group9errorInfoySS_SS0C00fK0VtF":{"name":"trackError(pageName:pageGroup:errorInfo:)","abstract":"\u003cp\u003eTrack Error\u003c/p\u003e","parent_name":"HyperwalletInsightsProtocol"},"Protocols/HyperwalletFlowDelegate.html#/s:6Common23HyperwalletFlowDelegateP03didC8Complete4withyyp_tF":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eProtocol method to be called after flow completes\u003c/p\u003e","parent_name":"HyperwalletFlowDelegate"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","abstract":"\u003cp\u003eApply Theme\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","abstract":"\u003cp\u003eGet the current Controller class for the Coordinator\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","abstract":"\u003cp\u003eNavigate to the flow\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","abstract":"\u003cp\u003eNavigate to next page from the current flow\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","abstract":"\u003cp\u003eNavigate back from the next page to either current flow or parent flow.\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/HyperwalletCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","abstract":"\u003cp\u003eStart the coordinator\u003c/p\u003e","parent_name":"HyperwalletCoordinator"},"Protocols/GenericCellConfiguration.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","abstract":"\u003cp\u003eThe title\u003c/p\u003e","parent_name":"GenericCellConfiguration"},"Protocols/GenericCellConfiguration.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","abstract":"\u003cp\u003eThe value\u003c/p\u003e","parent_name":"GenericCellConfiguration"},"Protocols/GenericCellConfiguration.html#/s:6Common24GenericCellConfigurationPAAE10identifierSSvp":{"name":"identifier","abstract":"\u003cp\u003eThe cell identifier\u003c/p\u003e","parent_name":"GenericCellConfiguration"},"Protocols/TransferMethodUpdateConfigurationRepository.html#/s:24TransferMethodRepository0ab19UpdateConfigurationC0P9getFields_10completionySS_ys6ResultOy14HyperwalletSDK0jabdE5Field_pSgAH0J9ErrorTypeOGctF":{"name":"getFields(_:completion:)","abstract":"\u003cp\u003eGets the transfer method update fields based on the parameters\u003c/p\u003e","parent_name":"TransferMethodUpdateConfigurationRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP06createaB0yy14HyperwalletSDK0eaB0C_ys6ResultOyAFSgAD0E9ErrorTypeOGctF":{"name":"createTransferMethod(_:_:)","abstract":"\u003cp\u003eCreates a \u003ccode\u003eHyperwalletTransferMethod\u003c/code\u003e for the User associated with the authentication token returned from","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP010deactivateaB0yy14HyperwalletSDK0eaB0C_ys6ResultOyAD0E16StatusTransitionVSgAD0E9ErrorTypeOGctF":{"name":"deactivateTransferMethod(_:_:)","abstract":"\u003cp\u003eDeactivates the \u003ccode\u003eHyperwalletTransferMethod\u003c/code\u003e linked to the transfer method token specified. The","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP04listA7Methodsyyys6ResultOy14HyperwalletSDK0G8PageListVyAF0gaB0CGSgAF0G9ErrorTypeOGcF":{"name":"listTransferMethods(_:)","abstract":"\u003cp\u003eReturns the \u003ccode\u003eHyperwalletPageList\u0026lt;HyperwalletTransferMethod\u0026gt;\u003c/code\u003e (Bank Account, Bank Card, PayPay Account,","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP06updateA7Methodsyy14HyperwalletSDK0faB0C_ys6ResultOyAFSgAD0F9ErrorTypeOGctF":{"name":"updateTransferMethods(_:_:)","abstract":"\u003cp\u003eupdates the \u003ccode\u003eHyperwalletTransferMethod\u003c/code\u003e linked to the transfer method token specified. The","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodRepository.html#/s:24TransferMethodRepositoryAAP07refreshA7MethodsyyF":{"name":"refreshTransferMethods()","abstract":"\u003cp\u003eRefreshes transfer methods\u003c/p\u003e","parent_name":"TransferMethodRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P9getFields____10completionySS_S3Sys6ResultOy14HyperwalletSDK0iabD5Field_pSgAH0I9ErrorTypeOGctF":{"name":"getFields(_:_:_:_:completion:)","abstract":"\u003cp\u003eGets the transfer method fields based on the parameters\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P7getKeys10completionyys6ResultOy14HyperwalletSDK0iabD3Key_pSgAH0I9ErrorTypeOGc_tF":{"name":"getKeys(completion:)","abstract":"\u003cp\u003eGets the transfer method configuration keys\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P03getaB27TypesFeesAndProcessingTimes7country8currency10completionySS_SSys6ResultOy14HyperwalletSDK0oabD3Key_pSgAJ0O9ErrorTypeOGctF":{"name":"getTransferMethodTypesFeesAndProcessingTimes(country:currency:completion:)","abstract":"\u003cp\u003eRetrieve the transfer method types and their fees and processing times based on the parameters\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P13refreshFieldsyyF":{"name":"refreshFields()","abstract":"\u003cp\u003eRefreshes the transfer method fields\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/TransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P11refreshKeysyyF":{"name":"refreshKeys()","abstract":"\u003cp\u003eRefreshes the transfer method keys\u003c/p\u003e","parent_name":"TransferMethodConfigurationRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P04listD5Cards10queryParam10completiony14HyperwalletSDK0kde5QueryI0C_ys6ResultOyAG0K8PageListVyAG0kdE0CGSgAG0K9ErrorTypeOGctF":{"name":"listPrepaidCards(queryParam:completion:)","abstract":"\u003cp\u003eList Prepaid cards\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P03getdE05token10completionySS_ys6ResultOy14HyperwalletSDK0jdE0CSgAI0J9ErrorTypeOGctF":{"name":"getPrepaidCard(token:completion:)","abstract":"\u003cp\u003eGet Prepaid card\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P07refreshdE0yyF":{"name":"refreshPrepaidCard()","abstract":"\u003cp\u003eRefreshes Prepaid Card\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/PrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P07refreshD5CardsyyF":{"name":"refreshPrepaidCards()","abstract":"\u003cp\u003eRefreshes Prepaid Cards\u003c/p\u003e","parent_name":"PrepaidCardRepository"},"Protocols/TransferRepository.html#/s:18TransferRepositoryAAP06createA0yy14HyperwalletSDK0dA0V_ys6ResultOyAFSgAD0D9ErrorTypeOGctF":{"name":"createTransfer(_:_:)","abstract":"\u003cp\u003eCreate a transfer\u003c/p\u003e","parent_name":"TransferRepository"},"Protocols/TransferRepository.html#/s:18TransferRepositoryAAP08scheduleA0yy14HyperwalletSDK0dA0V_ys6ResultOyAD0D16StatusTransitionVSgAD0D9ErrorTypeOGctF":{"name":"scheduleTransfer(_:_:)","abstract":"\u003cp\u003eSchedule a transfer\u003c/p\u003e","parent_name":"TransferRepository"},"Protocols/UserRepository.html#/s:14UserRepositoryAAP03getA010completionyys6ResultOy14HyperwalletSDK0fA0CSgAG0F9ErrorTypeOGc_tF":{"name":"getUser(completion:)","abstract":"\u003cp\u003eGets the user\u003c/p\u003e","parent_name":"UserRepository"},"Protocols/UserRepository.html#/s:14UserRepositoryAAP07refreshA0yyF":{"name":"refreshUser()","abstract":"\u003cp\u003eRefreshes user\u003c/p\u003e","parent_name":"UserRepository"},"Protocols/UserRepository.html":{"name":"UserRepository","abstract":"\u003cp\u003eUser repository protocol\u003c/p\u003e"},"Protocols/TransferRepository.html":{"name":"TransferRepository","abstract":"\u003cp\u003eTransfer repository protocol\u003c/p\u003e"},"Protocols/PrepaidCardRepository.html":{"name":"PrepaidCardRepository","abstract":"\u003cp\u003ePrepaid Card repository protocol\u003c/p\u003e"},"Protocols/TransferMethodConfigurationRepository.html":{"name":"TransferMethodConfigurationRepository","abstract":"\u003cp\u003eTransfer method configuration repository protocol\u003c/p\u003e"},"Protocols/TransferMethodRepository.html":{"name":"TransferMethodRepository","abstract":"\u003cp\u003eTransfer method repository protocol\u003c/p\u003e"},"Protocols/TransferMethodUpdateConfigurationRepository.html":{"name":"TransferMethodUpdateConfigurationRepository","abstract":"\u003cp\u003eTransfer method configuration repository protocol\u003c/p\u003e"},"Protocols/GenericCellConfiguration.html":{"name":"GenericCellConfiguration","abstract":"\u003cp\u003eRepresents the data displayed in the selection screens (like country, currency)\u003c/p\u003e"},"Protocols/HyperwalletCoordinator.html":{"name":"HyperwalletCoordinator","abstract":"\u003cp\u003eProtocol to start/navigate Hyperwallet UI SDK flow\u003c/p\u003e"},"Protocols/HyperwalletFlowDelegate.html":{"name":"HyperwalletFlowDelegate","abstract":"\u003cp\u003eFlow complete protocol\u003c/p\u003e"},"Protocols/HyperwalletInsightsProtocol.html":{"name":"HyperwalletInsightsProtocol","abstract":"\u003cp\u003eProtocol for HyperwalletInsights\u003c/p\u003e"},"Protocols/PrepaidCardReceiptRepository.html":{"name":"PrepaidCardReceiptRepository","abstract":"\u003cp\u003ePrepaid card receipt repository protocol\u003c/p\u003e"},"Protocols/UserReceiptRepository.html":{"name":"UserReceiptRepository","abstract":"\u003cp\u003eUser receipt repository protocol\u003c/p\u003e"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns title for header\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns the count of receipt detail fields\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay the receipt details\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:estimatedHeightForHeaderInSection:":{"name":"tableView(_:estimatedHeightForHeaderInSection:)","abstract":"\u003cp\u003eEstimated height of header\u003c/p\u003e","parent_name":"ReceiptDetailController"},"Extensions/ReceiptDetailController.html#/c:@CM@Receipt@objc(cs)ReceiptDetailController(im)tableView:heightForRowAtIndexPath:":{"name":"tableView(_:heightForRowAt:)","parent_name":"ReceiptDetailController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE16titleDisplayMode_3forySo026UINavigationItemLargeTitleeF0V_SSSgtF":{"name":"titleDisplayMode(_:for:)","abstract":"\u003cp\u003eTo set the display mode for large titles\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE28hideKeyboardWhenTappedAroundyyF":{"name":"hideKeyboardWhenTappedAround()","abstract":"\u003cp\u003eHide keyboard when tapped around on the screen\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/c:@CM@Common@@objc(cs)UIViewController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eProtocol method\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE12flowDelegateAC015HyperwalletFlowE0_pSgvp":{"name":"flowDelegate","abstract":"\u003cp\u003eThe reference to call didFlowComplete\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE11coordinatorAC22HyperwalletCoordinator_pSgvp":{"name":"coordinator","abstract":"\u003cp\u003eThe reference to start/navigate Hyperwallet UI SDK flow\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE18initializationDataSDyAC014InitializationE5FieldOypGSgvp":{"name":"initializationData","abstract":"\u003cp\u003eData required to initialize a flow (render UI screen)\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE17removeCoordinatoryyF":{"name":"removeCoordinator()","abstract":"\u003cp\u003eRemoves the current coordinator while moving back\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE18removeFlowDelegateyyF":{"name":"removeFlowDelegate()","abstract":"\u003cp\u003eRemoves the current flow delegate while moving back\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE21removeInitializedDatayyF":{"name":"removeInitializedData()","abstract":"\u003cp\u003eRemoves the current coordinator while moving back\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/s:So16UIViewControllerC6CommonE21removeAllCoordinatorsyyF":{"name":"removeAllCoordinators()","abstract":"\u003cp\u003eRemoves all coordinators\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIViewController.html#/c:@CM@Common@@objc(cs)UIViewController(im)presentationControllerDidDismiss:":{"name":"presentationControllerDidDismiss(_:)","abstract":"\u003cp\u003eRemoves the current coordinator after dismissing the Controller\u003c/p\u003e","parent_name":"UIViewController"},"Extensions/UIView.html#/s:So6UIViewC6CommonE17safeAreaTopAnchorSo013NSLayoutYAxisF0Cvp":{"name":"safeAreaTopAnchor","abstract":"\u003cp\u003eTop Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE21safeAreaCenterYAnchorSo19NSLayoutYAxisAnchorCvp":{"name":"safeAreaCenterYAnchor","abstract":"\u003cp\u003eCenterY Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE21safeAreaCenterXAnchorSo19NSLayoutXAxisAnchorCvp":{"name":"safeAreaCenterXAnchor","abstract":"\u003cp\u003eCenterX Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE20safeAreaBottomAnchorSo013NSLayoutYAxisF0Cvp":{"name":"safeAreaBottomAnchor","abstract":"\u003cp\u003eBottom Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE21safeAreaLeadingAnchorSo013NSLayoutXAxisF0Cvp":{"name":"safeAreaLeadingAnchor","abstract":"\u003cp\u003eLeading Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE22safeAreaTrailingAnchorSo013NSLayoutXAxisF0Cvp":{"name":"safeAreaTrailingAnchor","abstract":"\u003cp\u003eTrailing Anchor\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE19setUpEmptyListLabel4textSo7UILabelCSS_tF":{"name":"setUpEmptyListLabel(text:)","abstract":"\u003cp\u003eSetups the empty list with message\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE15isSeparatorViewSbyF":{"name":"isSeparatorView()","abstract":"\u003cp\u003eCheck if current view is \u003ccode\u003eUITableViewCellSeparatorView\u003c/code\u003e\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIView.html#/s:So6UIViewC6CommonE26adjustWidthOfSegmentTitles4viewyAB_tFZ":{"name":"adjustWidthOfSegmentTitles(view:)","abstract":"\u003cp\u003eAdjust segment titles width\u003c/p\u003e","parent_name":"UIView"},"Extensions/UIToolbar.html#/s:So9UIToolbarC6CommonE12setupToolBar6target6actionySo6UIViewC_10ObjectiveC8SelectorVSgtF":{"name":"setupToolBar(target:action:)","abstract":"\u003cp\u003eSetup toolbar\u003c/p\u003e","parent_name":"UIToolbar"},"Extensions/UISearchBar.html#/s:So11UISearchBarC6CommonE16setLeftAlignmentyyF":{"name":"setLeftAlignment()","abstract":"\u003cp\u003eSetup text alignment to the left\u003c/p\u003e","parent_name":"UISearchBar"},"Extensions/UILabel.html#/c:@CM@Common@@objc(cs)UILabel(py)canBecomeFirstResponder":{"name":"canBecomeFirstResponder","parent_name":"UILabel"},"Extensions/UILabel.html#/s:So7UILabelC6CommonE18allowTextSelectionyyF":{"name":"allowTextSelection()","abstract":"\u003cp\u003eAllow text selection\u003c/p\u003e","parent_name":"UILabel"},"Extensions/UIImage.html#/s:So7UIImageC6CommonE8fontIconyABSS_So6CGSizeV12CoreGraphics7CGFloatVSo7UIColorCtFZ":{"name":"fontIcon(_:_:_:_:)","abstract":"\u003cp\u003eGet an icon image with the given icon name, text color, size and background color\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIImage.html#/s:So7UIImageC6CommonE23createBackgroundPattern5color4size12cornerRadiusABSo7UIColorC_So6CGSizeVSitFZ":{"name":"createBackgroundPattern(color:size:cornerRadius:)","abstract":"\u003cp\u003eCreate Background Pattern\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIImage.html#/s:So7UIImageC7ReceiptE8fontIconyABSS_So6CGSizeV12CoreGraphics7CGFloatVSo7UIColorCtFZ":{"name":"fontIcon(_:_:_:_:)","abstract":"\u003cp\u003eGet an icon image with the given icon name, text color, size and background color\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIImage.html#/s:So7UIImageC7ReceiptE23createBackgroundPattern5color4size12cornerRadiusABSo7UIColorC_So6CGSizeVSitFZ":{"name":"createBackgroundPattern(color:size:cornerRadius:)","abstract":"\u003cp\u003eCreate Background Pattern\u003c/p\u003e","parent_name":"UIImage"},"Extensions/UIFont.html#/s:So6UIFontC6CommonE8register_4typeySS_SStFZ":{"name":"register(_:type:)","abstract":"\u003cp\u003eTo register UIFont\u003c/p\u003e","parent_name":"UIFont"},"Extensions/UIFont.html#/s:So6UIFontC6CommonE19isLargeSizeCategorySbvpZ":{"name":"isLargeSizeCategory","abstract":"\u003cp\u003eIndicates if current preferred content size category belongs to large or not\u003c/p\u003e","parent_name":"UIFont"},"Extensions/UIColor.html#/s:So7UIColorC6CommonE3red5green4blue5alphaABSi_S2i12CoreGraphics7CGFloatVtcfc":{"name":"init(red:green:blue:alpha:)","abstract":"\u003cp\u003eInits based on the RBG values\u003c/p\u003e","parent_name":"UIColor"},"Extensions/UIColor.html#/s:So7UIColorC6CommonE3rgb5alphaABSi_12CoreGraphics7CGFloatVtcfc":{"name":"init(rgb:alpha:)","abstract":"\u003cp\u003eInits based on the RBG values\u003c/p\u003e","parent_name":"UIColor"},"Extensions/UIBarButtonItem.html#/s:So15UIBarButtonItemC6CommonE4backABvpZ":{"name":"back","abstract":"\u003cp\u003eOverride the text of back button\u003c/p\u003e","parent_name":"UIBarButtonItem"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6cancelSSvpZ":{"name":"cancel","abstract":"\u003cp\u003eThe default cancel button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5retrySSvpZ":{"name":"retry","abstract":"\u003cp\u003eThe default retry button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5closeSSvpZ":{"name":"close","abstract":"\u003cp\u003eThe default close button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6removeSSvpZ":{"name":"remove","abstract":"\u003cp\u003eThe default remove button label\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6cancelyAByABcSgFZ":{"name":"cancel(_:)","abstract":"\u003cp\u003eInitialize a cancel alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6cancelyABSo16UIViewControllerCFZ":{"name":"cancel(_:)","abstract":"\u003cp\u003eInitialize a cancel alert action with pop back functionality\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5closeyAByABcSgFZ":{"name":"close(_:)","abstract":"\u003cp\u003eInitialize a close alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5closeyABSo16UIViewControllerCFZ":{"name":"close(_:)","abstract":"\u003cp\u003eInitialize a close alert action with pop back functionality\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE6removeyAByABc_SStFZ":{"name":"remove(_:_:)","abstract":"\u003cp\u003eInitialize a remove alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE5retryyAByABcSgFZ":{"name":"retry(_:)","abstract":"\u003cp\u003eInitialize a retry alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/UIAlertAction.html#/s:So13UIAlertActionC6CommonE7addIcon9imageNameABSS_tF":{"name":"addIcon(imageName:)","abstract":"\u003cp\u003eAdd an icon image on this alert action\u003c/p\u003e","parent_name":"UIAlertAction"},"Extensions/NSMutableAttributedString.html#/s:So25NSMutableAttributedStringC6CommonE6append5value4font5colorySS_So6UIFontCSo7UIColorCtF":{"name":"append(value:font:color:)","abstract":"\u003cp\u003eCreates and appends a NSAttributedString\u003c/p\u003e","parent_name":"NSMutableAttributedString"},"Extensions/NSMutableAttributedString.html#/s:So25NSMutableAttributedStringC6CommonE15appendParagraph5value4font5color9alignmentySS_So6UIFontCSo7UIColorCSo15NSTextAlignmentVtF":{"name":"appendParagraph(value:font:color:alignment:)","abstract":"\u003cp\u003eCreates and appends a paragraph of NSAttributedString\u003c/p\u003e","parent_name":"NSMutableAttributedString"},"Extensions/String.html#/s:SS6CommonE9localized11withCommentS2SSg_tF":{"name":"localized(withComment:)","abstract":"\u003cp\u003eReturns a localized string\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE6suffix7startAtSSSi_tF":{"name":"suffix(startAt:)","abstract":"\u003cp\u003eReturns a string, up to the given maximum length, containing the","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE6height20withConstrainedWidth4font12CoreGraphics7CGFloatVAG_So6UIFontCtF":{"name":"height(withConstrainedWidth:font:)","abstract":"\u003cp\u003eCalculates the string height based on UIFont\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE20formatAmountToDoubleSdyF":{"name":"formatAmountToDouble()","abstract":"\u003cp\u003eFormat amount to double\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE24getFxRateWithFourDecimalSSyF":{"name":"getFxRateWithFourDecimal()","abstract":"\u003cp\u003eGet FX Rate with four decimal\u003c/p\u003e","parent_name":"String"},"Extensions/String.html#/s:SS6CommonE16formatToCurrency4withS2SSg_tF":{"name":"formatToCurrency(with:)","abstract":"\u003cp\u003eFormat amount for currency code using users locale\u003c/p\u003e","parent_name":"String"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE19transferMethodAddedABvpZ":{"name":"transferMethodAdded","abstract":"\u003cp\u003ePosted when a new transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo)","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE21transferMethodUpdatedABvpZ":{"name":"transferMethodUpdated","abstract":"\u003cp\u003ePosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check, venmo)","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE25transferMethodDeactivatedABvpZ":{"name":"transferMethodDeactivated","abstract":"\u003cp\u003ePosted when a transfer method (bank account, bank card, PayPal account, prepaid card, paper check)","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE15transferCreatedABvpZ":{"name":"transferCreated","abstract":"\u003cp\u003ePosted when a transfer of funds has been created.\u003c/p\u003e","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE17transferScheduledABvpZ":{"name":"transferScheduled","abstract":"\u003cp\u003ePosted when a transfer has been scheduled\u003c/p\u003e","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So18NSNotificationNamea6CommonE19authenticationErrorABvpZ":{"name":"authenticationError","abstract":"\u003cp\u003ePosted when authentication error occurs\u003c/p\u003e","parent_name":"Name"},"Extensions/Notification/Name.html":{"name":"Name","abstract":"\u003cp\u003eThe Notification extension\u003c/p\u003e","parent_name":"Notification"},"Extensions/NSRegularExpression.html#/s:So19NSRegularExpressionC6CommonEyABSScfc":{"name":"init(_:)","abstract":"\u003cp\u003eInitializer to initialize regular expression with some pattern\u003c/p\u003e","parent_name":"NSRegularExpression"},"Extensions/NSRegularExpression.html#/s:So19NSRegularExpressionC6CommonE7matchesySbSSF":{"name":"matches(_:)","abstract":"\u003cp\u003echecks if the String matches the regular expression or not\u003c/p\u003e","parent_name":"NSRegularExpression"},"Extensions/HyperwalletTransferMethodType.html#/s:14HyperwalletSDK0A18TransferMethodTypeV6CommonE24formatFeesProcessingTime4font5colorSo18NSAttributedStringCSo6UIFontC_So7UIColorCtF":{"name":"formatFeesProcessingTime(font:color:)","abstract":"\u003cp\u003eFormats the fee processing time\u003c/p\u003e","parent_name":"HyperwalletTransferMethodType"},"Extensions/HyperwalletTransferMethod.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","parent_name":"HyperwalletTransferMethod"},"Extensions/HyperwalletTransferMethod.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","parent_name":"HyperwalletTransferMethod"},"Extensions/HyperwalletTransferMethod.html#/c:@CM@Common@HyperwalletSDK@objc(cs)HyperwalletTransferMethod(im)isPrepaidCard":{"name":"isPrepaidCard()","abstract":"\u003cp\u003eChecking for transfer method is prepaid card or not\u003c/p\u003e","parent_name":"HyperwalletTransferMethod"},"Extensions/HyperwalletPrepaidCard.html#/c:@CM@Common@HyperwalletSDK@objc(cs)HyperwalletPrepaidCard(py)formattedCardBrandCardNumber":{"name":"formattedCardBrandCardNumber","abstract":"\u003cp\u003eFormatted Card Brand and Card Number, eg: Visa •••• 1234\u003c/p\u003e","parent_name":"HyperwalletPrepaidCard"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO4flatyAfCcAFmF":{"name":"flat(_:)","abstract":"\u003cp\u003eFlat fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO7percentyAfCcAFmF":{"name":"percent(_:)","abstract":"\u003cp\u003ePercent fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO5mixedyAfC_ACtcAFmF":{"name":"mixed(_:_:)","abstract":"\u003cp\u003eMixed fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee/FeeTypes.html#/s:14HyperwalletSDK0A3FeeV6CommonE0C5TypesO02noC0yA2FmF":{"name":"noFee","abstract":"\u003cp\u003eNo Fee\u003c/p\u003e","parent_name":"FeeTypes"},"Extensions/HyperwalletFee.html#/s:14HyperwalletSDK0A3FeeV6CommonE6format4feesSSSayACG_tFZ":{"name":"format(fees:)","abstract":"\u003cp\u003eFormats the Fees to be displayed\u003c/p\u003e","parent_name":"HyperwalletFee"},"Extensions/HyperwalletFee/FeeTypes.html":{"name":"FeeTypes","abstract":"\u003cp\u003eRepresents the fee types\u003c/p\u003e","parent_name":"HyperwalletFee"},"Extensions/HyperwalletCurrency.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","parent_name":"HyperwalletCurrency"},"Extensions/HyperwalletCurrency.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","parent_name":"HyperwalletCurrency"},"Extensions/HyperwalletCountry.html#/s:6Common24GenericCellConfigurationP5titleSSSgvp":{"name":"title","parent_name":"HyperwalletCountry"},"Extensions/HyperwalletCountry.html#/s:6Common24GenericCellConfigurationP5valueSSSgvp":{"name":"value","parent_name":"HyperwalletCountry"},"Extensions/Date/DateFormatMode.html#/s:10Foundation4DateV6CommonE0B10FormatModeO4dateyA2FmF":{"name":"date","abstract":"\u003cdiv class=\"aside aside-date\"\u003e","parent_name":"DateFormatMode"},"Extensions/Date/DateFormatMode.html#/s:10Foundation4DateV6CommonE0B10FormatModeO8dateTimeyA2FmF":{"name":"dateTime","parent_name":"DateFormatMode"},"Extensions/Date/DateFormatMode.html":{"name":"DateFormatMode","abstract":"\u003cp\u003eThe Date type format\u003c/p\u003e","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV6CommonE06formatB8ToString10dateFormatS2S_tF":{"name":"formatDateToString(dateFormat:)","abstract":"\u003cp\u003eFormats date to string\u003c/p\u003e","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV6CommonE15firstDayOfMonthACyF":{"name":"firstDayOfMonth()","abstract":"\u003cp\u003eReturns 1st day of the month\u003c/p\u003e","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV6CommonE6format3forSSAcDE0B10FormatModeO_tF":{"name":"format(for:)","abstract":"\u003cp\u003eFormat date\u003c/p\u003e","parent_name":"Date"},"Extensions/Array.html#/s:Sa6CommonE10isNotEmptySbvp":{"name":"isNotEmpty","abstract":"\u003cp\u003eA Boolean value indicating whether the collection is not empty.\u003c/p\u003e","parent_name":"Array"},"Extensions/Array.html#/s:Sa6CommonE6isLast5indexSbSi_tF":{"name":"isLast(index:)","abstract":"\u003cp\u003eCheck if the current index is the last element in this array\u003c/p\u003e","parent_name":"Array"},"Extensions/Array.html#/s:Sa6CommonE4safexSgSi_tcip":{"name":"subscript(safe:)","abstract":"\u003cp\u003eA safe way to check if element exists in this array\u003c/p\u003e","parent_name":"Array"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:willDisplayHeaderView:forSection:":{"name":"tableView(_:willDisplayHeaderView:forSection:)","abstract":"\u003cp\u003eReturns the header view\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:titleForFooterInSection:":{"name":"tableView(_:titleForFooterInSection:)","abstract":"\u003cp\u003eReturns the title for footer\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns the height of header\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:heightForRowAtIndexPath:":{"name":"tableView(_:heightForRowAt:)","abstract":"\u003cp\u003eReturns height of row\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns fields count to update transfer method\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay\u0026rsquo;s the fields to update transfer method\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)scrollViewDidEndScrollingAnimation:":{"name":"scrollViewDidEndScrollingAnimation(_:)","abstract":"\u003cp\u003eScrollview delegate\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/UpdateTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)UpdateTransferMethodController(im)tableView:willDisplayFooterView:forSection:":{"name":"tableView(_:willDisplayFooterView:forSection:)","abstract":"\u003cp\u003eTableview delegate for footer view\u003c/p\u003e","parent_name":"UpdateTransferMethodController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns transfer method count\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay transfer methods\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:viewForHeaderInSection:":{"name":"tableView(_:viewForHeaderInSection:)","abstract":"\u003cp\u003eReturns headerview\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns height of headerview\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select transfer method\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/SelectTransferMethodTypeController.html#/c:@CM@TransferMethod@objc(cs)SelectTransferMethodTypeController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThis function will navigate back from next page and pass the control back to it\u0026rsquo;s caller\u003c/p\u003e","parent_name":"SelectTransferMethodTypeController"},"Extensions/ListTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)ListTransferMethodController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThe callback to refresh transfer method list\u003c/p\u003e","parent_name":"ListTransferMethodController"},"Extensions/ListTransferMethodCell.html#/s:14TransferMethod04ListaB4CellC9configure08transferB0y14HyperwalletSDK0gaB0C_tF":{"name":"configure(transferMethod:)","abstract":"\u003cp\u003eFill \u003ccode\u003eListTransferMethodCell\u003c/code\u003e related fields\u003c/p\u003e","parent_name":"ListTransferMethodCell"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:willDisplayHeaderView:forSection:":{"name":"tableView(_:willDisplayHeaderView:forSection:)","abstract":"\u003cp\u003eReturns the header view\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:titleForFooterInSection:":{"name":"tableView(_:titleForFooterInSection:)","abstract":"\u003cp\u003eReturns the title for footer\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns the height of header\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:heightForRowAtIndexPath:":{"name":"tableView(_:heightForRowAt:)","abstract":"\u003cp\u003eReturns height of row\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns fields count to add transfer method\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplay\u0026rsquo;s the fields to add transfer method\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)scrollViewDidEndScrollingAnimation:":{"name":"scrollViewDidEndScrollingAnimation(_:)","abstract":"\u003cp\u003eScrollview delegate\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/AddTransferMethodController.html#/c:@CM@TransferMethod@objc(cs)AddTransferMethodController(im)tableView:willDisplayFooterView:forSection:":{"name":"tableView(_:willDisplayFooterView:forSection:)","abstract":"\u003cp\u003eTableview delegate for footer view\u003c/p\u003e","parent_name":"AddTransferMethodController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:estimatedHeightForHeaderInSection:":{"name":"tableView(_:estimatedHeightForHeaderInSection:)","abstract":"\u003cp\u003eEstimated height of header\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns number of rows\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplays cell configuration\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ScheduleTransferController.html#/c:@CM@Transfer@objc(cs)ScheduleTransferController(im)tableView:viewForFooterInSection:":{"name":"tableView(_:viewForFooterInSection:)","abstract":"\u003cp\u003eReturns the footer view of tableview\u003c/p\u003e","parent_name":"ScheduleTransferController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select the transfer method\u003c/p\u003e","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:viewForHeaderInSection:":{"name":"tableView(_:viewForHeaderInSection:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","parent_name":"ListTransferSourceController"},"Extensions/ListTransferSourceController.html#/c:@CM@Transfer@objc(cs)ListTransferSourceController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThe callback to refresh create transfer\u003c/p\u003e","parent_name":"ListTransferSourceController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select the transfer method\u003c/p\u003e","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:viewForHeaderInSection:":{"name":"tableView(_:viewForHeaderInSection:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)tableView:heightForHeaderInSection:":{"name":"tableView(_:heightForHeaderInSection:)","parent_name":"ListTransferDestinationController"},"Extensions/ListTransferDestinationController.html#/c:@CM@Transfer@objc(cs)ListTransferDestinationController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eThe callback to refresh create transfer\u003c/p\u003e","parent_name":"ListTransferDestinationController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)numberOfSectionsInTableView:":{"name":"numberOfSections(in:)","abstract":"\u003cp\u003eReturns tableview section count\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:numberOfRowsInSection:":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns number of rows\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:cellForRowAtIndexPath:":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplays cell configuration\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:titleForHeaderInSection:":{"name":"tableView(_:titleForHeaderInSection:)","abstract":"\u003cp\u003eReturns the title for header\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:viewForFooterInSection:":{"name":"tableView(_:viewForFooterInSection:)","abstract":"\u003cp\u003eReturns the footer view of tableview\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)tableView:didSelectRowAtIndexPath:":{"name":"tableView(_:didSelectRowAt:)","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html#/c:@CM@Transfer@objc(cs)CreateTransferController(im)didFlowCompleteWith:":{"name":"didFlowComplete(with:)","abstract":"\u003cp\u003eTo reload create transfer method\u003c/p\u003e","parent_name":"CreateTransferController"},"Extensions/CreateTransferController.html":{"name":"CreateTransferController"},"Extensions/ListTransferDestinationController.html":{"name":"ListTransferDestinationController","abstract":"\u003cp\u003eTransfer method list table view dataSource and delegate\u003c/p\u003e"},"Extensions/ListTransferSourceController.html":{"name":"ListTransferSourceController","abstract":"\u003cp\u003eTransfer method list table view dataSource and delegate\u003c/p\u003e"},"Extensions/ScheduleTransferController.html":{"name":"ScheduleTransferController"},"Extensions.html#/c:@M@Transfer@objc(cs)TransferAmountCell":{"name":"TransferAmountCell"},"Extensions.html#/c:@M@Transfer@objc(cs)TransferNotesCell":{"name":"TransferNotesCell"},"Extensions/AddTransferMethodController.html":{"name":"AddTransferMethodController"},"Extensions/ListTransferMethodCell.html":{"name":"ListTransferMethodCell"},"Extensions/ListTransferMethodController.html":{"name":"ListTransferMethodController"},"Extensions/SelectTransferMethodTypeController.html":{"name":"SelectTransferMethodTypeController"},"Extensions.html#/c:@M@TransferMethod@objc(cs)CountryCurrencyTableView":{"name":"CountryCurrencyTableView"},"Extensions/UpdateTransferMethodController.html":{"name":"UpdateTransferMethodController"},"Extensions/Array.html":{"name":"Array","abstract":"\u003cp\u003eThe Array extension\u003c/p\u003e"},"Extensions/Date.html":{"name":"Date","abstract":"\u003cp\u003eThe Date extension\u003c/p\u003e"},"Extensions/HyperwalletCountry.html":{"name":"HyperwalletCountry"},"Extensions/HyperwalletCurrency.html":{"name":"HyperwalletCurrency"},"Extensions/HyperwalletFee.html":{"name":"HyperwalletFee","abstract":"\u003cp\u003eThe HyperwalletFee extension\u003c/p\u003e"},"Extensions/HyperwalletPrepaidCard.html":{"name":"HyperwalletPrepaidCard"},"Extensions/HyperwalletTransferMethod.html":{"name":"HyperwalletTransferMethod","abstract":"\u003cp\u003eThe HyperwalletTransferMethod extension\u003c/p\u003e"},"Extensions/HyperwalletTransferMethodType.html":{"name":"HyperwalletTransferMethodType","abstract":"\u003cp\u003eThe HyperwalletTransferMethodType extension\u003c/p\u003e"},"Extensions/NSRegularExpression.html":{"name":"NSRegularExpression","abstract":"\u003cp\u003eThe NSRegularExpression extension\u003c/p\u003e"},"Extensions/Notification.html":{"name":"Notification"},"Extensions/String.html":{"name":"String","abstract":"\u003cp\u003eThe String extension\u003c/p\u003e"},"Extensions/NSMutableAttributedString.html":{"name":"NSMutableAttributedString","abstract":"\u003cp\u003eThe NSMutableAttributedString extension\u003c/p\u003e"},"Extensions/UIAlertAction.html":{"name":"UIAlertAction","abstract":"\u003cp\u003eThe UIAlertAction extension\u003c/p\u003e"},"Extensions/UIBarButtonItem.html":{"name":"UIBarButtonItem","abstract":"\u003cp\u003eThe UIBarButtonItem extension\u003c/p\u003e"},"Extensions/UIColor.html":{"name":"UIColor","abstract":"\u003cp\u003eThe UIColor extension\u003c/p\u003e"},"Extensions/UIFont.html":{"name":"UIFont","abstract":"\u003cp\u003eThe UIFont extension\u003c/p\u003e"},"Extensions/UIImage.html":{"name":"UIImage","abstract":"\u003cp\u003eA HyperwalletUI extension to UIImage.\u003c/p\u003e"},"Extensions/UILabel.html":{"name":"UILabel"},"Extensions/UISearchBar.html":{"name":"UISearchBar","abstract":"\u003cp\u003eThe UISearchBar extension\u003c/p\u003e"},"Extensions/UIToolbar.html":{"name":"UIToolbar","abstract":"\u003cp\u003eThe UIToolbar extension\u003c/p\u003e"},"Extensions/UIView.html":{"name":"UIView","abstract":"\u003cp\u003eThe UIView extension\u003c/p\u003e"},"Extensions/UIViewController.html":{"name":"UIViewController","abstract":"\u003cp\u003eThe UIViewController extension\u003c/p\u003e"},"Extensions/ReceiptDetailController.html":{"name":"ReceiptDetailController","abstract":"\u003cp\u003eThe receipt detail controller\u003c/p\u003e"},"Enums/ProcessingState.html#/s:6Common15ProcessingStateO10processingyA2CmF":{"name":"processing","abstract":"\u003cp\u003eThe processing state\u003c/p\u003e","parent_name":"ProcessingState"},"Enums/ProcessingState.html#/s:6Common15ProcessingStateO8completeyA2CmF":{"name":"complete","abstract":"\u003cp\u003eThe complete state\u003c/p\u003e","parent_name":"ProcessingState"},"Enums/ProcessingState.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"ProcessingState"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO7countryyA2CmF":{"name":"country","abstract":"\u003cp\u003eThe 2 letter ISO 3166-1 country code.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO8currencyyA2CmF":{"name":"currency","abstract":"\u003cp\u003eThe 3 letter ISO 4217-1 currency code.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO11profileTypeyA2CmF":{"name":"profileType","abstract":"\u003cp\u003eThe profile type. Possible values - INDIVIDUAL, BUSINESS.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO22transferMethodTypeCodeyA2CmF":{"name":"transferMethodTypeCode","abstract":"\u003cp\u003eThe transfer method type. Possible values - BANK_ACCOUNT, BANK_CARD.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO011forceUpdateC0yA2CmF":{"name":"forceUpdateData","abstract":"\u003cp\u003eForces to refresh the cached data.\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO7receiptyA2CmF":{"name":"receipt","abstract":"\u003cp\u003eThe receipt\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO16clientTransferIdyA2CmF":{"name":"clientTransferId","abstract":"\u003cp\u003eThe client TransferId\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO16prepaidCardTokenyA2CmF":{"name":"prepaidCardToken","abstract":"\u003cp\u003eThe prepaid token\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO11sourceTokenyA2CmF":{"name":"sourceToken","abstract":"\u003cp\u003eThe source token\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO8transferyA2CmF":{"name":"transfer","abstract":"\u003cp\u003eThe transfer\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO14transferMethodyA2CmF":{"name":"transferMethod","abstract":"\u003cp\u003eThe transfer method like bank account, bank card, PayPal account, prepaid card, paper check\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO16didFxQuoteChangeyA2CmF":{"name":"didFxQuoteChange","abstract":"\u003cp\u003eBoolean value to check whether foreign exchange rate changed\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO23showAllAvailableSourcesyA2CmF":{"name":"showAllAvailableSources","abstract":"\u003cp\u003eBoolean value to check whether to show all the available sources for receipts/ transfers\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO18selectedSourceTypeyA2CmF":{"name":"selectedSourceType","abstract":"\u003cp\u003eSelected Source Type\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO22selectedTransferSourceyA2CmF":{"name":"selectedTransferSource","abstract":"\u003cp\u003eSelected Transfer Source\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO15transferSourcesyA2CmF":{"name":"transferSources","abstract":"\u003cp\u003eTransfer Sources\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/InitializationDataField.html#/s:6Common23InitializationDataFieldO19transferMethodTokenyA2CmF":{"name":"transferMethodToken","abstract":"\u003cp\u003eTransfer Method Token\u003c/p\u003e","parent_name":"InitializationDataField"},"Enums/HyperwalletCoordinatorTypes.html#/s:6Common27HyperwalletCoordinatorTypesO24selectTransferMethodTypeyA2CmF":{"name":"selectTransferMethodType","abstract":"\u003cp\u003eCoordinator for select transfer method type.\u003c/p\u003e","parent_name":"HyperwalletCoordinatorTypes"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO06walletD0yA2CmF":{"name":"walletModel","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO08pay2CardD0yA2CmF":{"name":"pay2CardModel","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO08cardOnlyD0yA2CmF":{"name":"cardOnlyModel","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletProgramModel.html#/s:6Common23HyperwalletProgramModelO012isPay2CardOrg4OnlyD0SbyF":{"name":"isPay2CardOrCardOnlyModel()","abstract":"\u003cp\u003ereturns true if Program Model is either pay2Card or CardOnly\u003c/p\u003e","parent_name":"HyperwalletProgramModel"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO11bankAccountyA2CmF":{"name":"bankAccount","abstract":"\u003cp\u003eThe icon for Bank Account\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO17addTransferMethodyA2CmF":{"name":"addTransferMethod","abstract":"\u003cp\u003eThe icon for add transfer method\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO5checkyA2CmF":{"name":"check","abstract":"\u003cp\u003eThe icon for check type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO11debitCredityA2CmF":{"name":"debitCredit","abstract":"\u003cp\u003eThe icon for debit and credit card type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO11prepaidCardyA2CmF":{"name":"prepaidCard","abstract":"\u003cp\u003eThe icon for prepaid card type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO4wireyA2CmF":{"name":"wire","abstract":"\u003cp\u003eThe icon for wire transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO5venmoyA2CmF":{"name":"venmo","abstract":"\u003cp\u003eThe icon for venmo transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO9moneygramyA2CmF":{"name":"moneygram","abstract":"\u003cp\u003eThe icon for moenygram transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO6paypalyA2CmF":{"name":"paypal","abstract":"\u003cp\u003eThe icon for paypal transfer type\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO6credityA2CmF":{"name":"credit","abstract":"\u003cp\u003eThe credit icon\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO5debityA2CmF":{"name":"debit","abstract":"\u003cp\u003eThe debit icon\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/HyperwalletIconContent.html#/s:6Common22HyperwalletIconContentO20addNewTransferMethodyA2CmF":{"name":"addNewTransferMethod","abstract":"\u003cp\u003eAdd new transfer method\u003c/p\u003e","parent_name":"HyperwalletIconContent"},"Enums/UserInfo.html#/s:6Common8UserInfoO19transferMethodAddedyA2CmF":{"name":"transferMethodAdded","abstract":"\u003cp\u003eA new transfer method has been added.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO21transferMethodUpdatedyA2CmF":{"name":"transferMethodUpdated","abstract":"\u003cp\u003eA transfer method has been updated.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO25transferMethodDeactivatedyA2CmF":{"name":"transferMethodDeactivated","abstract":"\u003cp\u003eA transfer method has been deactivated.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO15transferCreatedyA2CmF":{"name":"transferCreated","abstract":"\u003cp\u003eA transfer of funds has been created.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO17transferScheduledyA2CmF":{"name":"transferScheduled","abstract":"\u003cp\u003eA transfer has been scheduled.\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html#/s:6Common8UserInfoO19authenticationErroryA2CmF":{"name":"authenticationError","abstract":"\u003cp\u003eAuthentication error has been occured\u003c/p\u003e","parent_name":"UserInfo"},"Enums/UserInfo.html":{"name":"UserInfo","abstract":"\u003cp\u003eThe Hyperwallet\u0026rsquo;s \u003ccode\u003eNotificationCenter\u003c/code\u003e key to access the information.\u003c/p\u003e"},"Enums/HyperwalletIconContent.html":{"name":"HyperwalletIconContent","abstract":"\u003cp\u003eRepresents the Hyperwallet Icon type\u003c/p\u003e"},"Enums/HyperwalletProgramModel.html":{"name":"HyperwalletProgramModel","abstract":"\u003cp\u003eHyperwallet Program Model\u003c/p\u003e"},"Enums/HyperwalletCoordinatorTypes.html":{"name":"HyperwalletCoordinatorTypes","abstract":"\u003cp\u003eHyperwallet\u0026rsquo;s enum for the types of coordinators\u003c/p\u003e"},"Enums/InitializationDataField.html":{"name":"InitializationDataField","abstract":"\u003cp\u003eRepresentation of Initialization DataField\u003c/p\u003e"},"Enums/ProcessingState.html":{"name":"ProcessingState","abstract":"\u003cp\u003eHyperwallet\u0026rsquo;s enum to indicate processing state\u003c/p\u003e"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"ListReceiptCoordinator"},"Classes/ListReceiptCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"ListReceiptCoordinator"},"Classes/RemoteUserReceiptRepository.html#/s:17ReceiptRepository04UseraB0P04listC8Receipts6offset5limit10completionySi_Siys6ResultOy14HyperwalletSDK0J8PageListVyAJ0jA0VGSgAJ0J9ErrorTypeOGctF":{"name":"listUserReceipts(offset:limit:completion:)","parent_name":"RemoteUserReceiptRepository"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the ReceiptRepositoryFactory object\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the RepositoryFactory singleton instance.\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC04useraB0AA04UseraB0_pyF":{"name":"userReceiptRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/UserReceiptRepository.html\"\u003eUserReceiptRepository\u003c/a\u003e\u003c/code\u003e implementation.\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/ReceiptRepositoryFactory.html#/s:17ReceiptRepository0aB7FactoryC011prepaidCardaB0AA07PrepaideaB0_pyF":{"name":"prepaidCardReceiptRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/PrepaidCardReceiptRepository.html\"\u003ePrepaidCardReceiptRepository\u003c/a\u003e\u003c/code\u003e implementation.\u003c/p\u003e","parent_name":"ReceiptRepositoryFactory"},"Classes/RemotePrepaidCardReceiptRepository.html#/s:17ReceiptRepository011PrepaidCardaB0P04listcD8Receipts07prepaidD5Token10completionySS_ys6ResultOy14HyperwalletSDK0K8PageListVyAI0kA0VGSgAI0K9ErrorTypeOGctF":{"name":"listPrepaidCardReceipts(prepaidCardToken:completion:)","parent_name":"RemotePrepaidCardReceiptRepository"},"Classes/ProcessingView.html#/s:6Common14ProcessingViewC06showInC0ACSo6UIViewC_tcfc":{"name":"init(showInView:)","abstract":"\u003cp\u003eConvenience Initializer for view\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/ProcessingView.html#/c:@M@Common@objc(cs)ProcessingView(im)init":{"name":"init()","abstract":"\u003cp\u003eConvenience Initializer\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/ProcessingView.html#/c:@M@Common@objc(cs)ProcessingView(im)didMoveToSuperview":{"name":"didMoveToSuperview()","abstract":"\u003cp\u003eTells the view that its superview changed\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/ProcessingView.html#/s:6Common14ProcessingViewC4hide4withyAA0B5StateOSg_tF":{"name":"hide(with:)","abstract":"\u003cp\u003eTo hide processing symbol\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/AmountTextField.html#/c:@M@Common@objc(cs)AmountTextField(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","parent_name":"AmountTextField"},"Classes/PasteOnlyTextField.html#/c:@M@Common@objc(cs)PasteOnlyTextField(im)canPerformAction:withSender:":{"name":"canPerformAction(_:withSender:)","abstract":"\u003cp\u003eRequests the receiving responder to paste text in UITextField\u003c/p\u003e","parent_name":"PasteOnlyTextField"},"Classes/ErrorView.html#/s:6Common9ErrorViewC14viewController5error8pageName0G5GroupACSo06UIViewE0C_14HyperwalletSDK0kB4TypeOS2Stcfc":{"name":"init(viewController:error:pageName:pageGroup:)","abstract":"\u003cp\u003eInitializer to initialize the class with errors to be displayed and the ViewController responsible","parent_name":"ErrorView"},"Classes/ErrorView.html#/s:6Common9ErrorViewC4showyyyycSgF":{"name":"show(_:)","abstract":"\u003cp\u003eTo show error messages\u003c/p\u003e","parent_name":"ErrorView"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC4type7messageACSS_SStcfc":{"name":"init(type:message:)","abstract":"\u003cp\u003eInitializes ErrorInfoBuilder\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC9fieldNameyACSSF":{"name":"fieldName(_:)","abstract":"\u003cp\u003eSets FieldName\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC4codeyACSSF":{"name":"code(_:)","abstract":"\u003cp\u003eSets Code\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/ErrorInfoBuilder.html#/s:6Common16ErrorInfoBuilderC5build8Insights0bC0VyF":{"name":"build()","abstract":"\u003cp\u003eBuilds a new instance of the \u003ccode\u003eErrorInfo\u003c/code\u003e.\u003c/p\u003e","parent_name":"ErrorInfoBuilder"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the HyperwalletInsights interface object\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears Insights SDK instance.\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC5setupyyFZ":{"name":"setup()","abstract":"\u003cp\u003eSet up HyperwalletInsights\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC10trackClick8pageName0F5Group4link6paramsySS_S2SSDyS2SGtF":{"name":"trackClick(pageName:pageGroup:link:params:)","abstract":"\u003cp\u003eTrack Clicks\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC10trackError8pageName0F5Group9errorInfoySS_SS0C00eJ0VtF":{"name":"trackError(pageName:pageGroup:errorInfo:)","abstract":"\u003cp\u003eTrack Error\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletInsights.html#/s:6Common19HyperwalletInsightsC15trackImpression8pageName0F5Group6paramsySS_SSSDyS2SGtF":{"name":"trackImpression(pageName:pageGroup:params:)","abstract":"\u003cp\u003eTrack Impressions\u003c/p\u003e","parent_name":"HyperwalletInsights"},"Classes/HyperwalletCoordinatorFactory.html#/s:6Common29HyperwalletCoordinatorFactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the Hyperwallet UI SDK interface object\u003c/p\u003e","parent_name":"HyperwalletCoordinatorFactory"},"Classes/HyperwalletCoordinatorFactory.html#/s:6Common29HyperwalletCoordinatorFactoryC03getbC0011hyperwalletC4TypeAA0bC0_pSgAA0bC5TypesO_tF":{"name":"getHyperwalletCoordinator(hyperwalletCoordinatorType:)","abstract":"\u003cp\u003eBased on the HyperwalletCoordinatorTypes, determines the coordinator to be returned,","parent_name":"HyperwalletCoordinatorFactory"},"Classes/Theme/ProcessingView.html#/s:6Common5ThemeC14ProcessingViewV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe background color\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/Theme/ProcessingView.html#/s:6Common5ThemeC14ProcessingViewV15stateLabelColorSo7UIColorCvpZ":{"name":"stateLabelColor","abstract":"\u003cp\u003eThe state label color\u003c/p\u003e","parent_name":"ProcessingView"},"Classes/Theme/SpinnerView.html#/s:6Common5ThemeC11SpinnerViewV017activityIndicatorD5StyleSo010UIActivityfdG0VvpZ":{"name":"activityIndicatorViewStyle","abstract":"\u003cp\u003eThe \u003ccode\u003eUIActivityIndicatorView\u003c/code\u003e style\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/Theme/SpinnerView.html#/s:6Common5ThemeC11SpinnerViewV017activityIndicatorD5ColorSo7UIColorCvpZ":{"name":"activityIndicatorViewColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUIActivityIndicatorView\u003c/code\u003e color\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/Theme/SpinnerView.html#/s:6Common5ThemeC11SpinnerViewV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe background color\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/Theme/UITableViewController.html#/s:6Common5ThemeC21UITableViewControllerV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewController\u003c/code\u003e background color\u003c/p\u003e","parent_name":"UITableViewController"},"Classes/Theme/Amount.html#/s:6Common5ThemeC6AmountV11creditColorSo7UIColorCvpZ":{"name":"creditColor","abstract":"\u003cp\u003eThe credit color\u003c/p\u003e","parent_name":"Amount"},"Classes/Theme/Amount.html#/s:6Common5ThemeC6AmountV10debitColorSo7UIColorCvpZ":{"name":"debitColor","abstract":"\u003cp\u003eThe debit color\u003c/p\u003e","parent_name":"Amount"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV4sizeSivpZ":{"name":"size","abstract":"\u003cp\u003eThe icon font size\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV017addTransferMethodC4SizeSivpZ":{"name":"addTransferMethodIconSize","abstract":"\u003cp\u003eThe add tranfer method icon size\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV5frameSo6CGSizeVvpZ":{"name":"frame","abstract":"\u003cp\u003eThe icon frame\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV12primaryColorSo7UIColorCvpZ":{"name":"primaryColor","abstract":"\u003cp\u003eThe icon primary color\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV11creditColorSo7UIColorCvpZ":{"name":"creditColor","abstract":"\u003cp\u003eThe icon credit color\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Icon.html#/s:6Common5ThemeC4IconV10debitColorSo7UIColorCvpZ":{"name":"debitColor","abstract":"\u003cp\u003eThe icon debit color\u003c/p\u003e","parent_name":"Icon"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV11smallHeight12CoreGraphics7CGFloatVvpZ":{"name":"smallHeight","abstract":"\u003cp\u003eThe common \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV12mediumHeight12CoreGraphics7CGFloatVvpZ":{"name":"mediumHeight","abstract":"\u003cp\u003eThe common \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV6height12CoreGraphics7CGFloatVvpZ":{"name":"height","abstract":"\u003cp\u003eThe common \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV11largeHeight12CoreGraphics7CGFloatVvpZ":{"name":"largeHeight","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e height for the List transfer method items and","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV12headerHeight12CoreGraphics7CGFloatVvpZ":{"name":"headerHeight","abstract":"\u003cp\u003eThe Select transfer method type items header height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV13dividerHeight12CoreGraphics7CGFloatVvpZ":{"name":"dividerHeight","abstract":"\u003cp\u003eThe divider \u003ccode\u003eUITableViewCell\u003c/code\u003e height.\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV9tintColorSo7UIColorCvpZ":{"name":"tintColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e tint color\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV14separatorColorSo7UIColorCvpZ":{"name":"separatorColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e separator color\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Cell.html#/s:6Common5ThemeC4CellV23disabledBackgroundColorSo7UIColorCvpZ":{"name":"disabledBackgroundColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUITableViewCell\u003c/code\u003e disabled background color\u003c/p\u003e","parent_name":"Cell"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV5colorSo7UIColorCvpZ":{"name":"color","abstract":"\u003cp\u003eThe text primary color\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV13disabledColorSo7UIColorCvpZ":{"name":"disabledColor","abstract":"\u003cp\u003eThe text disabled color\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV4fontSo6UIFontCvpZ":{"name":"font","abstract":"\u003cp\u003eThe text font style\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV24createTransferAmountFontSo6UIFontCvpZ":{"name":"createTransferAmountFont","abstract":"\u003cp\u003eCreate Transfer Amount Font\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV9labelFontSo6UIFontCvpZ":{"name":"labelFont","abstract":"\u003cp\u003eThe text label font\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Text.html#/s:6Common5ThemeC4TextV10labelColorSo7UIColorCvpZ":{"name":"labelColor","abstract":"\u003cp\u003eThe text label color\u003c/p\u003e","parent_name":"Text"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV5colorSo7UIColorCvpZ":{"name":"color","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e primary color\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV9linkColorSo7UIColorCvpZ":{"name":"linkColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e link color\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV15backgroundColorSo7UIColorCvpZ":{"name":"backgroundColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e background color\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV8linkFontSo6UIFontCvpZ":{"name":"linkFont","abstract":"\u003cp\u003eThe \u003ccode\u003eUIButton\u003c/code\u003e link font\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/Button.html#/s:6Common5ThemeC6ButtonV4fontSo6UIFontCvpZ":{"name":"font","abstract":"\u003cp\u003eThe button font\u003c/p\u003e","parent_name":"Button"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV8barStyleSo05UIBarF0VvpZ":{"name":"barStyle","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e bar style\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV13isTranslucentSbvpZ":{"name":"isTranslucent","abstract":"\u003cp\u003eSets the opaque background color for The \u003ccode\u003eUINavigationBar\u003c/code\u003e\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV11shadowColorSo7UIColorCvpZ":{"name":"shadowColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e shadow color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV15largeTitleColorSo7UIColorCvpZ":{"name":"largeTitleColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e large title color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV10titleColorSo7UIColorCvpZ":{"name":"titleColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e title color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV15backButtonColorSo7UIColorCvpZ":{"name":"backButtonColor","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e Back Button color\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV14largeTitleFontSo6UIFontCvpZ":{"name":"largeTitleFont","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e large title font\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/NavigationBar.html#/s:6Common5ThemeC13NavigationBarV9titleFontSo6UIFontCvpZ":{"name":"titleFont","abstract":"\u003cp\u003eThe \u003ccode\u003eUINavigationBar\u003c/code\u003e title font\u003c/p\u003e","parent_name":"NavigationBar"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV5colorSo7UIColorCvpZ":{"name":"color","abstract":"\u003cp\u003eThe label primary color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV10errorColorSo7UIColorCvpZ":{"name":"errorColor","abstract":"\u003cp\u003eThe color to highlight errors\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV13subtitleColorSo7UIColorCvpZ":{"name":"subtitleColor","abstract":"\u003cp\u003eThe subtitle color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV9textColorSo7UIColorCvpZ":{"name":"textColor","abstract":"\u003cp\u003eThe text color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV9titleFontSo6UIFontCvpZ":{"name":"titleFont","abstract":"\u003cp\u003eThe title font style\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV12subtitleFontSo6UIFontCvpZ":{"name":"subtitleFont","abstract":"\u003cp\u003eThe subtitle font style\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV12footnoteFontSo6UIFontCvpZ":{"name":"footnoteFont","abstract":"\u003cp\u003eThe footnote font style\u003c/p\u003e","parent_name":"Label"},"Classes/Theme/Label.html#/s:6Common5ThemeC5LabelV18textSelectionColorSo7UIColorCvpZ":{"name":"textSelectionColor","abstract":"\u003cp\u003eThe text selection color\u003c/p\u003e","parent_name":"Label"},"Classes/Theme.html#/c:@M@Common@objc(cs)Theme(cpy)themeColor":{"name":"themeColor","abstract":"\u003cp\u003eThe main color.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme.html#/c:@M@Common@objc(cs)Theme(cpy)tintColor":{"name":"tintColor","abstract":"\u003cp\u003eThe tint color.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Label.html":{"name":"Label","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUILabel\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/NavigationBar.html":{"name":"NavigationBar","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUINavigationBar\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Button.html":{"name":"Button","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUIButton\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Text.html":{"name":"Text","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUIText\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Cell.html":{"name":"Cell","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUITableViewCell\u003c/code\u003e\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Icon.html":{"name":"Icon","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for the \u003ccode\u003eHyperwallet\u003c/code\u003e\u0026lsquo;s icon.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/Amount.html":{"name":"Amount","abstract":"\u003cp\u003eRepresentation of all customized visual style property for numbers\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/UITableViewController.html":{"name":"UITableViewController","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eUITableViewController\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/SpinnerView.html":{"name":"SpinnerView","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eSpinnerView\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/Theme/ProcessingView.html":{"name":"ProcessingView","abstract":"\u003cp\u003eRepresentation of all customizable visual style property for \u003ccode\u003eProcessingView\u003c/code\u003e.\u003c/p\u003e","parent_name":"Theme"},"Classes/SpinnerView.html#/s:6Common11SpinnerViewC06showInC0ACSo6UIViewC_tcfc":{"name":"init(showInView:)","abstract":"\u003cp\u003eConvenience Initializer\u003c/p\u003e","parent_name":"SpinnerView"},"Classes/HyperwalletIcon.html#/s:6Common15HyperwalletIconC2ofyAA0bC7ContentOSSFZ":{"name":"of(_:)","abstract":"\u003cp\u003eMake transfer method type icon by transfer method type\u003c/p\u003e","parent_name":"HyperwalletIcon"},"Classes/HyperwalletBundle.html#/s:6Common17HyperwalletBundleC20currentSDKAppVersionSSSgvpZ":{"name":"currentSDKAppVersion","abstract":"\u003cp\u003eGet the current SDK version\u003c/p\u003e","parent_name":"HyperwalletBundle"},"Classes/GenericController.html#/s:6Common17GenericControllerC5itemsSayq_Gvp":{"name":"items","abstract":"\u003cp\u003eThe item list to be displayed\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC13filteredItemsSayq_Gvp":{"name":"filteredItems","abstract":"\u003cp\u003eThe filtered items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC20shouldMarkCellActionSbq_cSgvp":{"name":"shouldMarkCellAction","abstract":"\u003cp\u003eEvent handler to indicate if the item cell should be marked\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC32filterContentForSearchTextActionSayq_GAE_SStcSgvp":{"name":"filterContentForSearchTextAction","abstract":"\u003cp\u003eDelegate to customise the filter content.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC15SelectedHandlera":{"name":"SelectedHandler","abstract":"\u003cp\u003eThe typealias for event handler to return the item selected\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC15selectedHandleryq_cSgvp":{"name":"selectedHandler","abstract":"\u003cp\u003eEvent handler to return the item selected\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC11viewDidLoadyyF":{"name":"viewDidLoad()","abstract":"\u003cp\u003eCalled after the view controller has loaded its view hierarchy into memory.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC14viewWillAppearyySbF":{"name":"viewWillAppear(_:)","abstract":"\u003cp\u003eNotifies the view controller that its view is about to be added to a view hierarchy.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC18viewWillTransition2to4withySo6CGSizeV_So06UIViewcF11Coordinator_ptF":{"name":"viewWillTransition(to:with:)","abstract":"\u003cp\u003eUIKit calls this method before changing the size of a presented view controller’s view\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC016didDismissSearchC0yySo08UISearchC0CF":{"name":"didDismissSearchController(_:)","abstract":"\u003cp\u003eCalled when the search controller is automatically dismissed.\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_21numberOfRowsInSectionSiSo07UITableE0C_SitF":{"name":"tableView(_:numberOfRowsInSection:)","abstract":"\u003cp\u003eReturns number of items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_12cellForRowAtSo07UITableE4CellCSo0jE0C_10Foundation9IndexPathVtF":{"name":"tableView(_:cellForRowAt:)","abstract":"\u003cp\u003eDisplays the retrieved items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_22viewForHeaderInSectionSo6UIViewCSgSo07UITableE0C_SitF":{"name":"tableView(_:viewForHeaderInSection:)","abstract":"\u003cp\u003eReturns headerview\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_24heightForHeaderInSection12CoreGraphics7CGFloatVSo07UITableE0C_SitF":{"name":"tableView(_:heightForHeaderInSection:)","abstract":"\u003cp\u003eReturns height of headerview\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_14heightForRowAt12CoreGraphics7CGFloatVSo07UITableE0C_10Foundation9IndexPathVtF":{"name":"tableView(_:heightForRowAt:)","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC9tableView_14didSelectRowAtySo07UITableE0C_10Foundation9IndexPathVtF":{"name":"tableView(_:didSelectRowAt:)","abstract":"\u003cp\u003eTo select the items\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericController.html#/s:6Common17GenericControllerC19updateSearchResults3forySo08UISearchC0C_tF":{"name":"updateSearchResults(for:)","abstract":"\u003cp\u003eTo update search result\u003c/p\u003e","parent_name":"GenericController"},"Classes/GenericCell.html#/s:6Common11GenericCellC4itemxSgvp":{"name":"item","abstract":"\u003cp\u003eThe item\u003c/p\u003e","parent_name":"GenericCell"},"Classes/GenericCell.html#/s:6Common11GenericCellC5style15reuseIdentifierACyxGSo011UITableViewC5StyleV_SSSgtcfc":{"name":"init(style:reuseIdentifier:)","abstract":"\u003cp\u003eInitializes the tableview cell\u003c/p\u003e","parent_name":"GenericCell"},"Classes/GenericCell.html#/s:6Common11GenericCellC5coderACyxGSgSo7NSCoderC_tcfc":{"name":"init(coder:)","abstract":"\u003cp\u003eThe required initializer\u003c/p\u003e","parent_name":"GenericCell"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"UpdateTransferMethodCoordinator"},"Classes/UpdateTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"UpdateTransferMethodCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"ListTransferMethodsCoordinator"},"Classes/ListTransferMethodsCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"ListTransferMethodsCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"AddTransferMethodCoordinator"},"Classes/AddTransferMethodCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"AddTransferMethodCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/SelectTransferMethodTypeCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"SelectTransferMethodTypeCoordinator"},"Classes/RemoteTransferMethodUpdateConfigurationRepository.html#/s:24TransferMethodRepository0ab19UpdateConfigurationC0P9getFields_10completionySS_ys6ResultOy14HyperwalletSDK0jabdE5Field_pSgAH0J9ErrorTypeOGctF":{"name":"getFields(_:completion:)","parent_name":"RemoteTransferMethodUpdateConfigurationRepository"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the RepositoryFactory object\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the TransferMethodRepositoryFactory singleton instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC08transferb13ConfigurationC0AA0abfC0_pyF":{"name":"transferMethodConfigurationRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferMethodConfigurationRepository.html\"\u003eTransferMethodConfigurationRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC08transferb19UpdateConfigurationC0AA0abfgC0_pyF":{"name":"transferMethodUpdateConfigurationRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferMethodUpdateConfigurationRepository.html\"\u003eTransferMethodUpdateConfigurationRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC08transferbC0A2A_pyF":{"name":"transferMethodRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferMethodRepository.html\"\u003eTransferMethodRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/TransferMethodRepositoryFactory.html#/s:24TransferMethodRepository0abC7FactoryC011prepaidCardC0AA07PrepaidfC0_pyF":{"name":"prepaidCardRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/PrepaidCardRepository.html\"\u003ePrepaidCardRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferMethodRepositoryFactory"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P9getFields____10completionySS_S3Sys6ResultOy14HyperwalletSDK0iabD5Field_pSgAH0I9ErrorTypeOGctF":{"name":"getFields(_:_:_:_:completion:)","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P7getKeys10completionyys6ResultOy14HyperwalletSDK0iabD3Key_pSgAH0I9ErrorTypeOGc_tF":{"name":"getKeys(completion:)","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P03getaB27TypesFeesAndProcessingTimes7country8currency10completionySS_SSys6ResultOy14HyperwalletSDK0oabD3Key_pSgAJ0O9ErrorTypeOGctF":{"name":"getTransferMethodTypesFeesAndProcessingTimes(country:currency:completion:)","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P13refreshFieldsyyF":{"name":"refreshFields()","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemoteTransferMethodConfigurationRepository.html#/s:24TransferMethodRepository0ab13ConfigurationC0P11refreshKeysyyF":{"name":"refreshKeys()","parent_name":"RemoteTransferMethodConfigurationRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P04listD5Cards10queryParam10completiony14HyperwalletSDK0kde5QueryI0C_ys6ResultOyAG0K8PageListVyAG0kdE0CGSgAG0K9ErrorTypeOGctF":{"name":"listPrepaidCards(queryParam:completion:)","parent_name":"RemotePrepaidCardRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository011PrepaidCardC0P03getdE05token10completionySS_ys6ResultOy14HyperwalletSDK0jdE0CSgAI0J9ErrorTypeOGctF":{"name":"getPrepaidCard(token:completion:)","parent_name":"RemotePrepaidCardRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository017RemotePrepaidCardC0C07refresheF0yyF":{"name":"refreshPrepaidCard()","abstract":"\u003cp\u003eRefreshes Prepaid Card\u003c/p\u003e","parent_name":"RemotePrepaidCardRepository"},"Classes/RemotePrepaidCardRepository.html#/s:24TransferMethodRepository017RemotePrepaidCardC0C07refreshE5CardsyyF":{"name":"refreshPrepaidCards()","abstract":"\u003cp\u003eRefreshes Prepaid Cards\u003c/p\u003e","parent_name":"RemotePrepaidCardRepository"},"Classes/TransferRepositoryFactory.html#/s:18TransferRepository0aB7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the \u003ccode\u003eTransferRepositoryFactory\u003c/code\u003e object\u003c/p\u003e","parent_name":"TransferRepositoryFactory"},"Classes/TransferRepositoryFactory.html#/s:18TransferRepository0aB7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the \u003ccode\u003eTransferRepositoryFactory\u003c/code\u003e singleton instance.\u003c/p\u003e","parent_name":"TransferRepositoryFactory"},"Classes/TransferRepositoryFactory.html#/s:18TransferRepository0aB7FactoryC08transferB0A2A_pyF":{"name":"transferRepository()","abstract":"\u003cp\u003eGets the \u003ccode\u003e\u003ca href=\"36f8f5912051ae747ef441d6511ca4cbProtocols/TransferRepository.html\"\u003eTransferRepository\u003c/a\u003e\u003c/code\u003e instance.\u003c/p\u003e","parent_name":"TransferRepositoryFactory"},"Classes/UserRepositoryFactory.html#/s:14UserRepository0aB7FactoryC6sharedACvpZ":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the RepositoryFactory object\u003c/p\u003e","parent_name":"UserRepositoryFactory"},"Classes/UserRepositoryFactory.html#/s:14UserRepository0aB7FactoryC13clearInstanceyyFZ":{"name":"clearInstance()","abstract":"\u003cp\u003eClears the UserRepositoryFactory singleton instance.\u003c/p\u003e","parent_name":"UserRepositoryFactory"},"Classes/UserRepositoryFactory.html#/s:14UserRepository0aB7FactoryC04userB0A2A_pyF":{"name":"userRepository()","abstract":"\u003cp\u003eGets an instance of user repository.\u003c/p\u003e","parent_name":"UserRepositoryFactory"},"Classes/RemoteUserRepository.html#/s:14UserRepositoryAAP03getA010completionyys6ResultOy14HyperwalletSDK0fA0CSgAG0F9ErrorTypeOGc_tF":{"name":"getUser(completion:)","parent_name":"RemoteUserRepository"},"Classes/RemoteUserRepository.html#/s:14UserRepositoryAAP07refreshA0yyF":{"name":"refreshUser()","parent_name":"RemoteUserRepository"},"Classes/ThemeManager.html#/c:@M@Common@objc(cs)ThemeManager(cm)applyTheme":{"name":"applyTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@Common@objc(cs)ThemeManager(cm)applyWhiteTheme":{"name":"applyWhiteTheme()","abstract":"\u003cp\u003eApplies White Theme visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@Common@objc(cs)ThemeManager(cm)applyToUINavigationBar":{"name":"applyToUINavigationBar()","abstract":"\u003cp\u003eApplies Custom Theme visual styles to the \u003ccode\u003eUINavigationBar\u003c/code\u003e interface component.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@CM@Transfer@Common@objc(cs)ThemeManager(cm)applyTransferTheme":{"name":"applyTransferTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@CM@TransferMethod@Common@objc(cs)ThemeManager(cm)applyTransferMethodTheme":{"name":"applyTransferMethodTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@CM@Receipt@Common@objc(cs)ThemeManager(cm)applyReceiptTheme":{"name":"applyReceiptTheme()","abstract":"\u003cp\u003eApplies default visual styles to the Hyperwallet user interface components.\u003c/p\u003e","parent_name":"ThemeManager"},"Classes/HyperwalletUI.html#/c:@M@Common@objc(cs)HyperwalletUI(cpy)shared":{"name":"shared","abstract":"\u003cp\u003eReturns the previously initialized instance of the Hyperwallet UI SDK interface object\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@M@Common@objc(cs)HyperwalletUI(cm)clearInstance":{"name":"clearInstance()","abstract":"\u003cp\u003eClears Hyperwallet and HyperwalletInsights instances.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@M@Common@objc(cs)HyperwalletUI(cm)setup:":{"name":"setup(_:)","abstract":"\u003cp\u003eCreates a new instance of the Hyperwallet UI SDK interface object. If a previously created instance exists,","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(cm)transferUIClearInstance":{"name":"transferUIClearInstance()","abstract":"\u003cp\u003eClears TransferRepositoryFactory , TransferMethodRepositoryFactory and UserRepositoryFactory instances.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(im)createTransferFromUserCoordinatorWithClientTransferId:parentController:":{"name":"createTransferFromUserCoordinator(clientTransferId:parentController:)","abstract":"\u003cp\u003eCreate transfer funds from User Source\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(im)createTransferFromPrepaidCardCoordinatorWithClientTransferId:sourceToken:parentController:":{"name":"createTransferFromPrepaidCardCoordinator(clientTransferId:sourceToken:parentController:)","abstract":"\u003cp\u003eCreate transfer funds from Prepaid Card Token Source\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Transfer@Common@objc(cs)HyperwalletUI(im)createTransferFromAllAvailableSourcesCoordinatorWithClientTransferId:parentController:":{"name":"createTransferFromAllAvailableSourcesCoordinator(clientTransferId:parentController:)","abstract":"\u003cp\u003eCreate transfer funds","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(cm)transferMethodUIClearInstance":{"name":"transferMethodUIClearInstance()","abstract":"\u003cp\u003eClears TransferMethodRepositoryFactory and UserRepositoryFactory instances.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)listTransferMethodCoordinatorWithParentController:":{"name":"listTransferMethodCoordinator(parentController:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s transfer methods (bank account, bank card, PayPal account, prepaid card, paper check).\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)selectTransferMethodTypeCoordinatorWithForceUpdateData:parentController:":{"name":"selectTransferMethodTypeCoordinator(forceUpdateData:parentController:)","abstract":"\u003cp\u003eLists all transfer method types available based on the country, currency and profile type to create a new","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)addTransferMethodCoordinator:::::parentController:":{"name":"addTransferMethodCoordinator(_:_:_:_:_:parentController:)","abstract":"\u003cp\u003eController to create a new transfer method.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@TransferMethod@Common@objc(cs)HyperwalletUI(im)updateTransferMethodCoordinator:parentController:":{"name":"updateTransferMethodCoordinator(_:parentController:)","abstract":"\u003cp\u003eController to update a transfer method.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(cm)receiptUIClearInstance":{"name":"receiptUIClearInstance()","abstract":"\u003cp\u003eClears ReceiptRepositoryFactory instance.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(im)listUserReceiptCoordinatorWithParentController:":{"name":"listUserReceiptCoordinator(parentController:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s transactions.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(im)listPrepaidCardReceiptCoordinatorWithParentController:prepaidCardToken:":{"name":"listPrepaidCardReceiptCoordinator(parentController:prepaidCardToken:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s prepaid card transactions.\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/HyperwalletUI.html#/c:@CM@Receipt@Common@objc(cs)HyperwalletUI(im)listAllAvailableSourcesReceiptCoordinatorWithParentController:":{"name":"listAllAvailableSourcesReceiptCoordinator(parentController:)","abstract":"\u003cp\u003eLists the user\u0026rsquo;s transactions from all sources - wallet and prepaid card\u003c/p\u003e","parent_name":"HyperwalletUI"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP10applyThemeyyF":{"name":"applyTheme()","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP13getControllerSo011UITableViewE0CyF":{"name":"getController()","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP5start18initializationData16parentControllerySDyAA014InitializationF5FieldOypGSg_So06UIViewH0CtF":{"name":"start(initializationData:parentController:)","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP8navigateyyF":{"name":"navigate()","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP18navigateToNextPage18initializationDataySDyAA014InitializationI5FieldOypGSg_tF":{"name":"navigateToNextPage(initializationData:)","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html#/s:6Common22HyperwalletCoordinatorP24navigateBackFromNextPage4withyyp_tF":{"name":"navigateBackFromNextPage(with:)","parent_name":"CreateTransferCoordinator"},"Classes/CreateTransferCoordinator.html":{"name":"CreateTransferCoordinator","abstract":"\u003cp\u003eCoordinator class for CreateTransfer\u003c/p\u003e"},"Classes/HyperwalletUI.html":{"name":"HyperwalletUI","abstract":"\u003cp\u003eClass responsible for initializing the Hyperwallet UI SDK. It contains methods to interact with the controllers"},"Classes/ThemeManager.html":{"name":"ThemeManager","abstract":"\u003cp\u003eThe \u003ccode\u003eThemeManager\u003c/code\u003e class is responsible for applying the visual styles to the Hyperwallet user interface components.\u003c/p\u003e"},"Classes/RemoteUserRepository.html":{"name":"RemoteUserRepository","abstract":"\u003cp\u003eRemoteUserRepository\u003c/p\u003e"},"Classes/UserRepositoryFactory.html":{"name":"UserRepositoryFactory","abstract":"\u003cp\u003eClass contains methods to get an instance of user repository\u003c/p\u003e"},"Classes/TransferRepositoryFactory.html":{"name":"TransferRepositoryFactory","abstract":"\u003cp\u003eClass contains methods to get an instance of transfer repository\u003c/p\u003e"},"Classes/RemotePrepaidCardRepository.html":{"name":"RemotePrepaidCardRepository","abstract":"\u003cp\u003ePrepaid Card repository\u003c/p\u003e"},"Classes/RemoteTransferMethodConfigurationRepository.html":{"name":"RemoteTransferMethodConfigurationRepository","abstract":"\u003cp\u003eRemoteTransferMethodConfigurationRepository\u003c/p\u003e"},"Classes/TransferMethodRepositoryFactory.html":{"name":"TransferMethodRepositoryFactory","abstract":"\u003cp\u003eClass contains methods to get an instance of transfer method repository\u003c/p\u003e"},"Classes/RemoteTransferMethodUpdateConfigurationRepository.html":{"name":"RemoteTransferMethodUpdateConfigurationRepository","abstract":"\u003cp\u003eRemoteTransferMethodUpdateConfigurationRepository\u003c/p\u003e"},"Classes/SelectTransferMethodTypeCoordinator.html":{"name":"SelectTransferMethodTypeCoordinator","abstract":"\u003cp\u003eCoordinator class for SelectTransferMethodType\u003c/p\u003e"},"Classes/AddTransferMethodCoordinator.html":{"name":"AddTransferMethodCoordinator","abstract":"\u003cp\u003eCoordinator class for AddTransferMethod\u003c/p\u003e"},"Classes/ListTransferMethodsCoordinator.html":{"name":"ListTransferMethodsCoordinator","abstract":"\u003cp\u003eCoordinator class for ListTransferMethods\u003c/p\u003e"},"Classes/UpdateTransferMethodCoordinator.html":{"name":"UpdateTransferMethodCoordinator","abstract":"\u003cp\u003eCoordinator class for UpdateTransferMethod\u003c/p\u003e"},"Classes/GenericCell.html":{"name":"GenericCell","abstract":"\u003cp\u003eThe tableview cell\u003c/p\u003e"},"Classes/GenericController.html":{"name":"GenericController","abstract":"\u003cp\u003eGeneric Controller\u003c/p\u003e"},"Classes/HyperwalletBundle.html":{"name":"HyperwalletBundle","abstract":"\u003cp\u003eHyperwallet Bundle\u003c/p\u003e"},"Classes/HyperwalletIcon.html":{"name":"HyperwalletIcon","abstract":"\u003cp\u003eThe HyperwalletIcon class\u003c/p\u003e"},"Classes/SpinnerView.html":{"name":"SpinnerView","abstract":"\u003cp\u003eRepresents Spinner view to be embedded on a view\u003c/p\u003e"},"Classes/Theme.html":{"name":"Theme","abstract":"\u003cp\u003eThe \u003ccode\u003eTheme\u003c/code\u003e is used customize all visual style provided by Hyperwallet UI SDK."},"Classes/HyperwalletCoordinatorFactory.html":{"name":"HyperwalletCoordinatorFactory","abstract":"\u003cp\u003eClass responsible for deciding the coordinator required\u003c/p\u003e"},"Classes/HyperwalletInsights.html":{"name":"HyperwalletInsights","abstract":"\u003cp\u003eClass responsible for initializing the Insights module."},"Classes/ErrorInfoBuilder.html":{"name":"ErrorInfoBuilder","abstract":"\u003cp\u003eA helper class to build the \u003ccode\u003eErrorInfo\u003c/code\u003e instance.\u003c/p\u003e"},"Classes/ErrorView.html":{"name":"ErrorView","abstract":"\u003cp\u003eThe class to handle UI errors\u003c/p\u003e"},"Classes/PasteOnlyTextField.html":{"name":"PasteOnlyTextField","abstract":"\u003cp\u003eTo perform paste action in UITextField\u003c/p\u003e"},"Classes/AmountTextField.html":{"name":"AmountTextField"},"Classes/ProcessingView.html":{"name":"ProcessingView","abstract":"\u003cp\u003eThe processing view\u003c/p\u003e"},"Classes/RemotePrepaidCardReceiptRepository.html":{"name":"RemotePrepaidCardReceiptRepository","abstract":"\u003cp\u003ePrepaid card receipt repository\u003c/p\u003e"},"Classes/ReceiptRepositoryFactory.html":{"name":"ReceiptRepositoryFactory","abstract":"\u003cp\u003eReceipt Repository Factory\u003c/p\u003e"},"Classes/RemoteUserReceiptRepository.html":{"name":"RemoteUserReceiptRepository","abstract":"\u003cp\u003eUser receipt repository\u003c/p\u003e"},"Classes/ListReceiptCoordinator.html":{"name":"ListReceiptCoordinator","abstract":"\u003cp\u003eCoordinator class for ListReceipt\u003c/p\u003e"},"changelog.html":{"name":"CHANGELOG"},"readme.html":{"name":"README"},"Guides.html":{"name":"Guides","abstract":"\u003cp\u003eThe following guides are available globally.\u003c/p\u003e"},"Classes.html":{"name":"Classes","abstract":"\u003cp\u003eThe following classes are available globally.\u003c/p\u003e"},"Enums.html":{"name":"Enumerations","abstract":"\u003cp\u003eThe following enumerations are available globally.\u003c/p\u003e"},"Extensions.html":{"name":"Extensions","abstract":"\u003cp\u003eThe following extensions are available globally.\u003c/p\u003e"},"Protocols.html":{"name":"Protocols","abstract":"\u003cp\u003eThe following protocols are available globally.\u003c/p\u003e"},"Structs.html":{"name":"Structures","abstract":"\u003cp\u003eThe following structures are available globally.\u003c/p\u003e"}} \ No newline at end of file diff --git a/undocumented.json b/undocumented.json new file mode 100644 index 000000000..f54aff586 --- /dev/null +++ b/undocumented.json @@ -0,0 +1,6 @@ +{ + "warnings": [ + + ], + "source_directory": "/Users/runner/work/hyperwallet-ios-ui-sdk/hyperwallet-ios-ui-sdk" +} \ No newline at end of file