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

io.sphere.sdk.producttypes.commands.updateactions.RemoveAttributeDefinition Maven / Gradle / Ivy

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

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.producttypes.ProductType;

/**
 * Remove an attribute definition.
 *
 * {@doc.gen intro}
 *
 * {@include.example io.sphere.sdk.producttypes.commands.ProductTypeUpdateCommandTest#addAttributeDefinition()}
 */
public class RemoveAttributeDefinition extends UpdateActionImpl {
    private final String name;

    private RemoveAttributeDefinition(final String attributeName) {
        super("removeAttributeDefinition");
        this.name = attributeName;
    }

    public static RemoveAttributeDefinition of(final String attributeName) {
        return new RemoveAttributeDefinition(attributeName);
    }

    public String getName() {
        return name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy