public function setDefaultOrderCartContent() {
    $this->orderCartContent = array();
    $product = new CartProduct();
    $product->setCartProductId(0)->setCartProductName("NA");
    $product->setCartProductUnitPrice(0)->setCartProductQuantity(1);
    $product->setCartProductBrand("NA")->setCartProductMPN("NA");
    $product->setCartProductCategoryName("NA")->setCartProductCategoryID(0);

    $this->orderCartContent[] = $product;
  }
public function setDefaultOrderCartContent() {
    $this->orderCartContent = array();
    $product = new CartProduct();
    $product->setCartProductId(0)->setCartProductName("NA");
    $product->setCartProductUnitPrice(0)->setCartProductQuantity(1);
    $product->setCartProductBrand("NA")->setCartProductMPN("NA");
    $product->setCartProductCategoryName("NA")->setCartProductCategoryID(0);

    $this->orderCartContent[] = $product;
  }
public function setDefaultOrderCartContent ( ) { $ this -> orderCartContent = array ( ) ; $ product = new CartProduct ( ) ; $ product -> setCartProductId ( 0 ) -> setCartProductName ( "NA" ) ; $ product -> setCartProductUnitPrice ( 0 ) -> setCartProductQuantity ( 1 ) ; $ product -> setCartProductBrand ( "NA" ) -> setCartProductMPN ( "NA" ) ; $ product -> setCartProductCategoryName ( "NA" ) -> setCartProductCategoryID ( 0 ) ; $ this -> orderCartContent [ ] = $ product ; }
Set a default cart content, to be used when anti fraud system is enabled
and no real cart is known
Set a default cart content to be used when anti fraud system is enabled and no real cart is known