C# Class PetStoreWeb.Components.PurchaseOrder

Show file Open project: bamboo/Bamboo.Prevalence Class Usage Examples

Public Properties

Property Type Description
account Account
billingInfo ContactInfo
date System.DateTime
id long
items PetStoreWeb.Components.CartItem[]
shippingInfo ContactInfo

Public Methods

Method Description
PurchaseOrder ( long id, Account account, ContactInfo shippingInfo, ContactInfo billingInfo, CartItem items, System.DateTime date ) : System
checkCreate ( long id, Account account, ContactInfo shippingInfo, ContactInfo billingInfo, CartItem items, System.DateTime date ) : bool
total ( ) : double

Method Details

PurchaseOrder() public method

public PurchaseOrder ( long id, Account account, ContactInfo shippingInfo, ContactInfo billingInfo, CartItem items, System.DateTime date ) : System
id long
account Account
shippingInfo ContactInfo
billingInfo ContactInfo
items CartItem
date System.DateTime
return System

checkCreate() public static method

public static checkCreate ( long id, Account account, ContactInfo shippingInfo, ContactInfo billingInfo, CartItem items, System.DateTime date ) : bool
id long
account Account
shippingInfo ContactInfo
billingInfo ContactInfo
items CartItem
date System.DateTime
return bool

total() public method

public total ( ) : double
return double

Property Details

account public property

public Account account
return Account

billingInfo public property

public ContactInfo,PetStoreWeb.Components billingInfo
return ContactInfo

date public property

public DateTime,System date
return System.DateTime

id public property

public long id
return long

items public property

public CartItem[],PetStoreWeb.Components items
return PetStoreWeb.Components.CartItem[]

shippingInfo public property

public ContactInfo,PetStoreWeb.Components shippingInfo
return ContactInfo