Class ProjectImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Holds configuration specific to Business Units.getCarts()
Holds the configuration for the Carts feature.Country code of the geographic location.Date and time (UTC) the Project was initially created.Currency code of the country.Represents a RFC 7662 compliant OAuth 2.0 Token Introspection endpoint.getKey()
User-defined unique identifier of the Project.Language of the country.Holds the configuration for the Messages Query feature.getName()
Name of the Project.Controls indexing of resources to be provided on high performance read-only search endpoints.Holds the configuration for the tiered shipping rates feature.Holds the configuration for the Shopping Lists feature.Date in YYYY-MM format specifying when the trial period for the Project ends.Current version of the Project.int
hashCode()
void
setBusinessUnits
(BusinessUnitConfiguration businessUnits) Holds configuration specific to Business Units.void
setCarts
(CartsConfiguration carts) Holds the configuration for the Carts feature.void
setCountries
(String... countries) Country code of the geographic location.void
setCountries
(List<String> countries) Country code of the geographic location.void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the Project was initially created.void
setCurrencies
(String... currencies) Currency code of the country.void
setCurrencies
(List<String> currencies) Currency code of the country.void
setExternalOAuth
(ExternalOAuth externalOAuth) Represents a RFC 7662 compliant OAuth 2.0 Token Introspection endpoint.void
User-defined unique identifier of the Project.void
setLanguages
(String... languages) Language of the country.void
setLanguages
(List<String> languages) Language of the country.void
setMessages
(MessagesConfiguration messages) Holds the configuration for the Messages Query feature.void
Name of the Project.void
setSearchIndexing
(SearchIndexingConfiguration searchIndexing) Controls indexing of resources to be provided on high performance read-only search endpoints.void
setShippingRateInputType
(ShippingRateInputType shippingRateInputType) Holds the configuration for the tiered shipping rates feature.void
setShoppingLists
(ShoppingListsConfiguration shoppingLists) Holds the configuration for the Shopping Lists feature.void
setTrialUntil
(String trialUntil) Date in YYYY-MM format specifying when the trial period for the Project ends.void
setVersion
(Long version) Current version of the Project.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.project.Project
withProject
-
Constructor Details
-
ProjectImpl
public ProjectImpl()create empty instance
-
-
Method Details
-
getVersion
Current version of the Project.
- Specified by:
getVersion
in interfaceProject
- Returns:
- version
-
getKey
User-defined unique identifier of the Project.
-
getName
Name of the Project.
-
getCountries
Country code of the geographic location.
- Specified by:
getCountries
in interfaceProject
- Returns:
- countries
-
getCurrencies
Currency code of the country. A Project must have at least one currency.
- Specified by:
getCurrencies
in interfaceProject
- Returns:
- currencies
-
getLanguages
Language of the country. A Project must have at least one language.
- Specified by:
getLanguages
in interfaceProject
- Returns:
- languages
-
getCreatedAt
Date and time (UTC) the Project was initially created.
- Specified by:
getCreatedAt
in interfaceProject
- Returns:
- createdAt
-
getTrialUntil
Date in YYYY-MM format specifying when the trial period for the Project ends. Only present on Projects in trial period.
- Specified by:
getTrialUntil
in interfaceProject
- Returns:
- trialUntil
-
getMessages
Holds the configuration for the Messages Query feature.
- Specified by:
getMessages
in interfaceProject
- Returns:
- messages
-
getCarts
Holds the configuration for the Carts feature.
-
getShoppingLists
Holds the configuration for the Shopping Lists feature. This field may not be present on Projects created before January 2020.
- Specified by:
getShoppingLists
in interfaceProject
- Returns:
- shoppingLists
-
getShippingRateInputType
Holds the configuration for the tiered shipping rates feature.
- Specified by:
getShippingRateInputType
in interfaceProject
- Returns:
- shippingRateInputType
-
getExternalOAuth
Represents a RFC 7662 compliant OAuth 2.0 Token Introspection endpoint.
- Specified by:
getExternalOAuth
in interfaceProject
- Returns:
- externalOAuth
-
getSearchIndexing
Controls indexing of resources to be provided on high performance read-only search endpoints.
- Specified by:
getSearchIndexing
in interfaceProject
- Returns:
- searchIndexing
-
getBusinessUnits
Holds configuration specific to Business Units.
- Specified by:
getBusinessUnits
in interfaceProject
- Returns:
- businessUnits
-
setVersion
Description copied from interface:Project
Current version of the Project.
- Specified by:
setVersion
in interfaceProject
- Parameters:
version
- value to be set
-
setKey
Description copied from interface:Project
User-defined unique identifier of the Project.
-
setName
Description copied from interface:Project
Name of the Project.
-
setCountries
Description copied from interface:Project
Country code of the geographic location.
- Specified by:
setCountries
in interfaceProject
- Parameters:
countries
- values to be set
-
setCountries
Description copied from interface:Project
Country code of the geographic location.
- Specified by:
setCountries
in interfaceProject
- Parameters:
countries
- values to be set
-
setCurrencies
Description copied from interface:Project
Currency code of the country. A Project must have at least one currency.
- Specified by:
setCurrencies
in interfaceProject
- Parameters:
currencies
- values to be set
-
setCurrencies
Description copied from interface:Project
Currency code of the country. A Project must have at least one currency.
- Specified by:
setCurrencies
in interfaceProject
- Parameters:
currencies
- values to be set
-
setLanguages
Description copied from interface:Project
Language of the country. A Project must have at least one language.
- Specified by:
setLanguages
in interfaceProject
- Parameters:
languages
- values to be set
-
setLanguages
Description copied from interface:Project
Language of the country. A Project must have at least one language.
- Specified by:
setLanguages
in interfaceProject
- Parameters:
languages
- values to be set
-
setCreatedAt
Description copied from interface:Project
Date and time (UTC) the Project was initially created.
- Specified by:
setCreatedAt
in interfaceProject
- Parameters:
createdAt
- value to be set
-
setTrialUntil
Description copied from interface:Project
Date in YYYY-MM format specifying when the trial period for the Project ends. Only present on Projects in trial period.
- Specified by:
setTrialUntil
in interfaceProject
- Parameters:
trialUntil
- value to be set
-
setMessages
Description copied from interface:Project
Holds the configuration for the Messages Query feature.
- Specified by:
setMessages
in interfaceProject
- Parameters:
messages
- value to be set
-
setCarts
Description copied from interface:Project
Holds the configuration for the Carts feature.
-
setShoppingLists
Description copied from interface:Project
Holds the configuration for the Shopping Lists feature. This field may not be present on Projects created before January 2020.
- Specified by:
setShoppingLists
in interfaceProject
- Parameters:
shoppingLists
- value to be set
-
setShippingRateInputType
Description copied from interface:Project
Holds the configuration for the tiered shipping rates feature.
- Specified by:
setShippingRateInputType
in interfaceProject
- Parameters:
shippingRateInputType
- value to be set
-
setExternalOAuth
Description copied from interface:Project
Represents a RFC 7662 compliant OAuth 2.0 Token Introspection endpoint.
- Specified by:
setExternalOAuth
in interfaceProject
- Parameters:
externalOAuth
- value to be set
-
setSearchIndexing
Description copied from interface:Project
Controls indexing of resources to be provided on high performance read-only search endpoints.
- Specified by:
setSearchIndexing
in interfaceProject
- Parameters:
searchIndexing
- value to be set
-
setBusinessUnits
Description copied from interface:Project
Holds configuration specific to Business Units.
- Specified by:
setBusinessUnits
in interfaceProject
- Parameters:
businessUnits
- value to be set
-
equals
-
hashCode
-