Class AppLocale

    • Constructor Detail

      • AppLocale

        public AppLocale()
        Constructs a new empty instance.
      • AppLocale

        protected AppLocale​(boolean noInit)
        Constructs a new empty instance.
      • AppLocale

        public 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

        public AppLocale​(AppLocale src)
        Constructs a new instance that is a deep copy of the source instance. It does not copy the bundle or changelog.
    • Method Detail

      • getId

        public String getId()
      • getApp

        public Reference getApp()
        Reference to app this developer_app_locale belongs to
      • getLocale

        public String getLocale()
        Java Locale format. Examples: en_US, de_DE, en_CA, fr_CA
      • getName

        public String getName()
        Name of the app
      • getDescription

        public String getDescription()
        App Description
      • getTagline

        public String getTagline()
        Short tagline for the app
      • getBenefits

        public List<String> getBenefits()
        Brief description about benefits of app
      • getVideoUrl

        public String getVideoUrl()
        URL for embedded video
      • getFilenameIcon

        public String getFilenameIcon()
      • getFilenameIconSmall

        public String getFilenameIconSmall()
        URL to the icon of the app. Generated from filenameIcon.
      • getFilenameIconLarge

        public String getFilenameIconLarge()
        URL to the icon of the app. Generated from filenameIcon.
      • getFilenameCover

        public String getFilenameCover()
        URL to the cover images of the app. To be displayed on app market details page.
      • getFilenameBanner

        public String getFilenameBanner()
        URL to the hero images of the app. To be displayed on app market home page.
      • getPrivacyPolicy

        public String getPrivacyPolicy()
      • getEula

        public String getEula()
      • getSupportPhone

        public String getSupportPhone()
      • getSupportPhoneHours

        public String getSupportPhoneHours()
      • getSupportEmail

        public String getSupportEmail()
      • getSupportUrl

        public String getSupportUrl()
      • getSmartReceiptText

        public String getSmartReceiptText()
        Text will print on printed receipts for this app
      • getSmartReceiptUrl

        public String getSmartReceiptUrl()
        URL we will expose on printed and web receipts for this app
      • getLinkLabel

        public String getLinkLabel()
        Text for external link to this app's detail page in the app market.
      • getJSONObject

        public 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.
        Specified by:
        getJSONObject in interface JSONifiable
      • isNotNullId

        public boolean isNotNullId()
        Checks whether the 'id' field is set and is not null
      • isNotNullApp

        public boolean isNotNullApp()
        Checks whether the 'app' field is set and is not null
      • isNotNullLocale

        public boolean isNotNullLocale()
        Checks whether the 'locale' field is set and is not null
      • isNotNullName

        public boolean isNotNullName()
        Checks whether the 'name' field is set and is not null
      • isNotNullDescription

        public boolean isNotNullDescription()
        Checks whether the 'description' field is set and is not null
      • isNotNullTagline

        public boolean isNotNullTagline()
        Checks whether the 'tagline' field is set and is not null
      • isNotNullBenefits

        public boolean isNotNullBenefits()
        Checks whether the 'benefits' field is set and is not null
      • isNotEmptyBenefits

        public boolean isNotEmptyBenefits()
        Checks whether the 'benefits' field is set and is not null and is not empty
      • isNotNullVideoUrl

        public boolean isNotNullVideoUrl()
        Checks whether the 'videoUrl' field is set and is not null
      • isNotNullFilenameIcon

        public boolean isNotNullFilenameIcon()
        Checks whether the 'filenameIcon' field is set and is not null
      • isNotNullFilenameIconSmall

        public boolean isNotNullFilenameIconSmall()
        Checks whether the 'filenameIconSmall' field is set and is not null
      • isNotNullFilenameIconLarge

        public boolean isNotNullFilenameIconLarge()
        Checks whether the 'filenameIconLarge' field is set and is not null
      • isNotNullFilenameCover

        public boolean isNotNullFilenameCover()
        Checks whether the 'filenameCover' field is set and is not null
      • isNotNullFilenameBanner

        public boolean isNotNullFilenameBanner()
        Checks whether the 'filenameBanner' field is set and is not null
      • isNotNullPrivacyPolicy

        public boolean isNotNullPrivacyPolicy()
        Checks whether the 'privacyPolicy' field is set and is not null
      • isNotNullEula

        public boolean isNotNullEula()
        Checks whether the 'eula' field is set and is not null
      • isNotNullSupportPhone

        public boolean isNotNullSupportPhone()
        Checks whether the 'supportPhone' field is set and is not null
      • isNotNullSupportPhoneHours

        public boolean isNotNullSupportPhoneHours()
        Checks whether the 'supportPhoneHours' field is set and is not null
      • isNotNullSupportEmail

        public boolean isNotNullSupportEmail()
        Checks whether the 'supportEmail' field is set and is not null
      • isNotNullSupportUrl

        public boolean isNotNullSupportUrl()
        Checks whether the 'supportUrl' field is set and is not null
      • isNotNullSmartReceiptText

        public boolean isNotNullSmartReceiptText()
        Checks whether the 'smartReceiptText' field is set and is not null
      • isNotNullSmartReceiptUrl

        public boolean isNotNullSmartReceiptUrl()
        Checks whether the 'smartReceiptUrl' field is set and is not null
      • isNotNullLinkLabel

        public boolean isNotNullLinkLabel()
        Checks whether the 'linkLabel' field is set and is not null
      • hasId

        public boolean hasId()
        Checks whether the 'id' field has been set, however the value could be null
      • hasApp

        public boolean hasApp()
        Checks whether the 'app' field has been set, however the value could be null
      • hasLocale

        public boolean hasLocale()
        Checks whether the 'locale' field has been set, however the value could be null
      • hasName

        public boolean hasName()
        Checks whether the 'name' field has been set, however the value could be null
      • hasDescription

        public boolean hasDescription()
        Checks whether the 'description' field has been set, however the value could be null
      • hasTagline

        public boolean hasTagline()
        Checks whether the 'tagline' field has been set, however the value could be null
      • hasBenefits

        public boolean hasBenefits()
        Checks whether the 'benefits' field has been set, however the value could be null
      • hasVideoUrl

        public boolean hasVideoUrl()
        Checks whether the 'videoUrl' field has been set, however the value could be null
      • hasFilenameIcon

        public boolean hasFilenameIcon()
        Checks whether the 'filenameIcon' field has been set, however the value could be null
      • hasFilenameIconSmall

        public boolean hasFilenameIconSmall()
        Checks whether the 'filenameIconSmall' field has been set, however the value could be null
      • hasFilenameIconLarge

        public boolean hasFilenameIconLarge()
        Checks whether the 'filenameIconLarge' field has been set, however the value could be null
      • hasFilenameCover

        public boolean hasFilenameCover()
        Checks whether the 'filenameCover' field has been set, however the value could be null
      • hasFilenameBanner

        public boolean hasFilenameBanner()
        Checks whether the 'filenameBanner' field has been set, however the value could be null
      • hasPrivacyPolicy

        public boolean hasPrivacyPolicy()
        Checks whether the 'privacyPolicy' field has been set, however the value could be null
      • hasEula

        public boolean hasEula()
        Checks whether the 'eula' field has been set, however the value could be null
      • hasSupportPhone

        public boolean hasSupportPhone()
        Checks whether the 'supportPhone' field has been set, however the value could be null
      • hasSupportPhoneHours

        public boolean hasSupportPhoneHours()
        Checks whether the 'supportPhoneHours' field has been set, however the value could be null
      • hasSupportEmail

        public boolean hasSupportEmail()
        Checks whether the 'supportEmail' field has been set, however the value could be null
      • hasSupportUrl

        public boolean hasSupportUrl()
        Checks whether the 'supportUrl' field has been set, however the value could be null
      • hasSmartReceiptText

        public boolean hasSmartReceiptText()
        Checks whether the 'smartReceiptText' field has been set, however the value could be null
      • hasSmartReceiptUrl

        public boolean hasSmartReceiptUrl()
        Checks whether the 'smartReceiptUrl' field has been set, however the value could be null
      • hasLinkLabel

        public boolean hasLinkLabel()
        Checks whether the 'linkLabel' field has been set, however the value could be null
      • setApp

        public AppLocale setApp​(Reference app)
        Sets the field 'app'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • setLocale

        public AppLocale setLocale​(String locale)
        Sets the field 'locale'.
      • setName

        public AppLocale setName​(String name)
        Sets the field 'name'.
      • setDescription

        public AppLocale setDescription​(String description)
        Sets the field 'description'.
      • setTagline

        public AppLocale setTagline​(String tagline)
        Sets the field 'tagline'.
      • setBenefits

        public AppLocale setBenefits​(List<String> benefits)
        Sets the field 'benefits'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
      • setVideoUrl

        public AppLocale setVideoUrl​(String videoUrl)
        Sets the field 'videoUrl'.
      • setFilenameIcon

        public AppLocale setFilenameIcon​(String filenameIcon)
        Sets the field 'filenameIcon'.
      • setFilenameIconSmall

        public AppLocale setFilenameIconSmall​(String filenameIconSmall)
        Sets the field 'filenameIconSmall'.
      • setFilenameIconLarge

        public AppLocale setFilenameIconLarge​(String filenameIconLarge)
        Sets the field 'filenameIconLarge'.
      • setFilenameCover

        public AppLocale setFilenameCover​(String filenameCover)
        Sets the field 'filenameCover'.
      • setFilenameBanner

        public AppLocale setFilenameBanner​(String filenameBanner)
        Sets the field 'filenameBanner'.
      • setPrivacyPolicy

        public AppLocale setPrivacyPolicy​(String privacyPolicy)
        Sets the field 'privacyPolicy'.
      • setEula

        public AppLocale setEula​(String eula)
        Sets the field 'eula'.
      • setSupportPhone

        public AppLocale setSupportPhone​(String supportPhone)
        Sets the field 'supportPhone'.
      • setSupportPhoneHours

        public AppLocale setSupportPhoneHours​(String supportPhoneHours)
        Sets the field 'supportPhoneHours'.
      • setSupportEmail

        public AppLocale setSupportEmail​(String supportEmail)
        Sets the field 'supportEmail'.
      • setSupportUrl

        public AppLocale setSupportUrl​(String supportUrl)
        Sets the field 'supportUrl'.
      • setSmartReceiptText

        public AppLocale setSmartReceiptText​(String smartReceiptText)
        Sets the field 'smartReceiptText'.
      • setSmartReceiptUrl

        public AppLocale setSmartReceiptUrl​(String smartReceiptUrl)
        Sets the field 'smartReceiptUrl'.
      • setLinkLabel

        public AppLocale setLinkLabel​(String linkLabel)
        Sets the field 'linkLabel'.
      • clearId

        public void clearId()
        Clears the 'id' field, the 'has' method for this field will now return false
      • clearApp

        public void clearApp()
        Clears the 'app' field, the 'has' method for this field will now return false
      • clearLocale

        public void clearLocale()
        Clears the 'locale' field, the 'has' method for this field will now return false
      • clearName

        public void clearName()
        Clears the 'name' field, the 'has' method for this field will now return false
      • clearDescription

        public void clearDescription()
        Clears the 'description' field, the 'has' method for this field will now return false
      • clearTagline

        public void clearTagline()
        Clears the 'tagline' field, the 'has' method for this field will now return false
      • clearBenefits

        public void clearBenefits()
        Clears the 'benefits' field, the 'has' method for this field will now return false
      • clearVideoUrl

        public void clearVideoUrl()
        Clears the 'videoUrl' field, the 'has' method for this field will now return false
      • clearFilenameIcon

        public void clearFilenameIcon()
        Clears the 'filenameIcon' field, the 'has' method for this field will now return false
      • clearFilenameIconSmall

        public void clearFilenameIconSmall()
        Clears the 'filenameIconSmall' field, the 'has' method for this field will now return false
      • clearFilenameIconLarge

        public void clearFilenameIconLarge()
        Clears the 'filenameIconLarge' field, the 'has' method for this field will now return false
      • clearFilenameCover

        public void clearFilenameCover()
        Clears the 'filenameCover' field, the 'has' method for this field will now return false
      • clearFilenameBanner

        public void clearFilenameBanner()
        Clears the 'filenameBanner' field, the 'has' method for this field will now return false
      • clearPrivacyPolicy

        public void clearPrivacyPolicy()
        Clears the 'privacyPolicy' field, the 'has' method for this field will now return false
      • clearEula

        public void clearEula()
        Clears the 'eula' field, the 'has' method for this field will now return false
      • clearSupportPhone

        public void clearSupportPhone()
        Clears the 'supportPhone' field, the 'has' method for this field will now return false
      • clearSupportPhoneHours

        public void clearSupportPhoneHours()
        Clears the 'supportPhoneHours' field, the 'has' method for this field will now return false
      • clearSupportEmail

        public void clearSupportEmail()
        Clears the 'supportEmail' field, the 'has' method for this field will now return false
      • clearSupportUrl

        public void clearSupportUrl()
        Clears the 'supportUrl' field, the 'has' method for this field will now return false
      • clearSmartReceiptText

        public void clearSmartReceiptText()
        Clears the 'smartReceiptText' field, the 'has' method for this field will now return false
      • clearSmartReceiptUrl

        public void clearSmartReceiptUrl()
        Clears the 'smartReceiptUrl' field, the 'has' method for this field will now return false
      • clearLinkLabel

        public void clearLinkLabel()
        Clears the 'linkLabel' field, the 'has' method for this field will now return false
      • containsChanges

        public boolean containsChanges()
        Returns true if this instance has any changes.
      • resetChangeLog

        public void resetChangeLog()
        Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
      • copyChanges

        public AppLocale copyChanges()
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

        public void mergeChanges​(AppLocale src)
        Copy all the changed fields from the given source to this instance.