All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.orders.commands.updateactions.SetOrderNumber Maven / Gradle / Ivy

There is a newer version: 1.0.0-M12
Show newest version
package io.sphere.sdk.orders.commands.updateactions;

import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.orders.Order;

/**

 {@include.example io.sphere.sdk.orders.commands.OrderUpdateCommandTest#setOrderNumber()}
 */
public class SetOrderNumber extends UpdateAction {
    private final String orderNumber;

    private SetOrderNumber(final String orderNumber) {
        super("setOrderNumber");
        this.orderNumber = orderNumber;
    }

    public static SetOrderNumber of(final String orderNumber) {
        return new SetOrderNumber(orderNumber);
    }

    public String getOrderNumber() {
        return orderNumber;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy