Sha256: c9c23a3c9a1b312440408a67bd3f3e216bfc11d76810ee1430127df071cc96f4

Contents?: true

Size: 622 Bytes

Versions: 66

Compression:

Stored size: 622 Bytes

Contents

module NetSuite
  module Records
    class ItemFulfillmentPackage
      include Support::Fields
      include Support::Records
      include Namespaces::TranSales

      fields :package_weight, :package_descr, :package_tracking_number

      def initialize(attributes_or_record = {})
        case attributes_or_record
        when Hash
          initialize_from_attributes_hash(attributes_or_record)
        when self.class
          initialize_from_record(attributes_or_record)
        end
      end

      def initialize_from_record(record)
        self.attributes = record.send(:attributes)
      end
    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.9.2 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.9.1 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.9.0 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.12 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.11 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.10 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.9 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.8 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.7 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.6 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.5 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.4 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.3 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.2 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.1 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.8.0 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.7.9 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.7.8 lib/netsuite/records/item_fulfillment_package.rb
netsuite-0.7.7 lib/netsuite/records/item_fulfillment_package.rb