Design Pattern Framework 3.5
ShippingStrategyUSPS Class
Patterns-In-Action! Application ► Cart ► ShippingStrategyUSPS
United States Postal Service specific class to determine shipping costs.


All Members | Constructors | Methods | |||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
ShippingStrategyUSPS()()() |
Initializes a new instance of the ShippingStrategyUSPS class
|
![]() |
CalculateShipping(String, String, Double, Double) |
Calculates shipping costs given zip codes and product dimensions.
|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
EstimateShipping(Double, Int32) |
Estimates shipping costs given a product unit price and quantity.
|
![]() |
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
ToString()()() | (Inherited from Object.) |

GoF Design Pattern: Strategy.

Object | |
![]() |
ShippingStrategyUSPS |