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

io.sphere.sdk.customergroups.commands.updateactions.ChangeName Maven / Gradle / Ivy

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

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.customergroups.CustomerGroup;


/**
 Changes the name of the customer group.

 {@doc.gen intro}

 {@include.example io.sphere.sdk.customergroups.commands.CustomerGroupUpdateCommandTest#changeName()}

 @see CustomerGroup
 */
public class ChangeName extends UpdateActionImpl {
    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