Class: ChannelAdvisor::CartServiceSOAP::ItemWeight

Inherits:
String
  • Object
show all
Defined in:
lib/channel_advisor/cart_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

Constructor Details

#initialize(*arg) ⇒ ItemWeight


225
226
227
228
# File 'lib/channel_advisor/cart_service/types.rb', line 225

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

Instance Method Details

#__xmlattrObject


213
214
215
# File 'lib/channel_advisor/cart_service/types.rb', line 213

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_UnitOfMeasureObject


217
218
219
# File 'lib/channel_advisor/cart_service/types.rb', line 217

def xmlattr_UnitOfMeasure
  __xmlattr[AttrUnitOfMeasure]
end

#xmlattr_UnitOfMeasure=(value) ⇒ Object


221
222
223
# File 'lib/channel_advisor/cart_service/types.rb', line 221

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