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 collapse

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

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ ItemWeight

Returns a new instance of ItemWeight.



1112
1113
1114
1115
# File 'lib/channel_advisor/order_service/types.rb', line 1112

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

Instance Method Details

#__xmlattrObject



1100
1101
1102
# File 'lib/channel_advisor/order_service/types.rb', line 1100

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_UnitOfMeasureObject



1104
1105
1106
# File 'lib/channel_advisor/order_service/types.rb', line 1104

def xmlattr_UnitOfMeasure
  __xmlattr[AttrUnitOfMeasure]
end

#xmlattr_UnitOfMeasure=(value) ⇒ Object



1108
1109
1110
# File 'lib/channel_advisor/order_service/types.rb', line 1108

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