Sha256: 9b76e857f11da711bc2c0f0dc1667346945ca6f76804097407094a1a5dcd2f67

Contents?: true

Size: 1.07 KB

Versions: 11

Compression:

Stored size: 1.07 KB

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    module Sales
      class Fulfilment < DearInventory::Model
        extend T::Sig

        fields(
          TaskID: {
            name: :task_id,
            type: :Guid,
          },
          FulfillmentNumber: {
            name: :fulfillment_number,
            type: :Integer,
          },
          LinkedInvoiceNumber: {
            name: :linked_invoice_number,
            type: :String,
          },
          FulFilmentStatus: {
            name: :fulfilment_status,
            type: :String,
          },
          Pick: {
            name: :pick,
            type: :Hash,
            model: DearInventory::Models::Sales::Fulfilments::PickPack,
          },
          Pack: {
            name: :pack,
            type: :Hash,
            model: DearInventory::Models::Sales::Fulfilments::PickPack,
          },
          Ship: {
            name: :ship,
            type: :Hash,
            model: DearInventory::Models::Sales::Fulfilments::Ship,
          }
        )
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dear_inventory-0.7.5 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.7.4 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.7.3 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.7.2 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.7.1 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.7.0 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.6.3 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.6.2 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.6.1 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.6.0 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.5.0 lib/dear_inventory/models/sales/fulfilment.rb