<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ProcessAccountPayLaterResponse Struct
 * @subpackage Structs
 */
class ProcessAccountPayLaterResponse extends AbstractStructBase
{
    /**
     * The ProcessAccountPayLaterResult
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Struct\PostPaymentResponse
     */
    public $ProcessAccountPayLaterResult;
    /**
     * Constructor method for ProcessAccountPayLaterResponse
     * @uses ProcessAccountPayLaterResponse::setProcessAccountPayLaterResult()
     * @param \SGCIS\Struct\PostPaymentResponse $processAccountPayLaterResult
     */
    public function __construct(\SGCIS\Struct\PostPaymentResponse $processAccountPayLaterResult = null)
    {
        $this
            ->setProcessAccountPayLaterResult($processAccountPayLaterResult);
    }
    /**
     * Get ProcessAccountPayLaterResult value
     * @return \SGCIS\Struct\PostPaymentResponse|null
     */
    public function getProcessAccountPayLaterResult()
    {
        return $this->ProcessAccountPayLaterResult;
    }
    /**
     * Set ProcessAccountPayLaterResult value
     * @param \SGCIS\Struct\PostPaymentResponse $processAccountPayLaterResult
     * @return \SGCIS\Struct\ProcessAccountPayLaterResponse
     */
    public function setProcessAccountPayLaterResult(\SGCIS\Struct\PostPaymentResponse $processAccountPayLaterResult = null)
    {
        $this->ProcessAccountPayLaterResult = $processAccountPayLaterResult;
        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\ProcessAccountPayLaterResponse
     */
    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__;
    }
}
