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

io.sphere.sdk.products.commands.updateactions.SetMetaKeywords Maven / Gradle / Ivy

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

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.models.LocalizedString;
import io.sphere.sdk.products.Product;

import javax.annotation.Nullable;

/**
 * Sets the SEO attribute keywords.
 *
 * {@doc.gen intro}
 *
 * {@include.example io.sphere.sdk.products.commands.ProductUpdateCommandTest#setMetaKeywords()}
 *  

Create update actions to set the SEO attributes title, description and keywords altogether:

* {@include.example io.sphere.sdk.products.commands.ProductUpdateCommandTest#setMetaAttributes()} */ public class SetMetaKeywords extends UpdateActionImpl { @Nullable private final LocalizedString metaKeywords; private SetMetaKeywords(@Nullable final LocalizedString metaKeywords) { super("setMetaKeywords"); this.metaKeywords = metaKeywords; } public static SetMetaKeywords of(@Nullable final LocalizedString metaKeywords) { return new SetMetaKeywords(metaKeywords); } @Nullable public LocalizedString getMetaKeywords() { return metaKeywords; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy