Public Member Functions | Protected Attributes

oxTsProduct Class Reference

Inheritance diagram for oxTsProduct:
Collaboration diagram for oxTsProduct:

List of all members.

Public Member Functions

 getTsId ()
 setTsId ($sTsId)
 getAmount ()
 getFPrice ()
 getPrice ()
 getAllTsProducts ()
 _setDeprecatedValues ()

Protected Attributes

 $_sTsId = null
 $_iAmount = null
 $_fPrice = null
 $_oPrice = null
 $_sTsProtectProducts

Detailed Description

TRusted shops protection product manager.

Definition at line 6 of file oxtsproduct.php.


Member Function Documentation

oxTsProduct._setDeprecatedValues (  ) 

Sets deprecated values (deprecated since version 4.4.7)

Returns:
null

Definition at line 149 of file oxtsproduct.php.

oxTsProduct.getAllTsProducts (  ) 

Returns array of all TS protection products

Returns:
array

Definition at line 139 of file oxtsproduct.php.

oxTsProduct.getAmount (  ) 

Returns amount of TS protection product

Returns:
integer

Definition at line 77 of file oxtsproduct.php.

oxTsProduct.getFPrice (  ) 

Returns formated brutto price of TS protection product

Returns:
string

Definition at line 95 of file oxtsproduct.php.

oxTsProduct.getPrice (  ) 

Returns price of TS protection product

Returns:
float

Definition at line 110 of file oxtsproduct.php.

oxTsProduct.getTsId (  ) 

Returns id of TS protection product

Returns:
string

Definition at line 54 of file oxtsproduct.php.

oxTsProduct.setTsId ( sTsId  ) 

Sets id of TS protection product

Parameters:
string $sTsId TS product id
Returns:
null

Definition at line 66 of file oxtsproduct.php.


Member Data Documentation

oxTsProduct.$_fPrice = null [protected]

Definition at line 27 of file oxtsproduct.php.

oxTsProduct.$_iAmount = null [protected]

Definition at line 20 of file oxtsproduct.php.

oxTsProduct.$_oPrice = null [protected]

Definition at line 34 of file oxtsproduct.php.

oxTsProduct.$_sTsId = null [protected]

Definition at line 13 of file oxtsproduct.php.

oxTsProduct.$_sTsProtectProducts [protected]
Initial value:
 array( "TS080501_500_30_EUR"   => array( "netto" => "0.82", "amount" => "500" ),
                                       "TS080501_1500_30_EUR"  => array( "netto" => "2.47", "amount" => "1500" ),
                                       "TS080501_2500_30_EUR"  => array( "netto" => "4.12", "amount" => "2500" ),
                                       "TS080501_5000_30_EUR"  => array( "netto" => "8.24", "amount" => "5000" ),
                                       "TS080501_10000_30_EUR" => array( "netto" => "16.47", "amount" => "10000" ),
                                       "TS080501_20000_30_EUR" => array( "netto" => "32.94", "amount" => "20000" )
                                )

Definition at line 41 of file oxtsproduct.php.


The documentation for this class was generated from the following file: