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-M26
Show newest version
package io.sphere.sdk.orders.commands.updateactions;

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

/**
 Sets the order number.

 {@doc.gen intro}

 {@include.example io.sphere.sdk.orders.commands.OrderUpdateCommandTest#setOrderNumber()}
 */
public class SetOrderNumber extends UpdateActionImpl {
    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