User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:devel:cbproductprice [2019/04/04 16:10]
joebordes
en:devel:cbproductprice [2019/04/04 16:14] (current)
joebordes [Services]
Line 22: Line 22:
 Feature: Feature:
  
-  * function getBasePrice($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) ​{ +  * **getInteractions** ($spid): returns all interactions the given Sales Product has 
-  function getCost($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) ​{ +  * **getPriceDetails** ​($date='​*',​$accid=0,​$geobid=0,​$apply='​*'​,​$productcontext=0) 
-  function getMaterial($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) ​{ +    * **getBasePrice** ($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) 
-  function getSurcharge($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) ​{ +    * **getCost** ($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) 
-  function getDiscount($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) ​{ +    * **getMaterial** ($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) 
-  function getPriceInformation($date='​*',​$accid=0,​$geobid=0,​$apply='​*',​$currencyid=1,​$productcontext=0) ​{ +    * **getSurcharge** ($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) 
-  * function getPriceDetails($date='​*',​$accid=0,​$geobid=0,​$apply='​*',​$productcontext=0) ​{ +    * **getDiscount** ($date='​*',​$accid=0,​$geobid=0,​$productcontext=0) 
-  * function getInteractions($spid) {+  * **getPriceInformation** ​($date='​*',​$accid=0,​$geobid=0,​$apply='​*'​,​$currencyid=1,​$productcontext=0) 
 + 
 +<WRAP center round info 60%> 
 +read Sales Product definitions of the methods 
 +</​WRAP>​
  
  
 Product Association Product Association
  
-  * public static function ​getRelation($fromProduct='​*',​$toProduct='​*',​$fromDate='​*',​$toDate='​*',​$relationType='​*'​) ​{+  * **getRelation** ($fromProduct='​*',​$toProduct='​*',​$fromDate='​*',​$toDate='​*',​$relationType='​*'​)