Sha256: c083d51be2e9e22e5d8ad2ef68de7f6ff4655d99b3aa65be747b7452b56b8b8d

Contents?: true

Size: 523 Bytes

Versions: 6

Compression:

Stored size: 523 Bytes

Contents

module Pwinty

	class Shipment < Pwinty::Base
		attribute :shipmentId, Types::String.optional
		attribute :isTracked, Types::Bool
		attribute :trackingNumber, Types::String.optional
		attribute :trackingUrl, Types::String.optional
		attribute :carrier, Types::String.optional
		attribute :photoIds, Types::Array.of(Types::Integer)
		attribute :earliestEstimatedArrivalDate, Types::JSON::DateTime
		attribute :latestEstimatedArrivalDate, Types::JSON::DateTime
		attribute :shippedOn, Types::JSON::DateTime.optional
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pwinty-3.0.5 lib/pwinty/shipment.rb
pwinty-3.0.4 lib/pwinty/shipment.rb
pwinty-3.0.3 lib/pwinty/shipment.rb
pwinty-3.0.2 lib/pwinty/shipment.rb
pwinty-3.0.1 lib/pwinty/shipment.rb
pwinty-3.0.0 lib/pwinty/shipment.rb