Sha256: 4dcc59bd9e60f8f657bb570b0c8a8325cc9ff1f0a9a92c719042cb035a1a16f9

Contents?: true

Size: 522 Bytes

Versions: 4

Compression:

Stored size: 522 Bytes

Contents

# frozen_string_literal: true

require 'we_ship_client/entities/base'
require 'we_ship_client/entities/responses/order_accepted'
require 'we_ship_client/entities/responses/rejected_orders'

module WeShipClient
  module Entities
    module Responses
      # The response returned by `Interactors::ProcessOrders`.
      class ProcessOrders < Base
        attribute? :ordersHeldInGateway, Types::Strict::Array.of(OrderAccepted).optional
        attribute? :rejectedorders, RejectedOrders.optional
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
we_ship_client-1.2.0 lib/we_ship_client/entities/responses/process_orders.rb
we_ship_client-1.1.1 lib/we_ship_client/entities/responses/process_orders.rb
we_ship_client-1.1.0 lib/we_ship_client/entities/responses/process_orders.rb
we_ship_client-1.0.0 lib/we_ship_client/entities/responses/process_orders.rb