public class AppLocale extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
AppLocale.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<AppLocale> |
CREATOR |
static JSONifiable.Creator<AppLocale> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
AppLocale()
Constructs a new empty instance.
|
|
AppLocale(AppLocale src)
Constructs a new instance that is a deep copy of the source instance.
|
protected |
AppLocale(boolean noInit)
Constructs a new empty instance.
|
|
AppLocale(JSONObject jsonObject)
Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be
reflected in this instance and vice-versa.
|
|
AppLocale(String json)
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearApp()
Clears the 'app' field, the 'has' method for this field will now return false
|
void |
clearBenefits()
Clears the 'benefits' field, the 'has' method for this field will now return false
|
void |
clearDescription()
Clears the 'description' field, the 'has' method for this field will now return false
|
void |
clearEula()
Clears the 'eula' field, the 'has' method for this field will now return false
|
void |
clearFilenameBanner()
Clears the 'filenameBanner' field, the 'has' method for this field will now return false
|
void |
clearFilenameCover()
Clears the 'filenameCover' field, the 'has' method for this field will now return false
|
void |
clearFilenameIcon()
Clears the 'filenameIcon' field, the 'has' method for this field will now return false
|
void |
clearFilenameIconLarge()
Clears the 'filenameIconLarge' field, the 'has' method for this field will now return false
|
void |
clearFilenameIconSmall()
Clears the 'filenameIconSmall' field, the 'has' method for this field will now return false
|
void |
clearId()
Clears the 'id' field, the 'has' method for this field will now return false
|
void |
clearLinkLabel()
Clears the 'linkLabel' field, the 'has' method for this field will now return false
|
void |
clearLocale()
Clears the 'locale' field, the 'has' method for this field will now return false
|
void |
clearName()
Clears the 'name' field, the 'has' method for this field will now return false
|
void |
clearPrivacyPolicy()
Clears the 'privacyPolicy' field, the 'has' method for this field will now return false
|
void |
clearSmartReceiptText()
Clears the 'smartReceiptText' field, the 'has' method for this field will now return false
|
void |
clearSmartReceiptUrl()
Clears the 'smartReceiptUrl' field, the 'has' method for this field will now return false
|
void |
clearSupportEmail()
Clears the 'supportEmail' field, the 'has' method for this field will now return false
|
void |
clearSupportPhone()
Clears the 'supportPhone' field, the 'has' method for this field will now return false
|
void |
clearSupportPhoneHours()
Clears the 'supportPhoneHours' field, the 'has' method for this field will now return false
|
void |
clearSupportUrl()
Clears the 'supportUrl' field, the 'has' method for this field will now return false
|
void |
clearTagline()
Clears the 'tagline' field, the 'has' method for this field will now return false
|
void |
clearVideoUrl()
Clears the 'videoUrl' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
AppLocale |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
Reference |
getApp()
Reference to app this developer_app_locale belongs to
|
List<String> |
getBenefits()
Brief description about benefits of app
|
String |
getDescription()
App Description
|
String |
getEula() |
String |
getFilenameBanner()
URL to the hero images of the app.
|
String |
getFilenameCover()
URL to the cover images of the app.
|
String |
getFilenameIcon() |
String |
getFilenameIconLarge()
URL to the icon of the app.
|
String |
getFilenameIconSmall()
URL to the icon of the app.
|
protected GenericClient |
getGenericClient() |
String |
getId() |
JSONObject |
getJSONObject()
Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be
reflected in this instance and vice-versa.
|
String |
getLinkLabel()
Text for external link to this app's detail page in the app market.
|
String |
getLocale()
Java Locale format.
|
String |
getName()
Name of the app
|
String |
getPrivacyPolicy() |
String |
getSmartReceiptText()
Text will print on printed receipts for this app
|
String |
getSmartReceiptUrl()
URL we will expose on printed and web receipts for this app
|
String |
getSupportEmail() |
String |
getSupportPhone() |
String |
getSupportPhoneHours() |
String |
getSupportUrl() |
String |
getTagline()
Short tagline for the app
|
String |
getVideoUrl()
URL for embedded video
|
boolean |
hasApp()
Checks whether the 'app' field has been set, however the value could be null
|
boolean |
hasBenefits()
Checks whether the 'benefits' field has been set, however the value could be null
|
boolean |
hasDescription()
Checks whether the 'description' field has been set, however the value could be null
|
boolean |
hasEula()
Checks whether the 'eula' field has been set, however the value could be null
|
boolean |
hasFilenameBanner()
Checks whether the 'filenameBanner' field has been set, however the value could be null
|
boolean |
hasFilenameCover()
Checks whether the 'filenameCover' field has been set, however the value could be null
|
boolean |
hasFilenameIcon()
Checks whether the 'filenameIcon' field has been set, however the value could be null
|
boolean |
hasFilenameIconLarge()
Checks whether the 'filenameIconLarge' field has been set, however the value could be null
|
boolean |
hasFilenameIconSmall()
Checks whether the 'filenameIconSmall' field has been set, however the value could be null
|
boolean |
hasId()
Checks whether the 'id' field has been set, however the value could be null
|
boolean |
hasLinkLabel()
Checks whether the 'linkLabel' field has been set, however the value could be null
|
boolean |
hasLocale()
Checks whether the 'locale' field has been set, however the value could be null
|
boolean |
hasName()
Checks whether the 'name' field has been set, however the value could be null
|
boolean |
hasPrivacyPolicy()
Checks whether the 'privacyPolicy' field has been set, however the value could be null
|
boolean |
hasSmartReceiptText()
Checks whether the 'smartReceiptText' field has been set, however the value could be null
|
boolean |
hasSmartReceiptUrl()
Checks whether the 'smartReceiptUrl' field has been set, however the value could be null
|
boolean |
hasSupportEmail()
Checks whether the 'supportEmail' field has been set, however the value could be null
|
boolean |
hasSupportPhone()
Checks whether the 'supportPhone' field has been set, however the value could be null
|
boolean |
hasSupportPhoneHours()
Checks whether the 'supportPhoneHours' field has been set, however the value could be null
|
boolean |
hasSupportUrl()
Checks whether the 'supportUrl' field has been set, however the value could be null
|
boolean |
hasTagline()
Checks whether the 'tagline' field has been set, however the value could be null
|
boolean |
hasVideoUrl()
Checks whether the 'videoUrl' field has been set, however the value could be null
|
boolean |
isNotEmptyBenefits()
Checks whether the 'benefits' field is set and is not null and is not empty
|
boolean |
isNotNullApp()
Checks whether the 'app' field is set and is not null
|
boolean |
isNotNullBenefits()
Checks whether the 'benefits' field is set and is not null
|
boolean |
isNotNullDescription()
Checks whether the 'description' field is set and is not null
|
boolean |
isNotNullEula()
Checks whether the 'eula' field is set and is not null
|
boolean |
isNotNullFilenameBanner()
Checks whether the 'filenameBanner' field is set and is not null
|
boolean |
isNotNullFilenameCover()
Checks whether the 'filenameCover' field is set and is not null
|
boolean |
isNotNullFilenameIcon()
Checks whether the 'filenameIcon' field is set and is not null
|
boolean |
isNotNullFilenameIconLarge()
Checks whether the 'filenameIconLarge' field is set and is not null
|
boolean |
isNotNullFilenameIconSmall()
Checks whether the 'filenameIconSmall' field is set and is not null
|
boolean |
isNotNullId()
Checks whether the 'id' field is set and is not null
|
boolean |
isNotNullLinkLabel()
Checks whether the 'linkLabel' field is set and is not null
|
boolean |
isNotNullLocale()
Checks whether the 'locale' field is set and is not null
|
boolean |
isNotNullName()
Checks whether the 'name' field is set and is not null
|
boolean |
isNotNullPrivacyPolicy()
Checks whether the 'privacyPolicy' field is set and is not null
|
boolean |
isNotNullSmartReceiptText()
Checks whether the 'smartReceiptText' field is set and is not null
|
boolean |
isNotNullSmartReceiptUrl()
Checks whether the 'smartReceiptUrl' field is set and is not null
|
boolean |
isNotNullSupportEmail()
Checks whether the 'supportEmail' field is set and is not null
|
boolean |
isNotNullSupportPhone()
Checks whether the 'supportPhone' field is set and is not null
|
boolean |
isNotNullSupportPhoneHours()
Checks whether the 'supportPhoneHours' field is set and is not null
|
boolean |
isNotNullSupportUrl()
Checks whether the 'supportUrl' field is set and is not null
|
boolean |
isNotNullTagline()
Checks whether the 'tagline' field is set and is not null
|
boolean |
isNotNullVideoUrl()
Checks whether the 'videoUrl' field is set and is not null
|
void |
mergeChanges(AppLocale src)
Copy all the changed fields from the given source to this instance.
|
void |
resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
|
AppLocale |
setApp(Reference app)
Sets the field 'app'.
|
AppLocale |
setBenefits(List<String> benefits)
Sets the field 'benefits'.
|
AppLocale |
setDescription(String description)
Sets the field 'description'.
|
AppLocale |
setEula(String eula)
Sets the field 'eula'.
|
AppLocale |
setFilenameBanner(String filenameBanner)
Sets the field 'filenameBanner'.
|
AppLocale |
setFilenameCover(String filenameCover)
Sets the field 'filenameCover'.
|
AppLocale |
setFilenameIcon(String filenameIcon)
Sets the field 'filenameIcon'.
|
AppLocale |
setFilenameIconLarge(String filenameIconLarge)
Sets the field 'filenameIconLarge'.
|
AppLocale |
setFilenameIconSmall(String filenameIconSmall)
Sets the field 'filenameIconSmall'.
|
AppLocale |
setId(String id)
Sets the field 'id'.
|
AppLocale |
setLinkLabel(String linkLabel)
Sets the field 'linkLabel'.
|
AppLocale |
setLocale(String locale)
Sets the field 'locale'.
|
AppLocale |
setName(String name)
Sets the field 'name'.
|
AppLocale |
setPrivacyPolicy(String privacyPolicy)
Sets the field 'privacyPolicy'.
|
AppLocale |
setSmartReceiptText(String smartReceiptText)
Sets the field 'smartReceiptText'.
|
AppLocale |
setSmartReceiptUrl(String smartReceiptUrl)
Sets the field 'smartReceiptUrl'.
|
AppLocale |
setSupportEmail(String supportEmail)
Sets the field 'supportEmail'.
|
AppLocale |
setSupportPhone(String supportPhone)
Sets the field 'supportPhone'.
|
AppLocale |
setSupportPhoneHours(String supportPhoneHours)
Sets the field 'supportPhoneHours'.
|
AppLocale |
setSupportUrl(String supportUrl)
Sets the field 'supportUrl'.
|
AppLocale |
setTagline(String tagline)
Sets the field 'tagline'.
|
AppLocale |
setVideoUrl(String videoUrl)
Sets the field 'videoUrl'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<AppLocale> CREATOR
public static final JSONifiable.Creator<AppLocale> JSON_CREATOR
public AppLocale()
protected AppLocale(boolean noInit)
public AppLocale(String json) throws IllegalArgumentException
IllegalArgumentException
public AppLocale(JSONObject jsonObject)
public AppLocale(AppLocale src)
public String getId()
public Reference getApp()
public String getLocale()
public String getName()
public String getDescription()
public String getTagline()
public String getVideoUrl()
public String getFilenameIcon()
public String getFilenameIconSmall()
public String getFilenameIconLarge()
public String getFilenameCover()
public String getFilenameBanner()
public String getPrivacyPolicy()
public String getEula()
public String getSupportPhone()
public String getSupportPhoneHours()
public String getSupportEmail()
public String getSupportUrl()
public String getSmartReceiptText()
public String getSmartReceiptUrl()
public String getLinkLabel()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullId()
public boolean isNotNullApp()
public boolean isNotNullLocale()
public boolean isNotNullName()
public boolean isNotNullDescription()
public boolean isNotNullTagline()
public boolean isNotNullBenefits()
public boolean isNotEmptyBenefits()
public boolean isNotNullVideoUrl()
public boolean isNotNullFilenameIcon()
public boolean isNotNullFilenameIconSmall()
public boolean isNotNullFilenameIconLarge()
public boolean isNotNullFilenameCover()
public boolean isNotNullFilenameBanner()
public boolean isNotNullPrivacyPolicy()
public boolean isNotNullEula()
public boolean isNotNullSupportPhone()
public boolean isNotNullSupportPhoneHours()
public boolean isNotNullSupportEmail()
public boolean isNotNullSupportUrl()
public boolean isNotNullSmartReceiptText()
public boolean isNotNullSmartReceiptUrl()
public boolean isNotNullLinkLabel()
public boolean hasId()
public boolean hasApp()
public boolean hasLocale()
public boolean hasName()
public boolean hasDescription()
public boolean hasTagline()
public boolean hasBenefits()
public boolean hasVideoUrl()
public boolean hasFilenameIcon()
public boolean hasFilenameIconSmall()
public boolean hasFilenameIconLarge()
public boolean hasFilenameCover()
public boolean hasFilenameBanner()
public boolean hasPrivacyPolicy()
public boolean hasEula()
public boolean hasSupportPhone()
public boolean hasSupportPhoneHours()
public boolean hasSupportEmail()
public boolean hasSupportUrl()
public boolean hasSmartReceiptText()
public boolean hasSmartReceiptUrl()
public boolean hasLinkLabel()
public AppLocale setApp(Reference app)
public AppLocale setBenefits(List<String> benefits)
public AppLocale setFilenameIcon(String filenameIcon)
public AppLocale setFilenameIconSmall(String filenameIconSmall)
public AppLocale setFilenameIconLarge(String filenameIconLarge)
public AppLocale setFilenameCover(String filenameCover)
public AppLocale setFilenameBanner(String filenameBanner)
public AppLocale setPrivacyPolicy(String privacyPolicy)
public AppLocale setSupportPhone(String supportPhone)
public AppLocale setSupportPhoneHours(String supportPhoneHours)
public AppLocale setSupportEmail(String supportEmail)
public AppLocale setSmartReceiptText(String smartReceiptText)
public AppLocale setSmartReceiptUrl(String smartReceiptUrl)
public void clearId()
public void clearApp()
public void clearLocale()
public void clearName()
public void clearDescription()
public void clearTagline()
public void clearBenefits()
public void clearVideoUrl()
public void clearFilenameIcon()
public void clearFilenameIconSmall()
public void clearFilenameIconLarge()
public void clearFilenameCover()
public void clearFilenameBanner()
public void clearPrivacyPolicy()
public void clearEula()
public void clearSupportPhone()
public void clearSupportPhoneHours()
public void clearSupportEmail()
public void clearSupportUrl()
public void clearSmartReceiptText()
public void clearSmartReceiptUrl()
public void clearLinkLabel()
public boolean containsChanges()
public void resetChangeLog()
public AppLocale copyChanges()
public void mergeChanges(AppLocale src)