Class Review
java.lang.Object
com.commercetools.graphql.api.types.Review
- All Implemented Interfaces:
ReferenceExpandable,Versioned
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReview()Review(String key, String uniquenessValue, String locale, String authorName, String title, String text, Reference targetRef, ReviewTarget target, Integer rating, Reference stateRef, State state, Boolean includedInStatistics, Reference customerRef, Customer customer, CustomFieldsType custom, String id, Long version, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Initiator createdBy, Initiator lastModifiedBy) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getState()getText()getTitle()inthashCode()static Review.BuildervoidsetAuthorName(String authorName) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(Initiator createdBy) voidsetCustom(CustomFieldsType custom) voidsetCustomer(Customer customer) voidsetCustomerRef(Reference customerRef) voidvoidsetIncludedInStatistics(Boolean includedInStatistics) voidvoidsetLastModifiedAt(OffsetDateTime lastModifiedAt) voidsetLastModifiedBy(Initiator lastModifiedBy) voidvoidvoidvoidsetStateRef(Reference stateRef) voidsetTarget(ReviewTarget target) voidsetTargetRef(Reference targetRef) voidvoidvoidsetUniquenessValue(String uniquenessValue) voidsetVersion(Long version) toString()
-
Constructor Details
-
Review
public Review() -
Review
public Review(String key, String uniquenessValue, String locale, String authorName, String title, String text, Reference targetRef, ReviewTarget target, Integer rating, Reference stateRef, State state, Boolean includedInStatistics, Reference customerRef, Customer customer, CustomFieldsType custom, String id, Long version, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Initiator createdBy, Initiator lastModifiedBy)
-
-
Method Details
-
getKey
-
setKey
-
getUniquenessValue
-
setUniquenessValue
-
getLocale
-
setLocale
-
getAuthorName
-
setAuthorName
-
getTitle
-
setTitle
-
getText
-
setText
-
getTargetRef
-
setTargetRef
-
getTarget
-
setTarget
-
getRating
-
setRating
-
getStateRef
-
setStateRef
-
getState
-
setState
-
getIncludedInStatistics
-
setIncludedInStatistics
-
getCustomerRef
-
setCustomerRef
-
getCustomer
-
setCustomer
-
getCustom
-
setCustom
-
getId
- Specified by:
getIdin interfaceReferenceExpandable- Specified by:
getIdin interfaceVersioned
-
setId
- Specified by:
setIdin interfaceReferenceExpandable- Specified by:
setIdin interfaceVersioned
-
getVersion
- Specified by:
getVersionin interfaceVersioned
-
setVersion
- Specified by:
setVersionin interfaceVersioned
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceVersioned
-
setCreatedAt
- Specified by:
setCreatedAtin interfaceVersioned
-
getLastModifiedAt
- Specified by:
getLastModifiedAtin interfaceVersioned
-
setLastModifiedAt
- Specified by:
setLastModifiedAtin interfaceVersioned
-
getCreatedBy
- Specified by:
getCreatedByin interfaceVersioned
-
setCreatedBy
- Specified by:
setCreatedByin interfaceVersioned
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceVersioned
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceVersioned
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-