kernel/shop/classes/ezsimpleprice.php

Show: inherited
Table of Contents

File containing the eZSimplePrice class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\eZSimplePrice

Package: kernel

File containing the eZSimplePrice class.

Children
\eZPrice
\eZMultiPrice
Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Properties

Propertypublic  $ContentObject= ''
Details
Type
n/a
Propertypublic  $DiscountPercent= ''
Details
Type
n/a
Propertypublic  $IsVATIncluded= ''
Details
Type
n/a
Propertypublic  $Price= ''
Details
Type
n/a
Propertypublic  $VATType= ''
Details
Type
n/a

Methods

methodpublicVATIncluded( ) : void

methodpublicVATPercent(  $object = false,  $country = false ) : void

Can return dynamic percentage depending on product and country the user is from.

Parameters
Name Type Description
$object
$country
methodpublicVATType( ) : void

methodpublicattribute(  $attr ) : void

Parameters
Name Type Description
$attr
methodpublicattributes( ) : void

methodpubliccalcDiscountExVATPrice(  $priceValue ) : void

Parameters
Name Type Description
$priceValue
methodpubliccalcDiscountIncVATPrice(  $priceValue ) : void

Parameters
Name Type Description
$priceValue
methodpubliccalcExVATPrice(  $priceValue ) : void

Parameters
Name Type Description
$priceValue
methodpubliccalcIncVATPrice(  $priceValue ) : void

Parameters
Name Type Description
$priceValue
methodpubliccurrency( ) : void

methodpublicdiscount( ) : void

methodpublicdiscountExVATPrice( ) : void

methodpublicdiscountIncVATPrice( ) : void

methodpublicdiscountPercent( ) : void

methodpubliceZSimplePrice(  $classAttribute,  $contentObjectAttribute,  $storedPrice = null ) : void

Parameters
Name Type Description
$classAttribute
$contentObjectAttribute
$storedPrice
methodpublicexVATPrice( ) : void

methodpublichasAttribute(  $attr ) : void

Parameters
Name Type Description
$attr
methodpublichasDiscount( ) : void

methodpublicincVATPrice( ) : void

methodpublicprice( ) : void

methodpublicserializeContentClassAttribute(  $classAttribute,  $attributeNode,  $attributeParametersNode ) : void

Parameters
Name Type Description
$classAttribute
$attributeNode
$attributeParametersNode
methodpublicsetAttribute(  $attr,  $value ) : void

Parameters
Name Type Description
$attr
$value
methodpublicsetDiscountPercent(  $percent ) : void

Parameters
Name Type Description
$percent
methodpublicsetPrice(  $value ) : void

Parameters
Name Type Description
$value
methodpublicsetVATIncluded(  $VATIncluded ) : void

Parameters
Name Type Description
$VATIncluded
methodpublicsetVATType(  $VATID ) : void

Parameters
Name Type Description
$VATID
methodpublicunserializeContentClassAttribute(  $classAttribute,  $attributeNode,  $attributeParametersNode ) : void

Parameters
Name Type Description
$classAttribute
$attributeNode
$attributeParametersNode
Documentation was generated by DocBlox 0.18.1.