Klasse GetPromotionOperationSpec
java.lang.Object
io.github.primelib.webmethodsapigateway4j.spec.GetPromotionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetPromotionOperationSpec
extends Object
GetPromotionSpec
Specification for the GetPromotion operation.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleaninthashCode()@NotNull StringPromotion Id for the promotion to be retrievedpromotionId(@NotNull String promotionId) Promotion Id for the promotion to be retrievedtoString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetPromotionOperationSpec
Constructs a validated implementation ofGetPromotionOperationSpec.- Parameter:
spec- the specification to process
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
promotionId
Promotion Id for the promotion to be retrieved -
promotionId
Promotion Id for the promotion to be retrieved- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-