Sha256: 4665eaa35cfdd8890d844c804f51bcf2881efa9c55c2b8a4d28da6030407fc4b

Contents?: true

Size: 561 Bytes

Versions: 8

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

require_relative 'order_item'

module Desertcart
  module Marketplace
    class Movement < Desertcart::Resource
      attribute :carrier, type: LedgerSync::Type::String
      attribute :tracking_number, type: LedgerSync::Type::String
      attribute :shipping_address_id, type: LedgerSync::Type::Integer
      attribute :departed_at, type: LedgerSync::Type::Integer
      attribute :estimated_arrival_at, type: LedgerSync::Type::Integer
      references_many :order_items, to: Desertcart::Marketplace::OrderItem
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
desertcart-1.2.0 lib/desertcart/resources/marketplace/movement.rb
desertcart-1.1.5 lib/desertcart/resources/marketplace/movement.rb
desertcart-1.1.4 lib/desertcart/resources/marketplace/movement.rb
desertcart-1.1.3 lib/desertcart/resources/marketplace/movement.rb
desertcart-1.1.2 lib/desertcart/resources/marketplace/movement.rb
desertcart-1.1.1 lib/desertcart/resources/marketplace/movement.rb
desertcart-1.1.0 lib/desertcart/resources/marketplace/movement.rb
desertcart-1.0.0 lib/desertcart/resources/marketplace/movement.rb