Package com.zybooks.dsaj.design
Interface Insurable
- All Superinterfaces:
Sellable
,Transportable
- All Known Implementing Classes:
BoxedItem2
Interface for objects that can be insured when shipped.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the insured value of the item, in cents.Methods inherited from interface com.zybooks.dsaj.design.Sellable
description, listPrice, lowestPrice
Methods inherited from interface com.zybooks.dsaj.design.Transportable
isHazardous, weight
-
Method Details
-
insuredValue
int insuredValue()Returns the insured value of the item, in cents.- Returns:
- the insured value of the item, in cents
-