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 instancecopyDeep()static CustomerGroupAssignmentDraftdeepCopy(CustomerGroupAssignmentDraft template) factory method to create a deep copy of CustomerGroupAssignmentDraft@NotNull @Valid CustomerGroupResourceIdentifierResourceIdentifier of a Customer Group.static CustomerGroupAssignmentDraftof()factory methodstatic CustomerGroupAssignmentDraftof(CustomerGroupAssignmentDraft template) factory method to create a shallow copy CustomerGroupAssignmentDraftvoidsetCustomerGroup(CustomerGroupResourceIdentifier customerGroup) ResourceIdentifier of a Customer Group.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupAssignmentDraft>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor 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
-
copyDeep
CustomerGroupAssignmentDraft copyDeep() -
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
-