Class: ChannelAdvisor::ShippingServiceSOAP::ShippingItemBase
- Inherits:
-
Object
- Object
- ChannelAdvisor::ShippingServiceSOAP::ShippingItemBase
- Defined in:
- lib/channel_advisor/shipping_service/types.rb
Overview
/ShippingItemBase
carrierName - SOAP::SOAPString
className - SOAP::SOAPString
shippingCost - SOAP::SOAPDecimal
Instance Attribute Summary collapse
-
#carrierName ⇒ Object
Returns the value of attribute carrierName.
-
#className ⇒ Object
Returns the value of attribute className.
-
#shippingCost ⇒ Object
Returns the value of attribute shippingCost.
Instance Method Summary collapse
-
#initialize(carrierName = nil, className = nil, shippingCost = nil) ⇒ ShippingItemBase
constructor
A new instance of ShippingItemBase.
Constructor Details
#initialize(carrierName = nil, className = nil, shippingCost = nil) ⇒ ShippingItemBase
Returns 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
#carrierName ⇒ Object
Returns the value of attribute carrierName.
46 47 48 |
# File 'lib/channel_advisor/shipping_service/types.rb', line 46 def carrierName @carrierName end |
#className ⇒ Object
Returns the value of attribute className.
47 48 49 |
# File 'lib/channel_advisor/shipping_service/types.rb', line 47 def className @className end |
#shippingCost ⇒ Object
Returns the value of attribute shippingCost.
48 49 50 |
# File 'lib/channel_advisor/shipping_service/types.rb', line 48 def shippingCost @shippingCost end |