001
002package com.commercetools.api.models.order;
003
004import java.time.*;
005import java.util.*;
006import java.util.function.Function;
007
008import javax.annotation.Nullable;
009import javax.validation.constraints.NotNull;
010
011import com.fasterxml.jackson.annotation.*;
012import com.fasterxml.jackson.databind.annotation.*;
013
014import io.vrap.rmf.base.client.utils.Generated;
015
016/**
017 * OrderUpdateAction
018 *
019 * <hr>
020 * Example to create a subtype instance using the builder pattern
021 * <div class=code-example>
022 * <pre><code class='java'>
023 *     OrderUpdateAction orderUpdateAction = OrderUpdateAction.addDeliveryBuilder()
024 *             .build()
025 * </code></pre>
026 * </div>
027 */
028@JsonSubTypes({
029        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderAddDeliveryActionImpl.class, name = OrderAddDeliveryAction.ADD_DELIVERY),
030        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderAddItemShippingAddressActionImpl.class, name = OrderAddItemShippingAddressAction.ADD_ITEM_SHIPPING_ADDRESS),
031        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderAddParcelToDeliveryActionImpl.class, name = OrderAddParcelToDeliveryAction.ADD_PARCEL_TO_DELIVERY),
032        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderAddPaymentActionImpl.class, name = OrderAddPaymentAction.ADD_PAYMENT),
033        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderAddReturnInfoActionImpl.class, name = OrderAddReturnInfoAction.ADD_RETURN_INFO),
034        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderChangeOrderStateActionImpl.class, name = OrderChangeOrderStateAction.CHANGE_ORDER_STATE),
035        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderChangePaymentStateActionImpl.class, name = OrderChangePaymentStateAction.CHANGE_PAYMENT_STATE),
036        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderChangeShipmentStateActionImpl.class, name = OrderChangeShipmentStateAction.CHANGE_SHIPMENT_STATE),
037        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderImportCustomLineItemStateActionImpl.class, name = OrderImportCustomLineItemStateAction.IMPORT_CUSTOM_LINE_ITEM_STATE),
038        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderImportLineItemStateActionImpl.class, name = OrderImportLineItemStateAction.IMPORT_LINE_ITEM_STATE),
039        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderRemoveDeliveryActionImpl.class, name = OrderRemoveDeliveryAction.REMOVE_DELIVERY),
040        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderRemoveItemShippingAddressActionImpl.class, name = OrderRemoveItemShippingAddressAction.REMOVE_ITEM_SHIPPING_ADDRESS),
041        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderRemoveParcelFromDeliveryActionImpl.class, name = OrderRemoveParcelFromDeliveryAction.REMOVE_PARCEL_FROM_DELIVERY),
042        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderRemovePaymentActionImpl.class, name = OrderRemovePaymentAction.REMOVE_PAYMENT),
043        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetBillingAddressActionImpl.class, name = OrderSetBillingAddressAction.SET_BILLING_ADDRESS),
044        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetBillingAddressCustomFieldActionImpl.class, name = OrderSetBillingAddressCustomFieldAction.SET_BILLING_ADDRESS_CUSTOM_FIELD),
045        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetBillingAddressCustomTypeActionImpl.class, name = OrderSetBillingAddressCustomTypeAction.SET_BILLING_ADDRESS_CUSTOM_TYPE),
046        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetCustomFieldActionImpl.class, name = OrderSetCustomFieldAction.SET_CUSTOM_FIELD),
047        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetCustomLineItemCustomFieldActionImpl.class, name = OrderSetCustomLineItemCustomFieldAction.SET_CUSTOM_LINE_ITEM_CUSTOM_FIELD),
048        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetCustomLineItemCustomTypeActionImpl.class, name = OrderSetCustomLineItemCustomTypeAction.SET_CUSTOM_LINE_ITEM_CUSTOM_TYPE),
049        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetCustomLineItemShippingDetailsActionImpl.class, name = OrderSetCustomLineItemShippingDetailsAction.SET_CUSTOM_LINE_ITEM_SHIPPING_DETAILS),
050        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetCustomTypeActionImpl.class, name = OrderSetCustomTypeAction.SET_CUSTOM_TYPE),
051        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetCustomerEmailActionImpl.class, name = OrderSetCustomerEmailAction.SET_CUSTOMER_EMAIL),
052        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetCustomerIdActionImpl.class, name = OrderSetCustomerIdAction.SET_CUSTOMER_ID),
053        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetDeliveryAddressActionImpl.class, name = OrderSetDeliveryAddressAction.SET_DELIVERY_ADDRESS),
054        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetDeliveryAddressCustomFieldActionImpl.class, name = OrderSetDeliveryAddressCustomFieldAction.SET_DELIVERY_ADDRESS_CUSTOM_FIELD),
055        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetDeliveryAddressCustomTypeActionImpl.class, name = OrderSetDeliveryAddressCustomTypeAction.SET_DELIVERY_ADDRESS_CUSTOM_TYPE),
056        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetDeliveryCustomFieldActionImpl.class, name = OrderSetDeliveryCustomFieldAction.SET_DELIVERY_CUSTOM_FIELD),
057        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetDeliveryCustomTypeActionImpl.class, name = OrderSetDeliveryCustomTypeAction.SET_DELIVERY_CUSTOM_TYPE),
058        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetDeliveryItemsActionImpl.class, name = OrderSetDeliveryItemsAction.SET_DELIVERY_ITEMS),
059        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetItemShippingAddressCustomFieldActionImpl.class, name = OrderSetItemShippingAddressCustomFieldAction.SET_ITEM_SHIPPING_ADDRESS_CUSTOM_FIELD),
060        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetItemShippingAddressCustomTypeActionImpl.class, name = OrderSetItemShippingAddressCustomTypeAction.SET_ITEM_SHIPPING_ADDRESS_CUSTOM_TYPE),
061        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetLineItemCustomFieldActionImpl.class, name = OrderSetLineItemCustomFieldAction.SET_LINE_ITEM_CUSTOM_FIELD),
062        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetLineItemCustomTypeActionImpl.class, name = OrderSetLineItemCustomTypeAction.SET_LINE_ITEM_CUSTOM_TYPE),
063        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetLineItemShippingDetailsActionImpl.class, name = OrderSetLineItemShippingDetailsAction.SET_LINE_ITEM_SHIPPING_DETAILS),
064        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetLocaleActionImpl.class, name = OrderSetLocaleAction.SET_LOCALE),
065        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetOrderNumberActionImpl.class, name = OrderSetOrderNumberAction.SET_ORDER_NUMBER),
066        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetParcelCustomFieldActionImpl.class, name = OrderSetParcelCustomFieldAction.SET_PARCEL_CUSTOM_FIELD),
067        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetParcelCustomTypeActionImpl.class, name = OrderSetParcelCustomTypeAction.SET_PARCEL_CUSTOM_TYPE),
068        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetParcelItemsActionImpl.class, name = OrderSetParcelItemsAction.SET_PARCEL_ITEMS),
069        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetParcelMeasurementsActionImpl.class, name = OrderSetParcelMeasurementsAction.SET_PARCEL_MEASUREMENTS),
070        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetParcelTrackingDataActionImpl.class, name = OrderSetParcelTrackingDataAction.SET_PARCEL_TRACKING_DATA),
071        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetPurchaseOrderNumberActionImpl.class, name = OrderSetPurchaseOrderNumberAction.SET_PURCHASE_ORDER_NUMBER),
072        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetReturnInfoActionImpl.class, name = OrderSetReturnInfoAction.SET_RETURN_INFO),
073        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetReturnItemCustomFieldActionImpl.class, name = OrderSetReturnItemCustomFieldAction.SET_RETURN_ITEM_CUSTOM_FIELD),
074        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetReturnItemCustomTypeActionImpl.class, name = OrderSetReturnItemCustomTypeAction.SET_RETURN_ITEM_CUSTOM_TYPE),
075        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetReturnPaymentStateActionImpl.class, name = OrderSetReturnPaymentStateAction.SET_RETURN_PAYMENT_STATE),
076        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetReturnShipmentStateActionImpl.class, name = OrderSetReturnShipmentStateAction.SET_RETURN_SHIPMENT_STATE),
077        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetShippingAddressActionImpl.class, name = OrderSetShippingAddressAction.SET_SHIPPING_ADDRESS),
078        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldActionImpl.class, name = OrderSetShippingAddressCustomFieldAction.SET_SHIPPING_ADDRESS_CUSTOM_FIELD),
079        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetShippingAddressCustomTypeActionImpl.class, name = OrderSetShippingAddressCustomTypeAction.SET_SHIPPING_ADDRESS_CUSTOM_TYPE),
080        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderSetStoreActionImpl.class, name = OrderSetStoreAction.SET_STORE),
081        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderTransitionCustomLineItemStateActionImpl.class, name = OrderTransitionCustomLineItemStateAction.TRANSITION_CUSTOM_LINE_ITEM_STATE),
082        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderTransitionLineItemStateActionImpl.class, name = OrderTransitionLineItemStateAction.TRANSITION_LINE_ITEM_STATE),
083        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderTransitionStateActionImpl.class, name = OrderTransitionStateAction.TRANSITION_STATE),
084        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderUpdateItemShippingAddressActionImpl.class, name = OrderUpdateItemShippingAddressAction.UPDATE_ITEM_SHIPPING_ADDRESS),
085        @JsonSubTypes.Type(value = com.commercetools.api.models.order.OrderUpdateSyncInfoActionImpl.class, name = OrderUpdateSyncInfoAction.UPDATE_SYNC_INFO) })
086@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "action", defaultImpl = OrderUpdateActionImpl.class, visible = true)
087@JsonDeserialize(as = OrderUpdateActionImpl.class)
088@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
089public interface OrderUpdateAction extends com.commercetools.api.models.ResourceUpdateAction<OrderUpdateAction> {
090
091    /**
092     *
093     * @return action
094     */
095    @NotNull
096    @JsonProperty("action")
097    public String getAction();
098
099    /**
100     * factory method to create a deep copy of OrderUpdateAction
101     * @param template instance to be copied
102     * @return copy instance
103     */
104    @Nullable
105    public static OrderUpdateAction deepCopy(@Nullable final OrderUpdateAction template) {
106        if (template == null) {
107            return null;
108        }
109        if (template instanceof com.commercetools.api.models.order.OrderAddDeliveryAction) {
110            return com.commercetools.api.models.order.OrderAddDeliveryAction
111                    .deepCopy((com.commercetools.api.models.order.OrderAddDeliveryAction) template);
112        }
113        if (template instanceof com.commercetools.api.models.order.OrderAddItemShippingAddressAction) {
114            return com.commercetools.api.models.order.OrderAddItemShippingAddressAction
115                    .deepCopy((com.commercetools.api.models.order.OrderAddItemShippingAddressAction) template);
116        }
117        if (template instanceof com.commercetools.api.models.order.OrderAddParcelToDeliveryAction) {
118            return com.commercetools.api.models.order.OrderAddParcelToDeliveryAction
119                    .deepCopy((com.commercetools.api.models.order.OrderAddParcelToDeliveryAction) template);
120        }
121        if (template instanceof com.commercetools.api.models.order.OrderAddPaymentAction) {
122            return com.commercetools.api.models.order.OrderAddPaymentAction
123                    .deepCopy((com.commercetools.api.models.order.OrderAddPaymentAction) template);
124        }
125        if (template instanceof com.commercetools.api.models.order.OrderAddReturnInfoAction) {
126            return com.commercetools.api.models.order.OrderAddReturnInfoAction
127                    .deepCopy((com.commercetools.api.models.order.OrderAddReturnInfoAction) template);
128        }
129        if (template instanceof com.commercetools.api.models.order.OrderChangeOrderStateAction) {
130            return com.commercetools.api.models.order.OrderChangeOrderStateAction
131                    .deepCopy((com.commercetools.api.models.order.OrderChangeOrderStateAction) template);
132        }
133        if (template instanceof com.commercetools.api.models.order.OrderChangePaymentStateAction) {
134            return com.commercetools.api.models.order.OrderChangePaymentStateAction
135                    .deepCopy((com.commercetools.api.models.order.OrderChangePaymentStateAction) template);
136        }
137        if (template instanceof com.commercetools.api.models.order.OrderChangeShipmentStateAction) {
138            return com.commercetools.api.models.order.OrderChangeShipmentStateAction
139                    .deepCopy((com.commercetools.api.models.order.OrderChangeShipmentStateAction) template);
140        }
141        if (template instanceof com.commercetools.api.models.order.OrderImportCustomLineItemStateAction) {
142            return com.commercetools.api.models.order.OrderImportCustomLineItemStateAction
143                    .deepCopy((com.commercetools.api.models.order.OrderImportCustomLineItemStateAction) template);
144        }
145        if (template instanceof com.commercetools.api.models.order.OrderImportLineItemStateAction) {
146            return com.commercetools.api.models.order.OrderImportLineItemStateAction
147                    .deepCopy((com.commercetools.api.models.order.OrderImportLineItemStateAction) template);
148        }
149        if (template instanceof com.commercetools.api.models.order.OrderRemoveDeliveryAction) {
150            return com.commercetools.api.models.order.OrderRemoveDeliveryAction
151                    .deepCopy((com.commercetools.api.models.order.OrderRemoveDeliveryAction) template);
152        }
153        if (template instanceof com.commercetools.api.models.order.OrderRemoveItemShippingAddressAction) {
154            return com.commercetools.api.models.order.OrderRemoveItemShippingAddressAction
155                    .deepCopy((com.commercetools.api.models.order.OrderRemoveItemShippingAddressAction) template);
156        }
157        if (template instanceof com.commercetools.api.models.order.OrderRemoveParcelFromDeliveryAction) {
158            return com.commercetools.api.models.order.OrderRemoveParcelFromDeliveryAction
159                    .deepCopy((com.commercetools.api.models.order.OrderRemoveParcelFromDeliveryAction) template);
160        }
161        if (template instanceof com.commercetools.api.models.order.OrderRemovePaymentAction) {
162            return com.commercetools.api.models.order.OrderRemovePaymentAction
163                    .deepCopy((com.commercetools.api.models.order.OrderRemovePaymentAction) template);
164        }
165        if (template instanceof com.commercetools.api.models.order.OrderSetBillingAddressAction) {
166            return com.commercetools.api.models.order.OrderSetBillingAddressAction
167                    .deepCopy((com.commercetools.api.models.order.OrderSetBillingAddressAction) template);
168        }
169        if (template instanceof com.commercetools.api.models.order.OrderSetBillingAddressCustomFieldAction) {
170            return com.commercetools.api.models.order.OrderSetBillingAddressCustomFieldAction
171                    .deepCopy((com.commercetools.api.models.order.OrderSetBillingAddressCustomFieldAction) template);
172        }
173        if (template instanceof com.commercetools.api.models.order.OrderSetBillingAddressCustomTypeAction) {
174            return com.commercetools.api.models.order.OrderSetBillingAddressCustomTypeAction
175                    .deepCopy((com.commercetools.api.models.order.OrderSetBillingAddressCustomTypeAction) template);
176        }
177        if (template instanceof com.commercetools.api.models.order.OrderSetCustomFieldAction) {
178            return com.commercetools.api.models.order.OrderSetCustomFieldAction
179                    .deepCopy((com.commercetools.api.models.order.OrderSetCustomFieldAction) template);
180        }
181        if (template instanceof com.commercetools.api.models.order.OrderSetCustomLineItemCustomFieldAction) {
182            return com.commercetools.api.models.order.OrderSetCustomLineItemCustomFieldAction
183                    .deepCopy((com.commercetools.api.models.order.OrderSetCustomLineItemCustomFieldAction) template);
184        }
185        if (template instanceof com.commercetools.api.models.order.OrderSetCustomLineItemCustomTypeAction) {
186            return com.commercetools.api.models.order.OrderSetCustomLineItemCustomTypeAction
187                    .deepCopy((com.commercetools.api.models.order.OrderSetCustomLineItemCustomTypeAction) template);
188        }
189        if (template instanceof com.commercetools.api.models.order.OrderSetCustomLineItemShippingDetailsAction) {
190            return com.commercetools.api.models.order.OrderSetCustomLineItemShippingDetailsAction.deepCopy(
191                (com.commercetools.api.models.order.OrderSetCustomLineItemShippingDetailsAction) template);
192        }
193        if (template instanceof com.commercetools.api.models.order.OrderSetCustomTypeAction) {
194            return com.commercetools.api.models.order.OrderSetCustomTypeAction
195                    .deepCopy((com.commercetools.api.models.order.OrderSetCustomTypeAction) template);
196        }
197        if (template instanceof com.commercetools.api.models.order.OrderSetCustomerEmailAction) {
198            return com.commercetools.api.models.order.OrderSetCustomerEmailAction
199                    .deepCopy((com.commercetools.api.models.order.OrderSetCustomerEmailAction) template);
200        }
201        if (template instanceof com.commercetools.api.models.order.OrderSetCustomerIdAction) {
202            return com.commercetools.api.models.order.OrderSetCustomerIdAction
203                    .deepCopy((com.commercetools.api.models.order.OrderSetCustomerIdAction) template);
204        }
205        if (template instanceof com.commercetools.api.models.order.OrderSetDeliveryAddressAction) {
206            return com.commercetools.api.models.order.OrderSetDeliveryAddressAction
207                    .deepCopy((com.commercetools.api.models.order.OrderSetDeliveryAddressAction) template);
208        }
209        if (template instanceof com.commercetools.api.models.order.OrderSetDeliveryAddressCustomFieldAction) {
210            return com.commercetools.api.models.order.OrderSetDeliveryAddressCustomFieldAction
211                    .deepCopy((com.commercetools.api.models.order.OrderSetDeliveryAddressCustomFieldAction) template);
212        }
213        if (template instanceof com.commercetools.api.models.order.OrderSetDeliveryAddressCustomTypeAction) {
214            return com.commercetools.api.models.order.OrderSetDeliveryAddressCustomTypeAction
215                    .deepCopy((com.commercetools.api.models.order.OrderSetDeliveryAddressCustomTypeAction) template);
216        }
217        if (template instanceof com.commercetools.api.models.order.OrderSetDeliveryCustomFieldAction) {
218            return com.commercetools.api.models.order.OrderSetDeliveryCustomFieldAction
219                    .deepCopy((com.commercetools.api.models.order.OrderSetDeliveryCustomFieldAction) template);
220        }
221        if (template instanceof com.commercetools.api.models.order.OrderSetDeliveryCustomTypeAction) {
222            return com.commercetools.api.models.order.OrderSetDeliveryCustomTypeAction
223                    .deepCopy((com.commercetools.api.models.order.OrderSetDeliveryCustomTypeAction) template);
224        }
225        if (template instanceof com.commercetools.api.models.order.OrderSetDeliveryItemsAction) {
226            return com.commercetools.api.models.order.OrderSetDeliveryItemsAction
227                    .deepCopy((com.commercetools.api.models.order.OrderSetDeliveryItemsAction) template);
228        }
229        if (template instanceof com.commercetools.api.models.order.OrderSetItemShippingAddressCustomFieldAction) {
230            return com.commercetools.api.models.order.OrderSetItemShippingAddressCustomFieldAction.deepCopy(
231                (com.commercetools.api.models.order.OrderSetItemShippingAddressCustomFieldAction) template);
232        }
233        if (template instanceof com.commercetools.api.models.order.OrderSetItemShippingAddressCustomTypeAction) {
234            return com.commercetools.api.models.order.OrderSetItemShippingAddressCustomTypeAction.deepCopy(
235                (com.commercetools.api.models.order.OrderSetItemShippingAddressCustomTypeAction) template);
236        }
237        if (template instanceof com.commercetools.api.models.order.OrderSetLineItemCustomFieldAction) {
238            return com.commercetools.api.models.order.OrderSetLineItemCustomFieldAction
239                    .deepCopy((com.commercetools.api.models.order.OrderSetLineItemCustomFieldAction) template);
240        }
241        if (template instanceof com.commercetools.api.models.order.OrderSetLineItemCustomTypeAction) {
242            return com.commercetools.api.models.order.OrderSetLineItemCustomTypeAction
243                    .deepCopy((com.commercetools.api.models.order.OrderSetLineItemCustomTypeAction) template);
244        }
245        if (template instanceof com.commercetools.api.models.order.OrderSetLineItemShippingDetailsAction) {
246            return com.commercetools.api.models.order.OrderSetLineItemShippingDetailsAction
247                    .deepCopy((com.commercetools.api.models.order.OrderSetLineItemShippingDetailsAction) template);
248        }
249        if (template instanceof com.commercetools.api.models.order.OrderSetLocaleAction) {
250            return com.commercetools.api.models.order.OrderSetLocaleAction
251                    .deepCopy((com.commercetools.api.models.order.OrderSetLocaleAction) template);
252        }
253        if (template instanceof com.commercetools.api.models.order.OrderSetOrderNumberAction) {
254            return com.commercetools.api.models.order.OrderSetOrderNumberAction
255                    .deepCopy((com.commercetools.api.models.order.OrderSetOrderNumberAction) template);
256        }
257        if (template instanceof com.commercetools.api.models.order.OrderSetParcelCustomFieldAction) {
258            return com.commercetools.api.models.order.OrderSetParcelCustomFieldAction
259                    .deepCopy((com.commercetools.api.models.order.OrderSetParcelCustomFieldAction) template);
260        }
261        if (template instanceof com.commercetools.api.models.order.OrderSetParcelCustomTypeAction) {
262            return com.commercetools.api.models.order.OrderSetParcelCustomTypeAction
263                    .deepCopy((com.commercetools.api.models.order.OrderSetParcelCustomTypeAction) template);
264        }
265        if (template instanceof com.commercetools.api.models.order.OrderSetParcelItemsAction) {
266            return com.commercetools.api.models.order.OrderSetParcelItemsAction
267                    .deepCopy((com.commercetools.api.models.order.OrderSetParcelItemsAction) template);
268        }
269        if (template instanceof com.commercetools.api.models.order.OrderSetParcelMeasurementsAction) {
270            return com.commercetools.api.models.order.OrderSetParcelMeasurementsAction
271                    .deepCopy((com.commercetools.api.models.order.OrderSetParcelMeasurementsAction) template);
272        }
273        if (template instanceof com.commercetools.api.models.order.OrderSetParcelTrackingDataAction) {
274            return com.commercetools.api.models.order.OrderSetParcelTrackingDataAction
275                    .deepCopy((com.commercetools.api.models.order.OrderSetParcelTrackingDataAction) template);
276        }
277        if (template instanceof com.commercetools.api.models.order.OrderSetPurchaseOrderNumberAction) {
278            return com.commercetools.api.models.order.OrderSetPurchaseOrderNumberAction
279                    .deepCopy((com.commercetools.api.models.order.OrderSetPurchaseOrderNumberAction) template);
280        }
281        if (template instanceof com.commercetools.api.models.order.OrderSetReturnInfoAction) {
282            return com.commercetools.api.models.order.OrderSetReturnInfoAction
283                    .deepCopy((com.commercetools.api.models.order.OrderSetReturnInfoAction) template);
284        }
285        if (template instanceof com.commercetools.api.models.order.OrderSetReturnItemCustomFieldAction) {
286            return com.commercetools.api.models.order.OrderSetReturnItemCustomFieldAction
287                    .deepCopy((com.commercetools.api.models.order.OrderSetReturnItemCustomFieldAction) template);
288        }
289        if (template instanceof com.commercetools.api.models.order.OrderSetReturnItemCustomTypeAction) {
290            return com.commercetools.api.models.order.OrderSetReturnItemCustomTypeAction
291                    .deepCopy((com.commercetools.api.models.order.OrderSetReturnItemCustomTypeAction) template);
292        }
293        if (template instanceof com.commercetools.api.models.order.OrderSetReturnPaymentStateAction) {
294            return com.commercetools.api.models.order.OrderSetReturnPaymentStateAction
295                    .deepCopy((com.commercetools.api.models.order.OrderSetReturnPaymentStateAction) template);
296        }
297        if (template instanceof com.commercetools.api.models.order.OrderSetReturnShipmentStateAction) {
298            return com.commercetools.api.models.order.OrderSetReturnShipmentStateAction
299                    .deepCopy((com.commercetools.api.models.order.OrderSetReturnShipmentStateAction) template);
300        }
301        if (template instanceof com.commercetools.api.models.order.OrderSetShippingAddressAction) {
302            return com.commercetools.api.models.order.OrderSetShippingAddressAction
303                    .deepCopy((com.commercetools.api.models.order.OrderSetShippingAddressAction) template);
304        }
305        if (template instanceof com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldAction) {
306            return com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldAction
307                    .deepCopy((com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldAction) template);
308        }
309        if (template instanceof com.commercetools.api.models.order.OrderSetShippingAddressCustomTypeAction) {
310            return com.commercetools.api.models.order.OrderSetShippingAddressCustomTypeAction
311                    .deepCopy((com.commercetools.api.models.order.OrderSetShippingAddressCustomTypeAction) template);
312        }
313        if (template instanceof com.commercetools.api.models.order.OrderSetStoreAction) {
314            return com.commercetools.api.models.order.OrderSetStoreAction
315                    .deepCopy((com.commercetools.api.models.order.OrderSetStoreAction) template);
316        }
317        if (template instanceof com.commercetools.api.models.order.OrderTransitionCustomLineItemStateAction) {
318            return com.commercetools.api.models.order.OrderTransitionCustomLineItemStateAction
319                    .deepCopy((com.commercetools.api.models.order.OrderTransitionCustomLineItemStateAction) template);
320        }
321        if (template instanceof com.commercetools.api.models.order.OrderTransitionLineItemStateAction) {
322            return com.commercetools.api.models.order.OrderTransitionLineItemStateAction
323                    .deepCopy((com.commercetools.api.models.order.OrderTransitionLineItemStateAction) template);
324        }
325        if (template instanceof com.commercetools.api.models.order.OrderTransitionStateAction) {
326            return com.commercetools.api.models.order.OrderTransitionStateAction
327                    .deepCopy((com.commercetools.api.models.order.OrderTransitionStateAction) template);
328        }
329        if (template instanceof com.commercetools.api.models.order.OrderUpdateItemShippingAddressAction) {
330            return com.commercetools.api.models.order.OrderUpdateItemShippingAddressAction
331                    .deepCopy((com.commercetools.api.models.order.OrderUpdateItemShippingAddressAction) template);
332        }
333        if (template instanceof com.commercetools.api.models.order.OrderUpdateSyncInfoAction) {
334            return com.commercetools.api.models.order.OrderUpdateSyncInfoAction
335                    .deepCopy((com.commercetools.api.models.order.OrderUpdateSyncInfoAction) template);
336        }
337        OrderUpdateActionImpl instance = new OrderUpdateActionImpl();
338        return instance;
339    }
340
341    /**
342     * builder for addDelivery subtype
343     * @return builder
344     */
345    public static com.commercetools.api.models.order.OrderAddDeliveryActionBuilder addDeliveryBuilder() {
346        return com.commercetools.api.models.order.OrderAddDeliveryActionBuilder.of();
347    }
348
349    /**
350     * builder for addItemShippingAddress subtype
351     * @return builder
352     */
353    public static com.commercetools.api.models.order.OrderAddItemShippingAddressActionBuilder addItemShippingAddressBuilder() {
354        return com.commercetools.api.models.order.OrderAddItemShippingAddressActionBuilder.of();
355    }
356
357    /**
358     * builder for addParcelToDelivery subtype
359     * @return builder
360     */
361    public static com.commercetools.api.models.order.OrderAddParcelToDeliveryActionBuilder addParcelToDeliveryBuilder() {
362        return com.commercetools.api.models.order.OrderAddParcelToDeliveryActionBuilder.of();
363    }
364
365    /**
366     * builder for addPayment subtype
367     * @return builder
368     */
369    public static com.commercetools.api.models.order.OrderAddPaymentActionBuilder addPaymentBuilder() {
370        return com.commercetools.api.models.order.OrderAddPaymentActionBuilder.of();
371    }
372
373    /**
374     * builder for addReturnInfo subtype
375     * @return builder
376     */
377    public static com.commercetools.api.models.order.OrderAddReturnInfoActionBuilder addReturnInfoBuilder() {
378        return com.commercetools.api.models.order.OrderAddReturnInfoActionBuilder.of();
379    }
380
381    /**
382     * builder for changeOrderState subtype
383     * @return builder
384     */
385    public static com.commercetools.api.models.order.OrderChangeOrderStateActionBuilder changeOrderStateBuilder() {
386        return com.commercetools.api.models.order.OrderChangeOrderStateActionBuilder.of();
387    }
388
389    /**
390     * builder for changePaymentState subtype
391     * @return builder
392     */
393    public static com.commercetools.api.models.order.OrderChangePaymentStateActionBuilder changePaymentStateBuilder() {
394        return com.commercetools.api.models.order.OrderChangePaymentStateActionBuilder.of();
395    }
396
397    /**
398     * builder for changeShipmentState subtype
399     * @return builder
400     */
401    public static com.commercetools.api.models.order.OrderChangeShipmentStateActionBuilder changeShipmentStateBuilder() {
402        return com.commercetools.api.models.order.OrderChangeShipmentStateActionBuilder.of();
403    }
404
405    /**
406     * builder for importCustomLineItemState subtype
407     * @return builder
408     */
409    public static com.commercetools.api.models.order.OrderImportCustomLineItemStateActionBuilder importCustomLineItemStateBuilder() {
410        return com.commercetools.api.models.order.OrderImportCustomLineItemStateActionBuilder.of();
411    }
412
413    /**
414     * builder for importLineItemState subtype
415     * @return builder
416     */
417    public static com.commercetools.api.models.order.OrderImportLineItemStateActionBuilder importLineItemStateBuilder() {
418        return com.commercetools.api.models.order.OrderImportLineItemStateActionBuilder.of();
419    }
420
421    /**
422     * builder for removeDelivery subtype
423     * @return builder
424     */
425    public static com.commercetools.api.models.order.OrderRemoveDeliveryActionBuilder removeDeliveryBuilder() {
426        return com.commercetools.api.models.order.OrderRemoveDeliveryActionBuilder.of();
427    }
428
429    /**
430     * builder for removeItemShippingAddress subtype
431     * @return builder
432     */
433    public static com.commercetools.api.models.order.OrderRemoveItemShippingAddressActionBuilder removeItemShippingAddressBuilder() {
434        return com.commercetools.api.models.order.OrderRemoveItemShippingAddressActionBuilder.of();
435    }
436
437    /**
438     * builder for removeParcelFromDelivery subtype
439     * @return builder
440     */
441    public static com.commercetools.api.models.order.OrderRemoveParcelFromDeliveryActionBuilder removeParcelFromDeliveryBuilder() {
442        return com.commercetools.api.models.order.OrderRemoveParcelFromDeliveryActionBuilder.of();
443    }
444
445    /**
446     * builder for removePayment subtype
447     * @return builder
448     */
449    public static com.commercetools.api.models.order.OrderRemovePaymentActionBuilder removePaymentBuilder() {
450        return com.commercetools.api.models.order.OrderRemovePaymentActionBuilder.of();
451    }
452
453    /**
454     * builder for setBillingAddress subtype
455     * @return builder
456     */
457    public static com.commercetools.api.models.order.OrderSetBillingAddressActionBuilder setBillingAddressBuilder() {
458        return com.commercetools.api.models.order.OrderSetBillingAddressActionBuilder.of();
459    }
460
461    /**
462     * builder for setBillingAddressCustomField subtype
463     * @return builder
464     */
465    public static com.commercetools.api.models.order.OrderSetBillingAddressCustomFieldActionBuilder setBillingAddressCustomFieldBuilder() {
466        return com.commercetools.api.models.order.OrderSetBillingAddressCustomFieldActionBuilder.of();
467    }
468
469    /**
470     * builder for setBillingAddressCustomType subtype
471     * @return builder
472     */
473    public static com.commercetools.api.models.order.OrderSetBillingAddressCustomTypeActionBuilder setBillingAddressCustomTypeBuilder() {
474        return com.commercetools.api.models.order.OrderSetBillingAddressCustomTypeActionBuilder.of();
475    }
476
477    /**
478     * builder for setCustomField subtype
479     * @return builder
480     */
481    public static com.commercetools.api.models.order.OrderSetCustomFieldActionBuilder setCustomFieldBuilder() {
482        return com.commercetools.api.models.order.OrderSetCustomFieldActionBuilder.of();
483    }
484
485    /**
486     * builder for setCustomLineItemCustomField subtype
487     * @return builder
488     */
489    public static com.commercetools.api.models.order.OrderSetCustomLineItemCustomFieldActionBuilder setCustomLineItemCustomFieldBuilder() {
490        return com.commercetools.api.models.order.OrderSetCustomLineItemCustomFieldActionBuilder.of();
491    }
492
493    /**
494     * builder for setCustomLineItemCustomType subtype
495     * @return builder
496     */
497    public static com.commercetools.api.models.order.OrderSetCustomLineItemCustomTypeActionBuilder setCustomLineItemCustomTypeBuilder() {
498        return com.commercetools.api.models.order.OrderSetCustomLineItemCustomTypeActionBuilder.of();
499    }
500
501    /**
502     * builder for setCustomLineItemShippingDetails subtype
503     * @return builder
504     */
505    public static com.commercetools.api.models.order.OrderSetCustomLineItemShippingDetailsActionBuilder setCustomLineItemShippingDetailsBuilder() {
506        return com.commercetools.api.models.order.OrderSetCustomLineItemShippingDetailsActionBuilder.of();
507    }
508
509    /**
510     * builder for setCustomType subtype
511     * @return builder
512     */
513    public static com.commercetools.api.models.order.OrderSetCustomTypeActionBuilder setCustomTypeBuilder() {
514        return com.commercetools.api.models.order.OrderSetCustomTypeActionBuilder.of();
515    }
516
517    /**
518     * builder for setCustomerEmail subtype
519     * @return builder
520     */
521    public static com.commercetools.api.models.order.OrderSetCustomerEmailActionBuilder setCustomerEmailBuilder() {
522        return com.commercetools.api.models.order.OrderSetCustomerEmailActionBuilder.of();
523    }
524
525    /**
526     * builder for setCustomerId subtype
527     * @return builder
528     */
529    public static com.commercetools.api.models.order.OrderSetCustomerIdActionBuilder setCustomerIdBuilder() {
530        return com.commercetools.api.models.order.OrderSetCustomerIdActionBuilder.of();
531    }
532
533    /**
534     * builder for setDeliveryAddress subtype
535     * @return builder
536     */
537    public static com.commercetools.api.models.order.OrderSetDeliveryAddressActionBuilder setDeliveryAddressBuilder() {
538        return com.commercetools.api.models.order.OrderSetDeliveryAddressActionBuilder.of();
539    }
540
541    /**
542     * builder for setDeliveryAddressCustomField subtype
543     * @return builder
544     */
545    public static com.commercetools.api.models.order.OrderSetDeliveryAddressCustomFieldActionBuilder setDeliveryAddressCustomFieldBuilder() {
546        return com.commercetools.api.models.order.OrderSetDeliveryAddressCustomFieldActionBuilder.of();
547    }
548
549    /**
550     * builder for setDeliveryAddressCustomType subtype
551     * @return builder
552     */
553    public static com.commercetools.api.models.order.OrderSetDeliveryAddressCustomTypeActionBuilder setDeliveryAddressCustomTypeBuilder() {
554        return com.commercetools.api.models.order.OrderSetDeliveryAddressCustomTypeActionBuilder.of();
555    }
556
557    /**
558     * builder for setDeliveryCustomField subtype
559     * @return builder
560     */
561    public static com.commercetools.api.models.order.OrderSetDeliveryCustomFieldActionBuilder setDeliveryCustomFieldBuilder() {
562        return com.commercetools.api.models.order.OrderSetDeliveryCustomFieldActionBuilder.of();
563    }
564
565    /**
566     * builder for setDeliveryCustomType subtype
567     * @return builder
568     */
569    public static com.commercetools.api.models.order.OrderSetDeliveryCustomTypeActionBuilder setDeliveryCustomTypeBuilder() {
570        return com.commercetools.api.models.order.OrderSetDeliveryCustomTypeActionBuilder.of();
571    }
572
573    /**
574     * builder for setDeliveryItems subtype
575     * @return builder
576     */
577    public static com.commercetools.api.models.order.OrderSetDeliveryItemsActionBuilder setDeliveryItemsBuilder() {
578        return com.commercetools.api.models.order.OrderSetDeliveryItemsActionBuilder.of();
579    }
580
581    /**
582     * builder for setItemShippingAddressCustomField subtype
583     * @return builder
584     */
585    public static com.commercetools.api.models.order.OrderSetItemShippingAddressCustomFieldActionBuilder setItemShippingAddressCustomFieldBuilder() {
586        return com.commercetools.api.models.order.OrderSetItemShippingAddressCustomFieldActionBuilder.of();
587    }
588
589    /**
590     * builder for setItemShippingAddressCustomType subtype
591     * @return builder
592     */
593    public static com.commercetools.api.models.order.OrderSetItemShippingAddressCustomTypeActionBuilder setItemShippingAddressCustomTypeBuilder() {
594        return com.commercetools.api.models.order.OrderSetItemShippingAddressCustomTypeActionBuilder.of();
595    }
596
597    /**
598     * builder for setLineItemCustomField subtype
599     * @return builder
600     */
601    public static com.commercetools.api.models.order.OrderSetLineItemCustomFieldActionBuilder setLineItemCustomFieldBuilder() {
602        return com.commercetools.api.models.order.OrderSetLineItemCustomFieldActionBuilder.of();
603    }
604
605    /**
606     * builder for setLineItemCustomType subtype
607     * @return builder
608     */
609    public static com.commercetools.api.models.order.OrderSetLineItemCustomTypeActionBuilder setLineItemCustomTypeBuilder() {
610        return com.commercetools.api.models.order.OrderSetLineItemCustomTypeActionBuilder.of();
611    }
612
613    /**
614     * builder for setLineItemShippingDetails subtype
615     * @return builder
616     */
617    public static com.commercetools.api.models.order.OrderSetLineItemShippingDetailsActionBuilder setLineItemShippingDetailsBuilder() {
618        return com.commercetools.api.models.order.OrderSetLineItemShippingDetailsActionBuilder.of();
619    }
620
621    /**
622     * builder for setLocale subtype
623     * @return builder
624     */
625    public static com.commercetools.api.models.order.OrderSetLocaleActionBuilder setLocaleBuilder() {
626        return com.commercetools.api.models.order.OrderSetLocaleActionBuilder.of();
627    }
628
629    /**
630     * builder for setOrderNumber subtype
631     * @return builder
632     */
633    public static com.commercetools.api.models.order.OrderSetOrderNumberActionBuilder setOrderNumberBuilder() {
634        return com.commercetools.api.models.order.OrderSetOrderNumberActionBuilder.of();
635    }
636
637    /**
638     * builder for setParcelCustomField subtype
639     * @return builder
640     */
641    public static com.commercetools.api.models.order.OrderSetParcelCustomFieldActionBuilder setParcelCustomFieldBuilder() {
642        return com.commercetools.api.models.order.OrderSetParcelCustomFieldActionBuilder.of();
643    }
644
645    /**
646     * builder for setParcelCustomType subtype
647     * @return builder
648     */
649    public static com.commercetools.api.models.order.OrderSetParcelCustomTypeActionBuilder setParcelCustomTypeBuilder() {
650        return com.commercetools.api.models.order.OrderSetParcelCustomTypeActionBuilder.of();
651    }
652
653    /**
654     * builder for setParcelItems subtype
655     * @return builder
656     */
657    public static com.commercetools.api.models.order.OrderSetParcelItemsActionBuilder setParcelItemsBuilder() {
658        return com.commercetools.api.models.order.OrderSetParcelItemsActionBuilder.of();
659    }
660
661    /**
662     * builder for setParcelMeasurements subtype
663     * @return builder
664     */
665    public static com.commercetools.api.models.order.OrderSetParcelMeasurementsActionBuilder setParcelMeasurementsBuilder() {
666        return com.commercetools.api.models.order.OrderSetParcelMeasurementsActionBuilder.of();
667    }
668
669    /**
670     * builder for setParcelTrackingData subtype
671     * @return builder
672     */
673    public static com.commercetools.api.models.order.OrderSetParcelTrackingDataActionBuilder setParcelTrackingDataBuilder() {
674        return com.commercetools.api.models.order.OrderSetParcelTrackingDataActionBuilder.of();
675    }
676
677    /**
678     * builder for setPurchaseOrderNumber subtype
679     * @return builder
680     */
681    public static com.commercetools.api.models.order.OrderSetPurchaseOrderNumberActionBuilder setPurchaseOrderNumberBuilder() {
682        return com.commercetools.api.models.order.OrderSetPurchaseOrderNumberActionBuilder.of();
683    }
684
685    /**
686     * builder for setReturnInfo subtype
687     * @return builder
688     */
689    public static com.commercetools.api.models.order.OrderSetReturnInfoActionBuilder setReturnInfoBuilder() {
690        return com.commercetools.api.models.order.OrderSetReturnInfoActionBuilder.of();
691    }
692
693    /**
694     * builder for setReturnItemCustomField subtype
695     * @return builder
696     */
697    public static com.commercetools.api.models.order.OrderSetReturnItemCustomFieldActionBuilder setReturnItemCustomFieldBuilder() {
698        return com.commercetools.api.models.order.OrderSetReturnItemCustomFieldActionBuilder.of();
699    }
700
701    /**
702     * builder for setReturnItemCustomType subtype
703     * @return builder
704     */
705    public static com.commercetools.api.models.order.OrderSetReturnItemCustomTypeActionBuilder setReturnItemCustomTypeBuilder() {
706        return com.commercetools.api.models.order.OrderSetReturnItemCustomTypeActionBuilder.of();
707    }
708
709    /**
710     * builder for setReturnPaymentState subtype
711     * @return builder
712     */
713    public static com.commercetools.api.models.order.OrderSetReturnPaymentStateActionBuilder setReturnPaymentStateBuilder() {
714        return com.commercetools.api.models.order.OrderSetReturnPaymentStateActionBuilder.of();
715    }
716
717    /**
718     * builder for setReturnShipmentState subtype
719     * @return builder
720     */
721    public static com.commercetools.api.models.order.OrderSetReturnShipmentStateActionBuilder setReturnShipmentStateBuilder() {
722        return com.commercetools.api.models.order.OrderSetReturnShipmentStateActionBuilder.of();
723    }
724
725    /**
726     * builder for setShippingAddress subtype
727     * @return builder
728     */
729    public static com.commercetools.api.models.order.OrderSetShippingAddressActionBuilder setShippingAddressBuilder() {
730        return com.commercetools.api.models.order.OrderSetShippingAddressActionBuilder.of();
731    }
732
733    /**
734     * builder for setShippingAddressCustomField subtype
735     * @return builder
736     */
737    public static com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldActionBuilder setShippingAddressCustomFieldBuilder() {
738        return com.commercetools.api.models.order.OrderSetShippingAddressCustomFieldActionBuilder.of();
739    }
740
741    /**
742     * builder for setShippingAddressCustomType subtype
743     * @return builder
744     */
745    public static com.commercetools.api.models.order.OrderSetShippingAddressCustomTypeActionBuilder setShippingAddressCustomTypeBuilder() {
746        return com.commercetools.api.models.order.OrderSetShippingAddressCustomTypeActionBuilder.of();
747    }
748
749    /**
750     * builder for setStore subtype
751     * @return builder
752     */
753    public static com.commercetools.api.models.order.OrderSetStoreActionBuilder setStoreBuilder() {
754        return com.commercetools.api.models.order.OrderSetStoreActionBuilder.of();
755    }
756
757    /**
758     * builder for transitionCustomLineItemState subtype
759     * @return builder
760     */
761    public static com.commercetools.api.models.order.OrderTransitionCustomLineItemStateActionBuilder transitionCustomLineItemStateBuilder() {
762        return com.commercetools.api.models.order.OrderTransitionCustomLineItemStateActionBuilder.of();
763    }
764
765    /**
766     * builder for transitionLineItemState subtype
767     * @return builder
768     */
769    public static com.commercetools.api.models.order.OrderTransitionLineItemStateActionBuilder transitionLineItemStateBuilder() {
770        return com.commercetools.api.models.order.OrderTransitionLineItemStateActionBuilder.of();
771    }
772
773    /**
774     * builder for transitionState subtype
775     * @return builder
776     */
777    public static com.commercetools.api.models.order.OrderTransitionStateActionBuilder transitionStateBuilder() {
778        return com.commercetools.api.models.order.OrderTransitionStateActionBuilder.of();
779    }
780
781    /**
782     * builder for updateItemShippingAddress subtype
783     * @return builder
784     */
785    public static com.commercetools.api.models.order.OrderUpdateItemShippingAddressActionBuilder updateItemShippingAddressBuilder() {
786        return com.commercetools.api.models.order.OrderUpdateItemShippingAddressActionBuilder.of();
787    }
788
789    /**
790     * builder for updateSyncInfo subtype
791     * @return builder
792     */
793    public static com.commercetools.api.models.order.OrderUpdateSyncInfoActionBuilder updateSyncInfoBuilder() {
794        return com.commercetools.api.models.order.OrderUpdateSyncInfoActionBuilder.of();
795    }
796
797    /**
798     * accessor map function
799     * @param <T> mapped type
800     * @param helper function to map the object
801     * @return mapped value
802     */
803    default <T> T withOrderUpdateAction(Function<OrderUpdateAction, T> helper) {
804        return helper.apply(this);
805    }
806
807    /**
808     * gives a TypeReference for usage with Jackson DataBind
809     * @return TypeReference
810     */
811    public static com.fasterxml.jackson.core.type.TypeReference<OrderUpdateAction> typeReference() {
812        return new com.fasterxml.jackson.core.type.TypeReference<OrderUpdateAction>() {
813            @Override
814            public String toString() {
815                return "TypeReference<OrderUpdateAction>";
816            }
817        };
818    }
819}