Class: ChannelAdvisor::OrderServiceSOAP::ItemWeight

Inherits:
String
  • Object
show all
Defined in:
lib/channel_advisor/order_service/types.rb

Overview

http://api.channeladvisor.com/datacontracts/ordersItemWeight

xmlattr_UnitOfMeasure - SOAP::SOAPString

Constant Summary

AttrUnitOfMeasure =
XSD::QName.new(nil, "UnitOfMeasure")

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ ItemWeight

Returns a new instance of ItemWeight



1409
1410
1411
1412
# File 'lib/channel_advisor/order_service/types.rb', line 1409

def initialize(*arg)
  super
  @__xmlattr = {}
end

Instance Method Details

#__xmlattrObject



1397
1398
1399
# File 'lib/channel_advisor/order_service/types.rb', line 1397

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_UnitOfMeasureObject



1401
1402
1403
# File 'lib/channel_advisor/order_service/types.rb', line 1401

def xmlattr_UnitOfMeasure
  __xmlattr[AttrUnitOfMeasure]
end

#xmlattr_UnitOfMeasure=(value) ⇒ Object



1405
1406
1407
# File 'lib/channel_advisor/order_service/types.rb', line 1405

def xmlattr_UnitOfMeasure=(value)
  __xmlattr[AttrUnitOfMeasure] = value
end