Class: ChannelAdvisor::ShippingServiceSOAP::ShippingCarrier

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

Overview

/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

Returns a new instance of ShippingCarrier.



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

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.



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

def carrierCode
  @carrierCode
end

#carrierIDObject

Returns the value of attribute carrierID.



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

def carrierID
  @carrierID
end

#carrierNameObject

Returns the value of attribute carrierName.



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

def carrierName
  @carrierName
end

#classCodeObject

Returns the value of attribute classCode.



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

def classCode
  @classCode
end

#classIDObject

Returns the value of attribute classID.



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

def classID
  @classID
end

#classNameObject

Returns the value of attribute className.



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

def className
  @className
end