Class CustomerGroupAssignmentsSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<CustomerGroupAssignmentsSetMessagePayload>
Example to create an instance using the builder pattern
CustomerGroupAssignmentsSetMessagePayload customerGroupAssignmentsSetMessagePayload = CustomerGroupAssignmentsSetMessagePayload.builder()
.plusCustomerGroupAssignments(customerGroupAssignmentsBuilder -> customerGroupAssignmentsBuilder)
.plusOldCustomerGroupAssignments(oldCustomerGroupAssignmentsBuilder -> oldCustomerGroupAssignmentsBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.addOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.build()builds CustomerGroupAssignmentsSetMessagePayload with checking for non-null required valuesbuilds CustomerGroupAssignmentsSetMessagePayload without checking for non-null required valuescustomerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.customerGroupAssignments(List<CustomerGroupAssignment> customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.of()factory method for an instance of CustomerGroupAssignmentsSetMessagePayloadBuilderof(CustomerGroupAssignmentsSetMessagePayload template) create builder for CustomerGroupAssignmentsSetMessagePayload instanceoldCustomerGroupAssignments(CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.oldCustomerGroupAssignments(List<CustomerGroupAssignment> oldCustomerGroupAssignments) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.plusCustomerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.plusCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.plusOldCustomerGroupAssignments(CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.plusOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.setCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.setOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.withCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.withOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
-
Constructor Details
-
CustomerGroupAssignmentsSetMessagePayloadBuilder
public CustomerGroupAssignmentsSetMessagePayloadBuilder()
-
-
Method Details
-
customerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder customerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- value to be set- Returns:
- Builder
-
customerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder customerGroupAssignments(List<CustomerGroupAssignment> customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- value to be set- Returns:
- Builder
-
plusCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder plusCustomerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- value to be set- Returns:
- Builder
-
plusCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder plusCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
withCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder withCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
addCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder addCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
setCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder setCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the customerGroupAssignments value- Returns:
- Builder
-
oldCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder oldCustomerGroupAssignments(CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- value to be set- Returns:
- Builder
-
oldCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder oldCustomerGroupAssignments(List<CustomerGroupAssignment> oldCustomerGroupAssignments) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- value to be set- Returns:
- Builder
-
plusOldCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder plusOldCustomerGroupAssignments(CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- value to be set- Returns:
- Builder
-
plusOldCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder plusOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
withOldCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder withOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignmentBuilder> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
addOldCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder addOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
setOldCustomerGroupAssignments
public CustomerGroupAssignmentsSetMessagePayloadBuilder setOldCustomerGroupAssignments(Function<CustomerGroupAssignmentBuilder, CustomerGroupAssignment> builder) Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Parameters:
builder- function to build the oldCustomerGroupAssignments value- Returns:
- Builder
-
getCustomerGroupAssignments
Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Returns:
- customerGroupAssignments
-
getOldCustomerGroupAssignments
Customer Groups assigned to the Customer before the Set CustomerGroupAssignments update action.
- Returns:
- oldCustomerGroupAssignments
-
build
builds CustomerGroupAssignmentsSetMessagePayload with checking for non-null required values- Specified by:
buildin interfaceBuilder<CustomerGroupAssignmentsSetMessagePayload>- Returns:
- CustomerGroupAssignmentsSetMessagePayload
-
buildUnchecked
builds CustomerGroupAssignmentsSetMessagePayload without checking for non-null required values- Returns:
- CustomerGroupAssignmentsSetMessagePayload
-
of
factory method for an instance of CustomerGroupAssignmentsSetMessagePayloadBuilder- Returns:
- builder
-
of
public static CustomerGroupAssignmentsSetMessagePayloadBuilder of(CustomerGroupAssignmentsSetMessagePayload template) create builder for CustomerGroupAssignmentsSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-