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.



16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
# File 'lib/eBay.rb', line 16477

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.



16463
16464
16465
# File 'lib/eBay.rb', line 16463

def __xmlele_any
  @__xmlele_any
end

#charityDomainObject

Returns the value of attribute charityDomain.



16461
16462
16463
# File 'lib/eBay.rb', line 16461

def charityDomain
  @charityDomain
end

#charityIDObject

Returns the value of attribute charityID.



16462
16463
16464
# File 'lib/eBay.rb', line 16462

def charityID
  @charityID
end

#charityRegionObject

Returns the value of attribute charityRegion.



16460
16461
16462
# File 'lib/eBay.rb', line 16460

def charityRegion
  @charityRegion
end

#logoURLObject

Returns the value of attribute logoURL.



16457
16458
16459
# File 'lib/eBay.rb', line 16457

def logoURL
  @logoURL
end

#missionObject

Returns the value of attribute mission.



16456
16457
16458
# File 'lib/eBay.rb', line 16456

def mission
  @mission
end

#nameObject

Returns the value of attribute name.



16455
16456
16457
# File 'lib/eBay.rb', line 16455

def name
  @name
end

#searchableStringObject

Returns the value of attribute searchableString.



16459
16460
16461
# File 'lib/eBay.rb', line 16459

def searchableString
  @searchableString
end

#statusObject

Returns the value of attribute status.



16458
16459
16460
# File 'lib/eBay.rb', line 16458

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



16465
16466
16467
# File 'lib/eBay.rb', line 16465

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_idObject



16469
16470
16471
# File 'lib/eBay.rb', line 16469

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

#xmlattr_id=(value) ⇒ Object



16473
16474
16475
# File 'lib/eBay.rb', line 16473

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