Class AccountIntegration.Builder
- java.lang.Object
-
- com.merge.api.resources.hris.types.AccountIntegration.Builder
-
- All Implemented Interfaces:
AccountIntegration._FinalStage,AccountIntegration.NameStage
- Enclosing class:
- AccountIntegration
public static final class AccountIntegration.Builder extends java.lang.Object implements AccountIntegration.NameStage, AccountIntegration._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountIntegration._FinalStageabbreviatedName(java.lang.String abbreviatedName)Optional.AccountIntegration._FinalStageabbreviatedName(java.util.Optional<java.lang.String> abbreviatedName)AccountIntegration._FinalStageapiEndpointsToDocumentationUrls(java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> apiEndpointsToDocumentationUrls)Mapping of API endpoints to documentation urls for support.AccountIntegration._FinalStageapiEndpointsToDocumentationUrls(java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> apiEndpointsToDocumentationUrls)AccountIntegrationbuild()AccountIntegration._FinalStagecategories(java.util.List<CategoriesEnum> categories)Category or categories this integration belongs to.AccountIntegration._FinalStagecategories(java.util.Optional<java.util.List<CategoriesEnum>> categories)AccountIntegration._FinalStagecategoryBetaStatus(java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> categoryBetaStatus)Category or categories this integration is in beta status for.AccountIntegration._FinalStagecategoryBetaStatus(java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> categoryBetaStatus)AccountIntegration._FinalStagecolor(java.lang.String color)The color of this integration used for buttons and text throughout the app and landing pages.AccountIntegration._FinalStagecolor(java.util.Optional<java.lang.String> color)AccountIntegration.Builderfrom(AccountIntegration other)AccountIntegration._FinalStageimage(java.lang.String image)Company logo in rectangular shape.AccountIntegration._FinalStageimage(java.util.Optional<java.lang.String> image)AccountIntegration._FinalStagename(java.lang.String name)Company name.AccountIntegration._FinalStageslug(java.lang.String slug)AccountIntegration._FinalStageslug(java.util.Optional<java.lang.String> slug)AccountIntegration._FinalStagesquareImage(java.lang.String squareImage)Company logo in square shape.AccountIntegration._FinalStagesquareImage(java.util.Optional<java.lang.String> squareImage)AccountIntegration._FinalStagewebhookSetupGuideUrl(java.lang.String webhookSetupGuideUrl)Setup guide URL for third party webhook creation.AccountIntegration._FinalStagewebhookSetupGuideUrl(java.util.Optional<java.lang.String> webhookSetupGuideUrl)
-
-
-
Method Detail
-
from
public AccountIntegration.Builder from(AccountIntegration other)
- Specified by:
fromin interfaceAccountIntegration.NameStage
-
name
public AccountIntegration._FinalStage name(java.lang.String name)
Company name.
- Specified by:
namein interfaceAccountIntegration.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
categoryBetaStatus
public AccountIntegration._FinalStage categoryBetaStatus(java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> categoryBetaStatus)
Category or categories this integration is in beta status for.
- Specified by:
categoryBetaStatusin interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
categoryBetaStatus
public AccountIntegration._FinalStage categoryBetaStatus(java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> categoryBetaStatus)
- Specified by:
categoryBetaStatusin interfaceAccountIntegration._FinalStage
-
webhookSetupGuideUrl
public AccountIntegration._FinalStage webhookSetupGuideUrl(java.lang.String webhookSetupGuideUrl)
Setup guide URL for third party webhook creation. Exposed in Merge Docs.
- Specified by:
webhookSetupGuideUrlin interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
webhookSetupGuideUrl
public AccountIntegration._FinalStage webhookSetupGuideUrl(java.util.Optional<java.lang.String> webhookSetupGuideUrl)
- Specified by:
webhookSetupGuideUrlin interfaceAccountIntegration._FinalStage
-
apiEndpointsToDocumentationUrls
public AccountIntegration._FinalStage apiEndpointsToDocumentationUrls(java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> apiEndpointsToDocumentationUrls)
Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []}
- Specified by:
apiEndpointsToDocumentationUrlsin interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
apiEndpointsToDocumentationUrls
public AccountIntegration._FinalStage apiEndpointsToDocumentationUrls(java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> apiEndpointsToDocumentationUrls)
- Specified by:
apiEndpointsToDocumentationUrlsin interfaceAccountIntegration._FinalStage
-
slug
public AccountIntegration._FinalStage slug(java.lang.String slug)
- Specified by:
slugin interfaceAccountIntegration._FinalStage
-
slug
public AccountIntegration._FinalStage slug(java.util.Optional<java.lang.String> slug)
- Specified by:
slugin interfaceAccountIntegration._FinalStage
-
color
public AccountIntegration._FinalStage color(java.lang.String color)
The color of this integration used for buttons and text throughout the app and landing pages. <b>Choose a darker, saturated color.</b>
- Specified by:
colorin interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
color
public AccountIntegration._FinalStage color(java.util.Optional<java.lang.String> color)
- Specified by:
colorin interfaceAccountIntegration._FinalStage
-
squareImage
public AccountIntegration._FinalStage squareImage(java.lang.String squareImage)
Company logo in square shape.
- Specified by:
squareImagein interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
squareImage
public AccountIntegration._FinalStage squareImage(java.util.Optional<java.lang.String> squareImage)
- Specified by:
squareImagein interfaceAccountIntegration._FinalStage
-
image
public AccountIntegration._FinalStage image(java.lang.String image)
Company logo in rectangular shape.
- Specified by:
imagein interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
image
public AccountIntegration._FinalStage image(java.util.Optional<java.lang.String> image)
- Specified by:
imagein interfaceAccountIntegration._FinalStage
-
categories
public AccountIntegration._FinalStage categories(java.util.List<CategoriesEnum> categories)
Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris].
- Specified by:
categoriesin interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
categories
public AccountIntegration._FinalStage categories(java.util.Optional<java.util.List<CategoriesEnum>> categories)
- Specified by:
categoriesin interfaceAccountIntegration._FinalStage
-
abbreviatedName
public AccountIntegration._FinalStage abbreviatedName(java.lang.String abbreviatedName)
Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).<br><br>Example: <i>Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors)</i>
- Specified by:
abbreviatedNamein interfaceAccountIntegration._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
abbreviatedName
public AccountIntegration._FinalStage abbreviatedName(java.util.Optional<java.lang.String> abbreviatedName)
- Specified by:
abbreviatedNamein interfaceAccountIntegration._FinalStage
-
build
public AccountIntegration build()
- Specified by:
buildin interfaceAccountIntegration._FinalStage
-
-