Interface CustomerGroupAssignmentDraft
- All Superinterfaces:
Draft<CustomerGroupAssignmentDraft>
CustomerGroupAssignmentDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerGroupAssignmentDraft customerGroupAssignmentDraft = CustomerGroupAssignmentDraft.builder()
.customerGroup(customerGroupBuilder -> customerGroupBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerGroupAssignmentDraftbuilder
(CustomerGroupAssignmentDraft template) create builder for CustomerGroupAssignmentDraft instancestatic CustomerGroupAssignmentDraft
deepCopy
(CustomerGroupAssignmentDraft template) factory method to create a deep copy of CustomerGroupAssignmentDraft@NotNull @Valid CustomerGroupResourceIdentifier
ResourceIdentifier of a Customer Group.static CustomerGroupAssignmentDraft
of()
factory methodstatic CustomerGroupAssignmentDraft
of
(CustomerGroupAssignmentDraft template) factory method to create a shallow copy CustomerGroupAssignmentDraftvoid
setCustomerGroup
(CustomerGroupResourceIdentifier customerGroup) ResourceIdentifier of a Customer Group.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupAssignmentDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getCustomerGroup
ResourceIdentifier of a Customer Group.
- Returns:
- customerGroup
-
setCustomerGroup
ResourceIdentifier of a Customer Group.
- Parameters:
customerGroup
- value to be set
-
of
factory method- Returns:
- instance of CustomerGroupAssignmentDraft
-
of
factory method to create a shallow copy CustomerGroupAssignmentDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerGroupAssignmentDraft deepCopy(@Nullable CustomerGroupAssignmentDraft template) factory method to create a deep copy of CustomerGroupAssignmentDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerGroupAssignmentDraft- Returns:
- builder
-
builder
create builder for CustomerGroupAssignmentDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerGroupAssignmentDraft
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-