<?php
/**
 * @package PayPal
 */

/**
 * Make sure our parent class is defined.
 */
require_once 'PayPal/Type/AbstractResponseType.php';

/**
 * SetMobileCheckoutResponseType
 *
 * @package PayPal
 */
class SetMobileCheckoutResponseType extends AbstractResponseType
{
    /**
     * A timestamped token by which you identify to PayPal that you are processing this
     * payment with Mobile Checkout. The token expires after three hours.
     */
    var $Token;

    function SetMobileCheckoutResponseType()
    {
        parent::AbstractResponseType();
        $this->_namespace = 'urn:ebay:api:PayPalAPI';
        $this->_elements = array_merge($this->_elements,
            array (
              'Token' => 
              array (
                'required' => true,
                'type' => 'string',
                'namespace' => 'urn:ebay:api:PayPalAPI',
              ),
            ));
    }

    function getToken()
    {
        return $this->Token;
    }
    function setToken($Token, $charset = 'iso-8859-1')
    {
        $this->Token = $Token;
        $this->_elements['Token']['charset'] = $charset;
    }
}
