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
Fields Modifier and Type Field Description protected WhatsAppContactVerificationRequest
payload
protected WhatsAppJmsExternalConversationSystemAdapter
whatsAppJmsExternalConversationSystemAdapter
-
Constructor Summary
Constructors Constructor Description WhatsAppContactVerificationQueryImpl(WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhatsAppContactVerificationQuery
businessAccountId(String accountId)
The id of the business account that should be used when verifying the contact.WhatsAppContactVerificationQuery
contact(String contact)
The contact that should be verified.WhatsAppContactVerificationQuery
contacts(Collection<String> contacts)
The contacts that should be verified.WhatsAppContactVerificationQuery
referenceId(String referenceId)
The reference id for the verification.WhatsAppContactVerificationQuery
referenceSubType(String referenceSubType)
The sub type of the reference id.WhatsAppContactVerificationQuery
referenceType(String referenceType)
The type of the reference id.void
verify()
Perform the contact verification.
-
-
-
Field Detail
-
whatsAppJmsExternalConversationSystemAdapter
protected final WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter
-
payload
protected WhatsAppContactVerificationRequest payload
-
-
Constructor Detail
-
WhatsAppContactVerificationQueryImpl
public WhatsAppContactVerificationQueryImpl(WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter)
-
-
Method Detail
-
contact
public WhatsAppContactVerificationQuery contact(String contact)
Description copied from interface:WhatsAppContactVerificationQuery
The contact that should be verified.- Specified by:
contact
in interfaceWhatsAppContactVerificationQuery
-
contacts
public WhatsAppContactVerificationQuery contacts(Collection<String> contacts)
Description copied from interface:WhatsAppContactVerificationQuery
The contacts that should be verified.- Specified by:
contacts
in interfaceWhatsAppContactVerificationQuery
-
businessAccountId
public WhatsAppContactVerificationQuery businessAccountId(String accountId)
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
public WhatsAppContactVerificationQuery referenceId(String 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
public WhatsAppContactVerificationQuery referenceType(String referenceType)
Description copied from interface:WhatsAppContactVerificationQuery
The type of the reference id.- Specified by:
referenceType
in interfaceWhatsAppContactVerificationQuery
-
referenceSubType
public WhatsAppContactVerificationQuery referenceSubType(String 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
-
-