Class: CharityType
- Inherits:
-
Object
- Object
- CharityType
- 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
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#charityID ⇒ Object
Returns the value of attribute charityID.
-
#charityListing ⇒ Object
Returns the value of attribute charityListing.
-
#charityName ⇒ Object
Returns the value of attribute charityName.
-
#charityNumber ⇒ Object
Returns the value of attribute charityNumber.
-
#donationPercent ⇒ Object
Returns the value of attribute donationPercent.
-
#logoURL ⇒ Object
Returns the value of attribute logoURL.
-
#mission ⇒ Object
Returns the value of attribute mission.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(charityName = nil, charityNumber = nil, donationPercent = nil, charityID = nil, mission = nil, logoURL = nil, status = nil, charityListing = nil) ⇒ CharityType
constructor
A new instance of CharityType.
- #set_any(elements) ⇒ Object
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.
13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 |
# File 'lib/eBay.rb', line 13124 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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
13118 13119 13120 |
# File 'lib/eBay.rb', line 13118 def __xmlele_any @__xmlele_any end |
#charityID ⇒ Object
Returns the value of attribute charityID.
13113 13114 13115 |
# File 'lib/eBay.rb', line 13113 def charityID @charityID end |
#charityListing ⇒ Object
Returns the value of attribute charityListing.
13117 13118 13119 |
# File 'lib/eBay.rb', line 13117 def charityListing @charityListing end |
#charityName ⇒ Object
Returns the value of attribute charityName.
13110 13111 13112 |
# File 'lib/eBay.rb', line 13110 def charityName @charityName end |
#charityNumber ⇒ Object
Returns the value of attribute charityNumber.
13111 13112 13113 |
# File 'lib/eBay.rb', line 13111 def charityNumber @charityNumber end |
#donationPercent ⇒ Object
Returns the value of attribute donationPercent.
13112 13113 13114 |
# File 'lib/eBay.rb', line 13112 def donationPercent @donationPercent end |
#logoURL ⇒ Object
Returns the value of attribute logoURL.
13115 13116 13117 |
# File 'lib/eBay.rb', line 13115 def logoURL @logoURL end |
#mission ⇒ Object
Returns the value of attribute mission.
13114 13115 13116 |
# File 'lib/eBay.rb', line 13114 def mission @mission end |
#status ⇒ Object
Returns the value of attribute status.
13116 13117 13118 |
# File 'lib/eBay.rb', line 13116 def status @status end |
Instance Method Details
#set_any(elements) ⇒ Object
13120 13121 13122 |
# File 'lib/eBay.rb', line 13120 def set_any(elements) @__xmlele_any = elements end |