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

oxTsProduct.getAmount (  ) 

Returns amount of TS protection product

Returns:
integer

Definition at line 124 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 163 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 145 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 197 of file oxtsproduct.php.

oxTsProduct.getTsId (  ) 

Returns id of TS protection product

Returns:
string

Definition at line 104 of file oxtsproduct.php.

oxTsProduct.getVat (  ) 

Return protection vat

Returns:
float

Definition at line 84 of file oxtsproduct.php.

oxTsProduct.setTsId ( sTsId  ) 

Sets id of TS protection product

Parameters:
string $sTsId TS product id

Definition at line 114 of file oxtsproduct.php.

oxTsProduct.setVat ( dVat  ) 

set protection vat

Parameters:
float $dVat - vat

Definition at line 94 of file oxtsproduct.php.


Member Data Documentation

oxTsProduct.$_dVat = null [protected]

Definition at line 64 of file oxtsproduct.php.

oxTsProduct.$_fNettoPrice = null [protected]

Definition at line 40 of file oxtsproduct.php.

oxTsProduct.$_fPrice = null [protected]

Definition at line 31 of file oxtsproduct.php.

oxTsProduct.$_fVatValue = null [protected]

Definition at line 49 of file oxtsproduct.php.

oxTsProduct.$_iAmount = null [protected]

Definition at line 22 of file oxtsproduct.php.

oxTsProduct.$_oPrice = null [protected]

Definition at line 56 of file oxtsproduct.php.

oxTsProduct.$_sTsId = null [protected]

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


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