<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Purchase_Order_Close_Lines__HV__DataType StructType
 * Meta information extracted from the WSDL
 * - documentation: Container for the Purchase Order Line information, for the Purchase Order Line being closed.
 * @subpackage Structs
 */
class Purchase_Order_Close_Lines__HV__DataType extends AbstractStructBase
{
    /**
     * The Purchase_Order_Line_Reference
     * Meta information extracted from the WSDL
     * - documentation: The Purchase Order line reference.
     * @var \StructType\Purchase_Order_LineObjectType
     */
    public $Purchase_Order_Line_Reference;
    /**
     * The Reason_Code_Reference
     * Meta information extracted from the WSDL
     * - documentation: The Reason Code Reference.
     * - minOccurs: 0
     * @var \StructType\Reason_CodeObjectType
     */
    public $Reason_Code_Reference;
    /**
     * Constructor method for Purchase_Order_Close_Lines__HV__DataType
     * @uses Purchase_Order_Close_Lines__HV__DataType::setPurchase_Order_Line_Reference()
     * @uses Purchase_Order_Close_Lines__HV__DataType::setReason_Code_Reference()
     * @param \StructType\Purchase_Order_LineObjectType $purchase_Order_Line_Reference
     * @param \StructType\Reason_CodeObjectType $reason_Code_Reference
     */
    public function __construct(\StructType\Purchase_Order_LineObjectType $purchase_Order_Line_Reference = null, \StructType\Reason_CodeObjectType $reason_Code_Reference = null)
    {
        $this
            ->setPurchase_Order_Line_Reference($purchase_Order_Line_Reference)
            ->setReason_Code_Reference($reason_Code_Reference);
    }
    /**
     * Get Purchase_Order_Line_Reference value
     * @return \StructType\Purchase_Order_LineObjectType|null
     */
    public function getPurchase_Order_Line_Reference()
    {
        return $this->Purchase_Order_Line_Reference;
    }
    /**
     * Set Purchase_Order_Line_Reference value
     * @param \StructType\Purchase_Order_LineObjectType $purchase_Order_Line_Reference
     * @return \StructType\Purchase_Order_Close_Lines__HV__DataType
     */
    public function setPurchase_Order_Line_Reference(\StructType\Purchase_Order_LineObjectType $purchase_Order_Line_Reference = null)
    {
        $this->Purchase_Order_Line_Reference = $purchase_Order_Line_Reference;
        return $this;
    }
    /**
     * Get Reason_Code_Reference value
     * @return \StructType\Reason_CodeObjectType|null
     */
    public function getReason_Code_Reference()
    {
        return $this->Reason_Code_Reference;
    }
    /**
     * Set Reason_Code_Reference value
     * @param \StructType\Reason_CodeObjectType $reason_Code_Reference
     * @return \StructType\Purchase_Order_Close_Lines__HV__DataType
     */
    public function setReason_Code_Reference(\StructType\Reason_CodeObjectType $reason_Code_Reference = null)
    {
        $this->Reason_Code_Reference = $reason_Code_Reference;
        return $this;
    }
}
