Class WhatsAppContactVerificationQueryImpl
java.lang.Object
com.flowable.engage.external.system.whatsapp.WhatsAppContactVerificationQueryImpl
- All Implemented Interfaces:
WhatsAppContactVerificationQuery
public class WhatsAppContactVerificationQueryImpl
extends Object
implements WhatsAppContactVerificationQuery
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WhatsAppContactVerificationRequest
protected final WhatsAppJmsExternalConversationSystemAdapter
-
Constructor Summary
ConstructorsConstructorDescriptionWhatsAppContactVerificationQueryImpl
(WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter) -
Method Summary
Modifier and TypeMethodDescriptionbusinessAccountId
(String accountId) The id of the business account that should be used when verifying the contact.The contact that should be verified.contacts
(Collection<String> contacts) The contacts that should be verified.referenceId
(String referenceId) The reference id for the verification.referenceSubType
(String referenceSubType) The sub type of the reference id.referenceType
(String referenceType) The type of the reference id.void
verify()
Perform the contact verification.
-
Field Details
-
whatsAppJmsExternalConversationSystemAdapter
protected final WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter -
payload
-
-
Constructor Details
-
WhatsAppContactVerificationQueryImpl
public WhatsAppContactVerificationQueryImpl(WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter)
-
-
Method Details
-
contact
Description copied from interface:WhatsAppContactVerificationQuery
The contact that should be verified.- Specified by:
contact
in interfaceWhatsAppContactVerificationQuery
-
contacts
Description copied from interface:WhatsAppContactVerificationQuery
The contacts that should be verified.- Specified by:
contacts
in interfaceWhatsAppContactVerificationQuery
-
businessAccountId
Description copied from interface:WhatsAppContactVerificationQuery
The id of the business account that should be used when verifying the contact.- Specified by:
businessAccountId
in interfaceWhatsAppContactVerificationQuery
-
referenceId
Description copied from interface:WhatsAppContactVerificationQuery
The reference id for the verification. This would be used when the reply comes from WhatsApp asynchronously.- Specified by:
referenceId
in interfaceWhatsAppContactVerificationQuery
-
referenceType
Description copied from interface:WhatsAppContactVerificationQuery
The type of the reference id.- Specified by:
referenceType
in interfaceWhatsAppContactVerificationQuery
-
referenceSubType
Description copied from interface:WhatsAppContactVerificationQuery
The sub type of the reference id.- Specified by:
referenceSubType
in interfaceWhatsAppContactVerificationQuery
-
verify
public void verify()Description copied from interface:WhatsAppContactVerificationQuery
Perform the contact verification.- Specified by:
verify
in interfaceWhatsAppContactVerificationQuery
-