<?php

namespace App\Integration\Providers\Alliance3\DTO;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PolicySequence DTO
 * @subpackage Structs
 */
class PolicySequence extends AbstractStructBase
{
    /**
     * The prevId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $prevId;
    /**
     * The type
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $type;
    /**
     * Constructor method for PolicySequence
     * @uses PolicySequence::setPrevId()
     * @uses PolicySequence::setType()
     * @param int $prevId
     * @param string $type
     */
    public function __construct($prevId = null, $type = null)
    {
        $this
            ->setPrevId($prevId)
            ->setType($type);
    }
    /**
     * Get prevId value
     * @return int|null
     */
    public function getPrevId()
    {
        return $this->prevId;
    }
    /**
     * Set prevId value
     * @param int $prevId
     * @return \App\Integration\Providers\Alliance3\DTO\PolicySequence
     */
    public function setPrevId($prevId = null)
    {
        $this->prevId = $prevId;
        return $this;
    }
    /**
     * Get type value
     * @return string|null
     */
    public function getType()
    {
        return $this->type;
    }
    /**
     * Set type value
     * @param string $type
     * @return \App\Integration\Providers\Alliance3\DTO\PolicySequence
     */
    public function setType($type = null)
    {
        $this->type = $type;
        return $this;
    }
}
