Sha256: 16c3b6682b814fadb3a8ee919c9fc3492797352537563e130e86cc5e6ec8a0b4

Contents?: true

Size: 807 Bytes

Versions: 6

Compression:

Stored size: 807 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Sales < DearInventory::Model
      class Fulfilments
        class Ship < DearInventory::Model
          extend T::Sig

          fields(
            Status: {
              name: :status,
              type: :String,
            },
            RequireBy: {
              name: :require_by,
              type: :Date,
            },
            ShippingAddress: {
              name: :status,
              type: :Hash,
              model: DearInventory::Models::ShippingAddress,
            },
            Lines: {
              name: :lines,
              type: :Array,
              model: DearInventory::Models::Sales::Fulfilments::ShipLine,
            }
          )
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/sales/fulfilments/ship.rb
dear_inventory-1.3.0 lib/dear_inventory/models/sales/fulfilments/ship.rb
dear_inventory-1.2.0 lib/dear_inventory/models/sales/fulfilments/ship.rb
dear_inventory-1.1.1 lib/dear_inventory/models/sales/fulfilments/ship.rb
dear_inventory-1.1.0 lib/dear_inventory/models/sales/fulfilments/ship.rb
dear_inventory-1.0.0 lib/dear_inventory/models/sales/fulfilments/ship.rb