PHP Class Doctrine\Tests\Models\ECommerce\ECommerceCart

Author: Giorgio Sironi
Mostrar archivo Open project: doctrine/couchdb-odm Class Usage Examples

Public Methods

Method Description
__construct ( )
addProduct ( ECommerceProduct $product )
getCustomer ( )
getId ( )
getPayment ( )
getProducts ( )
removeCustomer ( )
removeProduct ( ECommerceProduct $product )
setCustomer ( ECommerceCustomer $customer )
setPayment ( $payment )

Method Details

__construct() public method

public __construct ( )

addProduct() public method

public addProduct ( ECommerceProduct $product )
$product ECommerceProduct

getCustomer() public method

public getCustomer ( )

getId() public method

public getId ( )

getPayment() public method

public getPayment ( )

getProducts() public method

public getProducts ( )

removeCustomer() public method

public removeCustomer ( )

removeProduct() public method

public removeProduct ( ECommerceProduct $product )
$product ECommerceProduct

setCustomer() public method

public setCustomer ( ECommerceCustomer $customer )
$customer ECommerceCustomer

setPayment() public method

public setPayment ( $payment )