Class OrderSetCustomLineItemCustomFieldActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderSetCustomLineItemCustomFieldAction>
Example to create an instance using the builder pattern
OrderSetCustomLineItemCustomFieldAction orderSetCustomLineItemCustomFieldAction = OrderSetCustomLineItemCustomFieldAction.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSetCustomLineItemCustomFieldAction with checking for non-null required valuesbuilds OrderSetCustomLineItemCustomFieldAction without checking for non-null required valuescustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.customLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.id
of the CustomLineItem to update.key
of the CustomLineItem to update.getName()
Name of the Custom Field.getValue()
Ifvalue
is absent ornull
, this field will be removed if it exists.Name of the Custom Field.of()
factory method for an instance of OrderSetCustomLineItemCustomFieldActionBuilderof
(OrderSetCustomLineItemCustomFieldAction template) create builder for OrderSetCustomLineItemCustomFieldAction instanceIfvalue
is absent ornull
, this field will be removed if it exists.
-
Constructor Details
-
OrderSetCustomLineItemCustomFieldActionBuilder
public OrderSetCustomLineItemCustomFieldActionBuilder()
-
-
Method Details
-
customLineItemId
public OrderSetCustomLineItemCustomFieldActionBuilder customLineItemId(@Nullable String customLineItemId) id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Parameters:
customLineItemId
- value to be set- Returns:
- Builder
-
customLineItemKey
public OrderSetCustomLineItemCustomFieldActionBuilder customLineItemKey(@Nullable String customLineItemKey) key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Parameters:
customLineItemKey
- value to be set- Returns:
- Builder
-
name
Name of the Custom Field.
- Parameters:
name
- value to be set- Returns:
- Builder
-
value
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Parameters:
value
- value to be set- Returns:
- Builder
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Returns:
- customLineItemKey
-
getName
Name of the Custom Field.
- Returns:
- name
-
getValue
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Returns:
- value
-
build
builds OrderSetCustomLineItemCustomFieldAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<OrderSetCustomLineItemCustomFieldAction>
- Returns:
- OrderSetCustomLineItemCustomFieldAction
-
buildUnchecked
builds OrderSetCustomLineItemCustomFieldAction without checking for non-null required values- Returns:
- OrderSetCustomLineItemCustomFieldAction
-
of
factory method for an instance of OrderSetCustomLineItemCustomFieldActionBuilder- Returns:
- builder
-
of
public static OrderSetCustomLineItemCustomFieldActionBuilder of(OrderSetCustomLineItemCustomFieldAction template) create builder for OrderSetCustomLineItemCustomFieldAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-