ReceiptRepositoryFactory
public final class ReceiptRepositoryFactory
Receipt Repository Factory
-
Returns the previously initialized instance of the ReceiptRepositoryFactory object
Declaration
Swift
public static var shared: ReceiptRepositoryFactory { get }
-
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