Class: FedexWebServices::Soap::Ship::ContentRecord

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/ShipServiceDefinitions.rb

Overview

http://fedex.com/ws/ship/v12ContentRecord

partNumber - SOAP::SOAPString
itemNumber - SOAP::SOAPString
receivedQuantity - SOAP::SOAPNonNegativeInteger
description - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partNumber = nil, itemNumber = nil, receivedQuantity = nil, description = nil) ⇒ ContentRecord

Returns a new instance of ContentRecord.



683
684
685
686
687
688
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 683

def initialize(partNumber = nil, itemNumber = nil, receivedQuantity = nil, description = nil)
  @partNumber = partNumber
  @itemNumber = itemNumber
  @receivedQuantity = receivedQuantity
  @description = description
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



681
682
683
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 681

def description
  @description
end

#itemNumberObject

Returns the value of attribute itemNumber.



679
680
681
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 679

def itemNumber
  @itemNumber
end

#partNumberObject

Returns the value of attribute partNumber.



678
679
680
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 678

def partNumber
  @partNumber
end

#receivedQuantityObject

Returns the value of attribute receivedQuantity.



680
681
682
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 680

def receivedQuantity
  @receivedQuantity
end