Package | Description |
---|---|
io.sphere.sdk.reviews |
Provides model classes and builders for reviews.
|
Modifier and Type | Method and Description |
---|---|
static ReviewDraftDsl |
ReviewDraftDsl.of(ReviewDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ReviewDraftDsl |
ReviewDraftDsl.ofRating(Integer rating)
Creates a new object initialized with the given values.
|
static ReviewDraftDsl |
ReviewDraftDsl.ofText(String text)
Creates a new object initialized with the given values.
|
static ReviewDraftDsl |
ReviewDraftDsl.ofTitle(String title)
Creates a new object initialized with the given values.
|
ReviewDraftDsl |
ReviewDraftDsl.withAuthorName(String authorName) |
ReviewDraftDsl |
ReviewDraftDsl.withCustom(CustomFieldsDraft custom) |
ReviewDraftDsl |
ReviewDraftDsl.withCustomer(ResourceIdentifier<Customer> customer) |
ReviewDraftDsl |
ReviewDraftDsl.withKey(String key) |
ReviewDraftDsl |
ReviewDraftDsl.withLocale(Locale locale) |
ReviewDraftDsl |
ReviewDraftDsl.withRating(Integer rating) |
ReviewDraftDsl |
ReviewDraftDsl.withState(ResourceIdentifier<State> state) |
ReviewDraftDsl |
ReviewDraftDsl.withTarget(ResourceIdentifier<?> target) |
ReviewDraftDsl |
ReviewDraftDsl.withText(String text) |
ReviewDraftDsl |
ReviewDraftDsl.withTitle(String title) |
ReviewDraftDsl |
ReviewDraftDsl.withUniquenessValue(String uniquenessValue) |