Class AccountLinkingItem

java.lang.Object
com.restfb.types.webhook.messaging.AccountLinkingItem
All Implemented Interfaces:
InnerMessagingItem

public class AccountLinkingItem
extends Object
implements InnerMessagingItem
  • Field Details

  • Constructor Details

  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getStatus

      public String getStatus()
      linked or unlinked
    • setStatus

      public void setStatus​(String status)
      linked or unlinked
    • getAuthorizationCode

      Value of pass-through authorization_code provided in the Linking Account flow
    • setAuthorizationCode

      public void setAuthorizationCode​(String authorizationCode)
      Value of pass-through authorization_code provided in the Linking Account flow