Class: ChannelAdvisor::ShippingServiceSOAP::ShippingItemBase

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

Overview

http://api.channeladvisor.com/webservices/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



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

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



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

def carrierName
  @carrierName
end

#classNameObject

Returns the value of attribute className



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

def className
  @className
end

#shippingCostObject

Returns the value of attribute shippingCost



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

def shippingCost
  @shippingCost
end