Builder for
ProductCustomLabel
objects.
Methods:
build()
Builds the product custom label. Returns a
ProductCustomLabelOperation that corresponds
to the creation of the
ProductCustomLabel.
Return values:
withBid(bid)
Specifies the bid of the product custom label. If this is unspecified, will
use the bid of the parent product group.
Arguments:
Name | Type | Description |
bid |
double |
The bid. |
Return values:
withType(type)
Specifies the type of custom label and returns the product custom label
builder. The preferred values for label types follow the pattern: INDEX0,
INDEX1, ..., but this method also accepts the legacy values formatted like:
CUSTOM_LABEL_0, CUSTOM_LABEL_1, ...
Arguments:
Name | Type | Description |
type |
String |
The type of custom label. Possible values: INDEX0 ,
INDEX1 , INDEX2 , INDEX3 ,
INDEX4 , CUSTOM_LABEL_0 ,
CUSTOM_LABEL_1 , CUSTOM_LABEL_2 ,
CUSTOM_LABEL_3 , CUSTOM_LABEL_4 . |
Return values:
withValue(value)
Specifies the value of the product custom label.
Arguments:
Name | Type | Description |
value |
String |
The value. |
Return values: