Class ShippingRateImpl
java.lang.Object
com.commercetools.history.models.common.ShippingRateImpl
- All Implemented Interfaces:
ShippingRate,io.vrap.rmf.base.client.ModelBase
public class ShippingRateImpl
extends Object
implements ShippingRate, io.vrap.rmf.base.client.ModelBase
ShippingRate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanOnly appears in response to requests for ShippingMethods by Cart or location to mark this shipping rate as one that matches the Cart or location.getPrice()getTiers()inthashCode()voidsetFreeAbove(Money freeAbove) set freeAbovevoidsetIsMatching(Boolean isMatching) Only appears in response to requests for ShippingMethods by Cart or location to mark this shipping rate as one that matches the Cart or location.voidset pricevoidsetTiers(ShippingRatePriceTier... tiers) set tiersvoidsetTiers(List<ShippingRatePriceTier> tiers) set tiersMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.common.ShippingRate
withShippingRate
-
Constructor Details
-
ShippingRateImpl
public ShippingRateImpl()create empty instance
-
-
Method Details
-
getPrice
- Specified by:
getPricein interfaceShippingRate- Returns:
- price
-
getFreeAbove
- Specified by:
getFreeAbovein interfaceShippingRate- Returns:
- freeAbove
-
getIsMatching
Only appears in response to requests for ShippingMethods by Cart or location to mark this shipping rate as one that matches the Cart or location.
- Specified by:
getIsMatchingin interfaceShippingRate- Returns:
- isMatching
-
getTiers
- Specified by:
getTiersin interfaceShippingRate- Returns:
- tiers
-
setPrice
Description copied from interface:ShippingRateset price- Specified by:
setPricein interfaceShippingRate- Parameters:
price- value to be set
-
setFreeAbove
Description copied from interface:ShippingRateset freeAbove- Specified by:
setFreeAbovein interfaceShippingRate- Parameters:
freeAbove- value to be set
-
setIsMatching
Description copied from interface:ShippingRateOnly appears in response to requests for ShippingMethods by Cart or location to mark this shipping rate as one that matches the Cart or location.
- Specified by:
setIsMatchingin interfaceShippingRate- Parameters:
isMatching- value to be set
-
setTiers
Description copied from interface:ShippingRateset tiers- Specified by:
setTiersin interfaceShippingRate- Parameters:
tiers- values to be set
-
setTiers
Description copied from interface:ShippingRateset tiers- Specified by:
setTiersin interfaceShippingRate- Parameters:
tiers- values to be set
-
equals
-
hashCode
-