70 protected $_sTsProtectProducts = array(
"TS080501_500_30_EUR" => array(
"netto" =>
"0.82",
"amount" =>
"500" ),
71 "TS080501_1500_30_EUR" => array(
"netto" =>
"2.47",
"amount" =>
"1500" ),
72 "TS080501_2500_30_EUR" => array(
"netto" =>
"4.12",
"amount" =>
"2500" ),
73 "TS080501_5000_30_EUR" => array(
"netto" =>
"8.24",
"amount" =>
"5000" ),
74 "TS080501_10000_30_EUR" => array(
"netto" =>
"16.47",
"amount" =>
"10000" ),
75 "TS080501_20000_30_EUR" => array(
"netto" =>
"32.94",
"amount" =>
"20000" )
119 $this->_sTsId = $sTsId;
129 if ( $this->_iAmount == null ) {
130 if ( $sTsId = $this->
getTsId() ) {
132 if ( $aTsProducts[$sTsId] && is_array($aTsProducts[$sTsId]) ) {
133 $this->_iAmount = $aTsProducts[$sTsId][
'amount'];
149 if ( $this->_fPrice == null ) {
150 if ( $oPrice = $this->
getPrice() ) {
166 if ( $this->_fNettoPrice == null ) {
167 if ( $oPrice = $this->
getPrice() ) {
183 if ( $this->_fVatValue == null ) {
184 if ( $oPrice = $this->
getPrice() ) {
198 if ( $this->_oPrice == null ) {
199 if ( $sTsId = $this->
getTsId() ) {
201 if ( $aTsProducts[$sTsId] && is_array($aTsProducts[$sTsId]) ) {
202 $dPrice = $aTsProducts[$sTsId][
'netto'];
203 $oPrice =
oxNew(
'oxPrice' );
204 $oPrice->setNettoPriceMode();
205 $oPrice->setPrice( $dPrice );
206 $oPrice->setVat( $this->
getVat() );
207 $this->_oPrice = $oPrice;