Class: PurolatorWebServices::Soap::PackageIDWeight

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

Overview

/PackageIDWeight

packageID - SOAP::SOAPString
weightUOM - SOAP::SOAPString
weight - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(packageID = nil, weightUOM = nil, weight = nil) ⇒ PackageIDWeight

Returns a new instance of PackageIDWeight.



1166
1167
1168
1169
1170
# File 'lib/purolator_web_services/soap/default.rb', line 1166

def initialize(packageID = nil, weightUOM = nil, weight = nil)
  @packageID = packageID
  @weightUOM = weightUOM
  @weight = weight
end

Instance Attribute Details

#packageIDObject

Returns the value of attribute packageID.



1162
1163
1164
# File 'lib/purolator_web_services/soap/default.rb', line 1162

def packageID
  @packageID
end

#weightObject

Returns the value of attribute weight.



1164
1165
1166
# File 'lib/purolator_web_services/soap/default.rb', line 1164

def weight
  @weight
end

#weightUOMObject

Returns the value of attribute weightUOM.



1163
1164
1165
# File 'lib/purolator_web_services/soap/default.rb', line 1163

def weightUOM
  @weightUOM
end