web/lib/Zend/Service/DeveloperGarden/Request/BaseUserService/GetAccountBalance.php
changeset 64 162c1de6545a
parent 19 1c2f13fd785c
child 68 ecaf28ffe26e
equal deleted inserted replaced
63:5b37998e522e 64:162c1de6545a
       
     1 <?php
       
     2 /**
       
     3  * Zend Framework
       
     4  *
       
     5  * LICENSE
       
     6  *
       
     7  * This source file is subject to the new BSD license that is bundled
       
     8  * with this package in the file LICENSE.txt.
       
     9  * It is also available through the world-wide-web at this URL:
       
    10  * http://framework.zend.com/license/new-bsd
       
    11  * If you did not receive a copy of the license and are unable to
       
    12  * obtain it through the world-wide-web, please send an email
       
    13  * to license@zend.com so we can send you a copy immediately.
       
    14  *
       
    15  * @category   Zend
       
    16  * @package    Zend_Service
       
    17  * @subpackage DeveloperGarden
       
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    20  * @version    $Id: GetAccountBalance.php 20166 2010-01-09 19:00:17Z bkarwin $
       
    21  */
       
    22 
       
    23 /**
       
    24  * @category   Zend
       
    25  * @package    Zend_Service
       
    26  * @subpackage DeveloperGarden
       
    27  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    28  * @author     Marco Kaiser
       
    29  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    30  */
       
    31 class Zend_Service_DeveloperGarden_Request_BaseUserService_GetAccountBalance
       
    32 {
       
    33     /**
       
    34      * array of accounts
       
    35      *
       
    36      * @var array
       
    37      */
       
    38     public $Account = array();
       
    39 
       
    40     /**
       
    41      * constructor give them the account ids or an empty array
       
    42      *
       
    43      * @param array $Account
       
    44      * @return Zend_Service_DeveloperGarden_Request_GetAccountBalance
       
    45      */
       
    46     public function __construct(array $Account = array())
       
    47     {
       
    48         $this->setAccount($Account);
       
    49     }
       
    50 
       
    51     /**
       
    52      * sets a new Account array
       
    53      *
       
    54      * @param array $Account
       
    55      * @return Zend_Service_DeveloperGarden_Request_BaseUserService
       
    56      */
       
    57     public function setAccount(array $Account = array())
       
    58     {
       
    59         $this->Account = $Account;
       
    60         return $this;
       
    61     }
       
    62 
       
    63     /**
       
    64      * returns the moduleId
       
    65      *
       
    66      * @return string
       
    67      */
       
    68     public function getAccount()
       
    69     {
       
    70         return $this->Account;
       
    71     }
       
    72 }