Class: ChannelAdvisor::ShippingServiceSOAP::ShippingCarrier

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

Overview

http://api.channeladvisor.com/webservices/ShippingCarrier

carrierID - SOAP::SOAPInt
classID - SOAP::SOAPInt
carrierName - SOAP::SOAPString
carrierCode - SOAP::SOAPString
classCode - SOAP::SOAPString
className - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(carrierID = nil, classID = nil, carrierName = nil, carrierCode = nil, classCode = nil, className = nil) ⇒ ShippingCarrier


112
113
114
115
116
117
118
119
# File 'lib/channel_advisor/shipping_service/types.rb', line 112

def initialize(carrierID = nil, classID = nil, carrierName = nil, carrierCode = nil, classCode = nil, className = nil)
  @carrierID = carrierID
  @classID = classID
  @carrierName = carrierName
  @carrierCode = carrierCode
  @classCode = classCode
  @className = className
end

Instance Attribute Details

#carrierCodeObject

Returns the value of attribute carrierCode


108
109
110
# File 'lib/channel_advisor/shipping_service/types.rb', line 108

def carrierCode
  @carrierCode
end

#carrierIDObject

Returns the value of attribute carrierID


105
106
107
# File 'lib/channel_advisor/shipping_service/types.rb', line 105

def carrierID
  @carrierID
end

#carrierNameObject

Returns the value of attribute carrierName


107
108
109
# File 'lib/channel_advisor/shipping_service/types.rb', line 107

def carrierName
  @carrierName
end

#classCodeObject

Returns the value of attribute classCode


109
110
111
# File 'lib/channel_advisor/shipping_service/types.rb', line 109

def classCode
  @classCode
end

#classIDObject

Returns the value of attribute classID


106
107
108
# File 'lib/channel_advisor/shipping_service/types.rb', line 106

def classID
  @classID
end

#classNameObject

Returns the value of attribute className


110
111
112
# File 'lib/channel_advisor/shipping_service/types.rb', line 110

def className
  @className
end