Class PageCallToAction

    • Method Detail

      • getAndroidApp

        public Application 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.
        Returns:
        Time when the call-to-action was created
      • setCreatedTime

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

        public String 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

        public Application 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

        public String 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

        public String 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

        public String 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

        public String 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

        public String 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

        public String 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
      • setAndroidDeeplink

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

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

        public String 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

        public String 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