Class: ChannelAdvisor::ShippingServiceSOAP::ShippingItemBase

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

Overview

/ShippingItemBase

carrierName - SOAP::SOAPString
className - SOAP::SOAPString
shippingCost - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(carrierName = nil, className = nil, shippingCost = nil) ⇒ ShippingItemBase

Returns a new instance of ShippingItemBase.



50
51
52
53
54
# File 'lib/channel_advisor/shipping_service/types.rb', line 50

def initialize(carrierName = nil, className = nil, shippingCost = nil)
  @carrierName = carrierName
  @className = className
  @shippingCost = shippingCost
end

Instance Attribute Details

#carrierNameObject

Returns the value of attribute carrierName.



46
47
48
# File 'lib/channel_advisor/shipping_service/types.rb', line 46

def carrierName
  @carrierName
end

#classNameObject

Returns the value of attribute className.



47
48
49
# File 'lib/channel_advisor/shipping_service/types.rb', line 47

def className
  @className
end

#shippingCostObject

Returns the value of attribute shippingCost.



48
49
50
# File 'lib/channel_advisor/shipping_service/types.rb', line 48

def shippingCost
  @shippingCost
end