Package com.restfb.types
Class PageCallToAction
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.PageCallToAction
- All Implemented Interfaces:
HasCreatedTime
,Serializable
Represents the Page Call To
Action type
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionApp that stores the destination info on Android.ID of the App that stores the destination info on AndroidDestination deeplink for the call-to-action on AndroidDestination type for the call-to-action on Android.Destination app for the call-to-action on AndroidDestination url for the call-to-action on AndroidTime when the call-to-action was created.Email address that can be contacted by a user.getFrom()
Page that owns the call-to-action.International phone number with plus that can be called through a phoneApp that stores the destination info on iPhone.ID fo the App that stores the destination info on iPhoneDestination deeplink for the call-to-action on iPhone.Destination type for the call-to-action on iPhone.Destination url for the call-to-action on iPhone.Current running status of this action.Time when the call-to-action was last updated.Destination type for the call-to-action on desktop.Destination url for the call-to-action on desktopvoid
setAndroidApp
(Application androidApp) App that stores the destination info on Android.void
setAndroidAppId
(String androidAppId) ID of the App that stores the destination info on Androidvoid
setAndroidDeeplink
(String androidDeeplink) Destination deeplink for the call-to-action on Androidvoid
setAndroidDestinationType
(String androidDestinationType) Destination type for the call-to-action on Android.void
setAndroidPackageName
(String androidPackageName) Destination app for the call-to-action on Androidvoid
setAndroidUrl
(String androidUrl) Destination url for the call-to-action on Androidvoid
setCreatedTime
(Date createdTime) Time when the call-to-action was created.void
setEmailAddress
(String emailAddress) Email address that can be contacted by a user.void
Page that owns the call-to-action.void
setIntlNumberWithPlus
(String intlNumberWithPlus) International phone number with plus that can be called through a phonevoid
setIphoneApp
(Application iphoneApp) App that stores the destination info on iPhone.void
setIphoneAppId
(String iphoneAppId) ID fo the App that stores the destination info on iPhonevoid
setIphoneDeeplink
(String iphoneDeeplink) Destination deeplink for the call-to-action on iPhone.void
setIphoneDestinationType
(String iphoneDestinationType) Destination type for the call-to-action on iPhone.void
setIphoneUrl
(String iphoneUrl) Destination url for the call-to-action on iPhone.void
Current running status of this action.void
setUpdatedTime
(Date updatedTime) Time when the call-to-action was last updated.void
setWebDestinationType
(String webDestinationType) Destination type for the call-to-action on desktop.void
Destination url for the call-to-action on desktopMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
PageCallToAction
public PageCallToAction()
-
-
Method Details
-
getAndroidApp
App that stores the destination info on Android.- Returns:
- App that stores the destination info on Android
-
setAndroidApp
App that stores the destination info on Android. -
getCreatedTime
Time when the call-to-action was created.- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- Time when the call-to-action was created
-
setCreatedTime
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
Email address that can be contacted by a user. -
getFrom
Page that owns the call-to-action.- Returns:
- Page that owns the call-to-action
-
setFrom
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
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
Destination deeplink for the call-to-action on iPhone. -
getIphoneUrl
Destination url for the call-to-action on iPhone.- Returns:
- Destination url for the call-to-action on iPhone
-
setIphoneUrl
Destination url for the call-to-action on iPhone. -
getStatus
Current running status of this action.- Returns:
- Current running status of this action
-
setStatus
Current running status of this action. -
getUpdatedTime
Time when the call-to-action was last updated.- Returns:
- Time when the call-to-action was last updated
-
setUpdatedTime
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
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
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
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
International phone number with plus that can be called through a phone -
getWebUrl
Destination url for the call-to-action on desktop -
setWebUrl
Destination url for the call-to-action on desktop -
getAndroidAppId
ID of the App that stores the destination info on Android -
setAndroidAppId
ID of the App that stores the destination info on Android -
getAndroidDeeplink
Destination deeplink for the call-to-action on Android -
setAndroidDeeplink
Destination deeplink for the call-to-action on Android -
getAndroidPackageName
Destination app for the call-to-action on Android -
setAndroidPackageName
Destination app for the call-to-action on Android -
getAndroidUrl
Destination url for the call-to-action on Android -
setAndroidUrl
Destination url for the call-to-action on Android -
getIphoneAppId
ID fo the App that stores the destination info on iPhone -
setIphoneAppId
ID fo the App that stores the destination info on iPhone
-