. */ /** * VariationSummary * * This file contains the class AmazonProduct_VariationSummary * * @author Matthew John Denton * @package com.mdbitz.amazon.product */ /** * AmazonProduct VariationSummary Object * * Properties * * * @package com.mdbitz.amazon.product */ class AmazonProduct_VariationSummary extends AmazonProduct_Abstract { /** * parse Object from XML * * @param XMLNode $node xml node to parse * @return void */ public function parseXML( $node ) { foreach ( $node->childNodes as $item ) { switch( $item->nodeName ) { case "LowestPrice": $this->set( $item->nodeName, new AmazonProduct_Price( $item ) ); break; case "HighestPrice": $this->set( $item->nodeName, new AmazonProduct_Price( $item ) ); break; default: $this->processNode( $item ); break; } } } }