<?php

namespace Ups_ship\UPSshipStruct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ShipConfirmResponse UPSshipStruct
 * @package Ups_ship
 * @subpackage Structs
 * @Author iBen
 */
class Ups_shipShipConfirmResponse extends AbstractStructBase
{
    /**
     * The Response
     * Meta information extracted from the WSDL
     * - ref: common:Response
     * @var \Ups_ship\UPSshipStruct\Ups_shipResponseType
     */
    public $Response;
    /**
     * The ShipmentResults
     * @var \Ups_ship\UPSshipStruct\Ups_shipShipmentResultsType
     */
    public $ShipmentResults;
    /**
     * Constructor method for ShipConfirmResponse
     * @uses Ups_shipShipConfirmResponse::setResponse()
     * @uses Ups_shipShipConfirmResponse::setShipmentResults()
     * @param \Ups_ship\UPSshipStruct\Ups_shipResponseType $response
     * @param \Ups_ship\UPSshipStruct\Ups_shipShipmentResultsType $shipmentResults
     */
    public function __construct(\Ups_ship\UPSshipStruct\Ups_shipResponseType $response = null, \Ups_ship\UPSshipStruct\Ups_shipShipmentResultsType $shipmentResults = null)
    {
        $this
            ->setResponse($response)
            ->setShipmentResults($shipmentResults);
    }
    /**
     * Get Response value
     * @return \Ups_ship\UPSshipStruct\Ups_shipResponseType|null
     */
    public function getResponse()
    {
        return $this->Response;
    }
    /**
     * Set Response value
     * @param \Ups_ship\UPSshipStruct\Ups_shipResponseType $response
     * @return \Ups_ship\UPSshipStruct\Ups_shipShipConfirmResponse
     */
    public function setResponse(\Ups_ship\UPSshipStruct\Ups_shipResponseType $response = null)
    {
        $this->Response = $response;
        return $this;
    }
    /**
     * Get ShipmentResults value
     * @return \Ups_ship\UPSshipStruct\Ups_shipShipmentResultsType|null
     */
    public function getShipmentResults()
    {
        return $this->ShipmentResults;
    }
    /**
     * Set ShipmentResults value
     * @param \Ups_ship\UPSshipStruct\Ups_shipShipmentResultsType $shipmentResults
     * @return \Ups_ship\UPSshipStruct\Ups_shipShipConfirmResponse
     */
    public function setShipmentResults(\Ups_ship\UPSshipStruct\Ups_shipShipmentResultsType $shipmentResults = null)
    {
        $this->ShipmentResults = $shipmentResults;
        return $this;
    }
}
