Class AccountLinkingItem
- java.lang.Object
-
- com.restfb.types.webhook.messaging.AccountLinkingItem
-
- All Implemented Interfaces:
InnerMessagingItem
public class AccountLinkingItem extends Object implements InnerMessagingItem
-
-
Constructor Summary
Constructors Constructor Description AccountLinkingItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthorizationCode()
Value of pass-throughauthorization_code
provided in the Linking Account flowString
getStatus()
linked
orunlinked
boolean
isLinked()
convenience method to check the status of the account linkingboolean
isUnlinked()
convenience method to check the status of the account linkingvoid
setAuthorizationCode(String authorizationCode)
Value of pass-throughauthorization_code
provided in the Linking Account flowvoid
setStatus(String status)
linked
orunlinked
String
toString()
-
-
-
Field Detail
-
LINKED
public static final String LINKED
The "linked" account linking status.- See Also:
- Constant Field Values
-
UNLINKED
public static final String UNLINKED
The "unlinked" account linking status.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AccountLinkingItem
public AccountLinkingItem()
-
-
Method Detail
-
isLinked
public boolean isLinked()
convenience method to check the status of the account linking- Returns:
true
if linked,false
if unlinked
-
isUnlinked
public boolean isUnlinked()
convenience method to check the status of the account linking- Returns:
true
if unlinked,false
if linked
-
getAuthorizationCode
public String getAuthorizationCode()
Value of pass-throughauthorization_code
provided in the Linking Account flow
-
setAuthorizationCode
public void setAuthorizationCode(String authorizationCode)
Value of pass-throughauthorization_code
provided in the Linking Account flow
-
-