Class WhatsAppContactVerificationQueryImpl
java.lang.Object
com.flowable.engage.external.system.whatsapp.WhatsAppContactVerificationQueryImpl
- All Implemented Interfaces:
WhatsAppContactVerificationQuery
public class WhatsAppContactVerificationQueryImpl extends java.lang.Object implements WhatsAppContactVerificationQuery
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected WhatsAppContactVerificationRequest
payload
protected WhatsAppJmsExternalConversationSystemAdapter
whatsAppJmsExternalConversationSystemAdapter
-
Constructor Summary
Constructors Constructor Description WhatsAppContactVerificationQueryImpl(WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter)
-
Method Summary
Modifier and Type Method Description WhatsAppContactVerificationQuery
businessAccountId(java.lang.String accountId)
The id of the business account that should be used when verifying the contact.WhatsAppContactVerificationQuery
contact(java.lang.String contact)
The contact that should be verified.WhatsAppContactVerificationQuery
contacts(java.util.Collection<java.lang.String> contacts)
The contacts that should be verified.WhatsAppContactVerificationQuery
referenceId(java.lang.String referenceId)
The reference id for the verification.WhatsAppContactVerificationQuery
referenceSubType(java.lang.String referenceSubType)
The sub type of the reference id.WhatsAppContactVerificationQuery
referenceType(java.lang.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
-