Class ProductPriceChanged
java.lang.Object
com.commercetools.graphql.api.types.ProductPriceChanged
- All Implemented Interfaces:
MessagePayload
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProductPriceChanged(Integer variantId, ProductPrice oldPrice, ProductPrice newPrice, Boolean staged, ProductPrice oldStagedPrice, String type) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()static ProductPriceChanged.BuildervoidsetNewPrice(ProductPrice newPrice) voidsetOldPrice(ProductPrice oldPrice) voidsetOldStagedPrice(ProductPrice oldStagedPrice) voidvoidvoidsetVariantId(Integer variantId) toString()
-
Constructor Details
-
ProductPriceChanged
public ProductPriceChanged() -
ProductPriceChanged
public ProductPriceChanged(Integer variantId, ProductPrice oldPrice, ProductPrice newPrice, Boolean staged, ProductPrice oldStagedPrice, String type)
-
-
Method Details
-
getVariantId
-
setVariantId
-
getOldPrice
-
setOldPrice
-
getNewPrice
-
setNewPrice
-
getStaged
-
setStaged
-
getOldStagedPrice
-
setOldStagedPrice
-
getType
- Specified by:
getTypein interfaceMessagePayload
-
setType
- Specified by:
setTypein interfaceMessagePayload
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-