<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Get_CostAndCompensationCodes StructType
 * @subpackage Structs
 */
class Get_CostAndCompensationCodes extends AbstractStructBase
{
    /**
     * The Login
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\Login
     */
    public $Login;
    /**
     * The CostCompensationCodeSelection
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\CostCompensationCodeSelection
     */
    public $CostCompensationCodeSelection;
    /**
     * Constructor method for Get_CostAndCompensationCodes
     * @uses Get_CostAndCompensationCodes::setLogin()
     * @uses Get_CostAndCompensationCodes::setCostCompensationCodeSelection()
     * @param \StructType\Login $login
     * @param \StructType\CostCompensationCodeSelection $costCompensationCodeSelection
     */
    public function __construct(\StructType\Login $login = null, \StructType\CostCompensationCodeSelection $costCompensationCodeSelection = null)
    {
        $this
            ->setLogin($login)
            ->setCostCompensationCodeSelection($costCompensationCodeSelection);
    }
    /**
     * Get Login value
     * @return \StructType\Login|null
     */
    public function getLogin()
    {
        return $this->Login;
    }
    /**
     * Set Login value
     * @param \StructType\Login $login
     * @return \StructType\Get_CostAndCompensationCodes
     */
    public function setLogin(\StructType\Login $login = null)
    {
        $this->Login = $login;
        return $this;
    }
    /**
     * Get CostCompensationCodeSelection value
     * @return \StructType\CostCompensationCodeSelection|null
     */
    public function getCostCompensationCodeSelection()
    {
        return $this->CostCompensationCodeSelection;
    }
    /**
     * Set CostCompensationCodeSelection value
     * @param \StructType\CostCompensationCodeSelection $costCompensationCodeSelection
     * @return \StructType\Get_CostAndCompensationCodes
     */
    public function setCostCompensationCodeSelection(\StructType\CostCompensationCodeSelection $costCompensationCodeSelection = null)
    {
        $this->CostCompensationCodeSelection = $costCompensationCodeSelection;
        return $this;
    }
}
