// Copyright 2004, Microsoft Corporation
// Sample Code - Use restricted to terms of use defined in the accompanying license agreement (EULA.doc)

//--------------------------------------------------------------
// Autogenerated by XSDObjectGen version 1.3.6.0
// Schema file: 4B2_MS_1_0_ShipmentReceiptNotification.xsd
// Creation Date: 2/17/2005 5:06:18 PM
//--------------------------------------------------------------

using System;
using System.Xml.Serialization;
using System.Collections;
using System.Xml.Schema;
using System.ComponentModel;

namespace Microsoft.RFIDLab.EPCISDemo.PIP4B2
{

	public struct Declarations
	{
		public const string SchemaVersion = "";
	}


	[Serializable]
	[EditorBrowsable(EditorBrowsableState.Advanced)]
	public class DocumentSubLineReferenceCollection : ArrayList
	{
		public DocumentSubLineReference Add(DocumentSubLineReference obj)
		{
			base.Add(obj);
			return obj;
		}

		public DocumentSubLineReference Add()
		{
			return Add(new DocumentSubLineReference());
		}

		public void Insert(int index, DocumentSubLineReference obj)
		{
			base.Insert(index, obj);
		}

		public void Remove(DocumentSubLineReference obj)
		{
			base.Remove(obj);
		}

		new public DocumentSubLineReference this[int index]
		{
			get { return (DocumentSubLineReference) base[index]; }
			set { base[index] = value; }
		}
	}

	[Serializable]
	[EditorBrowsable(EditorBrowsableState.Advanced)]
	public class ShipmentReceiptNotificationLineItemCollection : ArrayList
	{
		public ShipmentReceiptNotificationLineItem Add(ShipmentReceiptNotificationLineItem obj)
		{
			base.Add(obj);
			return obj;
		}

		public ShipmentReceiptNotificationLineItem Add()
		{
			return Add(new ShipmentReceiptNotificationLineItem());
		}

		public void Insert(int index, ShipmentReceiptNotificationLineItem obj)
		{
			base.Insert(index, obj);
		}

		public void Remove(ShipmentReceiptNotificationLineItem obj)
		{
			base.Remove(obj);
		}

		new public ShipmentReceiptNotificationLineItem this[int index]
		{
			get { return (ShipmentReceiptNotificationLineItem) base[index]; }
			set { base[index] = value; }
		}
	}

	[Serializable]
	[EditorBrowsable(EditorBrowsableState.Advanced)]
	public class PartnerProductIdentificationCollection : ArrayList
	{
		public PartnerProductIdentification Add(PartnerProductIdentification obj)
		{
			base.Add(obj);
			return obj;
		}

		public PartnerProductIdentification Add()
		{
			return Add(new PartnerProductIdentification());
		}

		public void Insert(int index, PartnerProductIdentification obj)
		{
			base.Insert(index, obj);
		}

		public void Remove(PartnerProductIdentification obj)
		{
			base.Remove(obj);
		}

		new public PartnerProductIdentification this[int index]
		{
			get { return (PartnerProductIdentification) base[index]; }
			set { base[index] = value; }
		}
	}

	[Serializable]
	[EditorBrowsable(EditorBrowsableState.Advanced)]
	public class TrackingReferenceCollection : ArrayList
	{
		public TrackingReference Add(TrackingReference obj)
		{
			base.Add(obj);
			return obj;
		}

		public TrackingReference Add()
		{
			return Add(new TrackingReference());
		}

		public void Insert(int index, TrackingReference obj)
		{
			base.Insert(index, obj);
		}

		public void Remove(TrackingReference obj)
		{
			base.Remove(obj);
		}

		new public TrackingReference this[int index]
		{
			get { return (TrackingReference) base[index]; }
			set { base[index] = value; }
		}
	}

	[Serializable]
	[EditorBrowsable(EditorBrowsableState.Advanced)]
	public class ProprietarySerialIdentifierCollection : ArrayList
	{
		public string Add(string obj)
		{
			base.Add(obj);
			return obj;
		}

		public void Insert(int index, string obj)
		{
			base.Insert(index, obj);
		}

		public void Remove(string obj)
		{
			base.Remove(obj);
		}

		new public string this[int index]
		{
			get { return (string) base[index]; }
			set { base[index] = value; }
		}
	}

