Class: CharityType

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

Overview

urn:ebay:apis:eBLBaseComponentsCharityType

charityName - SOAP::SOAPString
charityNumber - SOAP::SOAPInt
donationPercent - SOAP::SOAPFloat
charityID - SOAP::SOAPString
mission - SOAP::SOAPString
logoURL - SOAP::SOAPString
status - CharityStatusCodeType
charityListing - SOAP::SOAPBoolean

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.



18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
# File 'lib/eBay.rb', line 18193

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.



18187
18188
18189
# File 'lib/eBay.rb', line 18187

def __xmlele_any
  @__xmlele_any
end

#charityIDObject

Returns the value of attribute charityID.



18182
18183
18184
# File 'lib/eBay.rb', line 18182

def charityID
  @charityID
end

#charityListingObject

Returns the value of attribute charityListing.



18186
18187
18188
# File 'lib/eBay.rb', line 18186

def charityListing
  @charityListing
end

#charityNameObject

Returns the value of attribute charityName.



18179
18180
18181
# File 'lib/eBay.rb', line 18179

def charityName
  @charityName
end

#charityNumberObject

Returns the value of attribute charityNumber.



18180
18181
18182
# File 'lib/eBay.rb', line 18180

def charityNumber
  @charityNumber
end

#donationPercentObject

Returns the value of attribute donationPercent.



18181
18182
18183
# File 'lib/eBay.rb', line 18181

def donationPercent
  @donationPercent
end

#logoURLObject

Returns the value of attribute logoURL.



18184
18185
18186
# File 'lib/eBay.rb', line 18184

def logoURL
  @logoURL
end

#missionObject

Returns the value of attribute mission.



18183
18184
18185
# File 'lib/eBay.rb', line 18183

def mission
  @mission
end

#statusObject

Returns the value of attribute status.



18185
18186
18187
# File 'lib/eBay.rb', line 18185

def status
  @status
end

Instance Method Details

#set_any(elements) ⇒ Object



18189
18190
18191
# File 'lib/eBay.rb', line 18189

def set_any(elements)
  @__xmlele_any = elements
end