Class SmartrateCollection
java.lang.Object
com.easypost.model.SmartrateCollection
-
Constructor Summary
ConstructorDescriptionConstructor.SmartrateCollection
(List<SmartRate> smartrates) Create a SmartrateCollection from a list of rates. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a SmartRate object to this SmartrateCollection.Get this SmartrateCollection's Smartrate objects.void
setSmartrates
(List<SmartRate> smartrates) Set this SmartrateCollection's Smartrate objects.
-
Constructor Details
-
SmartrateCollection
public SmartrateCollection()Constructor. -
SmartrateCollection
-
-
Method Details
-
getSmartrates
-
setSmartrates
-
addRate
Add a SmartRate object to this SmartrateCollection.- Parameters:
rate
- Rate object
-