Sha256: 69551f6ef1da55fdfcaa93087735ac7a5b2f34446785f47307a45ead68d2283c

Contents?: true

Size: 542 Bytes

Versions: 7

Compression:

Stored size: 542 Bytes

Contents

module FastshopCatalog
  class OrderStatusService < FastshopCatalog::BaseService

    def initialize
      @service = 'FastServices.WsConsultaStatusPedido/ConsultaStatusPedido.svc/service'
      @interface = 'IConsultaStatusPedido'
      @soap_method = :retorna_dados
      @return_key = 'Lista'
      super
    end

    def check(contract_code, order_number, partner_order_number)
      service_invoker('numeroPedidoFast' => order_number, 'numeroPedidoParceiro' => partner_order_number,
      'contrato' => contract_code)
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fastshop_catalog-0.0.7 lib/fastshop_catalog/order_status_service.rb
fastshop_catalog-0.0.6 lib/fastshop_catalog/order_status_service.rb
fastshop_catalog-0.0.5 lib/fastshop_catalog/order_status_service.rb
fastshop_catalog-0.0.4 lib/fastshop_catalog/order_status_service.rb
fastshop_catalog-0.0.3 lib/fastshop_catalog/order_status_service.rb
fastshop_catalog-0.0.2 lib/fastshop_catalog/order_status_service.rb
fastshop_catalog-0.0.1 lib/fastshop_catalog/order_status_service.rb