Class OrderCustomerSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<OrderCustomerSetMessagePayload>
Example to create an instance using the builder pattern
OrderCustomerSetMessagePayload orderCustomerSetMessagePayload = OrderCustomerSetMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderCustomerSetMessagePayload with checking for non-null required valuesbuilds OrderCustomerSetMessagePayload without checking for non-null required valuescustomer
(CustomerReference customer) Customer on the Order after the Set Customer ID update action.Customer on the Order after the Set Customer ID update action.customerGroup
(CustomerGroupReference customerGroup) CustomerGroup on the Order after the Set Customer ID update action.CustomerGroup on the Order after the Set Customer ID update action.Customer on the Order after the Set Customer ID update action.CustomerGroup on the Order after the Set Customer ID update action.Customer on the Order before the Set Customer ID update action.CustomerGroup on the Order before the Set Customer ID update action.of()
factory method for an instance of OrderCustomerSetMessagePayloadBuilderof
(OrderCustomerSetMessagePayload template) create builder for OrderCustomerSetMessagePayload instanceoldCustomer
(CustomerReference oldCustomer) Customer on the Order before the Set Customer ID update action.Customer on the Order before the Set Customer ID update action.oldCustomerGroup
(CustomerGroupReference oldCustomerGroup) CustomerGroup on the Order before the Set Customer ID update action.CustomerGroup on the Order before the Set Customer ID update action.Customer on the Order after the Set Customer ID update action.CustomerGroup on the Order after the Set Customer ID update action.Customer on the Order before the Set Customer ID update action.CustomerGroup on the Order before the Set Customer ID update action.
-
Constructor Details
-
OrderCustomerSetMessagePayloadBuilder
public OrderCustomerSetMessagePayloadBuilder()
-
-
Method Details
-
customer
public OrderCustomerSetMessagePayloadBuilder customer(Function<CustomerReferenceBuilder, CustomerReferenceBuilder> builder) Customer on the Order after the Set Customer ID update action.
- Parameters:
builder
- function to build the customer value- Returns:
- Builder
-
withCustomer
public OrderCustomerSetMessagePayloadBuilder withCustomer(Function<CustomerReferenceBuilder, CustomerReference> builder) Customer on the Order after the Set Customer ID update action.
- Parameters:
builder
- function to build the customer value- Returns:
- Builder
-
customer
Customer on the Order after the Set Customer ID update action.
- Parameters:
customer
- value to be set- Returns:
- Builder
-
customerGroup
public OrderCustomerSetMessagePayloadBuilder customerGroup(Function<CustomerGroupReferenceBuilder, CustomerGroupReferenceBuilder> builder) CustomerGroup on the Order after the Set Customer ID update action.
- Parameters:
builder
- function to build the customerGroup value- Returns:
- Builder
-
withCustomerGroup
public OrderCustomerSetMessagePayloadBuilder withCustomerGroup(Function<CustomerGroupReferenceBuilder, CustomerGroupReference> builder) CustomerGroup on the Order after the Set Customer ID update action.
- Parameters:
builder
- function to build the customerGroup value- Returns:
- Builder
-
customerGroup
public OrderCustomerSetMessagePayloadBuilder customerGroup(@Nullable CustomerGroupReference customerGroup) CustomerGroup on the Order after the Set Customer ID update action.
- Parameters:
customerGroup
- value to be set- Returns:
- Builder
-
oldCustomer
public OrderCustomerSetMessagePayloadBuilder oldCustomer(Function<CustomerReferenceBuilder, CustomerReferenceBuilder> builder) Customer on the Order before the Set Customer ID update action.
- Parameters:
builder
- function to build the oldCustomer value- Returns:
- Builder
-
withOldCustomer
public OrderCustomerSetMessagePayloadBuilder withOldCustomer(Function<CustomerReferenceBuilder, CustomerReference> builder) Customer on the Order before the Set Customer ID update action.
- Parameters:
builder
- function to build the oldCustomer value- Returns:
- Builder
-
oldCustomer
Customer on the Order before the Set Customer ID update action.
- Parameters:
oldCustomer
- value to be set- Returns:
- Builder
-
oldCustomerGroup
public OrderCustomerSetMessagePayloadBuilder oldCustomerGroup(Function<CustomerGroupReferenceBuilder, CustomerGroupReferenceBuilder> builder) CustomerGroup on the Order before the Set Customer ID update action.
- Parameters:
builder
- function to build the oldCustomerGroup value- Returns:
- Builder
-
withOldCustomerGroup
public OrderCustomerSetMessagePayloadBuilder withOldCustomerGroup(Function<CustomerGroupReferenceBuilder, CustomerGroupReference> builder) CustomerGroup on the Order before the Set Customer ID update action.
- Parameters:
builder
- function to build the oldCustomerGroup value- Returns:
- Builder
-
oldCustomerGroup
public OrderCustomerSetMessagePayloadBuilder oldCustomerGroup(@Nullable CustomerGroupReference oldCustomerGroup) CustomerGroup on the Order before the Set Customer ID update action.
- Parameters:
oldCustomerGroup
- value to be set- Returns:
- Builder
-
getCustomer
Customer on the Order after the Set Customer ID update action.
- Returns:
- customer
-
getCustomerGroup
CustomerGroup on the Order after the Set Customer ID update action.
- Returns:
- customerGroup
-
getOldCustomer
Customer on the Order before the Set Customer ID update action.
- Returns:
- oldCustomer
-
getOldCustomerGroup
CustomerGroup on the Order before the Set Customer ID update action.
- Returns:
- oldCustomerGroup
-
build
builds OrderCustomerSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderCustomerSetMessagePayload>
- Returns:
- OrderCustomerSetMessagePayload
-
buildUnchecked
builds OrderCustomerSetMessagePayload without checking for non-null required values- Returns:
- OrderCustomerSetMessagePayload
-
of
factory method for an instance of OrderCustomerSetMessagePayloadBuilder- Returns:
- builder
-
of
create builder for OrderCustomerSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-