/// <summary> /// Load an empty local ExemptionCertificate object from the data provided by the web service. /// </summary> /// <param name="SvcExemptionCertificate">The ExemptionCertificate object provided by the web service.</param> internal void CopyFrom(ProxyExemptionCertificate SvcExemptionCertificate) { _avaCertId = SvcExemptionCertificate.AvaCertId; for (int ii = 0; ii < SvcExemptionCertificate.Jurisdictions.Length; ii++) { Jurisdiction jurisdiction = new Jurisdiction(); jurisdiction.CopyFrom(SvcExemptionCertificate.Jurisdictions[ii]); _jurisdictions.Add(jurisdiction); } _customerCodes = SvcExemptionCertificate.CustomerCodes; _customerType = SvcExemptionCertificate.CustomerType; _locationName = SvcExemptionCertificate.LocationName; _locationCode = SvcExemptionCertificate.LocationCode; _certificateStatus = (CertificateStatus)SvcExemptionCertificate.CertificateStatus; _reviewStatus = (ReviewStatus)SvcExemptionCertificate.ReviewStatus; _createdDate = SvcExemptionCertificate.CreatedDate; _modifiedDate = SvcExemptionCertificate.ModifiedDate; _receivedDate = SvcExemptionCertificate.ReceivedDate; _businessName = SvcExemptionCertificate.BusinessName; _address1 = SvcExemptionCertificate.Address1; _address2 = SvcExemptionCertificate.Address2; _city = SvcExemptionCertificate.City; _region = SvcExemptionCertificate.Region; _country = SvcExemptionCertificate.Country; _postalCode = SvcExemptionCertificate.PostalCode; _phone = SvcExemptionCertificate.Phone; _email = SvcExemptionCertificate.Email; _exemptFormName = SvcExemptionCertificate.ExemptFormName; _custom1 = SvcExemptionCertificate.Custom1; _custom2 = SvcExemptionCertificate.Custom2; _custom3 = SvcExemptionCertificate.Custom3; _signerName = SvcExemptionCertificate.SignerName; _signerTitle = SvcExemptionCertificate.SignerTitle; _signedDate = SvcExemptionCertificate.SignedDate; _businessDescription = SvcExemptionCertificate.BusinessDescription; _sellerPropertyDescription = SvcExemptionCertificate.SellerPropertyDescription; _certificateUsage = (CertificateUsage)SvcExemptionCertificate.CertificateUsage; _isPartialExemption = SvcExemptionCertificate.IsPartialExemption; _exemptReasonCode = SvcExemptionCertificate.ExemptReasonCode; }
/// <include file='AvaCertSvc.Doc.xml' path='adapter/common/members[@name="InternalConstructor"]/*' /> internal ExemptionCertificate() { _certificateUsage = CertificateUsage.NULL; }