001// Generated by delombok at Thu Aug 13 13:56:44 UTC 2026 002/* 003 * Copyright (c) 2010-2026 Mark Allen, Norbert Bartels. 004 * 005 * Permission is hereby granted, free of charge, to any person obtaining a copy 006 * of this software and associated documentation files (the "Software"), to deal 007 * in the Software without restriction, including without limitation the rights 008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 009 * copies of the Software, and to permit persons to whom the Software is 010 * furnished to do so, subject to the following conditions: 011 * 012 * The above copyright notice and this permission notice shall be included in 013 * all copies or substantial portions of the Software. 014 * 015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 021 * THE SOFTWARE. 022 */ 023package com.restfb.types.whatsapp; 024 025import com.restfb.Facebook; 026import com.restfb.types.NamedFacebookType; 027 028/** 029 * Represents the 030 * <a href="https://developers.facebook.com/docs/graph-api/reference/whats-app-business-account/">WhatsApp Business 031 * Account type </a> 032 */ 033public class WhatsAppBusinessAccount extends NamedFacebookType { 034 private static final long serialVersionUID = 1L; 035 /** 036 * Status from account review process 037 */ 038 @Facebook("account_review_status") 039 private String accountReviewStatus; 040 /** 041 * Analytics data of the WhatsApp Business Account 042 */ 043 @Facebook 044 private WABAAnalytics analytics; 045 /** 046 * The currency in which the payment transactions for the WhatsApp Business Account will be processed 047 */ 048 @Facebook 049 private String currency; 050 /** 051 * Whether or not the WhatsApp Business Account is eligible for sending notifications 052 */ 053 @Facebook("eligible_for_sending_notifications") 054 private Boolean eligibleForSendingNotifications; 055 /** 056 * The reason why the WhatsApp Business Account is ineligible for delivery This field will be null when the 057 * <code>eligible_for_sending_notifications</code> field is false 058 */ 059 @Facebook("ineligible_for_sending_notifications_reason") 060 private String ineligibleForSendingNotificationsReason; 061 /** 062 * Namespace string for the message templates that belong to the WhatsApp Business Account 063 */ 064 @Facebook("message_template_namespace") 065 private String messageTemplateNamespace; 066 /** 067 * The "on behalf of" information for the WhatsApp Business Account 068 */ 069 @Facebook("on_behalf_of_business_info") 070 private WABAOnBehalfOfComputedInfo onBehalfOfBusinessInfo; 071 /** 072 * Primary funding ID for the WhatsApp Business Account paid service 073 */ 074 @Facebook("primary_funding_id") 075 private String primaryFundingId; 076 /** 077 * The purchase order number supplied by the business for payment management purposes 078 */ 079 @Facebook("purchase_order_number") 080 private String purchaseOrderNumber; 081 /** 082 * Status of the WhatsApp Business Account. 083 * 084 * Default: ACTIVE 085 */ 086 @Facebook 087 private String status; 088 /** 089 * The timezone of the WhatsApp Business Account 090 */ 091 @Facebook("timezone_id") 092 private String timezoneId; 093 094 /** 095 * Status from account review process 096 */ 097 @java.lang.SuppressWarnings("all") 098 @lombok.Generated 099 public String getAccountReviewStatus() { 100 return this.accountReviewStatus; 101 } 102 103 /** 104 * Status from account review process 105 */ 106 @java.lang.SuppressWarnings("all") 107 @lombok.Generated 108 public void setAccountReviewStatus(final String accountReviewStatus) { 109 this.accountReviewStatus = accountReviewStatus; 110 } 111 112 /** 113 * Analytics data of the WhatsApp Business Account 114 */ 115 @java.lang.SuppressWarnings("all") 116 @lombok.Generated 117 public WABAAnalytics getAnalytics() { 118 return this.analytics; 119 } 120 121 /** 122 * Analytics data of the WhatsApp Business Account 123 */ 124 @java.lang.SuppressWarnings("all") 125 @lombok.Generated 126 public void setAnalytics(final WABAAnalytics analytics) { 127 this.analytics = analytics; 128 } 129 130 /** 131 * The currency in which the payment transactions for the WhatsApp Business Account will be processed 132 */ 133 @java.lang.SuppressWarnings("all") 134 @lombok.Generated 135 public String getCurrency() { 136 return this.currency; 137 } 138 139 /** 140 * The currency in which the payment transactions for the WhatsApp Business Account will be processed 141 */ 142 @java.lang.SuppressWarnings("all") 143 @lombok.Generated 144 public void setCurrency(final String currency) { 145 this.currency = currency; 146 } 147 148 /** 149 * Whether or not the WhatsApp Business Account is eligible for sending notifications 150 */ 151 @java.lang.SuppressWarnings("all") 152 @lombok.Generated 153 public Boolean getEligibleForSendingNotifications() { 154 return this.eligibleForSendingNotifications; 155 } 156 157 /** 158 * Whether or not the WhatsApp Business Account is eligible for sending notifications 159 */ 160 @java.lang.SuppressWarnings("all") 161 @lombok.Generated 162 public void setEligibleForSendingNotifications(final Boolean eligibleForSendingNotifications) { 163 this.eligibleForSendingNotifications = eligibleForSendingNotifications; 164 } 165 166 /** 167 * The reason why the WhatsApp Business Account is ineligible for delivery This field will be null when the 168 * <code>eligible_for_sending_notifications</code> field is false 169 */ 170 @java.lang.SuppressWarnings("all") 171 @lombok.Generated 172 public String getIneligibleForSendingNotificationsReason() { 173 return this.ineligibleForSendingNotificationsReason; 174 } 175 176 /** 177 * The reason why the WhatsApp Business Account is ineligible for delivery This field will be null when the 178 * <code>eligible_for_sending_notifications</code> field is false 179 */ 180 @java.lang.SuppressWarnings("all") 181 @lombok.Generated 182 public void setIneligibleForSendingNotificationsReason(final String ineligibleForSendingNotificationsReason) { 183 this.ineligibleForSendingNotificationsReason = ineligibleForSendingNotificationsReason; 184 } 185 186 /** 187 * Namespace string for the message templates that belong to the WhatsApp Business Account 188 */ 189 @java.lang.SuppressWarnings("all") 190 @lombok.Generated 191 public String getMessageTemplateNamespace() { 192 return this.messageTemplateNamespace; 193 } 194 195 /** 196 * Namespace string for the message templates that belong to the WhatsApp Business Account 197 */ 198 @java.lang.SuppressWarnings("all") 199 @lombok.Generated 200 public void setMessageTemplateNamespace(final String messageTemplateNamespace) { 201 this.messageTemplateNamespace = messageTemplateNamespace; 202 } 203 204 /** 205 * The "on behalf of" information for the WhatsApp Business Account 206 */ 207 @java.lang.SuppressWarnings("all") 208 @lombok.Generated 209 public WABAOnBehalfOfComputedInfo getOnBehalfOfBusinessInfo() { 210 return this.onBehalfOfBusinessInfo; 211 } 212 213 /** 214 * The "on behalf of" information for the WhatsApp Business Account 215 */ 216 @java.lang.SuppressWarnings("all") 217 @lombok.Generated 218 public void setOnBehalfOfBusinessInfo(final WABAOnBehalfOfComputedInfo onBehalfOfBusinessInfo) { 219 this.onBehalfOfBusinessInfo = onBehalfOfBusinessInfo; 220 } 221 222 /** 223 * Primary funding ID for the WhatsApp Business Account paid service 224 */ 225 @java.lang.SuppressWarnings("all") 226 @lombok.Generated 227 public String getPrimaryFundingId() { 228 return this.primaryFundingId; 229 } 230 231 /** 232 * Primary funding ID for the WhatsApp Business Account paid service 233 */ 234 @java.lang.SuppressWarnings("all") 235 @lombok.Generated 236 public void setPrimaryFundingId(final String primaryFundingId) { 237 this.primaryFundingId = primaryFundingId; 238 } 239 240 /** 241 * The purchase order number supplied by the business for payment management purposes 242 */ 243 @java.lang.SuppressWarnings("all") 244 @lombok.Generated 245 public String getPurchaseOrderNumber() { 246 return this.purchaseOrderNumber; 247 } 248 249 /** 250 * The purchase order number supplied by the business for payment management purposes 251 */ 252 @java.lang.SuppressWarnings("all") 253 @lombok.Generated 254 public void setPurchaseOrderNumber(final String purchaseOrderNumber) { 255 this.purchaseOrderNumber = purchaseOrderNumber; 256 } 257 258 /** 259 * Status of the WhatsApp Business Account. 260 * 261 * Default: ACTIVE 262 */ 263 @java.lang.SuppressWarnings("all") 264 @lombok.Generated 265 public String getStatus() { 266 return this.status; 267 } 268 269 /** 270 * Status of the WhatsApp Business Account. 271 * 272 * Default: ACTIVE 273 */ 274 @java.lang.SuppressWarnings("all") 275 @lombok.Generated 276 public void setStatus(final String status) { 277 this.status = status; 278 } 279 280 /** 281 * The timezone of the WhatsApp Business Account 282 */ 283 @java.lang.SuppressWarnings("all") 284 @lombok.Generated 285 public String getTimezoneId() { 286 return this.timezoneId; 287 } 288 289 /** 290 * The timezone of the WhatsApp Business Account 291 */ 292 @java.lang.SuppressWarnings("all") 293 @lombok.Generated 294 public void setTimezoneId(final String timezoneId) { 295 this.timezoneId = timezoneId; 296 } 297}