Sha256: f1cfce26e399613c1823ac4626e9694014bb6bdbb98d8076df557d046fda55d6

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 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.optional
    attribute :latestEstimatedArrivalDate, Types::JSON::DateTime.optional
    attribute :shippedOn, Types::JSON::DateTime.optional
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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