Class: CharityType

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

Overview

urn:ebay:apis:eBLBaseComponentsCharityType

Constant Summary collapse

@@schema_type =
"CharityType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["charityName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharityName")]],
  ["charityNumber", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharityNumber")]],
  ["donationPercent", ["SOAP::SOAPFloat", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DonationPercent")]],
  ["charityID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharityID")]],
  ["mission", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Mission")]],
  ["logoURL", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LogoURL")]],
  ["status", ["CharityStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Status")]],
  ["charityListing", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharityListing")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(charityName = nil, charityNumber = nil, donationPercent = nil, charityID = nil, mission = nil, logoURL = nil, status = nil, charityListing = nil) ⇒ CharityType

Returns a new instance of CharityType.



16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
# File 'lib/eBay.rb', line 16546

def initialize(charityName = nil, charityNumber = nil, donationPercent = nil, charityID = nil, mission = nil, logoURL = nil, status = nil, charityListing = nil)
  @charityName = charityName
  @charityNumber = charityNumber
  @donationPercent = donationPercent
  @charityID = charityID
  @mission = mission
  @logoURL = logoURL
  @status = status
  @charityListing = charityListing
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16540
16541
16542
# File 'lib/eBay.rb', line 16540

def __xmlele_any
  @__xmlele_any
end

#charityIDObject

Returns the value of attribute charityID.



16535
16536
16537
# File 'lib/eBay.rb', line 16535

def charityID
  @charityID
end

#charityListingObject

Returns the value of attribute charityListing.



16539
16540
16541
# File 'lib/eBay.rb', line 16539

def charityListing
  @charityListing
end

#charityNameObject

Returns the value of attribute charityName.



16532
16533
16534
# File 'lib/eBay.rb', line 16532

def charityName
  @charityName
end

#charityNumberObject

Returns the value of attribute charityNumber.



16533
16534
16535
# File 'lib/eBay.rb', line 16533

def charityNumber
  @charityNumber
end

#donationPercentObject

Returns the value of attribute donationPercent.



16534
16535
16536
# File 'lib/eBay.rb', line 16534

def donationPercent
  @donationPercent
end

#logoURLObject

Returns the value of attribute logoURL.



16537
16538
16539
# File 'lib/eBay.rb', line 16537

def logoURL
  @logoURL
end

#missionObject

Returns the value of attribute mission.



16536
16537
16538
# File 'lib/eBay.rb', line 16536

def mission
  @mission
end

#statusObject

Returns the value of attribute status.



16538
16539
16540
# File 'lib/eBay.rb', line 16538

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



16542
16543
16544
# File 'lib/eBay.rb', line 16542

def set_any(elements)
  @__xmlele_any = elements
end