Sha256: b10f0bb5147b13e5aefd7f1d18060cb1d1eb999fc7093080e49fbffee3463367

Contents?: true

Size: 543 Bytes

Versions: 1

Compression:

Stored size: 543 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

1 entries across 1 versions & 1 rubygems

Version Path
pwinty-3.0.6 lib/pwinty/shipment.rb