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.



13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
# File 'lib/eBay.rb', line 13057

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.



13043
13044
13045
# File 'lib/eBay.rb', line 13043

def __xmlele_any
  @__xmlele_any
end

#charityDomainObject

Returns the value of attribute charityDomain.



13041
13042
13043
# File 'lib/eBay.rb', line 13041

def charityDomain
  @charityDomain
end

#charityIDObject

Returns the value of attribute charityID.



13042
13043
13044
# File 'lib/eBay.rb', line 13042

def charityID
  @charityID
end

#charityRegionObject

Returns the value of attribute charityRegion.



13040
13041
13042
# File 'lib/eBay.rb', line 13040

def charityRegion
  @charityRegion
end

#logoURLObject

Returns the value of attribute logoURL.



13037
13038
13039
# File 'lib/eBay.rb', line 13037

def logoURL
  @logoURL
end

#missionObject

Returns the value of attribute mission.



13036
13037
13038
# File 'lib/eBay.rb', line 13036

def mission
  @mission
end

#nameObject

Returns the value of attribute name.



13035
13036
13037
# File 'lib/eBay.rb', line 13035

def name
  @name
end

#searchableStringObject

Returns the value of attribute searchableString.



13039
13040
13041
# File 'lib/eBay.rb', line 13039

def searchableString
  @searchableString
end

#statusObject

Returns the value of attribute status.



13038
13039
13040
# File 'lib/eBay.rb', line 13038

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



13045
13046
13047
# File 'lib/eBay.rb', line 13045

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_idObject



13049
13050
13051
# File 'lib/eBay.rb', line 13049

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

#xmlattr_id=(value) ⇒ Object



13053
13054
13055
# File 'lib/eBay.rb', line 13053

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