Class: CharityType
- Inherits:
-
Object
- Object
- CharityType
- 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
-
#charityName ⇒ Object
Returns the value of attribute charityName.
-
#charityNumber ⇒ Object
Returns the value of attribute charityNumber.
-
#donationPercent ⇒ Object
Returns the value of attribute donationPercent.
Instance Method Summary collapse
-
#initialize(charityName = nil, charityNumber = nil, donationPercent = nil) ⇒ CharityType
constructor
A new instance of CharityType.
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
#charityName ⇒ Object
Returns the value of attribute charityName.
2424 2425 2426 |
# File 'lib/paypal-business/default.rb', line 2424 def charityName @charityName end |
#charityNumber ⇒ Object
Returns the value of attribute charityNumber.
2425 2426 2427 |
# File 'lib/paypal-business/default.rb', line 2425 def charityNumber @charityNumber end |
#donationPercent ⇒ Object
Returns the value of attribute donationPercent.
2426 2427 2428 |
# File 'lib/paypal-business/default.rb', line 2426 def donationPercent @donationPercent end |