	[Serializable]
	[EditorBrowsable(EditorBrowsableState.Advanced)]
	public class ShipmentReceiptInformationResourceCollection : ArrayList
	{
		public ShipmentReceiptInformationResource Add(ShipmentReceiptInformationResource obj)
		{
			base.Add(obj);
			return obj;
		}

		public ShipmentReceiptInformationResource Add()
		{
			return Add(new ShipmentReceiptInformationResource());
		}

		public void Insert(int index, ShipmentReceiptInformationResource obj)
		{
			base.Insert(index, obj);
		}

		public void Remove(ShipmentReceiptInformationResource obj)
		{
			base.Remove(obj);
		}

		new public ShipmentReceiptInformationResource this[int index]
		{
			get { return (ShipmentReceiptInformationResource) base[index]; }
			set { base[index] = value; }
		}
	}



	[XmlRoot(ElementName="ShipmentReceiptNotificationLineItem",IsNullable=false),Serializable]
	public class ShipmentReceiptNotificationLineItem
	{

		[XmlElement(Type=typeof(acceptedQuantity),ElementName="acceptedQuantity",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public acceptedQuantity __acceptedQuantity;
		
		[XmlIgnore]
		public acceptedQuantity acceptedQuantity
		{
			get
			{
				if (__acceptedQuantity == null) __acceptedQuantity = new acceptedQuantity();		
				return __acceptedQuantity;
			}
			set {__acceptedQuantity = value;}
		}

		[XmlElement(Type=typeof(DocumentSubLineReference),ElementName="DocumentSubLineReference",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public DocumentSubLineReferenceCollection __DocumentSubLineReferenceCollection;
		
		[XmlIgnore]
		public DocumentSubLineReferenceCollection DocumentSubLineReferenceCollection
		{
			get
			{
				if (__DocumentSubLineReferenceCollection == null) __DocumentSubLineReferenceCollection = new DocumentSubLineReferenceCollection();
				return __DocumentSubLineReferenceCollection;
			}
			set {__DocumentSubLineReferenceCollection = value;}
		}

		[XmlElement(ElementName="GlobalProductUnitOfMeasureCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalProductUnitOfMeasureCode;
		
		[XmlIgnore]
		public string GlobalProductUnitOfMeasureCode
		{ 
			get { return __GlobalProductUnitOfMeasureCode; }
			set { __GlobalProductUnitOfMeasureCode = value; }
		}

		[XmlElement(Type=typeof(ProductIdentification),ElementName="ProductIdentification",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public ProductIdentification __ProductIdentification;
		
		[XmlIgnore]
		public ProductIdentification ProductIdentification
		{
			get
			{
				if (__ProductIdentification == null) __ProductIdentification = new ProductIdentification();		
				return __ProductIdentification;
			}
			set {__ProductIdentification = value;}
		}

		[XmlElement(Type=typeof(string),ElementName="ProprietarySerialIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public ProprietarySerialIdentifierCollection __ProprietarySerialIdentifierCollection;
		
		[XmlIgnore]
		public ProprietarySerialIdentifierCollection ProprietarySerialIdentifierCollection
		{
			get
			{
				if (__ProprietarySerialIdentifierCollection == null) __ProprietarySerialIdentifierCollection = new ProprietarySerialIdentifierCollection();
				return __ProprietarySerialIdentifierCollection;
			}
			set {__ProprietarySerialIdentifierCollection = value;}
		}

		[XmlElement(Type=typeof(receivedBy),ElementName="receivedBy",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public receivedBy __receivedBy;
		
		[XmlIgnore]
		public receivedBy receivedBy
		{
			get
			{
				if (__receivedBy == null) __receivedBy = new receivedBy();		
				return __receivedBy;
			}
			set {__receivedBy = value;}
		}

		[XmlElement(Type=typeof(receivedQuantity),ElementName="receivedQuantity",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public receivedQuantity __receivedQuantity;
		
		[XmlIgnore]
		public receivedQuantity receivedQuantity
		{
			get
			{
				if (__receivedQuantity == null) __receivedQuantity = new receivedQuantity();		
				return __receivedQuantity;
			}
			set {__receivedQuantity = value;}
		}

		[XmlElement(Type=typeof(ShipmentReceiptDiscrepancyInformation),ElementName="ShipmentReceiptDiscrepancyInformation",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public ShipmentReceiptDiscrepancyInformation __ShipmentReceiptDiscrepancyInformation;
		
		[XmlIgnore]
		public ShipmentReceiptDiscrepancyInformation ShipmentReceiptDiscrepancyInformation
		{
			get
			{
				if (__ShipmentReceiptDiscrepancyInformation == null) __ShipmentReceiptDiscrepancyInformation = new ShipmentReceiptDiscrepancyInformation();		
				return __ShipmentReceiptDiscrepancyInformation;
			}
			set {__ShipmentReceiptDiscrepancyInformation = value;}
		}

		[XmlElement(Type=typeof(shipmentReceiptReportDateTime),ElementName="shipmentReceiptReportDateTime",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public shipmentReceiptReportDateTime __shipmentReceiptReportDateTime;
		
		[XmlIgnore]
		public shipmentReceiptReportDateTime shipmentReceiptReportDateTime
		{
			get
			{
				if (__shipmentReceiptReportDateTime == null) __shipmentReceiptReportDateTime = new shipmentReceiptReportDateTime();		
				return __shipmentReceiptReportDateTime;
			}
			set {__shipmentReceiptReportDateTime = value;}
		}

		public ShipmentReceiptNotificationLineItem()
		{
		}
	}


	[XmlRoot(ElementName="FreeFormText",IsNullable=false),Serializable]
	public class FreeFormText
	{

		[XmlAttribute(AttributeName="lang",DataType="language")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __lang;
		
		[XmlIgnore]
		public string lang
		{ 
			get { return __lang; }
			set { __lang = value; }
		}

		[XmlText(DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __Value;
		
		[XmlIgnore]
		public string Value
		{ 
			get { return __Value; }
			set { __Value = value; }
		}

		public FreeFormText()
		{
		}
	}


	[XmlRoot(ElementName="thisDocumentGenerationDateTime",IsNullable=false),Serializable]
	public class thisDocumentGenerationDateTime
	{

		[XmlElement(ElementName="DateTimeStamp",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __DateTimeStamp;
		
		[XmlIgnore]
		public string DateTimeStamp
		{ 
			get { return __DateTimeStamp; }
			set { __DateTimeStamp = value; }
		}

		public thisDocumentGenerationDateTime()
		{
		}
	}


	[XmlRoot(ElementName="PartnerProductIdentification",IsNullable=false),Serializable]
	public class PartnerProductIdentification
	{

		[XmlElement(ElementName="GlobalPartnerClassificationCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalPartnerClassificationCode;
		
		[XmlIgnore]
		public string GlobalPartnerClassificationCode
		{ 
			get { return __GlobalPartnerClassificationCode; }
			set { __GlobalPartnerClassificationCode = value; }
		}

		[XmlElement(ElementName="ProprietaryProductIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __ProprietaryProductIdentifier;
		
		[XmlIgnore]
		public string ProprietaryProductIdentifier
		{ 
			get { return __ProprietaryProductIdentifier; }
			set { __ProprietaryProductIdentifier = value; }
		}

		[XmlElement(Type=typeof(revisionIdentifier),ElementName="revisionIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public revisionIdentifier __revisionIdentifier;
		
		[XmlIgnore]
		public revisionIdentifier revisionIdentifier
		{
			get
			{
				if (__revisionIdentifier == null) __revisionIdentifier = new revisionIdentifier();		
				return __revisionIdentifier;
			}
			set {__revisionIdentifier = value;}
		}

		public PartnerProductIdentification()
		{
		}
	}


	[XmlRoot(ElementName="ContactInformation",IsNullable=false),Serializable]
	public class ContactInformation
	{

		[XmlElement(Type=typeof(contactName),ElementName="contactName",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public contactName __contactName;
		
		[XmlIgnore]
		public contactName contactName
		{
			get
			{
				if (__contactName == null) __contactName = new contactName();		
				return __contactName;
			}
			set {__contactName = value;}
		}

		[XmlElement(ElementName="EmailAddress",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __EmailAddress;
		
		[XmlIgnore]
		public string EmailAddress
		{ 
			get { return __EmailAddress; }
			set { __EmailAddress = value; }
		}

		[XmlElement(Type=typeof(facsimileNumber),ElementName="facsimileNumber",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public facsimileNumber __facsimileNumber;
		
		[XmlIgnore]
		public facsimileNumber facsimileNumber
		{
			get
			{
				if (__facsimileNumber == null) __facsimileNumber = new facsimileNumber();		
				return __facsimileNumber;
			}
			set {__facsimileNumber = value;}
		}

		[XmlElement(Type=typeof(telephoneNumber),ElementName="telephoneNumber",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public telephoneNumber __telephoneNumber;
		
		[XmlIgnore]
		public telephoneNumber telephoneNumber
		{
			get
			{
				if (__telephoneNumber == null) __telephoneNumber = new telephoneNumber();		
				return __telephoneNumber;
			}
			set {__telephoneNumber = value;}
		}

		public ContactInformation()
		{
		}
	}


	[XmlRoot(ElementName="acceptedQuantity",IsNullable=false),Serializable]
	public class acceptedQuantity
	{

		[XmlElement(ElementName="ProductQuantity",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __ProductQuantity;
		
		[XmlIgnore]
		public string ProductQuantity
		{ 
			get { return __ProductQuantity; }
			set { __ProductQuantity = value; }
		}

		public acceptedQuantity()
		{
		}
	}


	[XmlRoot(ElementName="DocumentSubLineReference",IsNullable=false),Serializable]
	public class DocumentSubLineReference
	{

		[XmlElement(ElementName="GlobalDocumentReferenceTypeCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalDocumentReferenceTypeCode;
		
		[XmlIgnore]
		public string GlobalDocumentReferenceTypeCode
		{ 
			get { return __GlobalDocumentReferenceTypeCode; }
			set { __GlobalDocumentReferenceTypeCode = value; }
		}

		[XmlElement(ElementName="LineNumber",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __LineNumber;
		
		[XmlIgnore]
		public string LineNumber
		{ 
			get { return __LineNumber; }
			set { __LineNumber = value; }
		}

		[XmlElement(ElementName="ProprietaryDocumentIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __ProprietaryDocumentIdentifier;
		
		[XmlIgnore]
		public string ProprietaryDocumentIdentifier
		{ 
			get { return __ProprietaryDocumentIdentifier; }
			set { __ProprietaryDocumentIdentifier = value; }
		}

		[XmlElement(Type=typeof(subLineNumber),ElementName="subLineNumber",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public subLineNumber __subLineNumber;
		
		[XmlIgnore]
		public subLineNumber subLineNumber
		{
			get
			{
				if (__subLineNumber == null) __subLineNumber = new subLineNumber();		
				return __subLineNumber;
			}
			set {__subLineNumber = value;}
		}

		public DocumentSubLineReference()
		{
		}
	}


	[XmlRoot(ElementName="PhysicalAddress",IsNullable=false),Serializable]
	public class PhysicalAddress
	{

		[XmlElement(ElementName="GlobalLocationIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalLocationIdentifier;
		
		[XmlIgnore]
		public string GlobalLocationIdentifier
		{ 
			get { return __GlobalLocationIdentifier; }
			set { __GlobalLocationIdentifier = value; }
		}

		public PhysicalAddress()
		{
		}
	}


	[XmlRoot(ElementName="BusinessDescription",IsNullable=false),Serializable]
	public class BusinessDescription
	{

		[XmlElement(ElementName="GlobalBusinessIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalBusinessIdentifier;
		
		[XmlIgnore]
		public string GlobalBusinessIdentifier
		{ 
			get { return __GlobalBusinessIdentifier; }
			set { __GlobalBusinessIdentifier = value; }
		}

		[XmlElement(ElementName="GlobalSupplyChainCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalSupplyChainCode;
		
		[XmlIgnore]
		public string GlobalSupplyChainCode
		{ 
			get { return __GlobalSupplyChainCode; }
			set { __GlobalSupplyChainCode = value; }
		}

		[XmlElement(Type=typeof(businessName),ElementName="businessName",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public businessName __businessName;
		
		[XmlIgnore]
		public businessName businessName
		{
			get
			{
				if (__businessName == null) __businessName = new businessName();		
				return __businessName;
			}
			set {__businessName = value;}
		}

		public BusinessDescription()
		{
		}
	}


	[XmlRoot(ElementName="subLineNumber",IsNullable=false),Serializable]
	public class subLineNumber
	{

		[XmlElement(ElementName="LineNumber",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __LineNumber;
		
		[XmlIgnore]
		public string LineNumber
		{ 
			get { return __LineNumber; }
			set { __LineNumber = value; }
		}

		public subLineNumber()
		{
		}
	}


	[XmlRoot(ElementName="ShipmentReceiptInformationResource",IsNullable=false),Serializable]
	public class ShipmentReceiptInformationResource
	{

		[XmlElement(Type=typeof(shipmentIdentifier),ElementName="shipmentIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public shipmentIdentifier __shipmentIdentifier;
		
		[XmlIgnore]
		public shipmentIdentifier shipmentIdentifier
		{
			get
			{
				if (__shipmentIdentifier == null) __shipmentIdentifier = new shipmentIdentifier();		
				return __shipmentIdentifier;
			}
			set {__shipmentIdentifier = value;}
		}

		[XmlElement(Type=typeof(ShipmentReceiptNotificationLineItem),ElementName="ShipmentReceiptNotificationLineItem",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public ShipmentReceiptNotificationLineItemCollection __ShipmentReceiptNotificationLineItemCollection;
		
		[XmlIgnore]
		public ShipmentReceiptNotificationLineItemCollection ShipmentReceiptNotificationLineItemCollection
		{
			get
			{
				if (__ShipmentReceiptNotificationLineItemCollection == null) __ShipmentReceiptNotificationLineItemCollection = new ShipmentReceiptNotificationLineItemCollection();
				return __ShipmentReceiptNotificationLineItemCollection;
			}
			set {__ShipmentReceiptNotificationLineItemCollection = value;}
		}

		[XmlElement(Type=typeof(TrackingReference),ElementName="TrackingReference",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public TrackingReferenceCollection __TrackingReferenceCollection;
		
		[XmlIgnore]
		public TrackingReferenceCollection TrackingReferenceCollection
		{
			get
			{
				if (__TrackingReferenceCollection == null) __TrackingReferenceCollection = new TrackingReferenceCollection();
				return __TrackingReferenceCollection;
			}
			set {__TrackingReferenceCollection = value;}
		}

		public ShipmentReceiptInformationResource()
		{
		}
	}


	[XmlRoot(ElementName="PartnerDescription",IsNullable=false),Serializable]
	public class PartnerDescription
	{

		[XmlElement(Type=typeof(BusinessDescription),ElementName="BusinessDescription",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public BusinessDescription __BusinessDescription;
		
		[XmlIgnore]
		public BusinessDescription BusinessDescription
		{
			get
			{
				if (__BusinessDescription == null) __BusinessDescription = new BusinessDescription();		
				return __BusinessDescription;
			}
			set {__BusinessDescription = value;}
		}

		[XmlElement(ElementName="GlobalPartnerClassificationCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalPartnerClassificationCode;
		
		[XmlIgnore]
		public string GlobalPartnerClassificationCode
		{ 
			get { return __GlobalPartnerClassificationCode; }
			set { __GlobalPartnerClassificationCode = value; }
		}

		[XmlElement(Type=typeof(PhysicalAddress),ElementName="PhysicalAddress",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public PhysicalAddress __PhysicalAddress;
		
		[XmlIgnore]
		public PhysicalAddress PhysicalAddress
		{
			get
			{
				if (__PhysicalAddress == null) __PhysicalAddress = new PhysicalAddress();		
				return __PhysicalAddress;
			}
			set {__PhysicalAddress = value;}
		}

		public PartnerDescription()
		{
		}
	}


	[XmlRoot(ElementName="shipmentIdentifier",IsNullable=false),Serializable]
	public class shipmentIdentifier
	{

		[XmlElement(ElementName="ProprietaryReferenceIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __ProprietaryReferenceIdentifier;
		
		[XmlIgnore]
		public string ProprietaryReferenceIdentifier
		{ 
			get { return __ProprietaryReferenceIdentifier; }
			set { __ProprietaryReferenceIdentifier = value; }
		}

		public shipmentIdentifier()
		{
		}
	}


	[XmlRoot(ElementName="businessName",IsNullable=false),Serializable]
	public class businessName
	{

		[XmlElement(Type=typeof(FreeFormText),ElementName="FreeFormText",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public FreeFormText __FreeFormText;
		
		[XmlIgnore]
		public FreeFormText FreeFormText
		{
			get
			{
				if (__FreeFormText == null) __FreeFormText = new FreeFormText();		
				return __FreeFormText;
			}
			set {__FreeFormText = value;}
		}

		public businessName()
		{
		}
	}


	[XmlRoot(ElementName="ProductIdentification",IsNullable=false),Serializable]
	public class ProductIdentification
	{

		[XmlElement(ElementName="GlobalProductIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalProductIdentifier;
		
		[XmlIgnore]
		public string GlobalProductIdentifier
		{ 
			get { return __GlobalProductIdentifier; }
			set { __GlobalProductIdentifier = value; }
		}

		[XmlElement(Type=typeof(PartnerProductIdentification),ElementName="PartnerProductIdentification",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public PartnerProductIdentificationCollection __PartnerProductIdentificationCollection;
		
		[XmlIgnore]
		public PartnerProductIdentificationCollection PartnerProductIdentificationCollection
		{
			get
			{
				if (__PartnerProductIdentificationCollection == null) __PartnerProductIdentificationCollection = new PartnerProductIdentificationCollection();
				return __PartnerProductIdentificationCollection;
			}
			set {__PartnerProductIdentificationCollection = value;}
		}

		public ProductIdentification()
		{
		}
	}


	[XmlRoot(ElementName="PartnerRoleDescription",IsNullable=false),Serializable]
	public class PartnerRoleDescription
	{

		[XmlElement(Type=typeof(ContactInformation),ElementName="ContactInformation",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public ContactInformation __ContactInformation;
		
		[XmlIgnore]
		public ContactInformation ContactInformation
		{
			get
			{
				if (__ContactInformation == null) __ContactInformation = new ContactInformation();		
				return __ContactInformation;
			}
			set {__ContactInformation = value;}
		}

		[XmlElement(ElementName="GlobalPartnerRoleClassificationCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalPartnerRoleClassificationCode;
		
		[XmlIgnore]
		public string GlobalPartnerRoleClassificationCode
		{ 
			get { return __GlobalPartnerRoleClassificationCode; }
			set { __GlobalPartnerRoleClassificationCode = value; }
		}

		[XmlElement(Type=typeof(PartnerDescription),ElementName="PartnerDescription",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public PartnerDescription __PartnerDescription;
		
		[XmlIgnore]
		public PartnerDescription PartnerDescription
		{
			get
			{
				if (__PartnerDescription == null) __PartnerDescription = new PartnerDescription();		
				return __PartnerDescription;
			}
			set {__PartnerDescription = value;}
		}

		public PartnerRoleDescription()
		{
		}
	}


	[XmlRoot(ElementName="telephoneNumber",IsNullable=false),Serializable]
	public class telephoneNumber
	{

		[XmlElement(ElementName="CommunicationsNumber",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __CommunicationsNumber;
		
		[XmlIgnore]
		public string CommunicationsNumber
		{ 
			get { return __CommunicationsNumber; }
			set { __CommunicationsNumber = value; }
		}

		public telephoneNumber()
		{
		}
	}


	[XmlRoot(ElementName="ShipmentReceiptDiscrepancyInformation",IsNullable=false),Serializable]
	public class ShipmentReceiptDiscrepancyInformation
	{

		[XmlElement(ElementName="GlobalReceivingDiscrepancyCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalReceivingDiscrepancyCode;
		
		[XmlIgnore]
		public string GlobalReceivingDiscrepancyCode
		{ 
			get { return __GlobalReceivingDiscrepancyCode; }
			set { __GlobalReceivingDiscrepancyCode = value; }
		}

		[XmlElement(ElementName="GlobalReceivingDiscrepancyReasonCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalReceivingDiscrepancyReasonCode;
		
		[XmlIgnore]
		public string GlobalReceivingDiscrepancyReasonCode
		{ 
			get { return __GlobalReceivingDiscrepancyReasonCode; }
			set { __GlobalReceivingDiscrepancyReasonCode = value; }
		}

		public ShipmentReceiptDiscrepancyInformation()
		{
		}
	}


	[XmlRoot(ElementName="revisionIdentifier",IsNullable=false),Serializable]
	public class revisionIdentifier
	{

		[XmlElement(Type=typeof(FreeFormText),ElementName="FreeFormText",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public FreeFormText __FreeFormText;
		
		[XmlIgnore]
		public FreeFormText FreeFormText
		{
			get
			{
				if (__FreeFormText == null) __FreeFormText = new FreeFormText();		
				return __FreeFormText;
			}
			set {__FreeFormText = value;}
		}

		public revisionIdentifier()
		{
		}
	}


	[XmlRoot(ElementName="fromRole",IsNullable=false),Serializable]
	public class fromRole
	{

		[XmlElement(Type=typeof(PartnerRoleDescription),ElementName="PartnerRoleDescription",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public PartnerRoleDescription __PartnerRoleDescription;
		
		[XmlIgnore]
		public PartnerRoleDescription PartnerRoleDescription
		{
			get
			{
				if (__PartnerRoleDescription == null) __PartnerRoleDescription = new PartnerRoleDescription();		
				return __PartnerRoleDescription;
			}
			set {__PartnerRoleDescription = value;}
		}

		public fromRole()
		{
		}
	}


	[XmlRoot(ElementName="shipmentReceiptReportDateTime",IsNullable=false),Serializable]
	public class shipmentReceiptReportDateTime
	{

		[XmlElement(ElementName="DateTimeStamp",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __DateTimeStamp;
		
		[XmlIgnore]
		public string DateTimeStamp
		{ 
			get { return __DateTimeStamp; }
			set { __DateTimeStamp = value; }
		}

		public shipmentReceiptReportDateTime()
		{
		}
	}


	[XmlRoot(ElementName="thisDocumentIdentifier",IsNullable=false),Serializable]
	public class thisDocumentIdentifier
	{

		[XmlElement(ElementName="ProprietaryDocumentIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __ProprietaryDocumentIdentifier;
		
		[XmlIgnore]
		public string ProprietaryDocumentIdentifier
		{ 
			get { return __ProprietaryDocumentIdentifier; }
			set { __ProprietaryDocumentIdentifier = value; }
		}

		public thisDocumentIdentifier()
		{
		}
	}


	[XmlRoot(ElementName="receivedQuantity",IsNullable=false),Serializable]
	public class receivedQuantity
	{

		[XmlElement(ElementName="ProductQuantity",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __ProductQuantity;
		
		[XmlIgnore]
		public string ProductQuantity
		{ 
			get { return __ProductQuantity; }
			set { __ProductQuantity = value; }
		}

		public receivedQuantity()
		{
		}
	}


	[XmlRoot(ElementName="facsimileNumber",IsNullable=false),Serializable]
	public class facsimileNumber
	{

		[XmlElement(ElementName="CommunicationsNumber",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __CommunicationsNumber;
		
		[XmlIgnore]
		public string CommunicationsNumber
		{ 
			get { return __CommunicationsNumber; }
			set { __CommunicationsNumber = value; }
		}

		public facsimileNumber()
		{
		}
	}


	[XmlRoot(ElementName="receivedBy",IsNullable=false),Serializable]
	public class receivedBy
	{

		[XmlElement(Type=typeof(PartnerDescription),ElementName="PartnerDescription",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public PartnerDescription __PartnerDescription;
		
		[XmlIgnore]
		public PartnerDescription PartnerDescription
		{
			get
			{
				if (__PartnerDescription == null) __PartnerDescription = new PartnerDescription();		
				return __PartnerDescription;
			}
			set {__PartnerDescription = value;}
		}

		public receivedBy()
		{
		}
	}

	//ramesh. added to avoid fromRole namespace conflict
    //[XmlRoot(ElementName="Pip4B2ShipmentReceiptNotification",IsNullable=false),Serializable]
	[XmlRoot(ElementName="Pip4B2ShipmentReceiptNotification",IsNullable=false, Namespace="http://www.testrosettanet.org"),Serializable]
	public class Pip4B2ShipmentReceiptNotification
	{

		[XmlElement(Type=typeof(fromRole),ElementName="fromRole",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public fromRole __fromRole;
		
		[XmlIgnore]
		public fromRole fromRole
		{
			get
			{
				if (__fromRole == null) __fromRole = new fromRole();		
				return __fromRole;
			}
			set {__fromRole = value;}
		}

		[XmlElement(ElementName="GlobalDocumentFunctionCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalDocumentFunctionCode;
		
		[XmlIgnore]
		public string GlobalDocumentFunctionCode
		{ 
			get { return __GlobalDocumentFunctionCode; }
			set { __GlobalDocumentFunctionCode = value; }
		}

		[XmlElement(Type=typeof(ShipmentReceiptInformationResource),ElementName="ShipmentReceiptInformationResource",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public ShipmentReceiptInformationResourceCollection __ShipmentReceiptInformationResourceCollection;
		
		[XmlIgnore]
		public ShipmentReceiptInformationResourceCollection ShipmentReceiptInformationResourceCollection
		{
			get
			{
				if (__ShipmentReceiptInformationResourceCollection == null) __ShipmentReceiptInformationResourceCollection = new ShipmentReceiptInformationResourceCollection();
				return __ShipmentReceiptInformationResourceCollection;
			}
			set {__ShipmentReceiptInformationResourceCollection = value;}
		}

		[XmlElement(Type=typeof(thisDocumentGenerationDateTime),ElementName="thisDocumentGenerationDateTime",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public thisDocumentGenerationDateTime __thisDocumentGenerationDateTime;
		
		[XmlIgnore]
		public thisDocumentGenerationDateTime thisDocumentGenerationDateTime
		{
			get
			{
				if (__thisDocumentGenerationDateTime == null) __thisDocumentGenerationDateTime = new thisDocumentGenerationDateTime();		
				return __thisDocumentGenerationDateTime;
			}
			set {__thisDocumentGenerationDateTime = value;}
		}

		[XmlElement(Type=typeof(thisDocumentIdentifier),ElementName="thisDocumentIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public thisDocumentIdentifier __thisDocumentIdentifier;
		
		[XmlIgnore]
		public thisDocumentIdentifier thisDocumentIdentifier
		{
			get
			{
				if (__thisDocumentIdentifier == null) __thisDocumentIdentifier = new thisDocumentIdentifier();		
				return __thisDocumentIdentifier;
			}
			set {__thisDocumentIdentifier = value;}
		}

		[XmlElement(Type=typeof(toRole),ElementName="toRole",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public toRole __toRole;
		
		[XmlIgnore]
		public toRole toRole
		{
			get
			{
				if (__toRole == null) __toRole = new toRole();		
				return __toRole;
			}
			set {__toRole = value;}
		}

		public Pip4B2ShipmentReceiptNotification()
		{
		}
	}


	[XmlRoot(ElementName="contactName",IsNullable=false),Serializable]
	public class contactName
	{

		[XmlElement(Type=typeof(FreeFormText),ElementName="FreeFormText",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public FreeFormText __FreeFormText;
		
		[XmlIgnore]
		public FreeFormText FreeFormText
		{
			get
			{
				if (__FreeFormText == null) __FreeFormText = new FreeFormText();		
				return __FreeFormText;
			}
			set {__FreeFormText = value;}
		}

		public contactName()
		{
		}
	}


	[XmlRoot(ElementName="TrackingReference",IsNullable=false),Serializable]
	public class TrackingReference
	{

		[XmlElement(ElementName="GlobalTrackingReferenceTypeCode",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __GlobalTrackingReferenceTypeCode;
		
		[XmlIgnore]
		public string GlobalTrackingReferenceTypeCode
		{ 
			get { return __GlobalTrackingReferenceTypeCode; }
			set { __GlobalTrackingReferenceTypeCode = value; }
		}

		[XmlElement(ElementName="ProprietaryShipmentTrackingIdentifier",IsNullable=false,Form=XmlSchemaForm.Qualified,DataType="string")]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public string __ProprietaryShipmentTrackingIdentifier;
		
		[XmlIgnore]
		public string ProprietaryShipmentTrackingIdentifier
		{ 
			get { return __ProprietaryShipmentTrackingIdentifier; }
			set { __ProprietaryShipmentTrackingIdentifier = value; }
		}

		public TrackingReference()
		{
		}
	}


	[XmlRoot(ElementName="toRole",IsNullable=false),Serializable]
	public class toRole
	{

		[XmlElement(Type=typeof(PartnerRoleDescription),ElementName="PartnerRoleDescription",IsNullable=false,Form=XmlSchemaForm.Qualified)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public PartnerRoleDescription __PartnerRoleDescription;
		
		[XmlIgnore]
		public PartnerRoleDescription PartnerRoleDescription
		{
			get
			{
				if (__PartnerRoleDescription == null) __PartnerRoleDescription = new PartnerRoleDescription();		
				return __PartnerRoleDescription;
			}
			set {__PartnerRoleDescription = value;}
		}

		public toRole()
		{
		}
	}
}
