Sha256: ab0a0a01cc55d0e1b86b52abafd6be610cf81cf89eb583308a3ad46592052579

Contents?: true

Size: 1.07 KB

Versions: 3

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: :Numeric,
          },
          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

3 entries across 3 versions & 1 rubygems

Version Path
dear_inventory-0.4.1 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.4.0 lib/dear_inventory/models/sales/fulfilment.rb
dear_inventory-0.3.0 lib/dear_inventory/models/sales/fulfilment.rb