Class Store
java.lang.Object
com.commercetools.graphql.api.types.Store
- All Implemented Interfaces:
ReferenceExpandable,Versioned
Stores allow defining different contexts for a project.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStore()Store(String id, Long version, String key, String name, List<LocalizedString> nameAllLocales, List<String> languages, List<StoreCountry> countries, List<ProductSelectionSetting> productSelections, List<Reference> distributionChannelsRef, List<Channel> distributionChannels, List<Reference> supplyChannelsRef, List<Channel> supplyChannels, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, CustomFieldsType custom, Initiator createdBy, Initiator lastModifiedBy) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getName()inthashCode()static Store.BuildervoidsetCountries(List<StoreCountry> countries) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(Initiator createdBy) voidsetCustom(CustomFieldsType custom) voidsetDistributionChannels(List<Channel> distributionChannels) voidsetDistributionChannelsRef(List<Reference> distributionChannelsRef) voidvoidvoidsetLanguages(List<String> languages) voidsetLastModifiedAt(OffsetDateTime lastModifiedAt) voidsetLastModifiedBy(Initiator lastModifiedBy) voidvoidsetNameAllLocales(List<LocalizedString> nameAllLocales) voidsetProductSelections(List<ProductSelectionSetting> productSelections) voidsetSupplyChannels(List<Channel> supplyChannels) voidsetSupplyChannelsRef(List<Reference> supplyChannelsRef) voidsetVersion(Long version) toString()
-
Constructor Details
-
Store
public Store() -
Store
public Store(String id, Long version, String key, String name, List<LocalizedString> nameAllLocales, List<String> languages, List<StoreCountry> countries, List<ProductSelectionSetting> productSelections, List<Reference> distributionChannelsRef, List<Channel> distributionChannels, List<Reference> supplyChannelsRef, List<Channel> supplyChannels, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, CustomFieldsType custom, Initiator createdBy, Initiator lastModifiedBy)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceReferenceExpandable- Specified by:
getIdin interfaceVersioned
-
setId
- Specified by:
setIdin interfaceReferenceExpandable- Specified by:
setIdin interfaceVersioned
-
getVersion
- Specified by:
getVersionin interfaceVersioned
-
setVersion
- Specified by:
setVersionin interfaceVersioned
-
getKey
-
setKey
-
getName
-
setName
-
getNameAllLocales
-
setNameAllLocales
-
getLanguages
-
setLanguages
-
getCountries
-
setCountries
-
getProductSelections
-
setProductSelections
-
getDistributionChannelsRef
-
setDistributionChannelsRef
-
getDistributionChannels
-
setDistributionChannels
-
getSupplyChannelsRef
-
setSupplyChannelsRef
-
getSupplyChannels
-
setSupplyChannels
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceVersioned
-
setCreatedAt
- Specified by:
setCreatedAtin interfaceVersioned
-
getLastModifiedAt
- Specified by:
getLastModifiedAtin interfaceVersioned
-
setLastModifiedAt
- Specified by:
setLastModifiedAtin interfaceVersioned
-
getCustom
-
setCustom
-
getCreatedBy
- Specified by:
getCreatedByin interfaceVersioned
-
setCreatedBy
- Specified by:
setCreatedByin interfaceVersioned
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceVersioned
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceVersioned
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-