C# Class PetStoreWeb.Components.PurchaseOrder

显示文件 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_oe property

public Account account
return Account

billingInfo public_oe property

public ContactInfo,PetStoreWeb.Components billingInfo
return ContactInfo

date public_oe property

public DateTime,System date
return System.DateTime

id public_oe property

public long id
return long

items public_oe property

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

shippingInfo public_oe property

public ContactInfo,PetStoreWeb.Components shippingInfo
return ContactInfo