Sha256: 21f0d9306223c0b018842a9454822a2e3d7dac20b4dc21a7319c3ffe8b51319f

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

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

      fields :authorization_number_fed_ex, :cod_amount_fed_ex, :dry_ice_weight_fed_ex, :insured_value_fed_ex, :is_alcohol_fed_ex, 
              :is_non_haz_lithium_fed_ex, :is_non_standard_container_fed_ex, :package_height_fed_ex, :package_length_fed_ex, 
              :package_tracking_number_fed_ex, :package_weight_fed_ex, :package_width_fed_ex, :priority_alert_content_fed_ex, 
              :reference1_fed_ex, :signature_releasefed_ex, :use_cod_fed_ex, :use_insured_value_fed_ex


      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

4 entries across 4 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/item_fulfillment_package_fed_ex.rb
netsuite-0.9.2 lib/netsuite/records/item_fulfillment_package_fed_ex.rb
netsuite-0.9.1 lib/netsuite/records/item_fulfillment_package_fed_ex.rb
netsuite-0.9.0 lib/netsuite/records/item_fulfillment_package_fed_ex.rb