OXID eShop CE  4.10.5
 All Classes Namespaces Files Functions Variables Pages
oxTsProduct Class Reference
+ Inheritance diagram for oxTsProduct:
+ Collaboration diagram for oxTsProduct:

Public Member Functions

 getVat ()
 setVat ($dVat)
 getTsId ()
 setTsId ($sTsId)
 getAmount ()
 getFPrice ()
 getFNettoPrice ()
 getFVatValue ()
 getPrice ()
 getAllTsProducts ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Attributes

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

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

TRusted shops protection product manager.

Deprecated:
since 5.3.0 (2016.04.19); Use Trusted Shops Module instead.

Definition at line 8 of file oxtsproduct.php.

Member Function Documentation

oxTsProduct::getAllTsProducts ( )

Returns array of all TS protection products

Returns
array

Definition at line 222 of file oxtsproduct.php.

oxTsProduct::getAmount ( )

Returns amount of TS protection product

Returns
integer

Definition at line 125 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 146 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 182 of file oxtsproduct.php.

oxTsProduct::getPrice ( )

Returns price of TS protection product

Returns
oxPrice

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

oxTsProduct::setTsId (   $sTsId)

Sets id of TS protection product

Parameters
string$sTsIdTS product id

Definition at line 115 of file oxtsproduct.php.

oxTsProduct::setVat (   $dVat)

set protection vat

Parameters
float$dVat- vat

Definition at line 95 of file oxtsproduct.php.

Member Data Documentation

oxTsProduct::$_dVat = null
protected

Definition at line 65 of file oxtsproduct.php.

oxTsProduct::$_fNettoPrice = null
protected

Definition at line 41 of file oxtsproduct.php.

oxTsProduct::$_fPrice = null
protected

Definition at line 32 of file oxtsproduct.php.

oxTsProduct::$_fVatValue = null
protected

Definition at line 50 of file oxtsproduct.php.

oxTsProduct::$_iAmount = null
protected

Definition at line 23 of file oxtsproduct.php.

oxTsProduct::$_oPrice = null
protected

Definition at line 57 of file oxtsproduct.php.

oxTsProduct::$_sTsId = null
protected

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


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