Created
August 14, 2008 04:54
-
-
Save bjeanes/5371 to your computer and use it in GitHub Desktop.
wsdl2ruby.rb generated SOAP driver for ABN API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'xsd/qname' | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}Payload | |
# request - ExternalRequest | |
# response - Response | |
class Payload | |
attr_accessor :request | |
attr_accessor :response | |
def initialize(request = nil, response = nil) | |
@request = request | |
@response = response | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequest | |
# externalRequestBody - (any) | |
class ExternalRequest | |
attr_accessor :externalRequestBody | |
def initialize(externalRequestBody = nil) | |
@externalRequestBody = externalRequestBody | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestABNFilter | |
# abstract | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
class ExternalRequestABNFilter < ExternalRequest | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestABNUpdateEventFilter | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
# state - SOAP::SOAPString | |
# updateDate - SOAP::SOAPDateTime | |
class ExternalRequestABNUpdateEventFilter < ExternalRequestABNFilter | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
attr_accessor :state | |
attr_accessor :updateDate | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil, state = nil, updateDate = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
@state = state | |
@updateDate = updateDate | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestABNEventFilter | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
# state - SOAP::SOAPString | |
# month - SOAP::SOAPInt | |
# year - SOAP::SOAPInt | |
class ExternalRequestABNEventFilter < ExternalRequestABNFilter | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
attr_accessor :state | |
attr_accessor :month | |
attr_accessor :year | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil, state = nil, month = nil, year = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
@state = state | |
@month = month | |
@year = year | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestABNStatusFilter | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
# activeABNsOnly - SOAP::SOAPString | |
# currentGSTRegistrationOnly - SOAP::SOAPString | |
class ExternalRequestABNStatusFilter < ExternalRequestABNFilter | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
attr_accessor :activeABNsOnly | |
attr_accessor :currentGSTRegistrationOnly | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil, activeABNsOnly = nil, currentGSTRegistrationOnly = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
@activeABNsOnly = activeABNsOnly | |
@currentGSTRegistrationOnly = currentGSTRegistrationOnly | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestNameSearch | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# name - SOAP::SOAPString | |
# filters - ExternalRequestFilters | |
class ExternalRequestNameSearch < ExternalRequest | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :name | |
attr_accessor :filters | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, name = nil, filters = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@name = name | |
@filters = filters | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestNameSearchAdvanced | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# name - SOAP::SOAPString | |
# filters - ExternalRequestFilters | |
# searchWidth - SOAP::SOAPString | |
# minimumScore - SOAP::SOAPInt | |
class ExternalRequestNameSearchAdvanced < ExternalRequestNameSearch | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :name | |
attr_accessor :filters | |
attr_accessor :searchWidth | |
attr_accessor :minimumScore | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, name = nil, filters = nil, searchWidth = nil, minimumScore = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@name = name | |
@filters = filters | |
@searchWidth = searchWidth | |
@minimumScore = minimumScore | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestNameSearchAdvanced2006 | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# name - SOAP::SOAPString | |
# filters - ExternalRequestFilters | |
# searchWidth - SOAP::SOAPString | |
# minimumScore - SOAP::SOAPInt | |
# maxSearchResults - SOAP::SOAPString | |
class ExternalRequestNameSearchAdvanced2006 < ExternalRequestNameSearchAdvanced | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :name | |
attr_accessor :filters | |
attr_accessor :searchWidth | |
attr_accessor :minimumScore | |
attr_accessor :maxSearchResults | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, name = nil, filters = nil, searchWidth = nil, minimumScore = nil, maxSearchResults = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@name = name | |
@filters = filters | |
@searchWidth = searchWidth | |
@minimumScore = minimumScore | |
@maxSearchResults = maxSearchResults | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestIdentifierSearch | |
# externalRequestBody - (any) | |
# authenticationGUID - SOAP::SOAPString | |
# identifierType - SOAP::SOAPString | |
# identifierValue - SOAP::SOAPString | |
# history - SOAP::SOAPString | |
class ExternalRequestIdentifierSearch < ExternalRequest | |
attr_accessor :externalRequestBody | |
attr_accessor :authenticationGUID | |
attr_accessor :identifierType | |
attr_accessor :identifierValue | |
attr_accessor :history | |
def initialize(externalRequestBody = nil, authenticationGUID = nil, identifierType = nil, identifierValue = nil, history = nil) | |
@externalRequestBody = externalRequestBody | |
@authenticationGUID = authenticationGUID | |
@identifierType = identifierType | |
@identifierValue = identifierValue | |
@history = history | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}Response | |
# usageStatement - SOAP::SOAPString | |
# dateRegisterLastUpdated - SOAP::SOAPDateTime | |
# dateTimeRetrieved - SOAP::SOAPDateTime | |
# responseBody - (any) | |
class Response | |
attr_accessor :usageStatement | |
attr_accessor :dateRegisterLastUpdated | |
attr_accessor :dateTimeRetrieved | |
attr_accessor :responseBody | |
def initialize(usageStatement = nil, dateRegisterLastUpdated = nil, dateTimeRetrieved = nil, responseBody = nil) | |
@usageStatement = usageStatement | |
@dateRegisterLastUpdated = dateRegisterLastUpdated | |
@dateTimeRetrieved = dateTimeRetrieved | |
@responseBody = responseBody | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}SuperannuationStatus | |
# complyingCode - SOAP::SOAPString | |
# complyingDescription - SOAP::SOAPString | |
# regulator - SOAP::SOAPString | |
# exceptionMessage - SOAP::SOAPString | |
class SuperannuationStatus | |
attr_accessor :complyingCode | |
attr_accessor :complyingDescription | |
attr_accessor :regulator | |
attr_accessor :exceptionMessage | |
def initialize(complyingCode = nil, complyingDescription = nil, regulator = nil, exceptionMessage = nil) | |
@complyingCode = complyingCode | |
@complyingDescription = complyingDescription | |
@regulator = regulator | |
@exceptionMessage = exceptionMessage | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestFilters | |
# nameType - ExternalRequestFilterNameType | |
# postcode - SOAP::SOAPString | |
# stateCode - ExternalRequestFilterStateCode | |
class ExternalRequestFilters | |
attr_accessor :nameType | |
attr_accessor :postcode | |
attr_accessor :stateCode | |
def initialize(nameType = nil, postcode = nil, stateCode = nil) | |
@nameType = nameType | |
@postcode = postcode | |
@stateCode = stateCode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestFilterNameType | |
# tradingName - SOAP::SOAPString | |
# legalName - SOAP::SOAPString | |
class ExternalRequestFilterNameType | |
attr_accessor :tradingName | |
attr_accessor :legalName | |
def initialize(tradingName = nil, legalName = nil) | |
@tradingName = tradingName | |
@legalName = legalName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ExternalRequestFilterStateCode | |
# qLD - SOAP::SOAPString | |
# nT - SOAP::SOAPString | |
# sA - SOAP::SOAPString | |
# wA - SOAP::SOAPString | |
# vIC - SOAP::SOAPString | |
# aCT - SOAP::SOAPString | |
# tAS - SOAP::SOAPString | |
# nSW - SOAP::SOAPString | |
class ExternalRequestFilterStateCode | |
attr_accessor :qLD | |
attr_accessor :nT | |
attr_accessor :sA | |
attr_accessor :wA | |
attr_accessor :vIC | |
attr_accessor :aCT | |
attr_accessor :tAS | |
attr_accessor :nSW | |
def initialize(qLD = nil, nT = nil, sA = nil, wA = nil, vIC = nil, aCT = nil, tAS = nil, nSW = nil) | |
@qLD = qLD | |
@nT = nT | |
@sA = sA | |
@wA = wA | |
@vIC = vIC | |
@aCT = aCT | |
@tAS = tAS | |
@nSW = nSW | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}Individual | |
# fullName - SOAP::SOAPString | |
# givenName - SOAP::SOAPString | |
# otherGivenName - SOAP::SOAPString | |
# familyName - SOAP::SOAPString | |
class Individual | |
attr_accessor :fullName | |
attr_accessor :givenName | |
attr_accessor :otherGivenName | |
attr_accessor :familyName | |
def initialize(fullName = nil, givenName = nil, otherGivenName = nil, familyName = nil) | |
@fullName = fullName | |
@givenName = givenName | |
@otherGivenName = otherGivenName | |
@familyName = familyName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}IndividualName | |
# fullName - SOAP::SOAPString | |
# givenName - SOAP::SOAPString | |
# otherGivenName - SOAP::SOAPString | |
# familyName - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - SOAP::SOAPDateTime | |
class IndividualName < Individual | |
attr_accessor :fullName | |
attr_accessor :givenName | |
attr_accessor :otherGivenName | |
attr_accessor :familyName | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(fullName = nil, givenName = nil, otherGivenName = nil, familyName = nil, effectiveFrom = nil, effectiveTo = nil) | |
@fullName = fullName | |
@givenName = givenName | |
@otherGivenName = otherGivenName | |
@familyName = familyName | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}IndividualSimpleName | |
# fullName - SOAP::SOAPString | |
# givenName - SOAP::SOAPString | |
# otherGivenName - SOAP::SOAPString | |
# familyName - SOAP::SOAPString | |
# score - SOAP::SOAPInt | |
# isCurrentIndicator - SOAP::SOAPString | |
class IndividualSimpleName < Individual | |
attr_accessor :fullName | |
attr_accessor :givenName | |
attr_accessor :otherGivenName | |
attr_accessor :familyName | |
attr_accessor :score | |
attr_accessor :isCurrentIndicator | |
def initialize(fullName = nil, givenName = nil, otherGivenName = nil, familyName = nil, score = nil, isCurrentIndicator = nil) | |
@fullName = fullName | |
@givenName = givenName | |
@otherGivenName = otherGivenName | |
@familyName = familyName | |
@score = score | |
@isCurrentIndicator = isCurrentIndicator | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}SearchResultsRecord | |
# nameType - ArrayOfNameTypeEnumerator | |
# aBN - ArrayOfIdentifierSummary | |
# name - ArrayOfAnyType | |
# mainBusinessPhysicalAddress - ArrayOfAddressSimple | |
class SearchResultsRecord | |
attr_accessor :nameType | |
attr_accessor :aBN | |
attr_accessor :name | |
attr_accessor :mainBusinessPhysicalAddress | |
def initialize(nameType = nil, aBN = nil, name = nil, mainBusinessPhysicalAddress = nil) | |
@nameType = nameType | |
@aBN = aBN | |
@name = name | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}IdentifierSummary | |
# identifierValue - SOAP::SOAPString | |
# identifierStatus - SOAP::SOAPString | |
class IdentifierSummary | |
attr_accessor :identifierValue | |
attr_accessor :identifierStatus | |
def initialize(identifierValue = nil, identifierStatus = nil) | |
@identifierValue = identifierValue | |
@identifierStatus = identifierStatus | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}Address | |
# abstract | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
class Address | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
def initialize(stateCode = nil, postcode = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}AddressSimple | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# isCurrentIndicator - SOAP::SOAPString | |
class AddressSimple < Address | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
attr_accessor :isCurrentIndicator | |
def initialize(stateCode = nil, postcode = nil, isCurrentIndicator = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
@isCurrentIndicator = isCurrentIndicator | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}AddressFull | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# addressLine1 - SOAP::SOAPString | |
# addressLine2 - SOAP::SOAPString | |
# suburb - SOAP::SOAPString | |
# countryName - SOAP::SOAPString | |
class AddressFull < Address | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
attr_accessor :addressLine1 | |
attr_accessor :addressLine2 | |
attr_accessor :suburb | |
attr_accessor :countryName | |
def initialize(stateCode = nil, postcode = nil, addressLine1 = nil, addressLine2 = nil, suburb = nil, countryName = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
@addressLine1 = addressLine1 | |
@addressLine2 = addressLine2 | |
@suburb = suburb | |
@countryName = countryName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}AddressDetails | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - SOAP::SOAPDateTime | |
class AddressDetails < Address | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(stateCode = nil, postcode = nil, effectiveFrom = nil, effectiveTo = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}CharitableFund | |
# pbiName - ArrayOfOrganisationSimpleName | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - SOAP::SOAPDateTime | |
class CharitableFund | |
attr_accessor :pbiName | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(pbiName = nil, effectiveFrom = nil, effectiveTo = nil) | |
@pbiName = pbiName | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}Organisation | |
# organisationName - SOAP::SOAPString | |
class Organisation | |
attr_accessor :organisationName | |
def initialize(organisationName = nil) | |
@organisationName = organisationName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}OrganisationSimpleName | |
# organisationName - SOAP::SOAPString | |
# score - SOAP::SOAPInt | |
# isCurrentIndicator - SOAP::SOAPString | |
class OrganisationSimpleName < Organisation | |
attr_accessor :organisationName | |
attr_accessor :score | |
attr_accessor :isCurrentIndicator | |
def initialize(organisationName = nil, score = nil, isCurrentIndicator = nil) | |
@organisationName = organisationName | |
@score = score | |
@isCurrentIndicator = isCurrentIndicator | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}OrganisationName | |
# organisationName - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - (any) | |
class OrganisationName < Organisation | |
attr_accessor :organisationName | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(organisationName = nil, effectiveFrom = nil, effectiveTo = nil) | |
@organisationName = organisationName | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}CharityConcession | |
# endorsementType - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - SOAP::SOAPDateTime | |
class CharityConcession | |
attr_accessor :endorsementType | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(endorsementType = nil, effectiveFrom = nil, effectiveTo = nil) | |
@endorsementType = endorsementType | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}CharityType | |
# charityTypeDescription - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - SOAP::SOAPDateTime | |
class CharityType | |
attr_accessor :charityTypeDescription | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(charityTypeDescription = nil, effectiveFrom = nil, effectiveTo = nil) | |
@charityTypeDescription = charityTypeDescription | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}DgrFund | |
# dgrFundName - ArrayOfOrganisationSimpleName | |
# endorsedFrom - SOAP::SOAPDateTime | |
# endorsedTo - SOAP::SOAPDateTime | |
class DgrFund | |
attr_accessor :dgrFundName | |
attr_accessor :endorsedFrom | |
attr_accessor :endorsedTo | |
def initialize(dgrFundName = nil, endorsedFrom = nil, endorsedTo = nil) | |
@dgrFundName = dgrFundName | |
@endorsedFrom = endorsedFrom | |
@endorsedTo = endorsedTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}DGREndorsement | |
# endorsedFrom - SOAP::SOAPDateTime | |
# endorsedTo - SOAP::SOAPDateTime | |
class DGREndorsement | |
attr_accessor :endorsedFrom | |
attr_accessor :endorsedTo | |
def initialize(endorsedFrom = nil, endorsedTo = nil) | |
@endorsedFrom = endorsedFrom | |
@endorsedTo = endorsedTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}GoodsAndServicesTax | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - SOAP::SOAPDateTime | |
class GoodsAndServicesTax | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(effectiveFrom = nil, effectiveTo = nil) | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}EntityType | |
# entityTypeCode - SOAP::SOAPString | |
# entityDescription - SOAP::SOAPString | |
class EntityType | |
attr_accessor :entityTypeCode | |
attr_accessor :entityDescription | |
def initialize(entityTypeCode = nil, entityDescription = nil) | |
@entityTypeCode = entityTypeCode | |
@entityDescription = entityDescription | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}EntityStatus | |
# entityStatusCode - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDateTime | |
# effectiveTo - SOAP::SOAPDateTime | |
class EntityStatus | |
attr_accessor :entityStatusCode | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(entityStatusCode = nil, effectiveFrom = nil, effectiveTo = nil) | |
@entityStatusCode = entityStatusCode | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}Identifier | |
# identifierValue - SOAP::SOAPString | |
# isCurrentIndicator - SOAP::SOAPString | |
# replacedIdentifierValue - SOAP::SOAPString | |
# replacedFrom - SOAP::SOAPDateTime | |
class Identifier | |
attr_accessor :identifierValue | |
attr_accessor :isCurrentIndicator | |
attr_accessor :replacedIdentifierValue | |
attr_accessor :replacedFrom | |
def initialize(identifierValue = nil, isCurrentIndicator = nil, replacedIdentifierValue = nil, replacedFrom = nil) | |
@identifierValue = identifierValue | |
@isCurrentIndicator = isCurrentIndicator | |
@replacedIdentifierValue = replacedIdentifierValue | |
@replacedFrom = replacedFrom | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ResponseBody | |
class ResponseBody | |
def initialize | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ResponseABNList | |
# numberOfRecords - SOAP::SOAPInt | |
# aBN - ArrayOfString | |
class ResponseABNList < ResponseBody | |
attr_accessor :numberOfRecords | |
attr_accessor :aBN | |
def initialize(numberOfRecords = nil, aBN = nil) | |
@numberOfRecords = numberOfRecords | |
@aBN = aBN | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ResponseException | |
# exceptionDescription - SOAP::SOAPString | |
# exceptionCode - SOAP::SOAPString | |
class ResponseException < ResponseBody | |
attr_accessor :exceptionDescription | |
attr_accessor :exceptionCode | |
def initialize(exceptionDescription = nil, exceptionCode = nil) | |
@exceptionDescription = exceptionDescription | |
@exceptionCode = exceptionCode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ResponseSearchResultsList | |
# numberOfRecords - SOAP::SOAPInt | |
# exceedsMaximum - SOAP::SOAPString | |
# searchResultsRecord - ArrayOfSearchResultsRecord | |
class ResponseSearchResultsList < ResponseBody | |
attr_accessor :numberOfRecords | |
attr_accessor :exceedsMaximum | |
attr_accessor :searchResultsRecord | |
def initialize(numberOfRecords = nil, exceedsMaximum = nil, searchResultsRecord = nil) | |
@numberOfRecords = numberOfRecords | |
@exceedsMaximum = exceedsMaximum | |
@searchResultsRecord = searchResultsRecord | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ResponseBusinessEntity | |
# recordLastUpdatedDate - SOAP::SOAPDateTime | |
# aBN - ArrayOfIdentifier | |
# entityStatus - ArrayOfEntityStatus | |
# aSICNumber - SOAP::SOAPString | |
# entityType - EntityType | |
# goodsAndServicesTax - ArrayOfGoodsAndServicesTax | |
# dgrEndorsement - ArrayOfDGREndorsement | |
# name - ArrayOfAnyType | |
# mainTradingName - ArrayOfOrganisationName | |
# otherTradingName - ArrayOfOrganisationName | |
# mainBusinessPhysicalAddress - ArrayOfAddressDetails | |
# dgrFund - ArrayOfDgrFund | |
class ResponseBusinessEntity < ResponseBody | |
attr_accessor :recordLastUpdatedDate | |
attr_accessor :aBN | |
attr_accessor :entityStatus | |
attr_accessor :aSICNumber | |
attr_accessor :entityType | |
attr_accessor :goodsAndServicesTax | |
attr_accessor :dgrEndorsement | |
attr_accessor :name | |
attr_accessor :mainTradingName | |
attr_accessor :otherTradingName | |
attr_accessor :mainBusinessPhysicalAddress | |
attr_accessor :dgrFund | |
def initialize(recordLastUpdatedDate = nil, aBN = nil, entityStatus = nil, aSICNumber = nil, entityType = nil, goodsAndServicesTax = nil, dgrEndorsement = nil, name = nil, mainTradingName = nil, otherTradingName = nil, mainBusinessPhysicalAddress = nil, dgrFund = nil) | |
@recordLastUpdatedDate = recordLastUpdatedDate | |
@aBN = aBN | |
@entityStatus = entityStatus | |
@aSICNumber = aSICNumber | |
@entityType = entityType | |
@goodsAndServicesTax = goodsAndServicesTax | |
@dgrEndorsement = dgrEndorsement | |
@name = name | |
@mainTradingName = mainTradingName | |
@otherTradingName = otherTradingName | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
@dgrFund = dgrFund | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ResponseBusinessEntity200506 | |
# recordLastUpdatedDate - SOAP::SOAPDateTime | |
# aBN - ArrayOfIdentifier | |
# entityStatus - ArrayOfEntityStatus | |
# aSICNumber - SOAP::SOAPString | |
# entityType - EntityType | |
# goodsAndServicesTax - ArrayOfGoodsAndServicesTax | |
# dgrEndorsement - ArrayOfDGREndorsement | |
# name - ArrayOfAnyType | |
# mainTradingName - ArrayOfOrganisationName | |
# otherTradingName - ArrayOfOrganisationName | |
# mainBusinessPhysicalAddress - ArrayOfAddressDetails | |
# dgrFund - ArrayOfDgrFund | |
# charityType - ArrayOfCharityType | |
# taxConcessionCharityEndorsement - ArrayOfCharityConcession | |
# charitableFund - ArrayOfCharitableFund | |
class ResponseBusinessEntity200506 < ResponseBusinessEntity | |
attr_accessor :recordLastUpdatedDate | |
attr_accessor :aBN | |
attr_accessor :entityStatus | |
attr_accessor :aSICNumber | |
attr_accessor :entityType | |
attr_accessor :goodsAndServicesTax | |
attr_accessor :dgrEndorsement | |
attr_accessor :name | |
attr_accessor :mainTradingName | |
attr_accessor :otherTradingName | |
attr_accessor :mainBusinessPhysicalAddress | |
attr_accessor :dgrFund | |
attr_accessor :charityType | |
attr_accessor :taxConcessionCharityEndorsement | |
attr_accessor :charitableFund | |
def initialize(recordLastUpdatedDate = nil, aBN = nil, entityStatus = nil, aSICNumber = nil, entityType = nil, goodsAndServicesTax = nil, dgrEndorsement = nil, name = nil, mainTradingName = nil, otherTradingName = nil, mainBusinessPhysicalAddress = nil, dgrFund = nil, charityType = nil, taxConcessionCharityEndorsement = nil, charitableFund = nil) | |
@recordLastUpdatedDate = recordLastUpdatedDate | |
@aBN = aBN | |
@entityStatus = entityStatus | |
@aSICNumber = aSICNumber | |
@entityType = entityType | |
@goodsAndServicesTax = goodsAndServicesTax | |
@dgrEndorsement = dgrEndorsement | |
@name = name | |
@mainTradingName = mainTradingName | |
@otherTradingName = otherTradingName | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
@dgrFund = dgrFund | |
@charityType = charityType | |
@taxConcessionCharityEndorsement = taxConcessionCharityEndorsement | |
@charitableFund = charitableFund | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ResponseBusinessEntity200709 | |
# recordLastUpdatedDate - SOAP::SOAPDateTime | |
# aBN - ArrayOfIdentifier | |
# entityStatus - ArrayOfEntityStatus | |
# aSICNumber - SOAP::SOAPString | |
# entityType - EntityType | |
# goodsAndServicesTax - ArrayOfGoodsAndServicesTax | |
# dgrEndorsement - ArrayOfDGREndorsement | |
# name - ArrayOfAnyType | |
# mainTradingName - ArrayOfOrganisationName | |
# otherTradingName - ArrayOfOrganisationName | |
# mainBusinessPhysicalAddress - ArrayOfAddressDetails | |
# dgrFund - ArrayOfDgrFund | |
# charityType - ArrayOfCharityType | |
# taxConcessionCharityEndorsement - ArrayOfCharityConcession | |
# charitableFund - ArrayOfCharitableFund | |
# superannuationStatus - SuperannuationStatus | |
# mainPostalPhysicalAddress - AddressFull | |
class ResponseBusinessEntity200709 < ResponseBusinessEntity200506 | |
attr_accessor :recordLastUpdatedDate | |
attr_accessor :aBN | |
attr_accessor :entityStatus | |
attr_accessor :aSICNumber | |
attr_accessor :entityType | |
attr_accessor :goodsAndServicesTax | |
attr_accessor :dgrEndorsement | |
attr_accessor :name | |
attr_accessor :mainTradingName | |
attr_accessor :otherTradingName | |
attr_accessor :mainBusinessPhysicalAddress | |
attr_accessor :dgrFund | |
attr_accessor :charityType | |
attr_accessor :taxConcessionCharityEndorsement | |
attr_accessor :charitableFund | |
attr_accessor :superannuationStatus | |
attr_accessor :mainPostalPhysicalAddress | |
def initialize(recordLastUpdatedDate = nil, aBN = nil, entityStatus = nil, aSICNumber = nil, entityType = nil, goodsAndServicesTax = nil, dgrEndorsement = nil, name = nil, mainTradingName = nil, otherTradingName = nil, mainBusinessPhysicalAddress = nil, dgrFund = nil, charityType = nil, taxConcessionCharityEndorsement = nil, charitableFund = nil, superannuationStatus = nil, mainPostalPhysicalAddress = nil) | |
@recordLastUpdatedDate = recordLastUpdatedDate | |
@aBN = aBN | |
@entityStatus = entityStatus | |
@aSICNumber = aSICNumber | |
@entityType = entityType | |
@goodsAndServicesTax = goodsAndServicesTax | |
@dgrEndorsement = dgrEndorsement | |
@name = name | |
@mainTradingName = mainTradingName | |
@otherTradingName = otherTradingName | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
@dgrFund = dgrFund | |
@charityType = charityType | |
@taxConcessionCharityEndorsement = taxConcessionCharityEndorsement | |
@charitableFund = charitableFund | |
@superannuationStatus = superannuationStatus | |
@mainPostalPhysicalAddress = mainPostalPhysicalAddress | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}Payload | |
# request - ExternalRequest_ | |
# response - Response_ | |
class Payload_ | |
attr_accessor :request | |
attr_accessor :response | |
def initialize(request = nil, response = nil) | |
@request = request | |
@response = response | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequest | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
class ExternalRequest_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestNameSearch | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# name - SOAP::SOAPString | |
# filters - ExternalRequestFilters_ | |
class ExternalRequestNameSearch_ < ExternalRequest_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :name | |
attr_accessor :filters | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, name = nil, filters = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@name = name | |
@filters = filters | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestNameSearchAdvanced | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# name - SOAP::SOAPString | |
# filters - ExternalRequestFilters_ | |
# searchWidth - SOAP::SOAPString | |
# minimumScore - SOAP::SOAPInt | |
class ExternalRequestNameSearchAdvanced_ < ExternalRequestNameSearch_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :name | |
attr_accessor :filters | |
attr_accessor :searchWidth | |
attr_accessor :minimumScore | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, name = nil, filters = nil, searchWidth = nil, minimumScore = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@name = name | |
@filters = filters | |
@searchWidth = searchWidth | |
@minimumScore = minimumScore | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestNameSearchAdvanced2006 | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# name - SOAP::SOAPString | |
# filters - ExternalRequestFilters_ | |
# searchWidth - SOAP::SOAPString | |
# minimumScore - SOAP::SOAPInt | |
# maxSearchResults - SOAP::SOAPString | |
class ExternalRequestNameSearchAdvanced2006_ < ExternalRequestNameSearchAdvanced_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :name | |
attr_accessor :filters | |
attr_accessor :searchWidth | |
attr_accessor :minimumScore | |
attr_accessor :maxSearchResults | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, name = nil, filters = nil, searchWidth = nil, minimumScore = nil, maxSearchResults = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@name = name | |
@filters = filters | |
@searchWidth = searchWidth | |
@minimumScore = minimumScore | |
@maxSearchResults = maxSearchResults | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestABNFilter | |
# abstract | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
class ExternalRequestABNFilter_ < ExternalRequest_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestABNEventFilter | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
# state - SOAP::SOAPString | |
# month - SOAP::SOAPInt | |
# year - SOAP::SOAPInt | |
class ExternalRequestABNEventFilter_ < ExternalRequestABNFilter_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
attr_accessor :state | |
attr_accessor :month | |
attr_accessor :year | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil, state = nil, month = nil, year = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
@state = state | |
@month = month | |
@year = year | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestABNCharityFilter | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
# state - SOAP::SOAPString | |
# charityTypeCode - SOAP::SOAPString | |
# concessionTypeCode - SOAP::SOAPString | |
class ExternalRequestABNCharityFilter < ExternalRequestABNFilter_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
attr_accessor :state | |
attr_accessor :charityTypeCode | |
attr_accessor :concessionTypeCode | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil, state = nil, charityTypeCode = nil, concessionTypeCode = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
@state = state | |
@charityTypeCode = charityTypeCode | |
@concessionTypeCode = concessionTypeCode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestABNStatusFilter | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
# activeABNs - SOAP::SOAPString | |
# currentGSTRegistrationOnly - SOAP::SOAPString | |
class ExternalRequestABNStatusFilter_ < ExternalRequestABNFilter_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
attr_accessor :activeABNs | |
attr_accessor :currentGSTRegistrationOnly | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil, activeABNs = nil, currentGSTRegistrationOnly = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
@activeABNs = activeABNs | |
@currentGSTRegistrationOnly = currentGSTRegistrationOnly | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestABNUpdateEventFilter | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# entityTypeCode - SOAP::SOAPString | |
# state - SOAP::SOAPString | |
# updateDate - SOAP::SOAPDateTime | |
class ExternalRequestABNUpdateEventFilter_ < ExternalRequestABNFilter_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :postcode | |
attr_accessor :entityTypeCode | |
attr_accessor :state | |
attr_accessor :updateDate | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, postcode = nil, entityTypeCode = nil, state = nil, updateDate = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@postcode = postcode | |
@entityTypeCode = entityTypeCode | |
@state = state | |
@updateDate = updateDate | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestIdentifierSearch | |
# nameSearchRequestAdvanced - ExternalRequestNameSearchAdvanced_ | |
# externalRequestABNEventFilter - ExternalRequestABNEventFilter_ | |
# nameSearchRequestAdvanced2006 - ExternalRequestNameSearchAdvanced2006_ | |
# externalRequestABNCharityFilter - ExternalRequestABNCharityFilter | |
# externalRequestABNUpdateEventFilter - ExternalRequestABNUpdateEventFilter_ | |
# externalRequestABNStatusFilter - ExternalRequestABNStatusFilter_ | |
# externalRequestABNFilter - ExternalRequestABNFilter_ | |
# identifierSearchRequest - ExternalRequestIdentifierSearch_ | |
# nameSearchRequest - ExternalRequestNameSearch_ | |
# authenticationGUID - SOAP::SOAPString | |
# identifierType - SOAP::SOAPString | |
# identifierValue - SOAP::SOAPString | |
# history - SOAP::SOAPString | |
class ExternalRequestIdentifierSearch_ < ExternalRequest_ | |
attr_accessor :nameSearchRequestAdvanced | |
attr_accessor :externalRequestABNEventFilter | |
attr_accessor :nameSearchRequestAdvanced2006 | |
attr_accessor :externalRequestABNCharityFilter | |
attr_accessor :externalRequestABNUpdateEventFilter | |
attr_accessor :externalRequestABNStatusFilter | |
attr_accessor :externalRequestABNFilter | |
attr_accessor :identifierSearchRequest | |
attr_accessor :nameSearchRequest | |
attr_accessor :authenticationGUID | |
attr_accessor :identifierType | |
attr_accessor :identifierValue | |
attr_accessor :history | |
def initialize(nameSearchRequestAdvanced = nil, externalRequestABNEventFilter = nil, nameSearchRequestAdvanced2006 = nil, externalRequestABNCharityFilter = nil, externalRequestABNUpdateEventFilter = nil, externalRequestABNStatusFilter = nil, externalRequestABNFilter = nil, identifierSearchRequest = nil, nameSearchRequest = nil, authenticationGUID = nil, identifierType = nil, identifierValue = nil, history = nil) | |
@nameSearchRequestAdvanced = nameSearchRequestAdvanced | |
@externalRequestABNEventFilter = externalRequestABNEventFilter | |
@nameSearchRequestAdvanced2006 = nameSearchRequestAdvanced2006 | |
@externalRequestABNCharityFilter = externalRequestABNCharityFilter | |
@externalRequestABNUpdateEventFilter = externalRequestABNUpdateEventFilter | |
@externalRequestABNStatusFilter = externalRequestABNStatusFilter | |
@externalRequestABNFilter = externalRequestABNFilter | |
@identifierSearchRequest = identifierSearchRequest | |
@nameSearchRequest = nameSearchRequest | |
@authenticationGUID = authenticationGUID | |
@identifierType = identifierType | |
@identifierValue = identifierValue | |
@history = history | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestFilters | |
# nameType - ExternalRequestFilterNameType_ | |
# postcode - SOAP::SOAPString | |
# stateCode - ExternalRequestFilterStateCode_ | |
class ExternalRequestFilters_ | |
attr_accessor :nameType | |
attr_accessor :postcode | |
attr_accessor :stateCode | |
def initialize(nameType = nil, postcode = nil, stateCode = nil) | |
@nameType = nameType | |
@postcode = postcode | |
@stateCode = stateCode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestFilterNameType | |
# tradingName - SOAP::SOAPString | |
# legalName - SOAP::SOAPString | |
class ExternalRequestFilterNameType_ | |
attr_accessor :tradingName | |
attr_accessor :legalName | |
def initialize(tradingName = nil, legalName = nil) | |
@tradingName = tradingName | |
@legalName = legalName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ExternalRequestFilterStateCode | |
# qLD - SOAP::SOAPString | |
# nT - SOAP::SOAPString | |
# sA - SOAP::SOAPString | |
# wA - SOAP::SOAPString | |
# vIC - SOAP::SOAPString | |
# aCT - SOAP::SOAPString | |
# tAS - SOAP::SOAPString | |
# nSW - SOAP::SOAPString | |
class ExternalRequestFilterStateCode_ | |
attr_accessor :qLD | |
attr_accessor :nT | |
attr_accessor :sA | |
attr_accessor :wA | |
attr_accessor :vIC | |
attr_accessor :aCT | |
attr_accessor :tAS | |
attr_accessor :nSW | |
def initialize(qLD = nil, nT = nil, sA = nil, wA = nil, vIC = nil, aCT = nil, tAS = nil, nSW = nil) | |
@qLD = qLD | |
@nT = nT | |
@sA = sA | |
@wA = wA | |
@vIC = vIC | |
@aCT = aCT | |
@tAS = tAS | |
@nSW = nSW | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}Response | |
# usageStatement - SOAP::SOAPString | |
# dateRegisterLastUpdated - SOAP::SOAPDate | |
# dateTimeRetrieved - SOAP::SOAPDateTime | |
# abnList - ResponseABNList_ | |
# exception - ResponseException_ | |
# searchResultsList - ResponseSearchResultsList_ | |
# businessEntity200506 - ResponseBusinessEntity200506_ | |
# businessEntity - ResponseBusinessEntity_ | |
# businessEntity200709 - ResponseBusinessEntity200709_ | |
class Response_ | |
attr_accessor :usageStatement | |
attr_accessor :dateRegisterLastUpdated | |
attr_accessor :dateTimeRetrieved | |
attr_accessor :abnList | |
attr_accessor :exception | |
attr_accessor :searchResultsList | |
attr_accessor :businessEntity200506 | |
attr_accessor :businessEntity | |
attr_accessor :businessEntity200709 | |
def initialize(usageStatement = nil, dateRegisterLastUpdated = nil, dateTimeRetrieved = nil, abnList = nil, exception = nil, searchResultsList = nil, businessEntity200506 = nil, businessEntity = nil, businessEntity200709 = nil) | |
@usageStatement = usageStatement | |
@dateRegisterLastUpdated = dateRegisterLastUpdated | |
@dateTimeRetrieved = dateTimeRetrieved | |
@abnList = abnList | |
@exception = exception | |
@searchResultsList = searchResultsList | |
@businessEntity200506 = businessEntity200506 | |
@businessEntity = businessEntity | |
@businessEntity200709 = businessEntity200709 | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ResponseBody | |
class ResponseBody_ | |
def initialize | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ResponseABNList | |
# numberOfRecords - SOAP::SOAPInt | |
# abn - SOAP::SOAPString | |
class ResponseABNList_ < ResponseBody_ | |
attr_accessor :numberOfRecords | |
attr_accessor :abn | |
def initialize(numberOfRecords = nil, abn = []) | |
@numberOfRecords = numberOfRecords | |
@abn = abn | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ResponseSearchResultsList | |
# numberOfRecords - SOAP::SOAPInt | |
# exceedsMaximum - SOAP::SOAPString | |
# searchResultsRecord - SearchResultsRecord_ | |
class ResponseSearchResultsList_ < ResponseBody_ | |
attr_accessor :numberOfRecords | |
attr_accessor :exceedsMaximum | |
attr_accessor :searchResultsRecord | |
def initialize(numberOfRecords = nil, exceedsMaximum = nil, searchResultsRecord = []) | |
@numberOfRecords = numberOfRecords | |
@exceedsMaximum = exceedsMaximum | |
@searchResultsRecord = searchResultsRecord | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ResponseException | |
# exceptionDescription - SOAP::SOAPString | |
# exceptionCode - SOAP::SOAPString | |
class ResponseException_ < ResponseBody_ | |
attr_accessor :exceptionDescription | |
attr_accessor :exceptionCode | |
def initialize(exceptionDescription = nil, exceptionCode = nil) | |
@exceptionDescription = exceptionDescription | |
@exceptionCode = exceptionCode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ResponseBusinessEntity | |
# recordLastUpdatedDate - SOAP::SOAPDate | |
# aBN - Identifier_ | |
# entityStatus - EntityStatus_ | |
# aSICNumber - SOAP::SOAPString | |
# entityType - EntityType_ | |
# goodsAndServicesTax - GoodsAndServicesTax_ | |
# dgrEndorsement - DGREndorsement_ | |
# legalName - IndividualName_ | |
# mainName - OrganisationName_ | |
# mainTradingName - OrganisationName_ | |
# otherTradingName - OrganisationName_ | |
# mainBusinessPhysicalAddress - AddressDetails_ | |
# dgrFund - DgrFund_ | |
class ResponseBusinessEntity_ < ResponseBody_ | |
attr_accessor :recordLastUpdatedDate | |
attr_accessor :aBN | |
attr_accessor :entityStatus | |
attr_accessor :aSICNumber | |
attr_accessor :entityType | |
attr_accessor :goodsAndServicesTax | |
attr_accessor :dgrEndorsement | |
attr_accessor :legalName | |
attr_accessor :mainName | |
attr_accessor :mainTradingName | |
attr_accessor :otherTradingName | |
attr_accessor :mainBusinessPhysicalAddress | |
attr_accessor :dgrFund | |
def initialize(recordLastUpdatedDate = nil, aBN = [], entityStatus = [], aSICNumber = nil, entityType = nil, goodsAndServicesTax = [], dgrEndorsement = [], legalName = [], mainName = [], mainTradingName = [], otherTradingName = [], mainBusinessPhysicalAddress = [], dgrFund = []) | |
@recordLastUpdatedDate = recordLastUpdatedDate | |
@aBN = aBN | |
@entityStatus = entityStatus | |
@aSICNumber = aSICNumber | |
@entityType = entityType | |
@goodsAndServicesTax = goodsAndServicesTax | |
@dgrEndorsement = dgrEndorsement | |
@legalName = legalName | |
@mainName = mainName | |
@mainTradingName = mainTradingName | |
@otherTradingName = otherTradingName | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
@dgrFund = dgrFund | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ResponseBusinessEntity200506 | |
# recordLastUpdatedDate - SOAP::SOAPDate | |
# aBN - Identifier_ | |
# entityStatus - EntityStatus_ | |
# aSICNumber - SOAP::SOAPString | |
# entityType - EntityType_ | |
# goodsAndServicesTax - GoodsAndServicesTax_ | |
# dgrEndorsement - DGREndorsement_ | |
# legalName - IndividualName_ | |
# mainName - OrganisationName_ | |
# mainTradingName - OrganisationName_ | |
# otherTradingName - OrganisationName_ | |
# mainBusinessPhysicalAddress - AddressDetails_ | |
# dgrFund - DgrFund_ | |
# charityType - CharityType_ | |
# taxConcessionCharityEndorsement - CharityConcession_ | |
# publicBenevolentInstitutionEmployer - CharitableFund_ | |
class ResponseBusinessEntity200506_ < ResponseBusinessEntity_ | |
attr_accessor :recordLastUpdatedDate | |
attr_accessor :aBN | |
attr_accessor :entityStatus | |
attr_accessor :aSICNumber | |
attr_accessor :entityType | |
attr_accessor :goodsAndServicesTax | |
attr_accessor :dgrEndorsement | |
attr_accessor :legalName | |
attr_accessor :mainName | |
attr_accessor :mainTradingName | |
attr_accessor :otherTradingName | |
attr_accessor :mainBusinessPhysicalAddress | |
attr_accessor :dgrFund | |
attr_accessor :charityType | |
attr_accessor :taxConcessionCharityEndorsement | |
attr_accessor :publicBenevolentInstitutionEmployer | |
def initialize(recordLastUpdatedDate = nil, aBN = [], entityStatus = [], aSICNumber = nil, entityType = nil, goodsAndServicesTax = [], dgrEndorsement = [], legalName = [], mainName = [], mainTradingName = [], otherTradingName = [], mainBusinessPhysicalAddress = [], dgrFund = [], charityType = [], taxConcessionCharityEndorsement = [], publicBenevolentInstitutionEmployer = []) | |
@recordLastUpdatedDate = recordLastUpdatedDate | |
@aBN = aBN | |
@entityStatus = entityStatus | |
@aSICNumber = aSICNumber | |
@entityType = entityType | |
@goodsAndServicesTax = goodsAndServicesTax | |
@dgrEndorsement = dgrEndorsement | |
@legalName = legalName | |
@mainName = mainName | |
@mainTradingName = mainTradingName | |
@otherTradingName = otherTradingName | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
@dgrFund = dgrFund | |
@charityType = charityType | |
@taxConcessionCharityEndorsement = taxConcessionCharityEndorsement | |
@publicBenevolentInstitutionEmployer = publicBenevolentInstitutionEmployer | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}ResponseBusinessEntity200709 | |
# recordLastUpdatedDate - SOAP::SOAPDate | |
# aBN - Identifier_ | |
# entityStatus - EntityStatus_ | |
# aSICNumber - SOAP::SOAPString | |
# entityType - EntityType_ | |
# goodsAndServicesTax - GoodsAndServicesTax_ | |
# dgrEndorsement - DGREndorsement_ | |
# legalName - IndividualName_ | |
# mainName - OrganisationName_ | |
# mainTradingName - OrganisationName_ | |
# otherTradingName - OrganisationName_ | |
# mainBusinessPhysicalAddress - AddressDetails_ | |
# dgrFund - DgrFund_ | |
# charityType - CharityType_ | |
# taxConcessionCharityEndorsement - CharityConcession_ | |
# publicBenevolentInstitutionEmployer - CharitableFund_ | |
# superannuationStatus - SuperannuationStatus_ | |
# mainPostalPhysicalAddress - AddressFull_ | |
class ResponseBusinessEntity200709_ < ResponseBusinessEntity200506_ | |
attr_accessor :recordLastUpdatedDate | |
attr_accessor :aBN | |
attr_accessor :entityStatus | |
attr_accessor :aSICNumber | |
attr_accessor :entityType | |
attr_accessor :goodsAndServicesTax | |
attr_accessor :dgrEndorsement | |
attr_accessor :legalName | |
attr_accessor :mainName | |
attr_accessor :mainTradingName | |
attr_accessor :otherTradingName | |
attr_accessor :mainBusinessPhysicalAddress | |
attr_accessor :dgrFund | |
attr_accessor :charityType | |
attr_accessor :taxConcessionCharityEndorsement | |
attr_accessor :publicBenevolentInstitutionEmployer | |
attr_accessor :superannuationStatus | |
attr_accessor :mainPostalPhysicalAddress | |
def initialize(recordLastUpdatedDate = nil, aBN = [], entityStatus = [], aSICNumber = nil, entityType = nil, goodsAndServicesTax = [], dgrEndorsement = [], legalName = [], mainName = [], mainTradingName = [], otherTradingName = [], mainBusinessPhysicalAddress = [], dgrFund = [], charityType = [], taxConcessionCharityEndorsement = [], publicBenevolentInstitutionEmployer = [], superannuationStatus = nil, mainPostalPhysicalAddress = nil) | |
@recordLastUpdatedDate = recordLastUpdatedDate | |
@aBN = aBN | |
@entityStatus = entityStatus | |
@aSICNumber = aSICNumber | |
@entityType = entityType | |
@goodsAndServicesTax = goodsAndServicesTax | |
@dgrEndorsement = dgrEndorsement | |
@legalName = legalName | |
@mainName = mainName | |
@mainTradingName = mainTradingName | |
@otherTradingName = otherTradingName | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
@dgrFund = dgrFund | |
@charityType = charityType | |
@taxConcessionCharityEndorsement = taxConcessionCharityEndorsement | |
@publicBenevolentInstitutionEmployer = publicBenevolentInstitutionEmployer | |
@superannuationStatus = superannuationStatus | |
@mainPostalPhysicalAddress = mainPostalPhysicalAddress | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}SearchResultsRecord | |
# aBN - IdentifierSummary_ | |
# legalName - IndividualSimpleName_ | |
# otherTradingName - OrganisationSimpleName_ | |
# pBIEName - OrganisationSimpleName_ | |
# mainTradingName - OrganisationSimpleName_ | |
# mainName - OrganisationSimpleName_ | |
# dgrFundName - OrganisationSimpleName_ | |
# mainBusinessPhysicalAddress - AddressSimple_ | |
class SearchResultsRecord_ | |
attr_accessor :aBN | |
attr_accessor :legalName | |
attr_accessor :otherTradingName | |
attr_accessor :pBIEName | |
attr_accessor :mainTradingName | |
attr_accessor :mainName | |
attr_accessor :dgrFundName | |
attr_accessor :mainBusinessPhysicalAddress | |
def initialize(aBN = [], legalName = [], otherTradingName = [], pBIEName = [], mainTradingName = [], mainName = [], dgrFundName = [], mainBusinessPhysicalAddress = []) | |
@aBN = aBN | |
@legalName = legalName | |
@otherTradingName = otherTradingName | |
@pBIEName = pBIEName | |
@mainTradingName = mainTradingName | |
@mainName = mainName | |
@dgrFundName = dgrFundName | |
@mainBusinessPhysicalAddress = mainBusinessPhysicalAddress | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}IdentifierSummary | |
# identifierValue - SOAP::SOAPString | |
# identifierStatus - SOAP::SOAPString | |
class IdentifierSummary_ | |
attr_accessor :identifierValue | |
attr_accessor :identifierStatus | |
def initialize(identifierValue = nil, identifierStatus = nil) | |
@identifierValue = identifierValue | |
@identifierStatus = identifierStatus | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}Individual | |
# fullName - SOAP::SOAPString | |
# givenName - SOAP::SOAPString | |
# otherGivenName - SOAP::SOAPString | |
# familyName - SOAP::SOAPString | |
class Individual_ | |
attr_accessor :fullName | |
attr_accessor :givenName | |
attr_accessor :otherGivenName | |
attr_accessor :familyName | |
def initialize(fullName = nil, givenName = nil, otherGivenName = nil, familyName = nil) | |
@fullName = fullName | |
@givenName = givenName | |
@otherGivenName = otherGivenName | |
@familyName = familyName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}IndividualSimpleName | |
# fullName - SOAP::SOAPString | |
# givenName - SOAP::SOAPString | |
# otherGivenName - SOAP::SOAPString | |
# familyName - SOAP::SOAPString | |
# score - SOAP::SOAPInt | |
# isCurrentIndicator - SOAP::SOAPString | |
class IndividualSimpleName_ < Individual_ | |
attr_accessor :fullName | |
attr_accessor :givenName | |
attr_accessor :otherGivenName | |
attr_accessor :familyName | |
attr_accessor :score | |
attr_accessor :isCurrentIndicator | |
def initialize(fullName = nil, givenName = nil, otherGivenName = nil, familyName = nil, score = nil, isCurrentIndicator = nil) | |
@fullName = fullName | |
@givenName = givenName | |
@otherGivenName = otherGivenName | |
@familyName = familyName | |
@score = score | |
@isCurrentIndicator = isCurrentIndicator | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}IndividualName | |
# fullName - SOAP::SOAPString | |
# givenName - SOAP::SOAPString | |
# otherGivenName - SOAP::SOAPString | |
# familyName - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
class IndividualName_ < Individual_ | |
attr_accessor :fullName | |
attr_accessor :givenName | |
attr_accessor :otherGivenName | |
attr_accessor :familyName | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(fullName = nil, givenName = nil, otherGivenName = nil, familyName = nil, effectiveFrom = nil, effectiveTo = nil) | |
@fullName = fullName | |
@givenName = givenName | |
@otherGivenName = otherGivenName | |
@familyName = familyName | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}Organisation | |
# organisationName - SOAP::SOAPString | |
class Organisation_ | |
attr_accessor :organisationName | |
def initialize(organisationName = nil) | |
@organisationName = organisationName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}OrganisationSimpleName | |
# organisationName - SOAP::SOAPString | |
# score - SOAP::SOAPInt | |
# isCurrentIndicator - SOAP::SOAPString | |
class OrganisationSimpleName_ < Organisation_ | |
attr_accessor :organisationName | |
attr_accessor :score | |
attr_accessor :isCurrentIndicator | |
def initialize(organisationName = nil, score = nil, isCurrentIndicator = nil) | |
@organisationName = organisationName | |
@score = score | |
@isCurrentIndicator = isCurrentIndicator | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}OrganisationName | |
# organisationName - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
# effectiveToBlank - (any) | |
class OrganisationName_ < Organisation_ | |
attr_accessor :organisationName | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
attr_accessor :effectiveToBlank | |
def initialize(organisationName = nil, effectiveFrom = nil, effectiveTo = nil, effectiveToBlank = nil) | |
@organisationName = organisationName | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
@effectiveToBlank = effectiveToBlank | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}Address | |
# abstract | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
class Address_ | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
def initialize(stateCode = nil, postcode = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}AddressSimple | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# isCurrentIndicator - SOAP::SOAPString | |
class AddressSimple_ < Address_ | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
attr_accessor :isCurrentIndicator | |
def initialize(stateCode = nil, postcode = nil, isCurrentIndicator = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
@isCurrentIndicator = isCurrentIndicator | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}AddressFull | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# addressLine1 - SOAP::SOAPString | |
# addressLine2 - SOAP::SOAPString | |
# suburb - SOAP::SOAPString | |
# countryName - SOAP::SOAPString | |
class AddressFull_ < Address_ | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
attr_accessor :addressLine1 | |
attr_accessor :addressLine2 | |
attr_accessor :suburb | |
attr_accessor :countryName | |
def initialize(stateCode = nil, postcode = nil, addressLine1 = nil, addressLine2 = nil, suburb = nil, countryName = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
@addressLine1 = addressLine1 | |
@addressLine2 = addressLine2 | |
@suburb = suburb | |
@countryName = countryName | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}AddressDetails | |
# stateCode - SOAP::SOAPString | |
# postcode - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
class AddressDetails_ < Address_ | |
attr_accessor :stateCode | |
attr_accessor :postcode | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(stateCode = nil, postcode = nil, effectiveFrom = nil, effectiveTo = nil) | |
@stateCode = stateCode | |
@postcode = postcode | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}Identifier | |
# identifierValue - SOAP::SOAPString | |
# isCurrentIndicator - SOAP::SOAPString | |
# replacedIdentifierValue - SOAP::SOAPString | |
# replacedFrom - SOAP::SOAPDate | |
class Identifier_ | |
attr_accessor :identifierValue | |
attr_accessor :isCurrentIndicator | |
attr_accessor :replacedIdentifierValue | |
attr_accessor :replacedFrom | |
def initialize(identifierValue = nil, isCurrentIndicator = nil, replacedIdentifierValue = nil, replacedFrom = nil) | |
@identifierValue = identifierValue | |
@isCurrentIndicator = isCurrentIndicator | |
@replacedIdentifierValue = replacedIdentifierValue | |
@replacedFrom = replacedFrom | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}EntityStatus | |
# entityStatusCode - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
class EntityStatus_ | |
attr_accessor :entityStatusCode | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(entityStatusCode = nil, effectiveFrom = nil, effectiveTo = nil) | |
@entityStatusCode = entityStatusCode | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}EntityType | |
# entityTypeCode - SOAP::SOAPString | |
# entityDescription - SOAP::SOAPString | |
class EntityType_ | |
attr_accessor :entityTypeCode | |
attr_accessor :entityDescription | |
def initialize(entityTypeCode = nil, entityDescription = nil) | |
@entityTypeCode = entityTypeCode | |
@entityDescription = entityDescription | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}GoodsAndServicesTax | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
class GoodsAndServicesTax_ | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(effectiveFrom = nil, effectiveTo = nil) | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}DGREndorsement | |
# endorsedFrom - SOAP::SOAPDate | |
# endorsedTo - SOAP::SOAPDate | |
class DGREndorsement_ | |
attr_accessor :endorsedFrom | |
attr_accessor :endorsedTo | |
def initialize(endorsedFrom = nil, endorsedTo = nil) | |
@endorsedFrom = endorsedFrom | |
@endorsedTo = endorsedTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}DgrFund | |
# dgrFundName - OrganisationSimpleName_ | |
# endorsedFrom - SOAP::SOAPDate | |
# endorsedTo - SOAP::SOAPDate | |
class DgrFund_ | |
attr_accessor :dgrFundName | |
attr_accessor :endorsedFrom | |
attr_accessor :endorsedTo | |
def initialize(dgrFundName = [], endorsedFrom = nil, endorsedTo = nil) | |
@dgrFundName = dgrFundName | |
@endorsedFrom = endorsedFrom | |
@endorsedTo = endorsedTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}CharityType | |
# charityTypeDescription - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
class CharityType_ | |
attr_accessor :charityTypeDescription | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(charityTypeDescription = nil, effectiveFrom = nil, effectiveTo = nil) | |
@charityTypeDescription = charityTypeDescription | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}CharityConcession | |
# endorsementType - SOAP::SOAPString | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
class CharityConcession_ | |
attr_accessor :endorsementType | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(endorsementType = nil, effectiveFrom = nil, effectiveTo = nil) | |
@endorsementType = endorsementType | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}CharitableFund | |
# pbiName - OrganisationSimpleName_ | |
# effectiveFrom - SOAP::SOAPDate | |
# effectiveTo - SOAP::SOAPDate | |
class CharitableFund_ | |
attr_accessor :pbiName | |
attr_accessor :effectiveFrom | |
attr_accessor :effectiveTo | |
def initialize(pbiName = [], effectiveFrom = nil, effectiveTo = nil) | |
@pbiName = pbiName | |
@effectiveFrom = effectiveFrom | |
@effectiveTo = effectiveTo | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes}SuperannuationStatus | |
# complyingCode - SOAP::SOAPString | |
# complyingDescription - SOAP::SOAPString | |
# regulator - SOAP::SOAPString | |
# exceptionMessage - SOAP::SOAPString | |
class SuperannuationStatus_ | |
attr_accessor :complyingCode | |
attr_accessor :complyingDescription | |
attr_accessor :regulator | |
attr_accessor :exceptionMessage | |
def initialize(complyingCode = nil, complyingDescription = nil, regulator = nil, exceptionMessage = nil) | |
@complyingCode = complyingCode | |
@complyingDescription = complyingDescription | |
@regulator = regulator | |
@exceptionMessage = exceptionMessage | |
end | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfNameTypeEnumerator | |
class ArrayOfNameTypeEnumerator < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfIdentifierSummary | |
class ArrayOfIdentifierSummary < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfAnyType | |
class ArrayOfAnyType < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfAddressSimple | |
class ArrayOfAddressSimple < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfOrganisationSimpleName | |
class ArrayOfOrganisationSimpleName < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfString | |
class ArrayOfString < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfSearchResultsRecord | |
class ArrayOfSearchResultsRecord < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfIdentifier | |
class ArrayOfIdentifier < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfEntityStatus | |
class ArrayOfEntityStatus < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfGoodsAndServicesTax | |
class ArrayOfGoodsAndServicesTax < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfDGREndorsement | |
class ArrayOfDGREndorsement < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfOrganisationName | |
class ArrayOfOrganisationName < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfAddressDetails | |
class ArrayOfAddressDetails < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfDgrFund | |
class ArrayOfDgrFund < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfCharityType | |
class ArrayOfCharityType < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfCharityConcession | |
class ArrayOfCharityConcession < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}ArrayOfCharitableFund | |
class ArrayOfCharitableFund < ::Array | |
end | |
# {http://abr.business.gov.au/ABRXMLSearchRPC/}NameTypeEnumerator | |
class NameTypeEnumerator < ::String | |
DgrFundName = NameTypeEnumerator.new("dgrFundName") | |
LegalName = NameTypeEnumerator.new("legalName") | |
MainName = NameTypeEnumerator.new("mainName") | |
MainTradingName = NameTypeEnumerator.new("mainTradingName") | |
None = NameTypeEnumerator.new("None") | |
OtherTradingName = NameTypeEnumerator.new("otherTradingName") | |
PBIEName = NameTypeEnumerator.new("PBIEName") | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$LOAD_PATH << File.dirname(__FILE__) | |
require 'rubygems'; | |
gem 'soap4r'; | |
require 'default' | |
require 'defaultMappingRegistry' | |
require 'soap/rpc/driver' | |
class ABRXMLSearchRPCSoap < ::SOAP::RPC::Driver | |
DefaultEndpointUrl = "http://abr.business.gov.au/abrxmlsearchRPC/abrxmlsearch.asmx" | |
NsABRXMLSearchRPC = "http://abr.business.gov.au/ABRXMLSearchRPC/" | |
Methods = [ | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByABN"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByABN", | |
"aBRSearchByABN", | |
[ ["in", "searchString", ["::SOAP::SOAPString"]], | |
["in", "includeHistoricalDetails", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByABNResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByASIC"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByASIC", | |
"aBRSearchByASIC", | |
[ ["in", "searchString", ["::SOAP::SOAPString"]], | |
["in", "includeHistoricalDetails", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByASICResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByName"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByName", | |
"aBRSearchByName", | |
[ ["in", "externalNameSearch", ["ExternalRequestNameSearch", "http://abr.business.gov.au/ABRXMLSearchRPC/", "ExternalRequestNameSearch"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByNameResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByNameAdvanced"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByNameAdvanced", | |
"aBRSearchByNameAdvanced", | |
[ ["in", "externalNameSearch", ["ExternalRequestNameSearchAdvanced", "http://abr.business.gov.au/ABRXMLSearchRPC/", "ExternalRequestNameSearchAdvanced"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByNameAdvancedResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByNameAdvanced2006"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByNameAdvanced2006", | |
"aBRSearchByNameAdvanced2006", | |
[ ["in", "externalNameSearch", ["ExternalRequestNameSearchAdvanced2006", "http://abr.business.gov.au/ABRXMLSearchRPC/", "ExternalRequestNameSearchAdvanced2006"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByNameAdvanced2006Result", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByNameSimpleProtocol"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByNameSimpleProtocol", | |
"aBRSearchByNameSimpleProtocol", | |
[ ["in", "name", ["::SOAP::SOAPString"]], | |
["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "legalName", ["::SOAP::SOAPString"]], | |
["in", "tradingName", ["::SOAP::SOAPString"]], | |
["in", "NSW", ["::SOAP::SOAPString"]], | |
["in", "SA", ["::SOAP::SOAPString"]], | |
["in", "ACT", ["::SOAP::SOAPString"]], | |
["in", "VIC", ["::SOAP::SOAPString"]], | |
["in", "WA", ["::SOAP::SOAPString"]], | |
["in", "NT", ["::SOAP::SOAPString"]], | |
["in", "QLD", ["::SOAP::SOAPString"]], | |
["in", "TAS", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByNameSimpleProtocolResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByNameAdvancedSimpleProtocol"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByNameAdvancedSimpleProtocol", | |
"aBRSearchByNameAdvancedSimpleProtocol", | |
[ ["in", "name", ["::SOAP::SOAPString"]], | |
["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "legalName", ["::SOAP::SOAPString"]], | |
["in", "tradingName", ["::SOAP::SOAPString"]], | |
["in", "NSW", ["::SOAP::SOAPString"]], | |
["in", "SA", ["::SOAP::SOAPString"]], | |
["in", "ACT", ["::SOAP::SOAPString"]], | |
["in", "VIC", ["::SOAP::SOAPString"]], | |
["in", "WA", ["::SOAP::SOAPString"]], | |
["in", "NT", ["::SOAP::SOAPString"]], | |
["in", "QLD", ["::SOAP::SOAPString"]], | |
["in", "TAS", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["in", "searchWidth", ["::SOAP::SOAPString"]], | |
["in", "minimumScore", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByNameAdvancedSimpleProtocolResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "ABRSearchByNameAdvancedSimpleProtocol2006"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByNameAdvancedSimpleProtocol2006", | |
"aBRSearchByNameAdvancedSimpleProtocol2006", | |
[ ["in", "name", ["::SOAP::SOAPString"]], | |
["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "legalName", ["::SOAP::SOAPString"]], | |
["in", "tradingName", ["::SOAP::SOAPString"]], | |
["in", "NSW", ["::SOAP::SOAPString"]], | |
["in", "SA", ["::SOAP::SOAPString"]], | |
["in", "ACT", ["::SOAP::SOAPString"]], | |
["in", "VIC", ["::SOAP::SOAPString"]], | |
["in", "WA", ["::SOAP::SOAPString"]], | |
["in", "NT", ["::SOAP::SOAPString"]], | |
["in", "QLD", ["::SOAP::SOAPString"]], | |
["in", "TAS", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["in", "searchWidth", ["::SOAP::SOAPString"]], | |
["in", "minimumScore", ["::SOAP::SOAPString"]], | |
["in", "maxSearchResults", ["::SOAP::SOAPString"]], | |
["retval", "ABRSearchByNameAdvancedSimpleProtocol2006Result", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByABNv200506"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByABNv200506", | |
"searchByABNv200506", | |
[ ["in", "searchString", ["::SOAP::SOAPString"]], | |
["in", "includeHistoricalDetails", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByABNv200506Result", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByASICv200506"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByASICv200506", | |
"searchByASICv200506", | |
[ ["in", "searchString", ["::SOAP::SOAPString"]], | |
["in", "includeHistoricalDetails", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByASICv200506Result", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByPostcode"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByPostcode", | |
"searchByPostcode", | |
[ ["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByPostcodeResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByABNStatus"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByABNStatus", | |
"searchByABNStatus", | |
[ ["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "activeABNsOnly", ["::SOAP::SOAPString"]], | |
["in", "currentGSTRegistrationOnly", ["::SOAP::SOAPString"]], | |
["in", "entityTypeCode", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByABNStatusResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByRegistrationEvent"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByRegistrationEvent", | |
"searchByRegistrationEvent", | |
[ ["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "state", ["::SOAP::SOAPString"]], | |
["in", "entityTypeCode", ["::SOAP::SOAPString"]], | |
["in", "month", ["::SOAP::SOAPString"]], | |
["in", "year", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByRegistrationEventResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByUpdateEvent"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByUpdateEvent", | |
"searchByUpdateEvent", | |
[ ["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "state", ["::SOAP::SOAPString"]], | |
["in", "entityTypeCode", ["::SOAP::SOAPString"]], | |
["in", "updatedate", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByUpdateEventResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByCharity"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByCharity", | |
"searchByCharity", | |
[ ["in", "postcode", ["::SOAP::SOAPString"]], | |
["in", "state", ["::SOAP::SOAPString"]], | |
["in", "charityTypeCode", ["::SOAP::SOAPString"]], | |
["in", "concessionTypeCode", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByCharityResult", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
], | |
[ XSD::QName.new(NsABRXMLSearchRPC, "SearchByABNv200709"), | |
"http://abr.business.gov.au/ABRXMLSearchRPC/SearchByABNv200709", | |
"searchByABNv200709", | |
[ ["in", "searchString", ["::SOAP::SOAPString"]], | |
["in", "includeHistoricalDetails", ["::SOAP::SOAPString"]], | |
["in", "authenticationGuid", ["::SOAP::SOAPString"]], | |
["retval", "SearchByABNv200709Result", ["Payload", "http://abr.business.gov.au/ABRXMLSearchRPC/", "Payload"]] ], | |
{ :request_style => :rpc, :request_use => :encoded, | |
:response_style => :rpc, :response_use => :encoded, | |
:faults => {} } | |
] | |
] | |
def initialize(endpoint_url = nil) | |
endpoint_url ||= DefaultEndpointUrl | |
super(endpoint_url, nil) | |
self.mapping_registry = DefaultMappingRegistry::EncodedRegistry | |
self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry | |
init_methods | |
end | |
private | |
def init_methods | |
Methods.each do |definitions| | |
opt = definitions.last | |
if opt[:request_style] == :document | |
add_document_operation(*definitions) | |
else | |
add_rpc_operation(*definitions) | |
qname = definitions[0] | |
name = definitions[2] | |
if qname.name != name and qname.name.capitalize == name.capitalize | |
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg| | |
__send__(name, *arg) | |
end | |
end | |
end | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'default' | |
require 'soap/mapping' | |
module DefaultMappingRegistry | |
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new | |
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new | |
NsABRXMLSearchRPC = "http://abr.business.gov.au/ABRXMLSearchRPC/" | |
NsLiteralTypes = "http://abr.business.gov.au/ABRXMLSearchRPC/literalTypes" | |
EncodedRegistry.register( | |
:class => Payload, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Payload"), | |
:schema_element => [ | |
["request", ["ExternalRequest", XSD::QName.new(nil, "Request")]], | |
["response", ["Response", XSD::QName.new(nil, "Response")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequest, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequest"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Response, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Response"), | |
:schema_element => [ | |
["usageStatement", ["SOAP::SOAPString", XSD::QName.new(nil, "UsageStatement")]], | |
["dateRegisterLastUpdated", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "DateRegisterLastUpdated")]], | |
["dateTimeRetrieved", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "DateTimeRetrieved")]], | |
["responseBody", [nil, XSD::QName.new(nil, "ResponseBody")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => SuperannuationStatus, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "SuperannuationStatus"), | |
:schema_element => [ | |
["complyingCode", ["SOAP::SOAPString", XSD::QName.new(nil, "ComplyingCode")]], | |
["complyingDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "ComplyingDescription")]], | |
["regulator", ["SOAP::SOAPString", XSD::QName.new(nil, "Regulator")]], | |
["exceptionMessage", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceptionMessage")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestFilters, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestFilters"), | |
:schema_element => [ | |
["nameType", ["ExternalRequestFilterNameType", XSD::QName.new(nil, "NameType")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["stateCode", ["ExternalRequestFilterStateCode", XSD::QName.new(nil, "StateCode")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestFilterNameType, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestFilterNameType"), | |
:schema_element => [ | |
["tradingName", ["SOAP::SOAPString", XSD::QName.new(nil, "TradingName")]], | |
["legalName", ["SOAP::SOAPString", XSD::QName.new(nil, "LegalName")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestFilterStateCode, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestFilterStateCode"), | |
:schema_element => [ | |
["qLD", ["SOAP::SOAPString", XSD::QName.new(nil, "QLD")]], | |
["nT", ["SOAP::SOAPString", XSD::QName.new(nil, "NT")]], | |
["sA", ["SOAP::SOAPString", XSD::QName.new(nil, "SA")]], | |
["wA", ["SOAP::SOAPString", XSD::QName.new(nil, "WA")]], | |
["vIC", ["SOAP::SOAPString", XSD::QName.new(nil, "VIC")]], | |
["aCT", ["SOAP::SOAPString", XSD::QName.new(nil, "ACT")]], | |
["tAS", ["SOAP::SOAPString", XSD::QName.new(nil, "TAS")]], | |
["nSW", ["SOAP::SOAPString", XSD::QName.new(nil, "NSW")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Individual, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Individual"), | |
:schema_element => [ | |
["fullName", ["SOAP::SOAPString", XSD::QName.new(nil, "FullName")]], | |
["givenName", ["SOAP::SOAPString", XSD::QName.new(nil, "GivenName")]], | |
["otherGivenName", ["SOAP::SOAPString", XSD::QName.new(nil, "OtherGivenName")]], | |
["familyName", ["SOAP::SOAPString", XSD::QName.new(nil, "FamilyName")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => IndividualName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "IndividualName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Individual"), | |
:schema_element => [ | |
["fullName", ["SOAP::SOAPString", XSD::QName.new(nil, "FullName")]], | |
["givenName", ["SOAP::SOAPString", XSD::QName.new(nil, "GivenName")]], | |
["otherGivenName", ["SOAP::SOAPString", XSD::QName.new(nil, "OtherGivenName")]], | |
["familyName", ["SOAP::SOAPString", XSD::QName.new(nil, "FamilyName")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => IndividualSimpleName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "IndividualSimpleName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Individual"), | |
:schema_element => [ | |
["fullName", ["SOAP::SOAPString", XSD::QName.new(nil, "FullName")]], | |
["givenName", ["SOAP::SOAPString", XSD::QName.new(nil, "GivenName")]], | |
["otherGivenName", ["SOAP::SOAPString", XSD::QName.new(nil, "OtherGivenName")]], | |
["familyName", ["SOAP::SOAPString", XSD::QName.new(nil, "FamilyName")]], | |
["score", ["SOAP::SOAPInt", XSD::QName.new(nil, "Score")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => SearchResultsRecord, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "SearchResultsRecord"), | |
:schema_element => [ | |
["nameType", ["ArrayOfNameTypeEnumerator", XSD::QName.new(nil, "NameType")]], | |
["aBN", ["ArrayOfIdentifierSummary", XSD::QName.new(nil, "ABN")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressSimple", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]] | |
] | |
) | |
EncodedRegistry.set( | |
ArrayOfNameTypeEnumerator, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "NameTypeEnumerator") } | |
) | |
EncodedRegistry.set( | |
ArrayOfIdentifierSummary, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "IdentifierSummary") } | |
) | |
EncodedRegistry.register( | |
:class => IdentifierSummary, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "IdentifierSummary"), | |
:schema_element => [ | |
["identifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierValue")]], | |
["identifierStatus", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierStatus")]] | |
] | |
) | |
EncodedRegistry.set( | |
ArrayOfAnyType, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType") } | |
) | |
EncodedRegistry.set( | |
ArrayOfAddressSimple, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "AddressSimple") } | |
) | |
EncodedRegistry.register( | |
:class => AddressSimple, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "AddressSimple"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Address"), | |
:schema_element => [ | |
["stateCode", ["SOAP::SOAPString", XSD::QName.new(nil, "StateCode")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => AddressFull, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "AddressFull"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Address"), | |
:schema_element => [ | |
["stateCode", ["SOAP::SOAPString", XSD::QName.new(nil, "StateCode")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["addressLine1", ["SOAP::SOAPString", XSD::QName.new(nil, "AddressLine1")]], | |
["addressLine2", ["SOAP::SOAPString", XSD::QName.new(nil, "AddressLine2")]], | |
["suburb", ["SOAP::SOAPString", XSD::QName.new(nil, "Suburb")]], | |
["countryName", ["SOAP::SOAPString", XSD::QName.new(nil, "CountryName")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => AddressDetails, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "AddressDetails"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Address"), | |
:schema_element => [ | |
["stateCode", ["SOAP::SOAPString", XSD::QName.new(nil, "StateCode")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => CharitableFund, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "CharitableFund"), | |
:schema_element => [ | |
["pbiName", ["ArrayOfOrganisationSimpleName", XSD::QName.new(nil, "pbiName")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.set( | |
ArrayOfOrganisationSimpleName, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "OrganisationSimpleName") } | |
) | |
EncodedRegistry.register( | |
:class => OrganisationSimpleName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "OrganisationSimpleName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Organisation"), | |
:schema_element => [ | |
["organisationName", ["SOAP::SOAPString", XSD::QName.new(nil, "OrganisationName")]], | |
["score", ["SOAP::SOAPInt", XSD::QName.new(nil, "Score")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Organisation, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Organisation"), | |
:schema_element => [ | |
["organisationName", ["SOAP::SOAPString", XSD::QName.new(nil, "OrganisationName")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => OrganisationName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "OrganisationName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Organisation"), | |
:schema_element => [ | |
["organisationName", ["SOAP::SOAPString", XSD::QName.new(nil, "OrganisationName")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", [nil, XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => CharityConcession, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "CharityConcession"), | |
:schema_element => [ | |
["endorsementType", ["SOAP::SOAPString", XSD::QName.new(nil, "EndorsementType")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => CharityType, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "CharityType"), | |
:schema_element => [ | |
["charityTypeDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "CharityTypeDescription")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => DgrFund, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "DgrFund"), | |
:schema_element => [ | |
["dgrFundName", ["ArrayOfOrganisationSimpleName", XSD::QName.new(nil, "DgrFundName")]], | |
["endorsedFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedFrom")]], | |
["endorsedTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => DGREndorsement, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "DGREndorsement"), | |
:schema_element => [ | |
["endorsedFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedFrom")]], | |
["endorsedTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => GoodsAndServicesTax, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "GoodsAndServicesTax"), | |
:schema_element => [ | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => EntityType, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "EntityType"), | |
:schema_element => [ | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["entityDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityDescription")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => EntityStatus, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "EntityStatus"), | |
:schema_element => [ | |
["entityStatusCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityStatusCode")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Identifier, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Identifier"), | |
:schema_element => [ | |
["identifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierValue")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]], | |
["replacedIdentifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "ReplacedIdentifierValue")]], | |
["replacedFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "ReplacedFrom")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseBody, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [] | |
) | |
EncodedRegistry.register( | |
:class => ResponseABNList, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseABNList"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", ["SOAP::SOAPInt", XSD::QName.new(nil, "NumberOfRecords")]], | |
["aBN", ["ArrayOfString", XSD::QName.new(nil, "ABN")]] | |
] | |
) | |
EncodedRegistry.set( | |
ArrayOfString, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "string") } | |
) | |
EncodedRegistry.register( | |
:class => ResponseException, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseException"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["exceptionDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceptionDescription")]], | |
["exceptionCode", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceptionCode")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseSearchResultsList, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseSearchResultsList"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", ["SOAP::SOAPInt", XSD::QName.new(nil, "NumberOfRecords")]], | |
["exceedsMaximum", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceedsMaximum")]], | |
["searchResultsRecord", ["ArrayOfSearchResultsRecord", XSD::QName.new(nil, "SearchResultsRecord")]] | |
] | |
) | |
EncodedRegistry.set( | |
ArrayOfSearchResultsRecord, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "SearchResultsRecord") } | |
) | |
EncodedRegistry.register( | |
:class => ResponseBusinessEntity, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["recordLastUpdatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "RecordLastUpdatedDate")]], | |
["aBN", ["ArrayOfIdentifier", XSD::QName.new(nil, "ABN")]], | |
["entityStatus", ["ArrayOfEntityStatus", XSD::QName.new(nil, "EntityStatus")]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "ASICNumber")]], | |
["entityType", ["EntityType", XSD::QName.new(nil, "EntityType")]], | |
["goodsAndServicesTax", ["ArrayOfGoodsAndServicesTax", XSD::QName.new(nil, "GoodsAndServicesTax")]], | |
["dgrEndorsement", ["ArrayOfDGREndorsement", XSD::QName.new(nil, "DgrEndorsement")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "MainTradingName")]], | |
["otherTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "OtherTradingName")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressDetails", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]], | |
["dgrFund", ["ArrayOfDgrFund", XSD::QName.new(nil, "DgrFund")]] | |
] | |
) | |
EncodedRegistry.set( | |
ArrayOfIdentifier, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "Identifier") } | |
) | |
EncodedRegistry.set( | |
ArrayOfEntityStatus, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "EntityStatus") } | |
) | |
EncodedRegistry.set( | |
ArrayOfGoodsAndServicesTax, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "GoodsAndServicesTax") } | |
) | |
EncodedRegistry.set( | |
ArrayOfDGREndorsement, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "DGREndorsement") } | |
) | |
EncodedRegistry.set( | |
ArrayOfOrganisationName, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "OrganisationName") } | |
) | |
EncodedRegistry.set( | |
ArrayOfAddressDetails, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "AddressDetails") } | |
) | |
EncodedRegistry.set( | |
ArrayOfDgrFund, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "DgrFund") } | |
) | |
EncodedRegistry.register( | |
:class => ResponseBusinessEntity200506, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity200506"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity"), | |
:schema_element => [ | |
["recordLastUpdatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "RecordLastUpdatedDate")]], | |
["aBN", ["ArrayOfIdentifier", XSD::QName.new(nil, "ABN")]], | |
["entityStatus", ["ArrayOfEntityStatus", XSD::QName.new(nil, "EntityStatus")]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "ASICNumber")]], | |
["entityType", ["EntityType", XSD::QName.new(nil, "EntityType")]], | |
["goodsAndServicesTax", ["ArrayOfGoodsAndServicesTax", XSD::QName.new(nil, "GoodsAndServicesTax")]], | |
["dgrEndorsement", ["ArrayOfDGREndorsement", XSD::QName.new(nil, "DgrEndorsement")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "MainTradingName")]], | |
["otherTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "OtherTradingName")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressDetails", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]], | |
["dgrFund", ["ArrayOfDgrFund", XSD::QName.new(nil, "DgrFund")]], | |
["charityType", ["ArrayOfCharityType", XSD::QName.new(nil, "CharityType")]], | |
["taxConcessionCharityEndorsement", ["ArrayOfCharityConcession", XSD::QName.new(nil, "TaxConcessionCharityEndorsement")]], | |
["charitableFund", ["ArrayOfCharitableFund", XSD::QName.new(nil, "CharitableFund")]] | |
] | |
) | |
EncodedRegistry.set( | |
ArrayOfCharityType, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "CharityType") } | |
) | |
EncodedRegistry.set( | |
ArrayOfCharityConcession, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "CharityConcession") } | |
) | |
EncodedRegistry.set( | |
ArrayOfCharitableFund, | |
::SOAP::SOAPArray, | |
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory, | |
{ :type => XSD::QName.new(NsABRXMLSearchRPC, "CharitableFund") } | |
) | |
EncodedRegistry.register( | |
:class => ResponseBusinessEntity200709, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity200709"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity200506"), | |
:schema_element => [ | |
["recordLastUpdatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "RecordLastUpdatedDate")]], | |
["aBN", ["ArrayOfIdentifier", XSD::QName.new(nil, "ABN")]], | |
["entityStatus", ["ArrayOfEntityStatus", XSD::QName.new(nil, "EntityStatus")]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "ASICNumber")]], | |
["entityType", ["EntityType", XSD::QName.new(nil, "EntityType")]], | |
["goodsAndServicesTax", ["ArrayOfGoodsAndServicesTax", XSD::QName.new(nil, "GoodsAndServicesTax")]], | |
["dgrEndorsement", ["ArrayOfDGREndorsement", XSD::QName.new(nil, "DgrEndorsement")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "MainTradingName")]], | |
["otherTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "OtherTradingName")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressDetails", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]], | |
["dgrFund", ["ArrayOfDgrFund", XSD::QName.new(nil, "DgrFund")]], | |
["charityType", ["ArrayOfCharityType", XSD::QName.new(nil, "CharityType")]], | |
["taxConcessionCharityEndorsement", ["ArrayOfCharityConcession", XSD::QName.new(nil, "TaxConcessionCharityEndorsement")]], | |
["charitableFund", ["ArrayOfCharitableFund", XSD::QName.new(nil, "CharitableFund")]], | |
["superannuationStatus", ["SuperannuationStatus", XSD::QName.new(nil, "SuperannuationStatus")]], | |
["mainPostalPhysicalAddress", ["AddressFull", XSD::QName.new(nil, "MainPostalPhysicalAddress")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestABNUpdateEventFilter, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNUpdateEventFilter"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["state", ["SOAP::SOAPString", XSD::QName.new(nil, "State")]], | |
["updateDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "UpdateDate")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestABNEventFilter, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNEventFilter"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["state", ["SOAP::SOAPString", XSD::QName.new(nil, "State")]], | |
["month", ["SOAP::SOAPInt", XSD::QName.new(nil, "Month")]], | |
["year", ["SOAP::SOAPInt", XSD::QName.new(nil, "Year")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestABNStatusFilter, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNStatusFilter"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["activeABNsOnly", ["SOAP::SOAPString", XSD::QName.new(nil, "ActiveABNsOnly")]], | |
["currentGSTRegistrationOnly", ["SOAP::SOAPString", XSD::QName.new(nil, "CurrentGSTRegistrationOnly")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestNameSearch, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearch"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequest"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["name", ["SOAP::SOAPString", XSD::QName.new(nil, "Name")]], | |
["filters", ["ExternalRequestFilters", XSD::QName.new(nil, "Filters")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestIdentifierSearch, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestIdentifierSearch"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequest"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["identifierType", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierType")]], | |
["identifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierValue")]], | |
["history", ["SOAP::SOAPString", XSD::QName.new(nil, "History")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearchAdvanced"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearch"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["name", ["SOAP::SOAPString", XSD::QName.new(nil, "Name")]], | |
["filters", ["ExternalRequestFilters", XSD::QName.new(nil, "Filters")]], | |
["searchWidth", ["SOAP::SOAPString", XSD::QName.new(nil, "SearchWidth")]], | |
["minimumScore", ["SOAP::SOAPInt", XSD::QName.new(nil, "MinimumScore")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced2006, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearchAdvanced2006"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearchAdvanced"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["name", ["SOAP::SOAPString", XSD::QName.new(nil, "Name")]], | |
["filters", ["ExternalRequestFilters", XSD::QName.new(nil, "Filters")]], | |
["searchWidth", ["SOAP::SOAPString", XSD::QName.new(nil, "SearchWidth")]], | |
["minimumScore", ["SOAP::SOAPInt", XSD::QName.new(nil, "MinimumScore")]], | |
["maxSearchResults", ["SOAP::SOAPString", XSD::QName.new(nil, "MaxSearchResults")]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Payload_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Payload"), | |
:schema_element => [ | |
["request", "ExternalRequest_", [0, 1]], | |
["response", "Response_", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequest_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequest"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearchAdvanced"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearch"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["name", "SOAP::SOAPString", [0, 1]], | |
["filters", "ExternalRequestFilters_"], | |
["searchWidth", "SOAP::SOAPString", [0, 1]], | |
["minimumScore", "SOAP::SOAPInt"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestNameSearch_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearch"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequest"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["name", "SOAP::SOAPString", [0, 1]], | |
["filters", "ExternalRequestFilters_"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestFilters_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestFilters"), | |
:schema_element => [ | |
["nameType", "ExternalRequestFilterNameType_"], | |
["postcode", "SOAP::SOAPString"], | |
["stateCode", "ExternalRequestFilterStateCode_"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestFilterNameType_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestFilterNameType"), | |
:schema_element => [ | |
["tradingName", "SOAP::SOAPString", [0, 1]], | |
["legalName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestFilterStateCode_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestFilterStateCode"), | |
:schema_element => [ | |
["qLD", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "QLD")], [0, 1]], | |
["nT", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "NT")], [0, 1]], | |
["sA", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "SA")], [0, 1]], | |
["wA", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "WA")], [0, 1]], | |
["vIC", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "VIC")], [0, 1]], | |
["aCT", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ACT")], [0, 1]], | |
["tAS", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "TAS")], [0, 1]], | |
["nSW", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "NSW")], [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced2006_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearchAdvanced2006"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearchAdvanced"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["name", "SOAP::SOAPString", [0, 1]], | |
["filters", "ExternalRequestFilters_"], | |
["searchWidth", "SOAP::SOAPString", [0, 1]], | |
["minimumScore", "SOAP::SOAPInt"], | |
["maxSearchResults", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestABNEventFilter_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNEventFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["state", "SOAP::SOAPString", [0, 1]], | |
["month", "SOAP::SOAPInt"], | |
["year", "SOAP::SOAPInt"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestABNCharityFilter, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNCharityFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["state", "SOAP::SOAPString", [0, 1]], | |
["charityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["concessionTypeCode", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestABNStatusFilter_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNStatusFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["activeABNs", "SOAP::SOAPString", [0, 1]], | |
["currentGSTRegistrationOnly", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestABNUpdateEventFilter_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNUpdateEventFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["state", "SOAP::SOAPString", [0, 1]], | |
["updateDate", "SOAP::SOAPDateTime"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ExternalRequestIdentifierSearch_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestIdentifierSearch"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequest"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["identifierType", "SOAP::SOAPString", [0, 1]], | |
["identifierValue", "SOAP::SOAPString", [0, 1]], | |
["history", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Response_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Response"), | |
:schema_element => [ | |
["usageStatement", "SOAP::SOAPString", [0, 1]], | |
["dateRegisterLastUpdated", "SOAP::SOAPDate"], | |
["dateTimeRetrieved", "SOAP::SOAPDateTime"], | |
[ :choice, | |
["abnList", "ResponseABNList_", [0, 1]], | |
["exception", "ResponseException_", [0, 1]], | |
["searchResultsList", "ResponseSearchResultsList_", [0, 1]], | |
["businessEntity200506", "ResponseBusinessEntity200506_", [0, 1]], | |
["businessEntity", "ResponseBusinessEntity_", [0, 1]], | |
["businessEntity200709", "ResponseBusinessEntity200709_", [0, 1]] | |
] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseABNList_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseABNList"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", "SOAP::SOAPInt"], | |
["abn", "SOAP::SOAPString[]", [0, nil]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseBody_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [] | |
) | |
EncodedRegistry.register( | |
:class => ResponseSearchResultsList_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseSearchResultsList"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", "SOAP::SOAPInt"], | |
["exceedsMaximum", "SOAP::SOAPString", [0, 1]], | |
["searchResultsRecord", "SearchResultsRecord_[]", [0, nil]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => SearchResultsRecord_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "SearchResultsRecord"), | |
:schema_element => [ | |
["aBN", ["IdentifierSummary_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
[ | |
["legalName", "IndividualSimpleName_[]", [0, 1]], | |
["otherTradingName", "OrganisationSimpleName_[]", [0, 1]], | |
["pBIEName", ["OrganisationSimpleName_[]", XSD::QName.new(NsLiteralTypes, "PBIEName")], [0, 1]], | |
["mainTradingName", "OrganisationSimpleName_[]", [0, 1]], | |
["mainName", "OrganisationSimpleName_[]", [0, 1]], | |
["dgrFundName", "OrganisationSimpleName_[]", [0, 1]] | |
], | |
["mainBusinessPhysicalAddress", "AddressSimple_[]", [0, nil]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => IdentifierSummary_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "IdentifierSummary"), | |
:schema_element => [ | |
["identifierValue", "SOAP::SOAPString", [0, 1]], | |
["identifierStatus", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => IndividualSimpleName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "IndividualSimpleName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Individual"), | |
:schema_element => [ | |
["fullName", "SOAP::SOAPString", [0, 1]], | |
["givenName", "SOAP::SOAPString", [0, 1]], | |
["otherGivenName", "SOAP::SOAPString", [0, 1]], | |
["familyName", "SOAP::SOAPString", [0, 1]], | |
["score", "SOAP::SOAPInt"], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Individual_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Individual"), | |
:schema_element => [ | |
["fullName", "SOAP::SOAPString", [0, 1]], | |
["givenName", "SOAP::SOAPString", [0, 1]], | |
["otherGivenName", "SOAP::SOAPString", [0, 1]], | |
["familyName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => IndividualName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "IndividualName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Individual"), | |
:schema_element => [ | |
["fullName", "SOAP::SOAPString", [0, 1]], | |
["givenName", "SOAP::SOAPString", [0, 1]], | |
["otherGivenName", "SOAP::SOAPString", [0, 1]], | |
["familyName", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => OrganisationSimpleName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "OrganisationSimpleName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Organisation"), | |
:schema_element => [ | |
["organisationName", "SOAP::SOAPString", [0, 1]], | |
["score", "SOAP::SOAPInt"], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Organisation_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Organisation"), | |
:schema_element => [ | |
["organisationName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => OrganisationName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "OrganisationName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Organisation"), | |
:schema_element => [ | |
["organisationName", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
[ :choice, | |
["effectiveTo", "SOAP::SOAPDate"], | |
["effectiveToBlank", nil, [0, 1]] | |
] | |
] | |
) | |
EncodedRegistry.register( | |
:class => AddressSimple_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "AddressSimple"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Address"), | |
:schema_element => [ | |
["stateCode", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => AddressFull_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "AddressFull"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Address"), | |
:schema_element => [ | |
["stateCode", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["addressLine1", "SOAP::SOAPString", [0, 1]], | |
["addressLine2", "SOAP::SOAPString", [0, 1]], | |
["suburb", "SOAP::SOAPString", [0, 1]], | |
["countryName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => AddressDetails_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "AddressDetails"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Address"), | |
:schema_element => [ | |
["stateCode", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseException_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseException"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["exceptionDescription", "SOAP::SOAPString", [0, 1]], | |
["exceptionCode", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseBusinessEntity_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["recordLastUpdatedDate", "SOAP::SOAPDate"], | |
["aBN", ["Identifier_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
["entityStatus", "EntityStatus_[]", [0, nil]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ASICNumber")]], | |
["entityType", "EntityType_"], | |
["goodsAndServicesTax", "GoodsAndServicesTax_[]", [0, nil]], | |
["dgrEndorsement", "DGREndorsement_[]", [0, nil]], | |
[ | |
["legalName", "IndividualName_[]", [0, 1]], | |
["mainName", "OrganisationName_[]", [0, 1]] | |
], | |
["mainTradingName", "OrganisationName_[]", [0, nil]], | |
["otherTradingName", "OrganisationName_[]", [0, nil]], | |
["mainBusinessPhysicalAddress", "AddressDetails_[]", [0, nil]], | |
["dgrFund", "DgrFund_[]", [0, nil]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => Identifier_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Identifier"), | |
:schema_element => [ | |
["identifierValue", "SOAP::SOAPString", [0, 1]], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]], | |
["replacedIdentifierValue", "SOAP::SOAPString"], | |
["replacedFrom", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => EntityStatus_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "EntityStatus"), | |
:schema_element => [ | |
["entityStatusCode", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => EntityType_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "EntityType"), | |
:schema_element => [ | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["entityDescription", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => GoodsAndServicesTax_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "GoodsAndServicesTax"), | |
:schema_element => [ | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => DGREndorsement_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "DGREndorsement"), | |
:schema_element => [ | |
["endorsedFrom", "SOAP::SOAPDate"], | |
["endorsedTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => DgrFund_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "DgrFund"), | |
:schema_element => [ | |
["dgrFundName", "OrganisationSimpleName_[]", [0, nil]], | |
["endorsedFrom", "SOAP::SOAPDate"], | |
["endorsedTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseBusinessEntity200506_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity200506"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity"), | |
:schema_element => [ | |
["recordLastUpdatedDate", "SOAP::SOAPDate"], | |
["aBN", ["Identifier_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
["entityStatus", "EntityStatus_[]", [0, nil]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ASICNumber")]], | |
["entityType", "EntityType_"], | |
["goodsAndServicesTax", "GoodsAndServicesTax_[]", [0, nil]], | |
["dgrEndorsement", "DGREndorsement_[]", [0, nil]], | |
[ | |
["legalName", "IndividualName_[]", [0, 1]], | |
["mainName", "OrganisationName_[]", [0, 1]] | |
], | |
["mainTradingName", "OrganisationName_[]", [0, nil]], | |
["otherTradingName", "OrganisationName_[]", [0, nil]], | |
["mainBusinessPhysicalAddress", "AddressDetails_[]", [0, nil]], | |
["dgrFund", "DgrFund_[]", [0, nil]], | |
["charityType", "CharityType_[]", [0, nil]], | |
["taxConcessionCharityEndorsement", "CharityConcession_[]", [0, nil]], | |
["publicBenevolentInstitutionEmployer", "CharitableFund_[]", [0, nil]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => CharityType_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "CharityType"), | |
:schema_element => [ | |
["charityTypeDescription", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => CharityConcession_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "CharityConcession"), | |
:schema_element => [ | |
["endorsementType", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => CharitableFund_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "CharitableFund"), | |
:schema_element => [ | |
["pbiName", "OrganisationSimpleName_[]", [0, nil]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
EncodedRegistry.register( | |
:class => ResponseBusinessEntity200709_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity200709"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity200506"), | |
:schema_element => [ | |
["recordLastUpdatedDate", "SOAP::SOAPDate"], | |
["aBN", ["Identifier_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
["entityStatus", "EntityStatus_[]", [0, nil]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ASICNumber")]], | |
["entityType", "EntityType_"], | |
["goodsAndServicesTax", "GoodsAndServicesTax_[]", [0, nil]], | |
["dgrEndorsement", "DGREndorsement_[]", [0, nil]], | |
[ | |
["legalName", "IndividualName_[]", [0, 1]], | |
["mainName", "OrganisationName_[]", [0, 1]] | |
], | |
["mainTradingName", "OrganisationName_[]", [0, nil]], | |
["otherTradingName", "OrganisationName_[]", [0, nil]], | |
["mainBusinessPhysicalAddress", "AddressDetails_[]", [0, nil]], | |
["dgrFund", "DgrFund_[]", [0, nil]], | |
["charityType", "CharityType_[]", [0, nil]], | |
["taxConcessionCharityEndorsement", "CharityConcession_[]", [0, nil]], | |
["publicBenevolentInstitutionEmployer", "CharitableFund_[]", [0, nil]], | |
["superannuationStatus", "SuperannuationStatus_", [0, 1]], | |
["mainPostalPhysicalAddress", "AddressFull_", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => SuperannuationStatus_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "SuperannuationStatus"), | |
:schema_element => [ | |
["complyingCode", "SOAP::SOAPString", [0, 1]], | |
["complyingDescription", "SOAP::SOAPString", [0, 1]], | |
["regulator", "SOAP::SOAPString", [0, 1]], | |
["exceptionMessage", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
EncodedRegistry.register( | |
:class => NameTypeEnumerator, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "NameTypeEnumerator") | |
) | |
LiteralRegistry.register( | |
:class => Payload, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Payload"), | |
:schema_element => [ | |
["request", ["ExternalRequest", XSD::QName.new(nil, "Request")]], | |
["response", ["Response", XSD::QName.new(nil, "Response")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequest, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequest"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Response, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Response"), | |
:schema_element => [ | |
["usageStatement", ["SOAP::SOAPString", XSD::QName.new(nil, "UsageStatement")]], | |
["dateRegisterLastUpdated", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "DateRegisterLastUpdated")]], | |
["dateTimeRetrieved", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "DateTimeRetrieved")]], | |
["responseBody", [nil, XSD::QName.new(nil, "ResponseBody")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => SuperannuationStatus, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "SuperannuationStatus"), | |
:schema_element => [ | |
["complyingCode", ["SOAP::SOAPString", XSD::QName.new(nil, "ComplyingCode")]], | |
["complyingDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "ComplyingDescription")]], | |
["regulator", ["SOAP::SOAPString", XSD::QName.new(nil, "Regulator")]], | |
["exceptionMessage", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceptionMessage")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestFilters, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestFilters"), | |
:schema_element => [ | |
["nameType", ["ExternalRequestFilterNameType", XSD::QName.new(nil, "NameType")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["stateCode", ["ExternalRequestFilterStateCode", XSD::QName.new(nil, "StateCode")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestFilterNameType, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestFilterNameType"), | |
:schema_element => [ | |
["tradingName", ["SOAP::SOAPString", XSD::QName.new(nil, "TradingName")]], | |
["legalName", ["SOAP::SOAPString", XSD::QName.new(nil, "LegalName")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestFilterStateCode, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestFilterStateCode"), | |
:schema_element => [ | |
["qLD", ["SOAP::SOAPString", XSD::QName.new(nil, "QLD")]], | |
["nT", ["SOAP::SOAPString", XSD::QName.new(nil, "NT")]], | |
["sA", ["SOAP::SOAPString", XSD::QName.new(nil, "SA")]], | |
["wA", ["SOAP::SOAPString", XSD::QName.new(nil, "WA")]], | |
["vIC", ["SOAP::SOAPString", XSD::QName.new(nil, "VIC")]], | |
["aCT", ["SOAP::SOAPString", XSD::QName.new(nil, "ACT")]], | |
["tAS", ["SOAP::SOAPString", XSD::QName.new(nil, "TAS")]], | |
["nSW", ["SOAP::SOAPString", XSD::QName.new(nil, "NSW")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Individual, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Individual"), | |
:schema_element => [ | |
["fullName", ["SOAP::SOAPString", XSD::QName.new(nil, "FullName")]], | |
["givenName", ["SOAP::SOAPString", XSD::QName.new(nil, "GivenName")]], | |
["otherGivenName", ["SOAP::SOAPString", XSD::QName.new(nil, "OtherGivenName")]], | |
["familyName", ["SOAP::SOAPString", XSD::QName.new(nil, "FamilyName")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => IndividualName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "IndividualName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Individual"), | |
:schema_element => [ | |
["fullName", ["SOAP::SOAPString", XSD::QName.new(nil, "FullName")]], | |
["givenName", ["SOAP::SOAPString", XSD::QName.new(nil, "GivenName")]], | |
["otherGivenName", ["SOAP::SOAPString", XSD::QName.new(nil, "OtherGivenName")]], | |
["familyName", ["SOAP::SOAPString", XSD::QName.new(nil, "FamilyName")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => IndividualSimpleName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "IndividualSimpleName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Individual"), | |
:schema_element => [ | |
["fullName", ["SOAP::SOAPString", XSD::QName.new(nil, "FullName")]], | |
["givenName", ["SOAP::SOAPString", XSD::QName.new(nil, "GivenName")]], | |
["otherGivenName", ["SOAP::SOAPString", XSD::QName.new(nil, "OtherGivenName")]], | |
["familyName", ["SOAP::SOAPString", XSD::QName.new(nil, "FamilyName")]], | |
["score", ["SOAP::SOAPInt", XSD::QName.new(nil, "Score")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => SearchResultsRecord, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "SearchResultsRecord"), | |
:schema_element => [ | |
["nameType", ["ArrayOfNameTypeEnumerator", XSD::QName.new(nil, "NameType")]], | |
["aBN", ["ArrayOfIdentifierSummary", XSD::QName.new(nil, "ABN")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressSimple", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => IdentifierSummary, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "IdentifierSummary"), | |
:schema_element => [ | |
["identifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierValue")]], | |
["identifierStatus", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierStatus")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => AddressSimple, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "AddressSimple"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Address"), | |
:schema_element => [ | |
["stateCode", ["SOAP::SOAPString", XSD::QName.new(nil, "StateCode")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => AddressFull, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "AddressFull"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Address"), | |
:schema_element => [ | |
["stateCode", ["SOAP::SOAPString", XSD::QName.new(nil, "StateCode")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["addressLine1", ["SOAP::SOAPString", XSD::QName.new(nil, "AddressLine1")]], | |
["addressLine2", ["SOAP::SOAPString", XSD::QName.new(nil, "AddressLine2")]], | |
["suburb", ["SOAP::SOAPString", XSD::QName.new(nil, "Suburb")]], | |
["countryName", ["SOAP::SOAPString", XSD::QName.new(nil, "CountryName")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => AddressDetails, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "AddressDetails"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Address"), | |
:schema_element => [ | |
["stateCode", ["SOAP::SOAPString", XSD::QName.new(nil, "StateCode")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => CharitableFund, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "CharitableFund"), | |
:schema_element => [ | |
["pbiName", ["ArrayOfOrganisationSimpleName", XSD::QName.new(nil, "pbiName")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => OrganisationSimpleName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "OrganisationSimpleName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Organisation"), | |
:schema_element => [ | |
["organisationName", ["SOAP::SOAPString", XSD::QName.new(nil, "OrganisationName")]], | |
["score", ["SOAP::SOAPInt", XSD::QName.new(nil, "Score")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Organisation, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Organisation"), | |
:schema_element => [ | |
["organisationName", ["SOAP::SOAPString", XSD::QName.new(nil, "OrganisationName")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => OrganisationName, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "OrganisationName"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "Organisation"), | |
:schema_element => [ | |
["organisationName", ["SOAP::SOAPString", XSD::QName.new(nil, "OrganisationName")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", [nil, XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => CharityConcession, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "CharityConcession"), | |
:schema_element => [ | |
["endorsementType", ["SOAP::SOAPString", XSD::QName.new(nil, "EndorsementType")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => CharityType, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "CharityType"), | |
:schema_element => [ | |
["charityTypeDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "CharityTypeDescription")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => DgrFund, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "DgrFund"), | |
:schema_element => [ | |
["dgrFundName", ["ArrayOfOrganisationSimpleName", XSD::QName.new(nil, "DgrFundName")]], | |
["endorsedFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedFrom")]], | |
["endorsedTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => DGREndorsement, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "DGREndorsement"), | |
:schema_element => [ | |
["endorsedFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedFrom")]], | |
["endorsedTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EndorsedTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => GoodsAndServicesTax, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "GoodsAndServicesTax"), | |
:schema_element => [ | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => EntityType, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "EntityType"), | |
:schema_element => [ | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["entityDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityDescription")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => EntityStatus, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "EntityStatus"), | |
:schema_element => [ | |
["entityStatusCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityStatusCode")]], | |
["effectiveFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveFrom")]], | |
["effectiveTo", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "EffectiveTo")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Identifier, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "Identifier"), | |
:schema_element => [ | |
["identifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierValue")]], | |
["isCurrentIndicator", ["SOAP::SOAPString", XSD::QName.new(nil, "IsCurrentIndicator")]], | |
["replacedIdentifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "ReplacedIdentifierValue")]], | |
["replacedFrom", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "ReplacedFrom")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBody, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [] | |
) | |
LiteralRegistry.register( | |
:class => ResponseABNList, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseABNList"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", ["SOAP::SOAPInt", XSD::QName.new(nil, "NumberOfRecords")]], | |
["aBN", ["ArrayOfString", XSD::QName.new(nil, "ABN")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseException, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseException"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["exceptionDescription", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceptionDescription")]], | |
["exceptionCode", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceptionCode")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseSearchResultsList, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseSearchResultsList"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", ["SOAP::SOAPInt", XSD::QName.new(nil, "NumberOfRecords")]], | |
["exceedsMaximum", ["SOAP::SOAPString", XSD::QName.new(nil, "ExceedsMaximum")]], | |
["searchResultsRecord", ["ArrayOfSearchResultsRecord", XSD::QName.new(nil, "SearchResultsRecord")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBusinessEntity, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBody"), | |
:schema_element => [ | |
["recordLastUpdatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "RecordLastUpdatedDate")]], | |
["aBN", ["ArrayOfIdentifier", XSD::QName.new(nil, "ABN")]], | |
["entityStatus", ["ArrayOfEntityStatus", XSD::QName.new(nil, "EntityStatus")]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "ASICNumber")]], | |
["entityType", ["EntityType", XSD::QName.new(nil, "EntityType")]], | |
["goodsAndServicesTax", ["ArrayOfGoodsAndServicesTax", XSD::QName.new(nil, "GoodsAndServicesTax")]], | |
["dgrEndorsement", ["ArrayOfDGREndorsement", XSD::QName.new(nil, "DgrEndorsement")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "MainTradingName")]], | |
["otherTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "OtherTradingName")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressDetails", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]], | |
["dgrFund", ["ArrayOfDgrFund", XSD::QName.new(nil, "DgrFund")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBusinessEntity200506, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity200506"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity"), | |
:schema_element => [ | |
["recordLastUpdatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "RecordLastUpdatedDate")]], | |
["aBN", ["ArrayOfIdentifier", XSD::QName.new(nil, "ABN")]], | |
["entityStatus", ["ArrayOfEntityStatus", XSD::QName.new(nil, "EntityStatus")]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "ASICNumber")]], | |
["entityType", ["EntityType", XSD::QName.new(nil, "EntityType")]], | |
["goodsAndServicesTax", ["ArrayOfGoodsAndServicesTax", XSD::QName.new(nil, "GoodsAndServicesTax")]], | |
["dgrEndorsement", ["ArrayOfDGREndorsement", XSD::QName.new(nil, "DgrEndorsement")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "MainTradingName")]], | |
["otherTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "OtherTradingName")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressDetails", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]], | |
["dgrFund", ["ArrayOfDgrFund", XSD::QName.new(nil, "DgrFund")]], | |
["charityType", ["ArrayOfCharityType", XSD::QName.new(nil, "CharityType")]], | |
["taxConcessionCharityEndorsement", ["ArrayOfCharityConcession", XSD::QName.new(nil, "TaxConcessionCharityEndorsement")]], | |
["charitableFund", ["ArrayOfCharitableFund", XSD::QName.new(nil, "CharitableFund")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBusinessEntity200709, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity200709"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ResponseBusinessEntity200506"), | |
:schema_element => [ | |
["recordLastUpdatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "RecordLastUpdatedDate")]], | |
["aBN", ["ArrayOfIdentifier", XSD::QName.new(nil, "ABN")]], | |
["entityStatus", ["ArrayOfEntityStatus", XSD::QName.new(nil, "EntityStatus")]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "ASICNumber")]], | |
["entityType", ["EntityType", XSD::QName.new(nil, "EntityType")]], | |
["goodsAndServicesTax", ["ArrayOfGoodsAndServicesTax", XSD::QName.new(nil, "GoodsAndServicesTax")]], | |
["dgrEndorsement", ["ArrayOfDGREndorsement", XSD::QName.new(nil, "DgrEndorsement")]], | |
["name", ["ArrayOfAnyType", XSD::QName.new(nil, "Name")]], | |
["mainTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "MainTradingName")]], | |
["otherTradingName", ["ArrayOfOrganisationName", XSD::QName.new(nil, "OtherTradingName")]], | |
["mainBusinessPhysicalAddress", ["ArrayOfAddressDetails", XSD::QName.new(nil, "MainBusinessPhysicalAddress")]], | |
["dgrFund", ["ArrayOfDgrFund", XSD::QName.new(nil, "DgrFund")]], | |
["charityType", ["ArrayOfCharityType", XSD::QName.new(nil, "CharityType")]], | |
["taxConcessionCharityEndorsement", ["ArrayOfCharityConcession", XSD::QName.new(nil, "TaxConcessionCharityEndorsement")]], | |
["charitableFund", ["ArrayOfCharitableFund", XSD::QName.new(nil, "CharitableFund")]], | |
["superannuationStatus", ["SuperannuationStatus", XSD::QName.new(nil, "SuperannuationStatus")]], | |
["mainPostalPhysicalAddress", ["AddressFull", XSD::QName.new(nil, "MainPostalPhysicalAddress")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestABNUpdateEventFilter, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNUpdateEventFilter"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["state", ["SOAP::SOAPString", XSD::QName.new(nil, "State")]], | |
["updateDate", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "UpdateDate")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestABNEventFilter, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNEventFilter"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["state", ["SOAP::SOAPString", XSD::QName.new(nil, "State")]], | |
["month", ["SOAP::SOAPInt", XSD::QName.new(nil, "Month")]], | |
["year", ["SOAP::SOAPInt", XSD::QName.new(nil, "Year")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestABNStatusFilter, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNStatusFilter"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["postcode", ["SOAP::SOAPString", XSD::QName.new(nil, "Postcode")]], | |
["entityTypeCode", ["SOAP::SOAPString", XSD::QName.new(nil, "EntityTypeCode")]], | |
["activeABNsOnly", ["SOAP::SOAPString", XSD::QName.new(nil, "ActiveABNsOnly")]], | |
["currentGSTRegistrationOnly", ["SOAP::SOAPString", XSD::QName.new(nil, "CurrentGSTRegistrationOnly")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestNameSearch, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearch"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequest"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["name", ["SOAP::SOAPString", XSD::QName.new(nil, "Name")]], | |
["filters", ["ExternalRequestFilters", XSD::QName.new(nil, "Filters")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestIdentifierSearch, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestIdentifierSearch"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequest"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["identifierType", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierType")]], | |
["identifierValue", ["SOAP::SOAPString", XSD::QName.new(nil, "IdentifierValue")]], | |
["history", ["SOAP::SOAPString", XSD::QName.new(nil, "History")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearchAdvanced"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearch"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["name", ["SOAP::SOAPString", XSD::QName.new(nil, "Name")]], | |
["filters", ["ExternalRequestFilters", XSD::QName.new(nil, "Filters")]], | |
["searchWidth", ["SOAP::SOAPString", XSD::QName.new(nil, "SearchWidth")]], | |
["minimumScore", ["SOAP::SOAPInt", XSD::QName.new(nil, "MinimumScore")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced2006, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearchAdvanced2006"), | |
:schema_basetype => XSD::QName.new(NsABRXMLSearchRPC, "ExternalRequestNameSearchAdvanced"), | |
:schema_element => [ | |
["externalRequestBody", [nil, XSD::QName.new(nil, "ExternalRequestBody")]], | |
["authenticationGUID", ["SOAP::SOAPString", XSD::QName.new(nil, "AuthenticationGUID")]], | |
["name", ["SOAP::SOAPString", XSD::QName.new(nil, "Name")]], | |
["filters", ["ExternalRequestFilters", XSD::QName.new(nil, "Filters")]], | |
["searchWidth", ["SOAP::SOAPString", XSD::QName.new(nil, "SearchWidth")]], | |
["minimumScore", ["SOAP::SOAPInt", XSD::QName.new(nil, "MinimumScore")]], | |
["maxSearchResults", ["SOAP::SOAPString", XSD::QName.new(nil, "MaxSearchResults")]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Payload_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Payload"), | |
:schema_element => [ | |
["request", "ExternalRequest_", [0, 1]], | |
["response", "Response_", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequest_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequest"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearchAdvanced"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearch"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["name", "SOAP::SOAPString", [0, 1]], | |
["filters", "ExternalRequestFilters_"], | |
["searchWidth", "SOAP::SOAPString", [0, 1]], | |
["minimumScore", "SOAP::SOAPInt"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestNameSearch_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearch"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequest"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["name", "SOAP::SOAPString", [0, 1]], | |
["filters", "ExternalRequestFilters_"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestFilters_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestFilters"), | |
:schema_element => [ | |
["nameType", "ExternalRequestFilterNameType_"], | |
["postcode", "SOAP::SOAPString"], | |
["stateCode", "ExternalRequestFilterStateCode_"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestFilterNameType_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestFilterNameType"), | |
:schema_element => [ | |
["tradingName", "SOAP::SOAPString", [0, 1]], | |
["legalName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestFilterStateCode_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestFilterStateCode"), | |
:schema_element => [ | |
["qLD", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "QLD")], [0, 1]], | |
["nT", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "NT")], [0, 1]], | |
["sA", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "SA")], [0, 1]], | |
["wA", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "WA")], [0, 1]], | |
["vIC", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "VIC")], [0, 1]], | |
["aCT", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ACT")], [0, 1]], | |
["tAS", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "TAS")], [0, 1]], | |
["nSW", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "NSW")], [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestNameSearchAdvanced2006_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearchAdvanced2006"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestNameSearchAdvanced"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["name", "SOAP::SOAPString", [0, 1]], | |
["filters", "ExternalRequestFilters_"], | |
["searchWidth", "SOAP::SOAPString", [0, 1]], | |
["minimumScore", "SOAP::SOAPInt"], | |
["maxSearchResults", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestABNEventFilter_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNEventFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["state", "SOAP::SOAPString", [0, 1]], | |
["month", "SOAP::SOAPInt"], | |
["year", "SOAP::SOAPInt"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestABNCharityFilter, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNCharityFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["state", "SOAP::SOAPString", [0, 1]], | |
["charityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["concessionTypeCode", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestABNStatusFilter_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNStatusFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["activeABNs", "SOAP::SOAPString", [0, 1]], | |
["currentGSTRegistrationOnly", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestABNUpdateEventFilter_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNUpdateEventFilter"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequestABNFilter"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["state", "SOAP::SOAPString", [0, 1]], | |
["updateDate", "SOAP::SOAPDateTime"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ExternalRequestIdentifierSearch_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ExternalRequestIdentifierSearch"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ExternalRequest"), | |
:schema_element => [ | |
[ :choice, | |
["nameSearchRequestAdvanced", "ExternalRequestNameSearchAdvanced_", [0, 1]], | |
["externalRequestABNEventFilter", "ExternalRequestABNEventFilter_", [0, 1]], | |
["nameSearchRequestAdvanced2006", "ExternalRequestNameSearchAdvanced2006_", [0, 1]], | |
["externalRequestABNCharityFilter", "ExternalRequestABNCharityFilter", [0, 1]], | |
["externalRequestABNUpdateEventFilter", "ExternalRequestABNUpdateEventFilter_", [0, 1]], | |
["externalRequestABNStatusFilter", "ExternalRequestABNStatusFilter_", [0, 1]], | |
["externalRequestABNFilter", "ExternalRequestABNFilter_", [0, 1]], | |
["identifierSearchRequest", "ExternalRequestIdentifierSearch_", [0, 1]], | |
["nameSearchRequest", "ExternalRequestNameSearch_", [0, 1]] | |
], | |
["authenticationGUID", "SOAP::SOAPString", [0, 1]], | |
["identifierType", "SOAP::SOAPString", [0, 1]], | |
["identifierValue", "SOAP::SOAPString", [0, 1]], | |
["history", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Response_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Response"), | |
:schema_element => [ | |
["usageStatement", "SOAP::SOAPString", [0, 1]], | |
["dateRegisterLastUpdated", "SOAP::SOAPDate"], | |
["dateTimeRetrieved", "SOAP::SOAPDateTime"], | |
[ :choice, | |
["abnList", "ResponseABNList_", [0, 1]], | |
["exception", "ResponseException_", [0, 1]], | |
["searchResultsList", "ResponseSearchResultsList_", [0, 1]], | |
["businessEntity200506", "ResponseBusinessEntity200506_", [0, 1]], | |
["businessEntity", "ResponseBusinessEntity_", [0, 1]], | |
["businessEntity200709", "ResponseBusinessEntity200709_", [0, 1]] | |
] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseABNList_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseABNList"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", "SOAP::SOAPInt"], | |
["abn", "SOAP::SOAPString[]", [0, nil]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBody_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [] | |
) | |
LiteralRegistry.register( | |
:class => ResponseSearchResultsList_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseSearchResultsList"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["numberOfRecords", "SOAP::SOAPInt"], | |
["exceedsMaximum", "SOAP::SOAPString", [0, 1]], | |
["searchResultsRecord", "SearchResultsRecord_[]", [0, nil]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => SearchResultsRecord_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "SearchResultsRecord"), | |
:schema_element => [ | |
["aBN", ["IdentifierSummary_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
[ | |
["legalName", "IndividualSimpleName_[]", [0, 1]], | |
["otherTradingName", "OrganisationSimpleName_[]", [0, 1]], | |
["pBIEName", ["OrganisationSimpleName_[]", XSD::QName.new(NsLiteralTypes, "PBIEName")], [0, 1]], | |
["mainTradingName", "OrganisationSimpleName_[]", [0, 1]], | |
["mainName", "OrganisationSimpleName_[]", [0, 1]], | |
["dgrFundName", "OrganisationSimpleName_[]", [0, 1]] | |
], | |
["mainBusinessPhysicalAddress", "AddressSimple_[]", [0, nil]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => IdentifierSummary_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "IdentifierSummary"), | |
:schema_element => [ | |
["identifierValue", "SOAP::SOAPString", [0, 1]], | |
["identifierStatus", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => IndividualSimpleName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "IndividualSimpleName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Individual"), | |
:schema_element => [ | |
["fullName", "SOAP::SOAPString", [0, 1]], | |
["givenName", "SOAP::SOAPString", [0, 1]], | |
["otherGivenName", "SOAP::SOAPString", [0, 1]], | |
["familyName", "SOAP::SOAPString", [0, 1]], | |
["score", "SOAP::SOAPInt"], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Individual_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Individual"), | |
:schema_element => [ | |
["fullName", "SOAP::SOAPString", [0, 1]], | |
["givenName", "SOAP::SOAPString", [0, 1]], | |
["otherGivenName", "SOAP::SOAPString", [0, 1]], | |
["familyName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => IndividualName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "IndividualName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Individual"), | |
:schema_element => [ | |
["fullName", "SOAP::SOAPString", [0, 1]], | |
["givenName", "SOAP::SOAPString", [0, 1]], | |
["otherGivenName", "SOAP::SOAPString", [0, 1]], | |
["familyName", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => OrganisationSimpleName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "OrganisationSimpleName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Organisation"), | |
:schema_element => [ | |
["organisationName", "SOAP::SOAPString", [0, 1]], | |
["score", "SOAP::SOAPInt"], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Organisation_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Organisation"), | |
:schema_element => [ | |
["organisationName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => OrganisationName_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "OrganisationName"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Organisation"), | |
:schema_element => [ | |
["organisationName", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
[ :choice, | |
["effectiveTo", "SOAP::SOAPDate"], | |
["effectiveToBlank", nil, [0, 1]] | |
] | |
] | |
) | |
LiteralRegistry.register( | |
:class => AddressSimple_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "AddressSimple"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Address"), | |
:schema_element => [ | |
["stateCode", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => AddressFull_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "AddressFull"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Address"), | |
:schema_element => [ | |
["stateCode", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["addressLine1", "SOAP::SOAPString", [0, 1]], | |
["addressLine2", "SOAP::SOAPString", [0, 1]], | |
["suburb", "SOAP::SOAPString", [0, 1]], | |
["countryName", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => AddressDetails_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "AddressDetails"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "Address"), | |
:schema_element => [ | |
["stateCode", "SOAP::SOAPString", [0, 1]], | |
["postcode", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseException_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseException"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["exceptionDescription", "SOAP::SOAPString", [0, 1]], | |
["exceptionCode", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBusinessEntity_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBody"), | |
:schema_element => [ | |
["recordLastUpdatedDate", "SOAP::SOAPDate"], | |
["aBN", ["Identifier_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
["entityStatus", "EntityStatus_[]", [0, nil]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ASICNumber")]], | |
["entityType", "EntityType_"], | |
["goodsAndServicesTax", "GoodsAndServicesTax_[]", [0, nil]], | |
["dgrEndorsement", "DGREndorsement_[]", [0, nil]], | |
[ | |
["legalName", "IndividualName_[]", [0, 1]], | |
["mainName", "OrganisationName_[]", [0, 1]] | |
], | |
["mainTradingName", "OrganisationName_[]", [0, nil]], | |
["otherTradingName", "OrganisationName_[]", [0, nil]], | |
["mainBusinessPhysicalAddress", "AddressDetails_[]", [0, nil]], | |
["dgrFund", "DgrFund_[]", [0, nil]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => Identifier_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "Identifier"), | |
:schema_element => [ | |
["identifierValue", "SOAP::SOAPString", [0, 1]], | |
["isCurrentIndicator", "SOAP::SOAPString", [0, 1]], | |
["replacedIdentifierValue", "SOAP::SOAPString"], | |
["replacedFrom", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => EntityStatus_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "EntityStatus"), | |
:schema_element => [ | |
["entityStatusCode", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => EntityType_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "EntityType"), | |
:schema_element => [ | |
["entityTypeCode", "SOAP::SOAPString", [0, 1]], | |
["entityDescription", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => GoodsAndServicesTax_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "GoodsAndServicesTax"), | |
:schema_element => [ | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => DGREndorsement_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "DGREndorsement"), | |
:schema_element => [ | |
["endorsedFrom", "SOAP::SOAPDate"], | |
["endorsedTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => DgrFund_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "DgrFund"), | |
:schema_element => [ | |
["dgrFundName", "OrganisationSimpleName_[]", [0, nil]], | |
["endorsedFrom", "SOAP::SOAPDate"], | |
["endorsedTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBusinessEntity200506_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity200506"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity"), | |
:schema_element => [ | |
["recordLastUpdatedDate", "SOAP::SOAPDate"], | |
["aBN", ["Identifier_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
["entityStatus", "EntityStatus_[]", [0, nil]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ASICNumber")]], | |
["entityType", "EntityType_"], | |
["goodsAndServicesTax", "GoodsAndServicesTax_[]", [0, nil]], | |
["dgrEndorsement", "DGREndorsement_[]", [0, nil]], | |
[ | |
["legalName", "IndividualName_[]", [0, 1]], | |
["mainName", "OrganisationName_[]", [0, 1]] | |
], | |
["mainTradingName", "OrganisationName_[]", [0, nil]], | |
["otherTradingName", "OrganisationName_[]", [0, nil]], | |
["mainBusinessPhysicalAddress", "AddressDetails_[]", [0, nil]], | |
["dgrFund", "DgrFund_[]", [0, nil]], | |
["charityType", "CharityType_[]", [0, nil]], | |
["taxConcessionCharityEndorsement", "CharityConcession_[]", [0, nil]], | |
["publicBenevolentInstitutionEmployer", "CharitableFund_[]", [0, nil]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => CharityType_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "CharityType"), | |
:schema_element => [ | |
["charityTypeDescription", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => CharityConcession_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "CharityConcession"), | |
:schema_element => [ | |
["endorsementType", "SOAP::SOAPString", [0, 1]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => CharitableFund_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "CharitableFund"), | |
:schema_element => [ | |
["pbiName", "OrganisationSimpleName_[]", [0, nil]], | |
["effectiveFrom", "SOAP::SOAPDate"], | |
["effectiveTo", "SOAP::SOAPDate"] | |
] | |
) | |
LiteralRegistry.register( | |
:class => ResponseBusinessEntity200709_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity200709"), | |
:schema_basetype => XSD::QName.new(NsLiteralTypes, "ResponseBusinessEntity200506"), | |
:schema_element => [ | |
["recordLastUpdatedDate", "SOAP::SOAPDate"], | |
["aBN", ["Identifier_[]", XSD::QName.new(NsLiteralTypes, "ABN")], [0, nil]], | |
["entityStatus", "EntityStatus_[]", [0, nil]], | |
["aSICNumber", ["SOAP::SOAPString", XSD::QName.new(NsLiteralTypes, "ASICNumber")]], | |
["entityType", "EntityType_"], | |
["goodsAndServicesTax", "GoodsAndServicesTax_[]", [0, nil]], | |
["dgrEndorsement", "DGREndorsement_[]", [0, nil]], | |
[ | |
["legalName", "IndividualName_[]", [0, 1]], | |
["mainName", "OrganisationName_[]", [0, 1]] | |
], | |
["mainTradingName", "OrganisationName_[]", [0, nil]], | |
["otherTradingName", "OrganisationName_[]", [0, nil]], | |
["mainBusinessPhysicalAddress", "AddressDetails_[]", [0, nil]], | |
["dgrFund", "DgrFund_[]", [0, nil]], | |
["charityType", "CharityType_[]", [0, nil]], | |
["taxConcessionCharityEndorsement", "CharityConcession_[]", [0, nil]], | |
["publicBenevolentInstitutionEmployer", "CharitableFund_[]", [0, nil]], | |
["superannuationStatus", "SuperannuationStatus_", [0, 1]], | |
["mainPostalPhysicalAddress", "AddressFull_", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => SuperannuationStatus_, | |
:schema_type => XSD::QName.new(NsLiteralTypes, "SuperannuationStatus"), | |
:schema_element => [ | |
["complyingCode", "SOAP::SOAPString", [0, 1]], | |
["complyingDescription", "SOAP::SOAPString", [0, 1]], | |
["regulator", "SOAP::SOAPString", [0, 1]], | |
["exceptionMessage", "SOAP::SOAPString", [0, 1]] | |
] | |
) | |
LiteralRegistry.register( | |
:class => NameTypeEnumerator, | |
:schema_type => XSD::QName.new(NsABRXMLSearchRPC, "NameTypeEnumerator") | |
) | |
LiteralRegistry.register( | |
:class => Payload_, | |
:schema_name => XSD::QName.new(NsLiteralTypes, "ABRPayloadSearchResults"), | |
:schema_element => [ | |
["request", "ExternalRequest_", [0, 1]], | |
["response", "Response_", [0, 1]] | |
] | |
) | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api = ABRXMLSearchRPCSoap.new | |
api.aBRSearchByABN( | |
::SOAP::SOAPString.new("12042168743"), | |
::SOAP::SOAPString.new("N"), | |
::SOAP::SOAPString.new("055a1100-a84d-4064-84d7-bce46f7b80c8")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment