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.



14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
# File 'lib/eBay.rb', line 14832

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.



14826
14827
14828
# File 'lib/eBay.rb', line 14826

def __xmlele_any
  @__xmlele_any
end

#charityIDObject

Returns the value of attribute charityID.



14821
14822
14823
# File 'lib/eBay.rb', line 14821

def charityID
  @charityID
end

#charityListingObject

Returns the value of attribute charityListing.



14825
14826
14827
# File 'lib/eBay.rb', line 14825

def charityListing
  @charityListing
end

#charityNameObject

Returns the value of attribute charityName.



14818
14819
14820
# File 'lib/eBay.rb', line 14818

def charityName
  @charityName
end

#charityNumberObject

Returns the value of attribute charityNumber.



14819
14820
14821
# File 'lib/eBay.rb', line 14819

def charityNumber
  @charityNumber
end

#donationPercentObject

Returns the value of attribute donationPercent.



14820
14821
14822
# File 'lib/eBay.rb', line 14820

def donationPercent
  @donationPercent
end

#logoURLObject

Returns the value of attribute logoURL.



14823
14824
14825
# File 'lib/eBay.rb', line 14823

def logoURL
  @logoURL
end

#missionObject

Returns the value of attribute mission.



14822
14823
14824
# File 'lib/eBay.rb', line 14822

def mission
  @mission
end

#statusObject

Returns the value of attribute status.



14824
14825
14826
# File 'lib/eBay.rb', line 14824

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



14828
14829
14830
# File 'lib/eBay.rb', line 14828

def set_any(elements)
  @__xmlele_any = elements
end