<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: 			*/
// +----------------------------------------------------------------------+
// | PHP version 4/5                                                      |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004-2010 ARMIA INC                                    |
// +----------------------------------------------------------------------+
// | This source file is a part of iScripts VistaCart                     |
// +----------------------------------------------------------------------+
// | Authors: Jipson<jipson.thomas@armiasystems.com>             		  |
// +----------------------------------------------------------------------+
class GooglemerchantcalculatedshippingComponent extends Object
{
	var $price;
    var $name;
    var $type = "merchant-calculated-shipping";
    var $shipping_restrictions;
    var $address_filters;

    function GoogleMerchantCalculatedShippingch($name, $price) {
      $this->price = $price;
      $this->name = $name;
    }

    function AddShippingRestrictions($restrictions) {
      $this->shipping_restrictions = $restrictions;
    }

    function AddAddressFilters($filters) {
      $this->address_filters = $filters;
    }
}?>