Class BusinessUnit.Builder
java.lang.Object
com.commercetools.graphql.api.types.BusinessUnit.Builder
- Enclosing class:
- BusinessUnit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionancestors(List<BusinessUnit> ancestors) This field contains the BusinessUnits KeyReferences from the Company to the parent Division of this BusinessUnit in that order.associateMode(BusinessUnitAssociateMode associateMode) associates(List<Associate> associates) billingAddresses(List<Address> billingAddresses) billingAddressIds(List<String> billingAddressIds) build()contactEmail(String contactEmail) createdAt(OffsetDateTime createdAt) custom(CustomFieldsType custom) defaultBillingAddress(Address defaultBillingAddress) defaultBillingAddressId(String defaultBillingAddressId) defaultShippingAddress(Address defaultShippingAddress) defaultShippingAddressId(String defaultShippingAddressId) inheritedAssociates(List<InheritedAssociate> inheritedAssociates) inheritedStores(List<InheritedStore> inheritedStores) This field contains the inherited stores from its parentUnit if storeMode is set to FromParent.lastModifiedAt(OffsetDateTime lastModifiedAt) lastModifiedBy(Initiator lastModifiedBy) parentUnit(BusinessUnit parentUnit) parentUnitRef(KeyReference parentUnitRef) shippingAddresses(List<Address> shippingAddresses) shippingAddressIds(List<String> shippingAddressIds) status(BusinessUnitStatus status) storesRef(List<KeyReference> storesRef) topLevelUnit(BusinessUnit topLevelUnit) topLevelUnitRef(KeyReference topLevelUnitRef) unitType(BusinessUnitType unitType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
key
-
name
-
contactEmail
-
addresses
-
defaultShippingAddress
-
defaultBillingAddress
-
defaultShippingAddressId
-
defaultBillingAddressId
-
shippingAddresses
-
billingAddresses
-
shippingAddressIds
-
billingAddressIds
-
status
-
storesRef
-
stores
-
storeMode
-
unitType
-
associates
-
associateMode
-
inheritedAssociates
-
custom
-
parentUnitRef
-
parentUnit
-
ancestors
This field contains the BusinessUnits KeyReferences from the Company to the parent Division of this BusinessUnit in that order. -
inheritedStores
This field contains the inherited stores from its parentUnit if storeMode is set to FromParent. -
topLevelUnitRef
-
topLevelUnit
-
id
-
version
-
createdAt
-
lastModifiedAt
-
createdBy
-
lastModifiedBy
-