Skip to content

Instantly share code, notes, and snippets.

@malcolmjc
Created May 10, 2021 20:39
Show Gist options
  • Save malcolmjc/9767363981067c7acfc7cbe0f7ec609e to your computer and use it in GitHub Desktop.
Save malcolmjc/9767363981067c7acfc7cbe0f7ec609e to your computer and use it in GitHub Desktop.
class ExternalAccountLinkHelper {
SyncStatus createLink(...)
SyncStatus lockForSync(...)
List<ExternalAccountLinkStatusView> getExternalAccountLinkStatus(...)
LinkActionableState getLinkActionableState()
boolean isSyncInProcess(...)
VendorSpecificHelper getSpecificHelper(...)
Option<Class<? extends VendorSpecificHelper>> getSpecificHelperClass(...)
ExternalAccountLinkFormFactory getFormFactoryForVendor(...)
static class SyncStatus { ... }
static Predicate<Exception> retryingExceptionsPredicate()
void setSyncState(...)
void setSyncComplete(...)
void setSyncGatewayTimeout(...)
void setSyncServiceUnavailable(...)
void setSyncInternalServerError(...)
void setSyncErrored(...)
void setLinkDeleted(...)
void setLinkStatus(...)
boolean confirmLinkDeleted(...)
ExternalAccountLinkDetails getLinkDetails(...)
Option<String> getLinkIdentifier(...)
RequestLinkResponse toRequestLinkResponse(...)
boolean waitForSyncedLink(...)
Id<ExternalAccountLink> getInternalId(...)
ExternalId<ExternalAccountLink> getExternalId(...)
ExternalId<ExternalAccountLink> getExternalId(...)
IdExternalizer<ExternalAccountLink> getLinkIdExternalizer()
Collection<ExternalAccountLink> dedupeExternalAccountLinks(...)
InstitutionLinkingDetails getInstitutionLinkingDetails(...)
int getDaysInDegradedStateForInstitution(...)
List<ExternalAccountLinkStatusView> getAllExternalAccountLinkStatus(...)
static List<ExternalAccountLinkStatusView> sortExternalAccountLinks(...)
static boolean includeLink(...)
ExternalAccountLinkStatusDetails getStatusDetailsWithMessageWithDefaults(...)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment