io.sphere.sdk.shippingmethods.commands.updateactions.ChangeName Maven / Gradle / Ivy
package io.sphere.sdk.shippingmethods.commands.updateactions;
import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.shippingmethods.ShippingMethod;
/**
*
* {@include.example io.sphere.sdk.shippingmethods.commands.ShippingMethodUpdateCommandTest#changeName()}
*/
public class ChangeName extends UpdateAction {
private final String name;
private ChangeName(final String name) {
super("changeName");
this.name = name;
}
public static ChangeName of(final String name) {
return new ChangeName(name);
}
public String getName() {
return name;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy