using System;
using System.Collections.Generic;

namespace Ato.EN.IntegrationServices.CodeGenerationCHTWTHHLD
{
    public class CHTWTHHLD2018
    {
    
    public string RPId = null;
    public bool RPExists = false;
    public int RPCount = 0;
    public int RPOccurrenceIndex = 0;
    public int RPLastOccurrenceIndex = 0;
    public string RPIdentifier = null;
    public string RPIdentifierScheme = null;
        public string RPIdentifierTFN = null;
        public DateTime? RPStartDate = null;
        public DateTime? RPEndDate = null;

        /// <summary>
        /// RP:tns:ContextPeriodStartDate
        /// </summary>
        public DateTime? CHTWTHHLD55 = null;

        /// <summary>
        /// RP:tns:ContextPeriodEndDate
        /// </summary>
        public DateTime? CHTWTHHLD56 = null;

        /// <summary>
        /// RP:tns:Identifiers.TaxFileNumber.Identifier
        /// </summary>
        public string CHTWTHHLD68 = null;

        /// <summary>
        /// RP:tns:OrganisationNameDetails.OrganisationalName.Text
        /// </summary>
        public string CHTWTHHLD2 = null;

        /// <summary>
        /// RP:tns:Identifiers.AustralianBusinessNumber.Identifier
        /// </summary>
        public string CHTWTHHLD80 = null;

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

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

        public string RPPostalId = null;
        public bool RPPostalExists = false;
        public int RPPostalCount = 0;
        public int RPPostalOccurrenceIndex = 0;
        public int RPPostalLastOccurrenceIndex = 0;
        public string RPPostalIdentifier = null;
        public string RPPostalIdentifierScheme = null;
        public string RPPostalIdentifierTFN = null;
        public DateTime? RPPostalStartDate = null;
        public DateTime? RPPostalEndDate = null;

        /// <summary>
        /// RPPostal:tns:AddressDetails.Line1.Text
        /// </summary>
        public string CHTWTHHLD3 = null;

        /// <summary>
        /// RPPostal:tns:AddressDetails.Line2.Text
        /// </summary>
        public string CHTWTHHLD4 = null;

        /// <summary>
        /// RPPostal:tns:AddressDetails.LocalityName.Text
        /// </summary>
        public string CHTWTHHLD5 = null;

        /// <summary>
        /// RPPostal:tns:AddressDetails.StateOrTerritory.Code
        /// </summary>
        public string CHTWTHHLD6 = null;

        /// <summary>
        /// RPPostal:tns:AddressDetails.Postcode.Text
        /// </summary>
        public string CHTWTHHLD7 = null;

        /// <summary>
        /// RPPostal:tns:AddressDetails.Country.Code
        /// </summary>
        public string CHTWTHHLD8 = null;

        public string TrusteeId = null;
        public bool TrusteeExists = false;
        public int TrusteeCount = 0;
        public int TrusteeOccurrenceIndex = 0;
        public int TrusteeLastOccurrenceIndex = 0;
        public string TrusteeIdentifier = null;
        public string TrusteeIdentifierScheme = null;
        public string TrusteeIdentifierID = null;
        public DateTime? TrusteeStartDate = null;
        public DateTime? TrusteeEndDate = null;

        /// <summary>
        /// Trustee:tns:ElectronicContact.Telephone.Area.Code
        /// </summary>
        public string CHTWTHHLD18 = null;

        /// <summary>
        /// Trustee:tns:ElectronicContact.Telephone.Minimal.Number
        /// </summary>
        public string CHTWTHHLD19 = null;

        /// <summary>
        /// Trustee:tns:PersonNameDetails.Title.Text
        /// </summary>
        public string CHTWTHHLD11 = null;

        /// <summary>
        /// Trustee:tns:PersonNameDetails.FamilyName.Text
        /// </summary>
        public string CHTWTHHLD12 = null;

        /// <summary>
        /// Trustee:tns:PersonNameDetails.NameSuffix.Text
        /// </summary>
        public string CHTWTHHLD13 = null;

        /// <summary>
        /// Trustee:tns:PersonNameDetails.GivenName.Text
        /// </summary>
        public string CHTWTHHLD14 = null;

        /// <summary>
        /// Trustee:tns:PersonNameDetails.OtherGivenName.Text
        /// </summary>
        public string CHTWTHHLD15 = null;

        /// <summary>
        /// Trustee:tns:OrganisationNameDetails.OrganisationalName.Text
        /// </summary>
        public string CHTWTHHLD16 = null;

        /// <summary>
        /// Trustee:tns:Identifiers.AustralianBusinessNumber.Identifier
        /// </summary>
        public string CHTWTHHLD17 = null;

        public string INTTrueAndCorrectId = null;
        public bool INTTrueAndCorrectExists = false;
        public int INTTrueAndCorrectCount = 0;
        public int INTTrueAndCorrectOccurrenceIndex = 0;
        public int INTTrueAndCorrectLastOccurrenceIndex = 0;
        public string INTTrueAndCorrectIdentifier = null;
        public string INTTrueAndCorrectIdentifierScheme = null;
        public string INTTrueAndCorrectIdentifierABN = null;
        public DateTime? INTTrueAndCorrectStartDate = null;
        public DateTime? INTTrueAndCorrectEndDate = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:Identifiers.AustralianBusinessNumber.Identifier
        /// </summary>
        public string CHTWTHHLD83 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:PersonUnstructuredName.FullName.Text
        /// </summary>
        public string CHTWTHHLD84 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:PersonNameDetails.Position.Text
        /// </summary>
        public string CHTWTHHLD85 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:ElectronicContact.Telephone.Area.Code
        /// </summary>
        public string CHTWTHHLD86 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:ElectronicContact.Telephone.Minimal.Number
        /// </summary>
        public string CHTWTHHLD87 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:Identifiers.TaxAgentNumber.Identifier
        /// </summary>
        public string CHTWTHHLD88 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:Declaration.Signature.Date
        /// </summary>
        public DateTime? CHTWTHHLD89 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:Declaration.StatementAccepted.Indicator
        /// </summary>
        public bool? CHTWTHHLD90 = null;

        /// <summary>
        /// INTTrueAndCorrect:tns:Declaration.SignatoryIdentifier.Text
        /// </summary>
        public string CHTWTHHLD91 = null;

        public string RPTrueAndCorrectId = null;
        public bool RPTrueAndCorrectExists = false;
        public int RPTrueAndCorrectCount = 0;
        public int RPTrueAndCorrectOccurrenceIndex = 0;
        public int RPTrueAndCorrectLastOccurrenceIndex = 0;
        public string RPTrueAndCorrectIdentifier = null;
        public string RPTrueAndCorrectIdentifierScheme = null;
        public string RPTrueAndCorrectIdentifierTFN = null;
        public DateTime? RPTrueAndCorrectStartDate = null;
        public DateTime? RPTrueAndCorrectEndDate = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:Identifiers.TaxFileNumber.Identifier
        /// </summary>
        public string CHTWTHHLD82 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:PersonUnstructuredName.FullName.Text
        /// </summary>
        public string CHTWTHHLD73 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:PersonNameDetails.Position.Text
        /// </summary>
        public string CHTWTHHLD74 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:ElectronicContact.Telephone.Area.Code
        /// </summary>
        public string CHTWTHHLD75 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:ElectronicContact.Telephone.Minimal.Number
        /// </summary>
        public string CHTWTHHLD79 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:Identifiers.TaxAgentNumber.Identifier
        /// </summary>
        public string CHTWTHHLD76 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:Declaration.Signature.Date
        /// </summary>
        public DateTime? CHTWTHHLD77 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:Declaration.StatementAccepted.Indicator
        /// </summary>
        public bool? CHTWTHHLD78 = null;

        /// <summary>
        /// RPTrueAndCorrect:tns:Declaration.SignatoryIdentifier.Text
        /// </summary>
        public string CHTWTHHLD81 = null;

    }
}