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 WhatsAppContactVerificationRequestpayloadprotected WhatsAppJmsExternalConversationSystemAdapterwhatsAppJmsExternalConversationSystemAdapter
-
Constructor Summary
Constructors Constructor Description WhatsAppContactVerificationQueryImpl(WhatsAppJmsExternalConversationSystemAdapter whatsAppJmsExternalConversationSystemAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhatsAppContactVerificationQuerybusinessAccountId(String accountId)The id of the business account that should be used when verifying the contact.WhatsAppContactVerificationQuerycontact(String contact)The contact that should be verified.WhatsAppContactVerificationQuerycontacts(Collection<String> contacts)The contacts that should be verified.WhatsAppContactVerificationQueryreferenceId(String referenceId)The reference id for the verification.WhatsAppContactVerificationQueryreferenceSubType(String referenceSubType)The sub type of the reference id.WhatsAppContactVerificationQueryreferenceType(String referenceType)The type of the reference id.voidverify()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:WhatsAppContactVerificationQueryThe contact that should be verified.- Specified by:
contactin interfaceWhatsAppContactVerificationQuery
-
contacts
public WhatsAppContactVerificationQuery contacts(Collection<String> contacts)
Description copied from interface:WhatsAppContactVerificationQueryThe contacts that should be verified.- Specified by:
contactsin interfaceWhatsAppContactVerificationQuery
-
businessAccountId
public WhatsAppContactVerificationQuery businessAccountId(String accountId)
Description copied from interface:WhatsAppContactVerificationQueryThe id of the business account that should be used when verifying the contact.- Specified by:
businessAccountIdin interfaceWhatsAppContactVerificationQuery
-
referenceId
public WhatsAppContactVerificationQuery referenceId(String referenceId)
Description copied from interface:WhatsAppContactVerificationQueryThe reference id for the verification. This would be used when the reply comes from WhatsApp asynchronously.- Specified by:
referenceIdin interfaceWhatsAppContactVerificationQuery
-
referenceType
public WhatsAppContactVerificationQuery referenceType(String referenceType)
Description copied from interface:WhatsAppContactVerificationQueryThe type of the reference id.- Specified by:
referenceTypein interfaceWhatsAppContactVerificationQuery
-
referenceSubType
public WhatsAppContactVerificationQuery referenceSubType(String referenceSubType)
Description copied from interface:WhatsAppContactVerificationQueryThe sub type of the reference id.- Specified by:
referenceSubTypein interfaceWhatsAppContactVerificationQuery
-
verify
public void verify()
Description copied from interface:WhatsAppContactVerificationQueryPerform the contact verification.- Specified by:
verifyin interfaceWhatsAppContactVerificationQuery
-
-