Class ProductDiscountChangeSortOrderActionImpl
java.lang.Object
com.commercetools.api.models.product_discount.ProductDiscountChangeSortOrderActionImpl
- All Implemented Interfaces:
ProductDiscountChangeSortOrderAction
,ProductDiscountUpdateAction
,ResourceUpdateAction<ProductDiscountUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductDiscountChangeSortOrderActionImpl
extends Object
implements ProductDiscountChangeSortOrderAction, io.vrap.rmf.base.client.ModelBase
ProductDiscountChangeSortOrderAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.product_discount.ProductDiscountChangeSortOrderAction
CHANGE_SORT_ORDER
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_discount.ProductDiscountChangeSortOrderAction
withProductDiscountChangeSortOrderAction
Methods inherited from interface com.commercetools.api.models.product_discount.ProductDiscountUpdateAction
withProductDiscountUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductDiscountChangeSortOrderActionImpl
public ProductDiscountChangeSortOrderActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductDiscountUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductDiscountUpdateAction>
- Returns:
- action
-
getSortOrder
New value to set. Must not be empty. The string value must be a number between
0
and1
. A Discount with a higher sortOrder is prioritized.- Specified by:
getSortOrder
in interfaceProductDiscountChangeSortOrderAction
- Returns:
- sortOrder
-
setSortOrder
Description copied from interface:ProductDiscountChangeSortOrderAction
New value to set. Must not be empty. The string value must be a number between
0
and1
. A Discount with a higher sortOrder is prioritized.- Specified by:
setSortOrder
in interfaceProductDiscountChangeSortOrderAction
- Parameters:
sortOrder
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-