Class: Amount

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

Overview

/Amount

currencyCode - CurrencyCode
value - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#currencyCodeObject

Returns the value of attribute currencyCode.



12
13
14
# File 'lib/default.rb', line 12

def currencyCode
  @currencyCode
end

#valueObject

Returns the value of attribute value.



13
14
15
# File 'lib/default.rb', line 13

def value
  @value
end