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
public class WhatsAppBusinessAccount extends NamedFacebookType
Represents the WhatsApp Business Account type- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description WhatsAppBusinessAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccountReviewStatus()
Status from account review processWABAAnalytics
getAnalytics()
Analytics data of the WhatsApp Business AccountString
getCurrency()
The currency in which the payment transactions for the WhatsApp Business Account will be processedBoolean
getEligibleForSendingNotifications()
Whether or not the WhatsApp Business Account is eligible for sending notificationsString
getIneligibleForSendingNotificationsReason()
The reason why the WhatsApp Business Account is ineligible for delivery This field will be null when theeligible_for_sending_notifications
field is falseString
getMessageTemplateNamespace()
Namespace string for the message templates that belong to the WhatsApp Business AccountWABAOnBehalfOfComputedInfo
getOnBehalfOfBusinessInfo()
The "on behalf of" information for the WhatsApp Business AccountString
getPrimaryFundingId()
Primary funding ID for the WhatsApp Business Account paid serviceString
getPurchaseOrderNumber()
The purchase order number supplied by the business for payment management purposesString
getStatus()
Status of the WhatsApp Business Account.String
getTimezoneId()
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
setStatus(String status)
Status of the WhatsApp Business Account.void
setTimezoneId(String timezoneId)
The timezone of the WhatsApp Business Account-
Methods 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 Detail
-
WhatsAppBusinessAccount
public WhatsAppBusinessAccount()
-
-
Method Detail
-
getAccountReviewStatus
public String getAccountReviewStatus()
Status from account review process
-
setAccountReviewStatus
public void setAccountReviewStatus(String accountReviewStatus)
Status from account review process
-
getAnalytics
public WABAAnalytics getAnalytics()
Analytics data of the WhatsApp Business Account
-
setAnalytics
public void setAnalytics(WABAAnalytics analytics)
Analytics data of the WhatsApp Business Account
-
getCurrency
public String getCurrency()
The currency in which the payment transactions for the WhatsApp Business Account will be processed
-
setCurrency
public void setCurrency(String currency)
The currency in which the payment transactions for the WhatsApp Business Account will be processed
-
getEligibleForSendingNotifications
public Boolean getEligibleForSendingNotifications()
Whether or not the WhatsApp Business Account is eligible for sending notifications
-
setEligibleForSendingNotifications
public void setEligibleForSendingNotifications(Boolean eligibleForSendingNotifications)
Whether or not the WhatsApp Business Account is eligible for sending notifications
-
getIneligibleForSendingNotificationsReason
public String 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
public String getMessageTemplateNamespace()
Namespace string for the message templates that belong to the WhatsApp Business Account
-
setMessageTemplateNamespace
public void setMessageTemplateNamespace(String messageTemplateNamespace)
Namespace string for the message templates that belong to the WhatsApp Business Account
-
getOnBehalfOfBusinessInfo
public WABAOnBehalfOfComputedInfo getOnBehalfOfBusinessInfo()
The "on behalf of" information for the WhatsApp Business Account
-
setOnBehalfOfBusinessInfo
public void setOnBehalfOfBusinessInfo(WABAOnBehalfOfComputedInfo onBehalfOfBusinessInfo)
The "on behalf of" information for the WhatsApp Business Account
-
getPrimaryFundingId
public String getPrimaryFundingId()
Primary funding ID for the WhatsApp Business Account paid service
-
setPrimaryFundingId
public void setPrimaryFundingId(String primaryFundingId)
Primary funding ID for the WhatsApp Business Account paid service
-
getPurchaseOrderNumber
public String getPurchaseOrderNumber()
The purchase order number supplied by the business for payment management purposes
-
setPurchaseOrderNumber
public void setPurchaseOrderNumber(String purchaseOrderNumber)
The purchase order number supplied by the business for payment management purposes
-
setStatus
public void setStatus(String status)
Status of the WhatsApp Business Account. Default: ACTIVE
-
getTimezoneId
public String getTimezoneId()
The timezone of the WhatsApp Business Account
-
setTimezoneId
public void setTimezoneId(String timezoneId)
The timezone of the WhatsApp Business Account
-
-