Class AppCarousel

    • Constructor Detail

      • AppCarousel

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

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

        public AppCarousel​(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.
      • AppCarousel

        public AppCarousel​(AppCarousel 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()
        Unique identifier
      • getName

        public String getName()
        Name of the collection
      • getDisplayName

        public String getDisplayName()
        Display name of the collection
      • getDescription

        public String getDescription()
        Description about the collection
      • getCountryCode

        public String getCountryCode()
      • getReseller

        public Reference getReseller()
      • getMerchantGroup

        public Reference getMerchantGroup()
      • getMaxSize

        public Integer getMaxSize()
        Maximum number of apps in a collection
      • getSortOrder

        public Long getSortOrder()
      • getViewAllButton

        public String getViewAllButton()
      • getResultLabel

        public String getResultLabel()
      • getAutoInstall

        public Boolean getAutoInstall()
        When true, apps in this carousel will be installed to merchants in the associated merchant group.
      • getCarouselApps

        public List<Reference> getCarouselApps()
        List of apps to be in a collection
      • getSortBy

        public CarouselSortBy getSortBy()
        Sort strategy to order apps in a collection
      • getAppPopulatedBy

        public AppCollectionPopulation getAppPopulatedBy()
        Population strategy to populated apps in a collection
      • getCollectionGroup

        public AppCollectionGroup getCollectionGroup()
        Group a collection belong to. Used to display collection in a group. More info: https://confluence.dev.clover.com/display/AM/Functional+Spec+-+Phase+1+-+App+Market+Collection+-+Server#FunctionalSpec-Phase1-AppMarketCollection-Server-CollectionGroup
      • getCollectionStyle

        public AppCollectionStyle getCollectionStyle()
        Style to be used for consistent display across clients. More info: https://confluence.dev.clover.com/display/AM/Functional+Spec+-+Phase+1+-+App+Market+Collection+%28Personalization%29+-+Server
      • getShowInAppMarket

        public Boolean getShowInAppMarket()
        Boolean to decide whether collection needs to be shown in app market page
      • getShowInAppDetail

        public Boolean getShowInAppDetail()
        Boolean to decide whether collection needs to be shown in app detail page
      • getShowInDashboard

        public Boolean getShowInDashboard()
        Boolean to decide whether collection needs to be shown in merchant dashboard
      • getShowInFinance

        public Boolean getShowInFinance()
        Boolean to decide whether collection needs to be shown in finance page
      • getCategories

        public List<Reference> getCategories()
        App functional or domain categories
      • 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
      • isNotNullName

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

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

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

        public boolean isNotNullCountryCode()
        Checks whether the 'countryCode' field is set and is not null
      • isNotNullReseller

        public boolean isNotNullReseller()
        Checks whether the 'reseller' field is set and is not null
      • isNotNullMerchantGroup

        public boolean isNotNullMerchantGroup()
        Checks whether the 'merchantGroup' field is set and is not null
      • isNotNullMaxSize

        public boolean isNotNullMaxSize()
        Checks whether the 'maxSize' field is set and is not null
      • isNotNullSortOrder

        public boolean isNotNullSortOrder()
        Checks whether the 'sortOrder' field is set and is not null
      • isNotNullViewAllButton

        public boolean isNotNullViewAllButton()
        Checks whether the 'viewAllButton' field is set and is not null
      • isNotNullResultLabel

        public boolean isNotNullResultLabel()
        Checks whether the 'resultLabel' field is set and is not null
      • isNotNullAutoInstall

        public boolean isNotNullAutoInstall()
        Checks whether the 'autoInstall' field is set and is not null
      • isNotNullCarouselApps

        public boolean isNotNullCarouselApps()
        Checks whether the 'carouselApps' field is set and is not null
      • isNotEmptyCarouselApps

        public boolean isNotEmptyCarouselApps()
        Checks whether the 'carouselApps' field is set and is not null and is not empty
      • isNotNullSortBy

        public boolean isNotNullSortBy()
        Checks whether the 'sortBy' field is set and is not null
      • isNotNullAppPopulatedBy

        public boolean isNotNullAppPopulatedBy()
        Checks whether the 'appPopulatedBy' field is set and is not null
      • isNotNullCollectionGroup

        public boolean isNotNullCollectionGroup()
        Checks whether the 'collectionGroup' field is set and is not null
      • isNotNullCollectionStyle

        public boolean isNotNullCollectionStyle()
        Checks whether the 'collectionStyle' field is set and is not null
      • isNotNullShowInAppMarket

        public boolean isNotNullShowInAppMarket()
        Checks whether the 'showInAppMarket' field is set and is not null
      • isNotNullShowInAppDetail

        public boolean isNotNullShowInAppDetail()
        Checks whether the 'showInAppDetail' field is set and is not null
      • isNotNullShowInDashboard

        public boolean isNotNullShowInDashboard()
        Checks whether the 'showInDashboard' field is set and is not null
      • isNotNullShowInFinance

        public boolean isNotNullShowInFinance()
        Checks whether the 'showInFinance' field is set and is not null
      • isNotNullCategories

        public boolean isNotNullCategories()
        Checks whether the 'categories' field is set and is not null
      • isNotEmptyCategories

        public boolean isNotEmptyCategories()
        Checks whether the 'categories' field is set and is not null and is not empty
      • hasId

        public boolean hasId()
        Checks whether the 'id' 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
      • hasDisplayName

        public boolean hasDisplayName()
        Checks whether the 'displayName' 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
      • hasCountryCode

        public boolean hasCountryCode()
        Checks whether the 'countryCode' field has been set, however the value could be null
      • hasReseller

        public boolean hasReseller()
        Checks whether the 'reseller' field has been set, however the value could be null
      • hasMerchantGroup

        public boolean hasMerchantGroup()
        Checks whether the 'merchantGroup' field has been set, however the value could be null
      • hasMaxSize

        public boolean hasMaxSize()
        Checks whether the 'maxSize' field has been set, however the value could be null
      • hasSortOrder

        public boolean hasSortOrder()
        Checks whether the 'sortOrder' field has been set, however the value could be null
      • hasViewAllButton

        public boolean hasViewAllButton()
        Checks whether the 'viewAllButton' field has been set, however the value could be null
      • hasResultLabel

        public boolean hasResultLabel()
        Checks whether the 'resultLabel' field has been set, however the value could be null
      • hasAutoInstall

        public boolean hasAutoInstall()
        Checks whether the 'autoInstall' field has been set, however the value could be null
      • hasCarouselApps

        public boolean hasCarouselApps()
        Checks whether the 'carouselApps' field has been set, however the value could be null
      • hasSortBy

        public boolean hasSortBy()
        Checks whether the 'sortBy' field has been set, however the value could be null
      • hasAppPopulatedBy

        public boolean hasAppPopulatedBy()
        Checks whether the 'appPopulatedBy' field has been set, however the value could be null
      • hasCollectionGroup

        public boolean hasCollectionGroup()
        Checks whether the 'collectionGroup' field has been set, however the value could be null
      • hasCollectionStyle

        public boolean hasCollectionStyle()
        Checks whether the 'collectionStyle' field has been set, however the value could be null
      • hasShowInAppMarket

        public boolean hasShowInAppMarket()
        Checks whether the 'showInAppMarket' field has been set, however the value could be null
      • hasShowInAppDetail

        public boolean hasShowInAppDetail()
        Checks whether the 'showInAppDetail' field has been set, however the value could be null
      • hasShowInDashboard

        public boolean hasShowInDashboard()
        Checks whether the 'showInDashboard' field has been set, however the value could be null
      • hasShowInFinance

        public boolean hasShowInFinance()
        Checks whether the 'showInFinance' field has been set, however the value could be null
      • hasCategories

        public boolean hasCategories()
        Checks whether the 'categories' field has been set, however the value could be null
      • setDisplayName

        public AppCarousel setDisplayName​(String displayName)
        Sets the field 'displayName'.
      • setDescription

        public AppCarousel setDescription​(String description)
        Sets the field 'description'.
      • setCountryCode

        public AppCarousel setCountryCode​(String countryCode)
        Sets the field 'countryCode'.
      • setReseller

        public AppCarousel setReseller​(Reference reseller)
        Sets the field 'reseller'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • setMerchantGroup

        public AppCarousel setMerchantGroup​(Reference merchantGroup)
        Sets the field 'merchantGroup'. The parameter is not copied so changes to it will be reflected in this instance and vice-versa.
      • setMaxSize

        public AppCarousel setMaxSize​(Integer maxSize)
        Sets the field 'maxSize'.
      • setSortOrder

        public AppCarousel setSortOrder​(Long sortOrder)
        Sets the field 'sortOrder'.
      • setViewAllButton

        public AppCarousel setViewAllButton​(String viewAllButton)
        Sets the field 'viewAllButton'.
      • setResultLabel

        public AppCarousel setResultLabel​(String resultLabel)
        Sets the field 'resultLabel'.
      • setAutoInstall

        public AppCarousel setAutoInstall​(Boolean autoInstall)
        Sets the field 'autoInstall'.
      • setCarouselApps

        public AppCarousel setCarouselApps​(List<Reference> carouselApps)
        Sets the field 'carouselApps'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
      • setShowInAppMarket

        public AppCarousel setShowInAppMarket​(Boolean showInAppMarket)
        Sets the field 'showInAppMarket'.
      • setShowInAppDetail

        public AppCarousel setShowInAppDetail​(Boolean showInAppDetail)
        Sets the field 'showInAppDetail'.
      • setShowInDashboard

        public AppCarousel setShowInDashboard​(Boolean showInDashboard)
        Sets the field 'showInDashboard'.
      • setShowInFinance

        public AppCarousel setShowInFinance​(Boolean showInFinance)
        Sets the field 'showInFinance'.
      • setCategories

        public AppCarousel setCategories​(List<Reference> categories)
        Sets the field 'categories'. Nulls in the given List are skipped. List parameter is copied, so it will not reflect any changes, but objects inside it will.
      • clearId

        public void clearId()
        Clears the 'id' 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
      • clearDisplayName

        public void clearDisplayName()
        Clears the 'displayName' 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
      • clearCountryCode

        public void clearCountryCode()
        Clears the 'countryCode' field, the 'has' method for this field will now return false
      • clearReseller

        public void clearReseller()
        Clears the 'reseller' field, the 'has' method for this field will now return false
      • clearMerchantGroup

        public void clearMerchantGroup()
        Clears the 'merchantGroup' field, the 'has' method for this field will now return false
      • clearMaxSize

        public void clearMaxSize()
        Clears the 'maxSize' field, the 'has' method for this field will now return false
      • clearSortOrder

        public void clearSortOrder()
        Clears the 'sortOrder' field, the 'has' method for this field will now return false
      • clearViewAllButton

        public void clearViewAllButton()
        Clears the 'viewAllButton' field, the 'has' method for this field will now return false
      • clearResultLabel

        public void clearResultLabel()
        Clears the 'resultLabel' field, the 'has' method for this field will now return false
      • clearAutoInstall

        public void clearAutoInstall()
        Clears the 'autoInstall' field, the 'has' method for this field will now return false
      • clearCarouselApps

        public void clearCarouselApps()
        Clears the 'carouselApps' field, the 'has' method for this field will now return false
      • clearSortBy

        public void clearSortBy()
        Clears the 'sortBy' field, the 'has' method for this field will now return false
      • clearAppPopulatedBy

        public void clearAppPopulatedBy()
        Clears the 'appPopulatedBy' field, the 'has' method for this field will now return false
      • clearCollectionGroup

        public void clearCollectionGroup()
        Clears the 'collectionGroup' field, the 'has' method for this field will now return false
      • clearCollectionStyle

        public void clearCollectionStyle()
        Clears the 'collectionStyle' field, the 'has' method for this field will now return false
      • clearShowInAppMarket

        public void clearShowInAppMarket()
        Clears the 'showInAppMarket' field, the 'has' method for this field will now return false
      • clearShowInAppDetail

        public void clearShowInAppDetail()
        Clears the 'showInAppDetail' field, the 'has' method for this field will now return false
      • clearShowInDashboard

        public void clearShowInDashboard()
        Clears the 'showInDashboard' field, the 'has' method for this field will now return false
      • clearShowInFinance

        public void clearShowInFinance()
        Clears the 'showInFinance' field, the 'has' method for this field will now return false
      • clearCategories

        public void clearCategories()
        Clears the 'categories' 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 AppCarousel copyChanges()
        Create a copy of this instance that contains only fields that were set after the constructor was called.
      • mergeChanges

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