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

- (ShippingItemBase) initialize(carrierName = nil, className = nil, shippingCost = nil)



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

- (Object) carrierName

Returns the value of attribute carrierName



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

def carrierName
  @carrierName
end

- (Object) className

Returns the value of attribute className



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

def className
  @className
end

- (Object) shippingCost

Returns the value of attribute shippingCost



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

def shippingCost
  @shippingCost
end