Class: ChannelAdvisor::OrderServiceSOAP::ItemWeight
- Inherits:
-
String
- Object
- String
- ChannelAdvisor::OrderServiceSOAP::ItemWeight
- Defined in:
- lib/channel_advisor/order_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersItemWeight
xmlattr_UnitOfMeasure - SOAP::SOAPString
Constant Summary collapse
- AttrUnitOfMeasure =
XSD::QName.new(nil, "UnitOfMeasure")
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(*arg) ⇒ ItemWeight
constructor
A new instance of ItemWeight.
- #xmlattr_UnitOfMeasure ⇒ Object
- #xmlattr_UnitOfMeasure=(value) ⇒ Object
Constructor Details
#initialize(*arg) ⇒ ItemWeight
Returns a new instance of ItemWeight.
1408 1409 1410 1411 |
# File 'lib/channel_advisor/order_service/types.rb', line 1408 def initialize(*arg) super @__xmlattr = {} end |
Instance Method Details
#__xmlattr ⇒ Object
1396 1397 1398 |
# File 'lib/channel_advisor/order_service/types.rb', line 1396 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_UnitOfMeasure ⇒ Object
1400 1401 1402 |
# File 'lib/channel_advisor/order_service/types.rb', line 1400 def xmlattr_UnitOfMeasure __xmlattr[AttrUnitOfMeasure] end |
#xmlattr_UnitOfMeasure=(value) ⇒ Object
1404 1405 1406 |
# File 'lib/channel_advisor/order_service/types.rb', line 1404 def xmlattr_UnitOfMeasure=(value) __xmlattr[AttrUnitOfMeasure] = value end |