Package | Description |
---|---|
io.sphere.sdk.products.commands.updateactions |
Provides the possible operations which can be performed on update commands for products.
|
Modifier and Type | Method and Description |
---|---|
static SetImageLabel |
SetImageLabel.of(Integer variantId,
String imageUrl,
String label,
Boolean staged)
Creates a new update action initialized with the given values.
|
static SetImageLabel |
SetImageLabel.ofStaged(Integer variantId,
String imageUrl,
String label)
Creates a new update action initialized with the given values.
|
static SetImageLabel |
SetImageLabel.ofUnset(Integer variantId,
String imageUrl,
Boolean staged)
Creates a new update action initialized with the given values to unset the label.
|
static SetImageLabel |
SetImageLabel.ofUnsetStaged(Integer variantId,
String imageUrl)
Creates a new update action initialized with the given values to unset the staged label.
|
SetImageLabel |
SetImageLabel.withLabel(String label)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
SetImageLabel |
SetImageLabel.withStaged(Boolean staged)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|