Class: FeeType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsFeeType

Constant Summary collapse

@@schema_type =
"FeeType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["fee", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Fee")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, fee = nil) ⇒ FeeType

Returns a new instance of FeeType.



2034
2035
2036
2037
# File 'lib/paypal-business/default.rb', line 2034

def initialize(name = nil, fee = nil)
  @name = name
  @fee = fee
end

Instance Attribute Details

#feeObject

Returns the value of attribute fee.



2032
2033
2034
# File 'lib/paypal-business/default.rb', line 2032

def fee
  @fee
end

#nameObject

Returns the value of attribute name.



2031
2032
2033
# File 'lib/paypal-business/default.rb', line 2031

def name
  @name
end