Class: CharityType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.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")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(charityName = nil, charityNumber = nil, donationPercent = nil) ⇒ CharityType

Returns a new instance of CharityType.



2428
2429
2430
2431
2432
# File 'lib/paypal-business/default.rb', line 2428

def initialize(charityName = nil, charityNumber = nil, donationPercent = nil)
  @charityName = charityName
  @charityNumber = charityNumber
  @donationPercent = donationPercent
end

Instance Attribute Details

#charityNameObject

Returns the value of attribute charityName.



2424
2425
2426
# File 'lib/paypal-business/default.rb', line 2424

def charityName
  @charityName
end

#charityNumberObject

Returns the value of attribute charityNumber.



2425
2426
2427
# File 'lib/paypal-business/default.rb', line 2425

def charityNumber
  @charityNumber
end

#donationPercentObject

Returns the value of attribute donationPercent.



2426
2427
2428
# File 'lib/paypal-business/default.rb', line 2426

def donationPercent
  @donationPercent
end