using System;
using System.Collections.Generic;

namespace Ato.EN.IntegrationServices.CodeGenerationCHTWTHHLDBEN
{
    public class CHTWTHHLDBEN2018
    {
    
    public string BeneficiaryId = null;
    public bool BeneficiaryExists = false;
    public int BeneficiaryCount = 0;
    public int BeneficiaryOccurrenceIndex = 0;
    public int BeneficiaryLastOccurrenceIndex = 0;
    public string BeneficiaryIdentifier = null;
    public string BeneficiaryIdentifierScheme = null;
        public string BeneficiaryIdentifierID = null;
        public DateTime? BeneficiaryStartDate = null;
        public DateTime? BeneficiaryEndDate = null;

        /// <summary>
        /// Beneficiary:tns:Identifiers.Entity.Identifier
        /// </summary>
        public string CHTWTHHLDBEN57 = null;

        /// <summary>
        /// Beneficiary:tns:Identifiers.TaxFileNumber.Identifier
        /// </summary>
        public string CHTWTHHLDBEN52 = null;

        /// <summary>
        /// Beneficiary:tns:IncomeTax.BeneficiaryEntityType.Code
        /// </summary>
        public string CHTWTHHLDBEN21 = null;

        /// <summary>
        /// Beneficiary:tns:IncomeTax.PayAsYouGoWithholding.TaxWithheld.Amount
        /// </summary>
        public decimal? CHTWTHHLDBEN45 = null;

        /// <summary>
        /// Beneficiary:tns:IncomeTax.PayAsYouGoWithholding.PaymentGross.Amount
        /// </summary>
        public decimal? CHTWTHHLDBEN46 = null;

        /// <summary>
        /// Beneficiary:tns:PersonNameDetails.Title.Text
        /// </summary>
        public string CHTWTHHLDBEN22 = null;

        /// <summary>
        /// Beneficiary:tns:PersonNameDetails.FamilyName.Text
        /// </summary>
        public string CHTWTHHLDBEN23 = null;

        /// <summary>
        /// Beneficiary:tns:PersonNameDetails.GivenName.Text
        /// </summary>
        public string CHTWTHHLDBEN24 = null;

        /// <summary>
        /// Beneficiary:tns:PersonNameDetails.OtherGivenName.Text
        /// </summary>
        public string CHTWTHHLDBEN25 = null;

        /// <summary>
        /// Beneficiary:tns:PersonDemographicDetails.Birth.Date
        /// </summary>
        public DateTime? CHTWTHHLDBEN26 = null;

        /// <summary>
        /// Beneficiary:tns:OrganisationNameDetails.OrganisationalName.Text
        /// </summary>
        public string CHTWTHHLDBEN32 = null;

        /// <summary>
        /// Beneficiary:tns:Identifiers.AustralianBusinessNumber.Identifier
        /// </summary>
        public string CHTWTHHLDBEN33 = null;

        public string BeneficiaryPostalId = null;
        public bool BeneficiaryPostalExists = false;
        public int BeneficiaryPostalCount = 0;
        public int BeneficiaryPostalOccurrenceIndex = 0;
        public int BeneficiaryPostalLastOccurrenceIndex = 0;
        public string BeneficiaryPostalIdentifier = null;
        public string BeneficiaryPostalIdentifierScheme = null;
        public string BeneficiaryPostalIdentifierID = null;
        public DateTime? BeneficiaryPostalStartDate = null;
        public DateTime? BeneficiaryPostalEndDate = null;

        /// <summary>
        /// BeneficiaryPostal:tns:AddressDetails.Line1.Text
        /// </summary>
        public string CHTWTHHLDBEN62 = null;

        /// <summary>
        /// BeneficiaryPostal:tns:AddressDetails.Line2.Text
        /// </summary>
        public string CHTWTHHLDBEN63 = null;

        /// <summary>
        /// BeneficiaryPostal:tns:AddressDetails.LocalityName.Text
        /// </summary>
        public string CHTWTHHLDBEN64 = null;

