<?php

/**
 * Note : Code is released under the GNU LGPL
 *
 * Please do not change the header of this file
 *
 * This library is free software; you can redistribute it and/or modify it under the terms of the GNU
 * Lesser General Public License as published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * See the GNU Lesser General Public License for more details.
 */
/**
 * File:        PieceDetails.php
 * Project:     DHL API
 *
 * @author      Al-Fallouji Bashar
 * @version     0.1
 */
namespace DhlVendor\DHL\Datatype\AP;

use DhlVendor\DHL\Datatype\Base;
/**
 * PieceDetails Request model for DHL API
 */
class PieceDetails extends Base
{
    /**
     * Is this object a subobject
     * @var boolean
     */
    protected $_isSubobject = \true;
    /**
     * Parameters of the datatype
     * @var array
     */
    protected $_params = array('AWBNumber' => array('type' => 'string', 'required' => \true, 'subobject' => \false), 'LicensePlate' => array('type' => 'TrackingPieceID', 'required' => \true, 'subobject' => \false, 'comment' => 'Piece ID', 'minLength' => '1', 'maxLength' => '35'), 'PieceNumber' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'ActualDepth' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'ActualWidth' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'ActualHeight' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'ActualWeight' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'Depth' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'Width' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'Height' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'Weight' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'PackageType' => array('type' => 'PackageType', 'required' => \false, 'subobject' => \false, 'comment' => 'Package Type (EE: DHL Express Envelope, OD:Other DHL Packaging, CP:Customer-provided.Ground shipments must choose CP)', 'length' => '2', 'enumeration' => 'EE,OD,CP'), 'DimWeight' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'WeightUnit' => array('type' => 'string', 'required' => \false, 'subobject' => \false), 'PieceContents' => array('type' => 'string', 'required' => \false, 'subobject' => \false));
}
