Sha256: e795fb593a54f87333c53c70741ba4e64ff0da1dbf791ef9ab8c39860d8df9d1

Contents?: true

Size: 921 Bytes

Versions: 6

Compression:

Stored size: 921 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  module Services
    class UpsFreight
      class ShipmentInformation
        attr_reader :documents,
                    :number,
                    :pickup_request_number,
                    :total,
                    :bol_id,
                    :shipping_method,
                    :warnings,
                    :data

        def initialize(
          total:,
          bol_id:,
          number:,
          pickup_request_number: nil,
          documents: [],
          shipping_method: nil,
          warnings: nil,
          data: {}
        )
          @total = total
          @bol_id = bol_id
          @number = number
          @pickup_request_number = pickup_request_number
          @documents = documents
          @shipping_method = shipping_method
          @warnings = warnings
          @data = data
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
friendly_shipping-0.8.1 lib/friendly_shipping/services/ups_freight/shipment_information.rb
friendly_shipping-0.8.0 lib/friendly_shipping/services/ups_freight/shipment_information.rb
friendly_shipping-0.7.3 lib/friendly_shipping/services/ups_freight/shipment_information.rb
friendly_shipping-0.7.2 lib/friendly_shipping/services/ups_freight/shipment_information.rb
friendly_shipping-0.7.1 lib/friendly_shipping/services/ups_freight/shipment_information.rb
friendly_shipping-0.7.0 lib/friendly_shipping/services/ups_freight/shipment_information.rb