| 
    OXID eShop CE
    4.10.7
    
   | 
 
 Inheritance diagram for oxTsProtection:
 Collaboration diagram for oxTsProtection:Public Member Functions | |
| getVat () | |
| setVat ($dVat) | |
| getTsProducts ($dPrice) | |
| getTsProduct ($sTsId) | |
| requestForTsProtection ($aValues, $sPaymentId) | |
| checkCertificate ($iTrustedShopId, $blTsTestMode) | |
| executeSoap ($sSoapUrl, $sFunction, $sValues) | |
  Public Member Functions inherited from oxSuperCfg | |
| __call ($sMethod, $aArgs) | |
| __construct () | |
| getConfig () | |
| setConfig ($oConfig) | |
| getSession () | |
| setSession ($oSession) | |
| getUser () | |
| setUser ($oUser) | |
| isAdmin () | |
| setAdminMode ($blAdmin) | |
Protected Member Functions | |
| _getTsPaymentId ($sPaymentId) | |
| _getTsAllProducts () | |
| _getTsProductCurrId ($sTsId, $sCurr) | |
Protected Attributes | |
| $_aAllProducts = null | |
| $_dVat = null | |
| $_sTsCurrencyProducts | |
Private Member Functions | |
| setNotCheckSSL () | |
Private Attributes | |
| $blTsTestMode = false | |
Additional Inherited Members | |
  Static Protected Attributes inherited from oxSuperCfg | |
| static | $_oConfig = null | 
| static | $_oSession = null | 
| static | $_oRights = null | 
| static | $_oActUser = null | 
| static | $_blIsAdmin = null | 
TRusted shops protection product manager.
Definition at line 8 of file oxtsprotection.php.
      
  | 
  protected | 
      
  | 
  protected | 
Returns TS payment id by shop payment id
| string | $sPaymentId | payment id | 
Definition at line 231 of file oxtsprotection.php.
      
  | 
  protected | 
Returns TS protection product id by currency
| string | $sTsId | product id | 
| string | $sCurr | active currency | 
Definition at line 274 of file oxtsprotection.php.
| oxTsProtection::checkCertificate | ( | $iTrustedShopId, | |
| $blTsTestMode | |||
| ) | 
Executes TS certificate check
| integer | $iTrustedShopId | Trusted shop Id | 
| bool | $blTsTestMode | if test mode is on | 
Definition at line 172 of file oxtsprotection.php.
| oxTsProtection::executeSoap | ( | $sSoapUrl, | |
| $sFunction, | |||
| $sValues | |||
| ) | 
Executes SOAP call
| string | $sSoapUrl | soap url | 
| string | $sFunction | soap function | 
| string | $sValues | values sent per soap | 
Definition at line 201 of file oxtsprotection.php.
| oxTsProtection::getTsProduct | ( | $sTsId | ) | 
Returns TS protection product by id
| string | $sTsId | TS protection product id | 
Definition at line 91 of file oxtsprotection.php.
| oxTsProtection::getTsProducts | ( | $dPrice | ) | 
Returns array of TS protection products according to order price
| float | $dPrice | order price | 
Definition at line 69 of file oxtsprotection.php.
| oxTsProtection::getVat | ( | ) | 
| oxTsProtection::requestForTsProtection | ( | $aValues, | |
| $sPaymentId | |||
| ) | 
Executes TS protection
| array | $aValues | Order values | 
| string | $sPaymentId | Order payment id | 
Definition at line 107 of file oxtsprotection.php.
      
  | 
  private | 
Trusted Shop test page does not have a valid SSL certificate. This allow to skip the issue when running tests.
Definition at line 291 of file oxtsprotection.php.
| oxTsProtection::setVat | ( | $dVat | ) | 
      
  | 
  protected | 
Definition at line 18 of file oxtsprotection.php.
      
  | 
  protected | 
Definition at line 26 of file oxtsprotection.php.
      
  | 
  protected | 
Definition at line 33 of file oxtsprotection.php.
      
  | 
  private | 
Definition at line 11 of file oxtsprotection.php.