Class: PurolatorWebServices::Soap::RequestItem

Inherits:
Object
  • Object
show all
Defined in:
lib/purolator_web_services/soap/default.rb

Overview

/RequestItem

sKU - SOAP::SOAPString
customsDesc - SOAP::SOAPString
extendedDesc - SOAP::SOAPString
quantity - SOAP::SOAPInt
totalValue - SOAP::SOAPDecimal
currency - SOAP::SOAPString
countryOfOrigin - SOAP::SOAPString
hSCode - SOAP::SOAPString
nAFTAEligible - SOAP::SOAPBoolean
fDAFood - SOAP::SOAPBoolean
textile - SOAP::SOAPBoolean

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sKU = nil, customsDesc = nil, extendedDesc = nil, quantity = nil, totalValue = nil, currency = nil, countryOfOrigin = nil, hSCode = nil, nAFTAEligible = nil, fDAFood = nil, textile = nil) ⇒ RequestItem

Returns a new instance of RequestItem.



815
816
817
818
819
820
821
822
823
824
825
826
827
# File 'lib/purolator_web_services/soap/default.rb', line 815

def initialize(sKU = nil, customsDesc = nil, extendedDesc = nil, quantity = nil, totalValue = nil, currency = nil, countryOfOrigin = nil, hSCode = nil, nAFTAEligible = nil, fDAFood = nil, textile = nil)
  @sKU = sKU
  @customsDesc = customsDesc
  @extendedDesc = extendedDesc
  @quantity = quantity
  @totalValue = totalValue
  @currency = currency
  @countryOfOrigin = countryOfOrigin
  @hSCode = hSCode
  @nAFTAEligible = nAFTAEligible
  @fDAFood = fDAFood
  @textile = textile
end

Instance Attribute Details

#countryOfOriginObject

Returns the value of attribute countryOfOrigin.



809
810
811
# File 'lib/purolator_web_services/soap/default.rb', line 809

def countryOfOrigin
  @countryOfOrigin
end

#currencyObject

Returns the value of attribute currency.



808
809
810
# File 'lib/purolator_web_services/soap/default.rb', line 808

def currency
  @currency
end

#customsDescObject

Returns the value of attribute customsDesc.



804
805
806
# File 'lib/purolator_web_services/soap/default.rb', line 804

def customsDesc
  @customsDesc
end

#extendedDescObject

Returns the value of attribute extendedDesc.



805
806
807
# File 'lib/purolator_web_services/soap/default.rb', line 805

def extendedDesc
  @extendedDesc
end

#fDAFoodObject

Returns the value of attribute fDAFood.



812
813
814
# File 'lib/purolator_web_services/soap/default.rb', line 812

def fDAFood
  @fDAFood
end

#hSCodeObject

Returns the value of attribute hSCode.



810
811
812
# File 'lib/purolator_web_services/soap/default.rb', line 810

def hSCode
  @hSCode
end

#nAFTAEligibleObject

Returns the value of attribute nAFTAEligible.



811
812
813
# File 'lib/purolator_web_services/soap/default.rb', line 811

def nAFTAEligible
  @nAFTAEligible
end

#quantityObject

Returns the value of attribute quantity.



806
807
808
# File 'lib/purolator_web_services/soap/default.rb', line 806

def quantity
  @quantity
end

#sKUObject

Returns the value of attribute sKU.



803
804
805
# File 'lib/purolator_web_services/soap/default.rb', line 803

def sKU
  @sKU
end

#textileObject

Returns the value of attribute textile.



813
814
815
# File 'lib/purolator_web_services/soap/default.rb', line 813

def textile
  @textile
end

#totalValueObject

Returns the value of attribute totalValue.



807
808
809
# File 'lib/purolator_web_services/soap/default.rb', line 807

def totalValue
  @totalValue
end