Class PageCallToAction

All Implemented Interfaces:
HasCreatedTime, Serializable

public class PageCallToAction
extends FacebookType
implements HasCreatedTime
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getAndroidApp

      App that stores the destination info on Android.
      Returns:
      App that stores the destination info on Android
    • setAndroidApp

      public void setAndroidApp​(Application androidApp)
      App that stores the destination info on Android.
    • getCreatedTime

      public Date getCreatedTime()
      Time when the call-to-action was created.
      Specified by:
      getCreatedTime in interface HasCreatedTime
      Returns:
      Time when the call-to-action was created
    • setCreatedTime

      public void setCreatedTime​(Date createdTime)
      Time when the call-to-action was created.
    • getEmailAddress

      Email address that can be contacted by a user.
      Returns:
      Email address that can be contacted by a user
    • setEmailAddress

      public void setEmailAddress​(String emailAddress)
      Email address that can be contacted by a user.
    • getFrom

      public Page getFrom()
      Page that owns the call-to-action.
      Returns:
      Page that owns the call-to-action
    • setFrom

      public void setFrom​(Page from)
      Page that owns the call-to-action.
    • getIphoneApp

      App that stores the destination info on iPhone.
      Returns:
      App that stores the destination info on iPhone
    • setIphoneApp

      public void setIphoneApp​(Application iphoneApp)
      App that stores the destination info on iPhone.
    • getIphoneDeeplink

      Destination deeplink for the call-to-action on iPhone.
      Returns:
      Destination deeplink for the call-to-action on iPhone
    • setIphoneDeeplink

      public void setIphoneDeeplink​(String iphoneDeeplink)
      Destination deeplink for the call-to-action on iPhone.
    • getIphoneUrl

      public String getIphoneUrl()
      Destination url for the call-to-action on iPhone.
      Returns:
      Destination url for the call-to-action on iPhone
    • setIphoneUrl

      public void setIphoneUrl​(String iphoneUrl)
      Destination url for the call-to-action on iPhone.
    • getStatus

      public String getStatus()
      Current running status of this action.
      Returns:
      Current running status of this action
    • setStatus

      public void setStatus​(String status)
      Current running status of this action.
    • getUpdatedTime

      public Date getUpdatedTime()
      Time when the call-to-action was last updated.
      Returns:
      Time when the call-to-action was last updated
    • setUpdatedTime

      public void setUpdatedTime​(Date updatedTime)
      Time when the call-to-action was last updated.
    • getWebDestinationType

      Destination type for the call-to-action on desktop.

      Default value: NONE

      may be: WEBSITE, MESSENGER, NONE

    • setWebDestinationType

      public void setWebDestinationType​(String webDestinationType)
      Destination type for the call-to-action on desktop.

      Default value: NONE

      may be: WEBSITE, MESSENGER, NONE

    • getAndroidDestinationType

      Destination type for the call-to-action on Android.

      Default value: NONE

      may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE

    • setAndroidDestinationType

      public void setAndroidDestinationType​(String androidDestinationType)
      Destination type for the call-to-action on Android.

      Default value: NONE

      may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE

    • getIphoneDestinationType

      Destination type for the call-to-action on iPhone.

      Default value: NONE

      may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE

    • setIphoneDestinationType

      public void setIphoneDestinationType​(String iphoneDestinationType)
      Destination type for the call-to-action on iPhone.

      Default value: NONE

      may be: WEBSITE, APP_DEEPLINK, FACEBOOK_APP, PHONE_CALL, MESSENGER, NONE

    • getIntlNumberWithPlus

      International phone number with plus that can be called through a phone
    • setIntlNumberWithPlus

      public void setIntlNumberWithPlus​(String intlNumberWithPlus)
      International phone number with plus that can be called through a phone
    • getWebUrl

      public String getWebUrl()
      Destination url for the call-to-action on desktop
    • setWebUrl

      public void setWebUrl​(String webUrl)
      Destination url for the call-to-action on desktop
    • getAndroidAppId

      ID of the App that stores the destination info on Android
    • setAndroidAppId

      public void setAndroidAppId​(String androidAppId)
      ID of the App that stores the destination info on Android
    • getAndroidDeeplink

      Destination deeplink for the call-to-action on Android
    • setAndroidDeeplink

      public void setAndroidDeeplink​(String androidDeeplink)
      Destination deeplink for the call-to-action on Android
    • getAndroidPackageName

      Destination app for the call-to-action on Android
    • setAndroidPackageName

      public void setAndroidPackageName​(String androidPackageName)
      Destination app for the call-to-action on Android
    • getAndroidUrl

      Destination url for the call-to-action on Android
    • setAndroidUrl

      public void setAndroidUrl​(String androidUrl)
      Destination url for the call-to-action on Android
    • getIphoneAppId

      ID fo the App that stores the destination info on iPhone
    • setIphoneAppId

      public void setIphoneAppId​(String iphoneAppId)
      ID fo the App that stores the destination info on iPhone