public interface AttributeCoverage
| Modifier and Type | Method and Description |
|---|---|
static AttributeCoverageBuilder |
builder() |
static AttributeCoverageBuilder |
builder(AttributeCoverage template) |
@NotNull Double |
getNames()
The percentage of attributes from the product type defined in the product variant.
|
@NotNull Double |
getValues()
Represents the percentage of attributes in the product variant that contain values.
|
static AttributeCoverage |
of() |
static AttributeCoverage |
of(AttributeCoverage template) |
void |
setNames(Double names) |
void |
setValues(Double values) |
default <T> T |
withAttributeCoverage(Function<AttributeCoverage,T> helper) |
@NotNull @NotNull Double getNames()
The percentage of attributes from the product type defined in the product variant. A value of 1.0 indicates a product variant contains all attributes defined in the product type.
@NotNull @NotNull Double getValues()
Represents the percentage of attributes in the product variant that contain values.
void setNames(Double names)
void setValues(Double values)
static AttributeCoverage of()
static AttributeCoverage of(AttributeCoverage template)
static AttributeCoverageBuilder builder()
static AttributeCoverageBuilder builder(AttributeCoverage template)
default <T> T withAttributeCoverage(Function<AttributeCoverage,T> helper)