io.sphere.sdk.taxcategories.commands.updateactions.SetDescription Maven / Gradle / Ivy
package io.sphere.sdk.taxcategories.commands.updateactions;
import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.taxcategories.TaxCategory;
import javax.annotation.Nullable;
/**
* Updates the description of a tax category.
*
* {@include.example io.sphere.sdk.taxcategories.commands.TaxCategoryUpdateCommandTest#setDescription()}
*/
public class SetDescription extends UpdateActionImpl {
@Nullable
private final String description;
private SetDescription(@Nullable final String description) {
super("setDescription");
this.description = description;
}
@Nullable
public String getDescription() {
return description;
}
public static SetDescription of(@Nullable final String description) {
return new SetDescription(description);
}
}