Package com.restfb.types.whatsapp
Class WhatsAppBusinessAccount
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.whatsapp.WhatsAppBusinessAccount
- All Implemented Interfaces:
Serializable
Represents the
WhatsApp Business
Account type
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStatus from account review processAnalytics data of the WhatsApp Business AccountThe currency in which the payment transactions for the WhatsApp Business Account will be processedWhether or not the WhatsApp Business Account is eligible for sending notificationsThe reason why the WhatsApp Business Account is ineligible for delivery This field will be null when theeligible_for_sending_notifications
field is falseNamespace string for the message templates that belong to the WhatsApp Business AccountThe "on behalf of" information for the WhatsApp Business AccountPrimary funding ID for the WhatsApp Business Account paid serviceThe purchase order number supplied by the business for payment management purposesStatus of the WhatsApp Business Account.The timezone of the WhatsApp Business Accountvoid
setAccountReviewStatus
(String accountReviewStatus) Status from account review processvoid
setAnalytics
(WABAAnalytics analytics) Analytics data of the WhatsApp Business Accountvoid
setCurrency
(String currency) The currency in which the payment transactions for the WhatsApp Business Account will be processedvoid
setEligibleForSendingNotifications
(Boolean eligibleForSendingNotifications) Whether or not the WhatsApp Business Account is eligible for sending notificationsvoid
setIneligibleForSendingNotificationsReason
(String ineligibleForSendingNotificationsReason) The reason why the WhatsApp Business Account is ineligible for delivery This field will be null when theeligible_for_sending_notifications
field is falsevoid
setMessageTemplateNamespace
(String messageTemplateNamespace) Namespace string for the message templates that belong to the WhatsApp Business Accountvoid
setOnBehalfOfBusinessInfo
(WABAOnBehalfOfComputedInfo onBehalfOfBusinessInfo) The "on behalf of" information for the WhatsApp Business Accountvoid
setPrimaryFundingId
(String primaryFundingId) Primary funding ID for the WhatsApp Business Account paid servicevoid
setPurchaseOrderNumber
(String purchaseOrderNumber) The purchase order number supplied by the business for payment management purposesvoid
Status of the WhatsApp Business Account.void
setTimezoneId
(String timezoneId) The timezone of the WhatsApp Business AccountMethods inherited from class com.restfb.types.NamedFacebookType
getName, setName
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
WhatsAppBusinessAccount
public WhatsAppBusinessAccount()
-
-
Method Details
-
getAccountReviewStatus
Status from account review process -
setAccountReviewStatus
Status from account review process -
getAnalytics
Analytics data of the WhatsApp Business Account -
setAnalytics
Analytics data of the WhatsApp Business Account -
getCurrency
The currency in which the payment transactions for the WhatsApp Business Account will be processed -
setCurrency
The currency in which the payment transactions for the WhatsApp Business Account will be processed -
getEligibleForSendingNotifications
Whether or not the WhatsApp Business Account is eligible for sending notifications -
setEligibleForSendingNotifications
Whether or not the WhatsApp Business Account is eligible for sending notifications -
getIneligibleForSendingNotificationsReason
The reason why the WhatsApp Business Account is ineligible for delivery This field will be null when theeligible_for_sending_notifications
field is false -
setIneligibleForSendingNotificationsReason
public void setIneligibleForSendingNotificationsReason(String ineligibleForSendingNotificationsReason) The reason why the WhatsApp Business Account is ineligible for delivery This field will be null when theeligible_for_sending_notifications
field is false -
getMessageTemplateNamespace
Namespace string for the message templates that belong to the WhatsApp Business Account -
setMessageTemplateNamespace
Namespace string for the message templates that belong to the WhatsApp Business Account -
getOnBehalfOfBusinessInfo
The "on behalf of" information for the WhatsApp Business Account -
setOnBehalfOfBusinessInfo
The "on behalf of" information for the WhatsApp Business Account -
getPrimaryFundingId
Primary funding ID for the WhatsApp Business Account paid service -
setPrimaryFundingId
Primary funding ID for the WhatsApp Business Account paid service -
getPurchaseOrderNumber
The purchase order number supplied by the business for payment management purposes -
setPurchaseOrderNumber
The purchase order number supplied by the business for payment management purposes -
getStatus
Status of the WhatsApp Business Account. Default: ACTIVE -
setStatus
Status of the WhatsApp Business Account. Default: ACTIVE -
getTimezoneId
The timezone of the WhatsApp Business Account -
setTimezoneId
The timezone of the WhatsApp Business Account
-