<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for RegisterCustomerWith2FactorAuthResponse Struct
 * @subpackage Structs
 */
class RegisterCustomerWith2FactorAuthResponse extends AbstractStructBase
{
    /**
     * The RegisterCustomerWith2FactorAuthResult
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Struct\RegisterResponse
     */
    public $RegisterCustomerWith2FactorAuthResult;
    /**
     * Constructor method for RegisterCustomerWith2FactorAuthResponse
     * @uses RegisterCustomerWith2FactorAuthResponse::setRegisterCustomerWith2FactorAuthResult()
     * @param \SGCIS\Struct\RegisterResponse $registerCustomerWith2FactorAuthResult
     */
    public function __construct(\SGCIS\Struct\RegisterResponse $registerCustomerWith2FactorAuthResult = null)
    {
        $this
            ->setRegisterCustomerWith2FactorAuthResult($registerCustomerWith2FactorAuthResult);
    }
    /**
     * Get RegisterCustomerWith2FactorAuthResult value
     * @return \SGCIS\Struct\RegisterResponse|null
     */
    public function getRegisterCustomerWith2FactorAuthResult()
    {
        return $this->RegisterCustomerWith2FactorAuthResult;
    }
    /**
     * Set RegisterCustomerWith2FactorAuthResult value
     * @param \SGCIS\Struct\RegisterResponse $registerCustomerWith2FactorAuthResult
     * @return \SGCIS\Struct\RegisterCustomerWith2FactorAuthResponse
     */
    public function setRegisterCustomerWith2FactorAuthResult(\SGCIS\Struct\RegisterResponse $registerCustomerWith2FactorAuthResult = null)
    {
        $this->RegisterCustomerWith2FactorAuthResult = $registerCustomerWith2FactorAuthResult;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \SGCIS\Struct\RegisterCustomerWith2FactorAuthResponse
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
