Class CustomerSetAddressCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<CustomerSetAddressCustomTypeAction>
Example to create an instance using the builder pattern
CustomerSetAddressCustomTypeAction customerSetAddressCustomTypeAction = CustomerSetAddressCustomTypeAction.builder()
.addressId("{addressId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUser-defined unique identifier of the Address to be updated.build()
builds CustomerSetAddressCustomTypeAction with checking for non-null required valuesbuilds CustomerSetAddressCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for theaddress
.Sets the Custom Fields fields for theaddress
.User-defined unique identifier of the Address to be updated.Sets the Custom Fields fields for theaddress
.getType()
Defines the Type that extends theaddress
with Custom Fields.of()
factory method for an instance of CustomerSetAddressCustomTypeActionBuilderof
(CustomerSetAddressCustomTypeAction template) create builder for CustomerSetAddressCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends theaddress
with Custom Fields.Defines the Type that extends theaddress
with Custom Fields.Sets the Custom Fields fields for theaddress
.Defines the Type that extends theaddress
with Custom Fields.
-
Constructor Details
-
CustomerSetAddressCustomTypeActionBuilder
public CustomerSetAddressCustomTypeActionBuilder()
-
-
Method Details
-
addressId
User-defined unique identifier of the Address to be updated.
- Parameters:
addressId
- value to be set- Returns:
- Builder
-
type
public CustomerSetAddressCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public CustomerSetAddressCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public CustomerSetAddressCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public CustomerSetAddressCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the
address
.- Parameters:
fields
- value to be set- Returns:
- Builder
-
getAddressId
User-defined unique identifier of the Address to be updated.
- Returns:
- addressId
-
getType
Defines the Type that extends the
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
address
.- Returns:
- fields
-
build
builds CustomerSetAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerSetAddressCustomTypeAction>
- Returns:
- CustomerSetAddressCustomTypeAction
-
buildUnchecked
builds CustomerSetAddressCustomTypeAction without checking for non-null required values- Returns:
- CustomerSetAddressCustomTypeAction
-
of
factory method for an instance of CustomerSetAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static CustomerSetAddressCustomTypeActionBuilder of(CustomerSetAddressCustomTypeAction template) create builder for CustomerSetAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-