<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Supplier_Invoice_Lines_For_Amortization_Schedule_DataType
 * StructType
 * Meta information extracted from the WSDL
 * - documentation: Prepaid Supplier Invoice Lines for Amortization Schedule
 * @subpackage Structs
 */
class Supplier_Invoice_Lines_For_Amortization_Schedule_DataType extends AbstractStructBase
{
    /**
     * The Supplier_Invoice_Line_ID
     * Meta information extracted from the WSDL
     * - documentation: Supplier Invoice Line ID for reference in Schedule Information
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Supplier_Invoice_Line_ID;
    /**
     * Constructor method for Supplier_Invoice_Lines_For_Amortization_Schedule_DataType
     * @uses Supplier_Invoice_Lines_For_Amortization_Schedule_DataType::setSupplier_Invoice_Line_ID()
     * @param string $supplier_Invoice_Line_ID
     */
    public function __construct($supplier_Invoice_Line_ID = null)
    {
        $this
            ->setSupplier_Invoice_Line_ID($supplier_Invoice_Line_ID);
    }
    /**
     * Get Supplier_Invoice_Line_ID value
     * @return string|null
     */
    public function getSupplier_Invoice_Line_ID()
    {
        return $this->Supplier_Invoice_Line_ID;
    }
    /**
     * Set Supplier_Invoice_Line_ID value
     * @param string $supplier_Invoice_Line_ID
     * @return \StructType\Supplier_Invoice_Lines_For_Amortization_Schedule_DataType
     */
    public function setSupplier_Invoice_Line_ID($supplier_Invoice_Line_ID = null)
    {
        // validation for constraint: string
        if (!is_null($supplier_Invoice_Line_ID) && !is_string($supplier_Invoice_Line_ID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($supplier_Invoice_Line_ID, true), gettype($supplier_Invoice_Line_ID)), __LINE__);
        }
        $this->Supplier_Invoice_Line_ID = $supplier_Invoice_Line_ID;
        return $this;
    }
}
