Class: FedexWebServices::Soap::Ship::Money
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Money
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12Money
currency - SOAP::SOAPString
amount - SOAP::SOAPDecimal
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
Instance Method Summary collapse
-
#initialize(currency = nil, amount = nil) ⇒ Money
constructor
A new instance of Money.
Constructor Details
#initialize(currency = nil, amount = nil) ⇒ Money
Returns a new instance of Money.
1955 1956 1957 1958 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1955 def initialize(currency = nil, amount = nil) @currency = currency @amount = amount end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
1953 1954 1955 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1953 def amount @amount end |
#currency ⇒ Object
Returns the value of attribute currency.
1952 1953 1954 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1952 def currency @currency end |