<?php

namespace ServicePyramid\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SyncDeliveryMethodsResponse Structs
 * @subpackage Structs
 */
class SyncDeliveryMethodsResponse extends AbstractStructBase
{
    /**
     * The SyncDeliveryMethodsResult
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ServicePyramid\Arrays\ArrayOfDeliveryMethod
     */
    public $SyncDeliveryMethodsResult;
    /**
     * Constructor method for SyncDeliveryMethodsResponse
     * @uses SyncDeliveryMethodsResponse::setSyncDeliveryMethodsResult()
     * @param \ServicePyramid\Arrays\ArrayOfDeliveryMethod $syncDeliveryMethodsResult
     */
    public function __construct(\ServicePyramid\Arrays\ArrayOfDeliveryMethod $syncDeliveryMethodsResult = null)
    {
        $this
            ->setSyncDeliveryMethodsResult($syncDeliveryMethodsResult);
    }
    /**
     * Get SyncDeliveryMethodsResult value
     * @return \ServicePyramid\Arrays\ArrayOfDeliveryMethod|null
     */
    public function getSyncDeliveryMethodsResult()
    {
        return $this->SyncDeliveryMethodsResult;
    }
    /**
     * Set SyncDeliveryMethodsResult value
     * @param \ServicePyramid\Arrays\ArrayOfDeliveryMethod $syncDeliveryMethodsResult
     * @return \ServicePyramid\Structs\SyncDeliveryMethodsResponse
     */
    public function setSyncDeliveryMethodsResult(\ServicePyramid\Arrays\ArrayOfDeliveryMethod $syncDeliveryMethodsResult = null)
    {
        $this->SyncDeliveryMethodsResult = $syncDeliveryMethodsResult;
        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 \ServicePyramid\Structs\SyncDeliveryMethodsResponse
     */
    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__;
    }
}
