Class Whatsapp

    • Field Detail

      • JSON_PROPERTY_TYPE

        public static final java.lang.String JSON_PROPERTY_TYPE
        See Also:
        Constant Field Values
      • type

        protected java.lang.String type
      • JSON_PROPERTY_DEPLOYMENT_ID

        public static final java.lang.String JSON_PROPERTY_DEPLOYMENT_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_HSM_FALLBACK_LANGUAGE

        public static final java.lang.String JSON_PROPERTY_HSM_FALLBACK_LANGUAGE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_ACCOUNT_ID

        public static final java.lang.String JSON_PROPERTY_ACCOUNT_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_ACCOUNT_MANAGEMENT_ACCESS_TOKEN

        public static final java.lang.String JSON_PROPERTY_ACCOUNT_MANAGEMENT_ACCESS_TOKEN
        See Also:
        Constant Field Values
      • JSON_PROPERTY_PHONE_NUMBER

        public static final java.lang.String JSON_PROPERTY_PHONE_NUMBER
        See Also:
        Constant Field Values
      • JSON_PROPERTY_DEFAULT_RESPONDER_ID

        public static final java.lang.String JSON_PROPERTY_DEFAULT_RESPONDER_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_DEFAULT_RESPONDER

        public static final java.lang.String JSON_PROPERTY_DEFAULT_RESPONDER
        See Also:
        Constant Field Values
    • Constructor Detail

      • Whatsapp

        public Whatsapp()
    • Method Detail

      • getType

        @Nullable
        public java.lang.String getType()
        To configure a WhatsApp integration, use your WhatsApp API Client connection information. Sunshine Conversations can provide WhatsApp API Client hosting for approved brands. See our [WhatsApp guide](https://docs.smooch.io/guide/whatsapp/#whatsapp-api-client) for more details on WhatsApp API Client hosting.
        Overrides:
        getType in class Integration
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
        Overrides:
        setType in class Integration
      • deploymentId

        public Whatsapp deploymentId​(java.lang.String deploymentId)
      • getDeploymentId

        public java.lang.String getDeploymentId()
        The Id of the deployment. The integrationId and the appId will be added to the deployment. Additionally, the deployment’s status will be set to integrated.
        Returns:
        deploymentId
      • setDeploymentId

        public void setDeploymentId​(java.lang.String deploymentId)
      • hsmFallbackLanguage

        public Whatsapp hsmFallbackLanguage​(java.lang.String hsmFallbackLanguage)
      • getHsmFallbackLanguage

        @Nullable
        public java.lang.String getHsmFallbackLanguage()
        Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info.
        Returns:
        hsmFallbackLanguage
      • getHsmFallbackLanguage_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getHsmFallbackLanguage_JsonNullable()
      • setHsmFallbackLanguage_JsonNullable

        public void setHsmFallbackLanguage_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> hsmFallbackLanguage)
      • setHsmFallbackLanguage

        public void setHsmFallbackLanguage​(java.lang.String hsmFallbackLanguage)
      • accountId

        public Whatsapp accountId​(java.lang.String accountId)
      • getAccountId

        @Nullable
        public java.lang.String getAccountId()
        The business ID associated with the WhatsApp account. In combination with accountManagementAccessToken, it’s used for Message Template Reconstruction.
        Returns:
        accountId
      • getAccountId_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getAccountId_JsonNullable()
      • setAccountId_JsonNullable

        public void setAccountId_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)
      • setAccountId

        public void setAccountId​(java.lang.String accountId)
      • accountManagementAccessToken

        public Whatsapp accountManagementAccessToken​(java.lang.String accountManagementAccessToken)
      • getAccountManagementAccessToken

        @Nullable
        public java.lang.String getAccountManagementAccessToken()
        An access token associated with the accountId used to query the WhatsApp Account Management API. In combination with accountId, it’s used for Message Template Reconstruction.
        Returns:
        accountManagementAccessToken
      • getAccountManagementAccessToken_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getAccountManagementAccessToken_JsonNullable()
      • setAccountManagementAccessToken_JsonNullable

        public void setAccountManagementAccessToken_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountManagementAccessToken)
      • setAccountManagementAccessToken

        public void setAccountManagementAccessToken​(java.lang.String accountManagementAccessToken)
      • getPhoneNumber

        @Nullable
        public java.lang.String getPhoneNumber()
        The phone number that is associated with the deployment of this integration, if one exists.
        Returns:
        phoneNumber
      • getPhoneNumber_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getPhoneNumber_JsonNullable()
      • defaultResponderId

        public Whatsapp defaultResponderId​(java.lang.String defaultResponderId)
      • getDefaultResponderId

        @Nullable
        public java.lang.String getDefaultResponderId()
        The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
        Returns:
        defaultResponderId
      • getDefaultResponderId_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getDefaultResponderId_JsonNullable()
      • setDefaultResponderId_JsonNullable

        public void setDefaultResponderId_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> defaultResponderId)
      • setDefaultResponderId

        public void setDefaultResponderId​(java.lang.String defaultResponderId)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Integration