<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ViaPointInsert StructType
 * @subpackage Structs
 */
class ViaPointInsert extends ViaPoint
{
    /**
     * The IdentifierAddress
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierAddress
     */
    public $IdentifierAddress;
    /**
     * Constructor method for ViaPointInsert
     * @uses ViaPointInsert::setIdentifierAddress()
     * @param \StructType\IdentifierAddress $identifierAddress
     */
    public function __construct(\StructType\IdentifierAddress $identifierAddress = null)
    {
        $this
            ->setIdentifierAddress($identifierAddress);
    }
    /**
     * Get IdentifierAddress value
     * @return \StructType\IdentifierAddress|null
     */
    public function getIdentifierAddress()
    {
        return $this->IdentifierAddress;
    }
    /**
     * Set IdentifierAddress value
     * @param \StructType\IdentifierAddress $identifierAddress
     * @return \StructType\ViaPointInsert
     */
    public function setIdentifierAddress(\StructType\IdentifierAddress $identifierAddress = null)
    {
        $this->IdentifierAddress = $identifierAddress;
        return $this;
    }
}
