Class: ChannelAdvisor::ShippingServiceSOAP::ShippingItemBase
- Inherits:
-
Object
- Object
- ChannelAdvisor::ShippingServiceSOAP::ShippingItemBase
- 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)
-
- (Object) carrierName
Returns the value of attribute carrierName.
-
- (Object) className
Returns the value of attribute className.
-
- (Object) shippingCost
Returns the value of attribute shippingCost.
Instance Method Summary (collapse)
-
- (ShippingItemBase) initialize(carrierName = nil, className = nil, shippingCost = nil)
constructor
A new instance of ShippingItemBase.
Constructor Details
- (ShippingItemBase) initialize(carrierName = nil, className = nil, shippingCost = nil)
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
- (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 |