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 219 of file oxtsproduct.php.

oxTsProduct.getAmount (  ) 

Returns amount of TS protection product

Returns:
integer

Definition at line 127 of file oxtsproduct.php.

oxTsProduct.getFNettoPrice (  ) 

Returns formatted brutto price of TS protection product

Deprecated:
in v4.8/5.1 on 2013-10-14; for formatting use oxPrice smarty plugin
Returns:
string

Definition at line 164 of file oxtsproduct.php.

oxTsProduct.getFPrice (  ) 

Returns formatted brutto price of TS protection product

Deprecated:
in v4.8/5.1 on 2013-10-14; for formatting use oxPrice smarty plugin
Returns:
string

Definition at line 147 of file oxtsproduct.php.

oxTsProduct.getFVatValue (  ) 

Returns formatted brutto price of TS protection product

Deprecated:
in v4.8/5.1 on 2013-10-14; for formatting use oxPrice smarty plugin
Returns:
string

Definition at line 181 of file oxtsproduct.php.

oxTsProduct.getPrice (  ) 

Returns price of TS protection product

Returns:
oxPrice

Definition at line 196 of file oxtsproduct.php.

oxTsProduct.getTsId (  ) 

Returns id of TS protection product

Returns:
string

Definition at line 105 of file oxtsproduct.php.

oxTsProduct.getVat (  ) 

Return protection vat

Returns:
float

Definition at line 83 of file oxtsproduct.php.

oxTsProduct.setTsId ( sTsId  ) 

Sets id of TS protection product

Parameters:
string $sTsId TS product id
Returns:
null

Definition at line 117 of file oxtsproduct.php.

oxTsProduct.setVat ( dVat  ) 

set protection vat

Parameters:
float $dVat - vat
Returns:
null

Definition at line 95 of file oxtsproduct.php.


Member Data Documentation

oxTsProduct.$_dVat = null [protected]

Definition at line 63 of file oxtsproduct.php.

oxTsProduct.$_fNettoPrice = null [protected]

Definition at line 39 of file oxtsproduct.php.

oxTsProduct.$_fPrice = null [protected]

Definition at line 30 of file oxtsproduct.php.

oxTsProduct.$_fVatValue = null [protected]

Definition at line 48 of file oxtsproduct.php.

oxTsProduct.$_iAmount = null [protected]

Definition at line 21 of file oxtsproduct.php.

oxTsProduct.$_oPrice = null [protected]

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


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