        /// <summary>
        /// BeneficiaryPostal:tns:AddressDetails.StateOrTerritory.Code
        /// </summary>
        public string CHTWTHHLDBEN65 = null;

        /// <summary>
        /// BeneficiaryPostal:tns:AddressDetails.Postcode.Text
        /// </summary>
        public string CHTWTHHLDBEN66 = null;

        /// <summary>
        /// BeneficiaryPostal:tns:AddressDetails.Country.Code
        /// </summary>
        public string CHTWTHHLDBEN61 = null;

        public string BeneficiaryResidentialId = null;
        public bool BeneficiaryResidentialExists = false;
        public int BeneficiaryResidentialCount = 0;
        public int BeneficiaryResidentialOccurrenceIndex = 0;
        public int BeneficiaryResidentialLastOccurrenceIndex = 0;
        public string BeneficiaryResidentialIdentifier = null;
        public string BeneficiaryResidentialIdentifierScheme = null;
        public string BeneficiaryResidentialIdentifierID = null;
        public DateTime? BeneficiaryResidentialStartDate = null;
        public DateTime? BeneficiaryResidentialEndDate = null;

        /// <summary>
        /// BeneficiaryResidential:tns:AddressDetails.Line1.Text
        /// </summary>
        public string CHTWTHHLDBEN39 = null;

        /// <summary>
        /// BeneficiaryResidential:tns:AddressDetails.Line2.Text
        /// </summary>
        public string CHTWTHHLDBEN40 = null;

        /// <summary>
        /// BeneficiaryResidential:tns:AddressDetails.LocalityName.Text
        /// </summary>
        public string CHTWTHHLDBEN41 = null;

        /// <summary>
        /// BeneficiaryResidential:tns:AddressDetails.StateOrTerritory.Code
        /// </summary>
        public string CHTWTHHLDBEN42 = null;

        /// <summary>
        /// BeneficiaryResidential:tns:AddressDetails.Postcode.Text
        /// </summary>
        public string CHTWTHHLDBEN43 = null;

        /// <summary>
        /// BeneficiaryResidential:tns:AddressDetails.Country.Code
        /// </summary>
        public string CHTWTHHLDBEN29 = null;

        public string BeneficiaryBusinessId = null;
        public bool BeneficiaryBusinessExists = false;
        public int BeneficiaryBusinessCount = 0;
        public int BeneficiaryBusinessOccurrenceIndex = 0;
        public int BeneficiaryBusinessLastOccurrenceIndex = 0;
        public string BeneficiaryBusinessIdentifier = null;
        public string BeneficiaryBusinessIdentifierScheme = null;
        public string BeneficiaryBusinessIdentifierID = null;
        public DateTime? BeneficiaryBusinessStartDate = null;
        public DateTime? BeneficiaryBusinessEndDate = null;

        /// <summary>
        /// BeneficiaryBusiness:tns:AddressDetails.Line1.Text
        /// </summary>
        public string CHTWTHHLDBEN60 = null;

        /// <summary>
        /// BeneficiaryBusiness:tns:AddressDetails.Line2.Text
        /// </summary>
        public string CHTWTHHLDBEN59 = null;

        /// <summary>
        /// BeneficiaryBusiness:tns:AddressDetails.LocalityName.Text
        /// </summary>
        public string CHTWTHHLDBEN69 = null;

        /// <summary>
        /// BeneficiaryBusiness:tns:AddressDetails.StateOrTerritory.Code
        /// </summary>
        public string CHTWTHHLDBEN70 = null;

        /// <summary>
        /// BeneficiaryBusiness:tns:AddressDetails.Postcode.Text
        /// </summary>
        public string CHTWTHHLDBEN71 = null;

        /// <summary>
        /// BeneficiaryBusiness:tns:AddressDetails.Country.Code
        /// </summary>
        public string CHTWTHHLDBEN30 = null;

    }
}