Class: CharityInfoType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsCharityInfoType

Constant Summary collapse

@@schema_type =
"CharityInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "id") => "SOAP::SOAPString"
}
@@schema_element =
[
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["mission", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Mission")]],
  ["logoURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LogoURL")]],
  ["status", ["CharityStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Status")]],
  ["searchableString", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SearchableString")]],
  ["charityRegion", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharityRegion")]],
  ["charityDomain", ["SOAP::SOAPInt[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharityDomain")]],
  ["charityID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharityID")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, mission = nil, logoURL = nil, status = nil, searchableString = nil, charityRegion = nil, charityDomain = [], charityID = nil) ⇒ CharityInfoType

Returns a new instance of CharityInfoType.



14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
# File 'lib/eBay.rb', line 14763

def initialize(name = nil, mission = nil, logoURL = nil, status = nil, searchableString = nil, charityRegion = nil, charityDomain = [], charityID = nil)
  @name = name
  @mission = mission
  @logoURL = logoURL
  @status = status
  @searchableString = searchableString
  @charityRegion = charityRegion
  @charityDomain = charityDomain
  @charityID = charityID
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



14749
14750
14751
# File 'lib/eBay.rb', line 14749

def __xmlele_any
  @__xmlele_any
end

#charityDomainObject

Returns the value of attribute charityDomain.



14747
14748
14749
# File 'lib/eBay.rb', line 14747

def charityDomain
  @charityDomain
end

#charityIDObject

Returns the value of attribute charityID.



14748
14749
14750
# File 'lib/eBay.rb', line 14748

def charityID
  @charityID
end

#charityRegionObject

Returns the value of attribute charityRegion.



14746
14747
14748
# File 'lib/eBay.rb', line 14746

def charityRegion
  @charityRegion
end

#logoURLObject

Returns the value of attribute logoURL.



14743
14744
14745
# File 'lib/eBay.rb', line 14743

def logoURL
  @logoURL
end

#missionObject

Returns the value of attribute mission.



14742
14743
14744
# File 'lib/eBay.rb', line 14742

def mission
  @mission
end

#nameObject

Returns the value of attribute name.



14741
14742
14743
# File 'lib/eBay.rb', line 14741

def name
  @name
end

#searchableStringObject

Returns the value of attribute searchableString.



14745
14746
14747
# File 'lib/eBay.rb', line 14745

def searchableString
  @searchableString
end

#statusObject

Returns the value of attribute status.



14744
14745
14746
# File 'lib/eBay.rb', line 14744

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



14751
14752
14753
# File 'lib/eBay.rb', line 14751

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_idObject



14755
14756
14757
# File 'lib/eBay.rb', line 14755

def xmlattr_id
  (@__xmlattr ||= {})[XSD::QName.new(nil, "id")]
end

#xmlattr_id=(value) ⇒ Object



14759
14760
14761
# File 'lib/eBay.rb', line 14759

def xmlattr_id=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "id")] = value
end