Public Member Functions | Protected Attributes

oxTsProduct Class Reference

Inheritance diagram for oxTsProduct:
Collaboration diagram for oxTsProduct:

List of all members.

Public Member Functions

 getVat ()
 setVat ($dVat)
 getTsId ()
 setTsId ($sTsId)
 getAmount ()
 getFPrice ()
 getFNettoPrice ()
 getFVatValue ()
 getPrice ()
 getAllTsProducts ()

Protected Attributes

 $_sTsId = null
 $_iAmount = null
 $_fPrice = null
 $_fNettoPrice = null
 $_fVatValue = null
 $_oPrice = null
 $_dVat = null
 $_sTsProtectProducts

Detailed Description

TRusted shops protection product manager.

Definition at line 7 of file oxtsproduct.php.


Member Function Documentation

oxTsProduct.getAllTsProducts (  ) 

Returns array of all TS protection products

Returns:
array

Definition at line 207 of file oxtsproduct.php.

oxTsProduct.getAmount (  ) 

Returns amount of TS protection product

Returns:
integer

Definition at line 121 of file oxtsproduct.php.

oxTsProduct.getFNettoPrice (  ) 

Returns formatted brutto price of TS protection product

Returns:
string

Definition at line 154 of file oxtsproduct.php.

oxTsProduct.getFPrice (  ) 

Returns formatted brutto price of TS protection product

Returns:
string

Definition at line 139 of file oxtsproduct.php.

oxTsProduct.getFVatValue (  ) 

Returns formatted brutto price of TS protection product

Returns:
string

Definition at line 169 of file oxtsproduct.php.

oxTsProduct.getPrice (  ) 

Returns price of TS protection product

Returns:
oxPrice

Definition at line 184 of file oxtsproduct.php.

oxTsProduct.getTsId (  ) 

Returns id of TS protection product

Returns:
string

Definition at line 99 of file oxtsproduct.php.

oxTsProduct.getVat (  ) 

Return protection vat

Returns:
float

Definition at line 77 of file oxtsproduct.php.

oxTsProduct.setTsId ( sTsId  ) 

Sets id of TS protection product

Parameters:
string $sTsId TS product id
Returns:
null

Definition at line 111 of file oxtsproduct.php.

oxTsProduct.setVat ( dVat  ) 

set protection vat

Parameters:
float $dVat - vat
Returns:
null

Definition at line 89 of file oxtsproduct.php.


Member Data Documentation

oxTsProduct.$_dVat = null [protected]

Definition at line 57 of file oxtsproduct.php.

oxTsProduct.$_fNettoPrice = null [protected]

Definition at line 35 of file oxtsproduct.php.

oxTsProduct.$_fPrice = null [protected]

Definition at line 28 of file oxtsproduct.php.

oxTsProduct.$_fVatValue = null [protected]

Definition at line 42 of file oxtsproduct.php.

oxTsProduct.$_iAmount = null [protected]

Definition at line 21 of file oxtsproduct.php.

oxTsProduct.$_oPrice = null [protected]

Definition at line 49 of file oxtsproduct.php.

oxTsProduct.$_sTsId = null [protected]

Definition at line 14 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 64 of file oxtsproduct.php.


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