Design Pattern Framework 3.5
ShoppingCartDto Class
Patterns-In-Action! Application ► ActionService.DataTransferObjects ► ShoppingCartDto
Shopping Cart Data Transfer Object.
The purpose of the CustomerTransferObject is to facilitate transport of
customer business data in a serializable format. Business data is kept in
publicly accessible auto property members. This class has no methods.
Declaration Syntax
C# | Visual Basic |
public class ShoppingCartDto
Public Class ShoppingCartDto
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ShoppingCartDto()()() |
Initializes a new instance of the ShoppingCartDto class
|
|
CartItems |
|
|
Equals(Object) | (Inherited from Object.) |
|
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.) |
|
Shipping |
|
|
ShippingMethod |
|
|
SubTotal |
|
|
ToString()()() | (Inherited from Object.) |
|
Total |
|
Remarks
Pattern: Data Transfer Objects.
Data Transfer Objects are objects that transfer data between processes, but without behavior.
Inheritance Hierarchy
Object | |
ShoppingCartDto |