Class: Amount
- Inherits:
-
Object
- Object
- Amount
- Defined in:
- lib/default.rb
Overview
/Amount
currencyCode - CurrencyCode
value - SOAP::SOAPString
Instance Attribute Summary collapse
-
#currencyCode ⇒ Object
Returns the value of attribute currencyCode.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(currencyCode = nil, value = nil) ⇒ Amount
constructor
A new instance of Amount.
Constructor Details
#initialize(currencyCode = nil, value = nil) ⇒ Amount
Returns a new instance of Amount.
15 16 17 18 |
# File 'lib/default.rb', line 15 def initialize(currencyCode = nil, value = nil) @currencyCode = currencyCode @value = value end |
Instance Attribute Details
#currencyCode ⇒ Object
Returns the value of attribute currencyCode.
12 13 14 |
# File 'lib/default.rb', line 12 def currencyCode @currencyCode end |
#value ⇒ Object
Returns the value of attribute value.
13 14 15 |
# File 'lib/default.rb', line 13 def value @value end |