public final class SetAssetKey extends UpdateActionImpl<T>
Product
.Modifier and Type | Method and Description |
---|---|
String |
getAssetId() |
String |
getAssetKey() |
String |
getSku() |
Integer |
getVariantId() |
Boolean |
isStaged() |
static SetAssetKey |
ofSku(String assetId,
String sku,
String assetKey) |
static SetAssetKey |
ofVariantId(String assetId,
Integer variantId,
String assetKey) |
SetAssetKey |
withAssetKey(String assetKey) |
SetAssetKey |
withStaged(Boolean staged) |
getAction
public String getAssetId()
public static SetAssetKey ofSku(String assetId, String sku, @Nullable String assetKey)
public static SetAssetKey ofVariantId(String assetId, Integer variantId, @Nullable String assetKey)
public SetAssetKey withStaged(@Nullable Boolean staged)
public SetAssetKey withAssetKey(@Nullable String assetKey)