stellae-ruby-api 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d02f04b187da3b5e02bd46e21bda3c47ccce391
4
- data.tar.gz: 57952e88bbb13a6f4ca393ca692c9fc844a97167
3
+ metadata.gz: c980b130d43d35bffd5e4fbb4f0bb000b8dc3a3d
4
+ data.tar.gz: 39fe40a8edb7ccdc326f434163f64013dcbadf90
5
5
  SHA512:
6
- metadata.gz: f168e8c6f321a728f44d21c1e1e89bb48e16e3e3f3f090f53dbe64f5321f95a332bacaacc8cb743f2c7e1381cb761c4a91e68eabda3969291c52304f5d1bd478
7
- data.tar.gz: eeef780128a04a0fee31dfcf6ee098602707c230babb8184f1070ae1b092a3432a2f97932cdeb95e5b431369e4d9d6530cc9624318b373684a29c23ad652e3cb
6
+ metadata.gz: 4f362216196d5a5446f2bef1acdf903d46dfaa18bc4e88dac9a2d29b3302c528b0ac6571a3fb596204eab66d827f1fcc549c562d4d85fbf643aea1594ece8021
7
+ data.tar.gz: 3fb60a02d1b8cf0bdc3abe3ba30dbaa91e591dec8c57119c67f44fe3aebf3fee4b15d13fc1fa12418106d38f2a2d0cc90ab804e8937f4d39e9c37d922e6bc65e
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  *.gem
2
2
  *.rbc
3
+ *.DS_Store
3
4
  .bundle
4
5
  .config
5
6
  .yardoc
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.0.0-p481
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
3
+ - 2.0.0-p481
4
4
 
5
5
  matrix:
6
6
  allow_failures:
data/README.md CHANGED
@@ -62,7 +62,7 @@ order = {
62
62
  size: "XS"
63
63
  }
64
64
  ],
65
- shipping_code: "90",
65
+ shipping_method: "90",
66
66
  invoice_url: "http://example.com/R123123123/invoice"
67
67
  }
68
68
 
data/lib/stellae/order.rb CHANGED
@@ -1,88 +1,92 @@
1
1
  module Stellae
2
2
  class Order < Request
3
3
 
4
+ include State
5
+
4
6
  def build_order_request(order)
7
+
5
8
  construct_xml "new_order_entry" do |xml|
6
9
 
7
- xml.ohn :"xmlns:b" => SCHEMA[:datacontract], :"xmlns:i" => SCHEMA[:instance] do
8
- xml.b :CARRIER, order[:carrier]
9
- xml.b :CURRENCY, order[:currency]
10
- build_address(xml, "CUSTOMER", order[:billing_address])
11
- xml.b :CUSTOMER_CODE
12
- xml.b :CUSTOMER_PO, :"i:nil" => "true"
13
- build_address xml, "DELIVERY", order[:shipping_address]
14
- xml.b :DELIVERY_DC_EDI, :"i:nil" => "true"
15
- xml.b :DELIVERY_DOOR_EDI, :"i:nil" => "true"
16
- xml.b :DELIVERY_FROM, :"i:nil" => "true"
17
- xml.b :DELIVERY_ID, :"i:nil" => "true"
18
- xml.b :DELIVERY_MESSAGE do
19
- xml.cdata!(order[:gift_message])
20
- end
21
- xml.b :DELIVERY_TO, :"i:nil" => "true"
22
- xml.b :DISCOUNT, order[:item_discount] || 0
23
- xml.b :EMAIL, order[:email]
24
- xml.b :FREIGHT_ACCOUNT, :"i:nil" => "true"
25
- xml.b :MISC1, 0
26
- xml.b :MISC1_REASON, :"i:nil" => "true"
27
- xml.b :MISC2, 0
28
- xml.b :MISC2_REASON, :"i:nil" => "true"
29
- xml.b :ORDER_ID, order[:number]
30
- xml.b :ORDER_TYPE, order[:type] || 'OO'
31
- build_line_items xml, order
32
- xml.b :SERVICE, order[:shipping_code]
33
- xml.b :SHIPPING_FEES, shipping_fees(order)
34
- xml.b :TAXES, order[:tax] || 0
35
- xml.b :TOTAL_AMOUNT, order[:total_amount] || 0
36
- xml.b :USER1 do
37
- xml.cdata!(order[:invoice_url])
38
- end
39
- xml.b :USER2, :"i:nil" => "true"
40
- xml.b :USER3, :"i:nil" => "true"
41
- xml.b :USER4, :"i:nil" => "true"
42
- xml.b :USER5, :"i:nil" => "true"
43
- xml.b :WAREHOUSE, :"i:nil" => "true"
10
+ xml.ohn :"xmlns:a" => SCHEMA[:datacontract], :"xmlns:i" => SCHEMA[:instance] do
11
+
12
+ soap_field xml, :CARRIER, order[:carrier].upcase
13
+ soap_field xml, :CURRENCY, order[:currency].upcase
14
+ build_address xml, "CUSTOMER", order[:billing_address]
15
+ soap_field xml, :CUSTOMER_CODE
16
+ build_name xml, "CUSTOMER", order[:billing_address]
17
+ soap_field xml, :CUSTOMER_PO
18
+ build_telephone xml, "CUSTOMER", order[:billing_address]
19
+ build_address xml, "DELIVERY", order[:shipping_address]
20
+ soap_field xml, :DELIVERY_DC_EDI
21
+ soap_field xml, :DELIVERY_DOOR_EDI
22
+ soap_field xml, :DELIVERY_FROM
23
+ soap_field xml, :DELIVERY_ID
24
+ soap_field xml, :DELIVERY_MESSAGE, order[:gift_message]
25
+ build_name xml, "DELIVERY", order[:shipping_address]
26
+ build_telephone xml, "DELIVERY", order[:shipping_address]
27
+ soap_field xml, :DELIVERY_TO
28
+ soap_field xml, :DISCOUNT, order[:item_discount] || 0
29
+ soap_field xml, :EMAIL, order[:email]
30
+ soap_field xml, :FREIGHT_ACCOUNT
31
+ soap_field xml, :MISC1, 0
32
+ soap_field xml, :MISC1_REASON
33
+ soap_field xml, :MISC2, 0
34
+ soap_field xml, :MISC2_REASON
35
+ soap_field xml, :ORDER_ID, order[:number]
36
+ soap_field xml, :ORDER_TYPE, order[:type] || 'OO'
37
+ build_line_items xml, order
38
+ soap_field xml, :SERVICE, order[:shipping_method]
39
+ soap_field xml, :SHIPPING_FEES, shipping_fees(order)
40
+ soap_field xml, :TAXES, order[:tax] || 0
41
+ soap_field xml, :TOTAL_AMOUNT, order[:total_amount] || 0
42
+ soap_field xml, :USER1, order[:invoice_url]
43
+ soap_field xml, :USER2
44
+ soap_field xml, :USER3
45
+ soap_field xml, :USER4
46
+ soap_field xml, :USER5
47
+ soap_field xml, :WAREHOUSE
48
+
44
49
  end
45
50
 
46
51
  end
52
+
47
53
  end
48
54
 
49
55
  private
50
56
 
51
- def build_address(xml, type, address)
57
+ def build_name(xml, type, address)
52
58
  full_name = "#{address[:first_name]} #{address[:last_name]}"
53
- xml.b :"#{type}_NAME" do
54
- xml.cdata!(full_name)
55
- end
56
- xml.b :"#{type}_ADDRESS_1" do
57
- xml.cdata!(address[:address1])
58
- end
59
- xml.b :"#{type}_ADDRESS_2" do
60
- xml.cdata!(address[:address2])
61
- end
62
- xml.b :"#{type}_ADDRESS_3" do
63
- xml.cdata!(address[:address3]) if address[:address3]
64
- end
65
- xml.b :"#{type}_ADDRESS_CITY", address[:city]
66
- xml.b :"#{type}_ADDRESS_COUNTRY", address[:country]
67
- xml.b :"#{type}_ADDRESS_STATE", address[:state]
68
- xml.b :"#{type}_ADDRESS_ZIP", address[:zipcode]
69
- xml.b :"#{type}_TELEPHONE", address[:phone]
59
+ soap_field xml, :"#{type}_NAME", full_name
60
+ end
61
+
62
+ def build_telephone(xml, type, address)
63
+ soap_field xml, :"#{type}_TELEPHONE", address[:phone]
64
+ end
65
+
66
+ def build_address(xml, type, address)
67
+ soap_field xml, :"#{type}_ADDRESS_1", address[:address1]
68
+ soap_field xml, :"#{type}_ADDRESS_2", address[:address2]
69
+ soap_field xml, :"#{type}_ADDRESS_3", address[:address3]
70
+ soap_field xml, :"#{type}_ADDRESS_CITY", address[:city]
71
+ soap_field xml, :"#{type}_ADDRESS_COUNTRY", address[:country]
72
+ soap_field xml, :"#{type}_ADDRESS_STATE", state_abbr(address[:state])
73
+ soap_field xml, :"#{type}_ADDRESS_ZIP", address[:zipcode]
70
74
  end
71
75
 
72
76
  def build_line_items(xml, order)
73
- xml.b :Order_Details do
77
+ soap_field xml, :Order_Details do |xml|
74
78
  order[:line_items].each do |line_item|
75
- xml.b :Order_Detail_New do
76
- xml.b :COST, :"i:nil" => "true"
77
- xml.b :FLAGS, :"i:nil" => "true"
78
- xml.b :LINE_ID, :"i:nil" => "true"
79
- xml.b :LOT_NUMBER, :"i:nil" => "true"
80
- xml.b :PRICE, line_item[:price]
81
- xml.b :QUANTITY, line_item[:quantity]
82
- xml.b :RETAIL_PRICE, :"i:nil" => "true"
83
- xml.b :SEASON, :"i:nil" => "true"
84
- xml.b :SIZE, line_item[:size]
85
- xml.b :SKU, line_item[:sku]
79
+ soap_field xml, :Order_Detail_New do |xml|
80
+ soap_field xml, :COST
81
+ soap_field xml, :FLAGS
82
+ soap_field xml, :LINE_ID
83
+ soap_field xml, :LOT_NUMBER
84
+ soap_field xml, :PRICE, line_item[:price]
85
+ soap_field xml, :QUANTITY, line_item[:quantity]
86
+ soap_field xml, :RETAIL_PRICE
87
+ soap_field xml, :SEASON
88
+ soap_field xml, :SIZE, line_item[:size]
89
+ soap_field xml, :SKU, line_item[:sku]
86
90
  end
87
91
  end
88
92
  end
@@ -41,11 +41,25 @@ module Stellae
41
41
  end
42
42
 
43
43
  def build_user(xml)
44
- xml.user :"xmlns:b" => SCHEMA[:datacontract], :"xmlns:i" => SCHEMA[:instance] do
45
- xml.b :user_name, @client.username
46
- xml.b :user_password, @client.password
44
+ xml.user :"xmlns:a" => SCHEMA[:datacontract], :"xmlns:i" => SCHEMA[:instance] do
45
+ soap_field xml, :user_name, @client.username
46
+ soap_field xml, :user_password, @client.password
47
47
  end
48
48
  end
49
49
 
50
+ def soap_field(xml, field, value = nil, prefix = "a")
51
+ if block_given?
52
+ xml.tag! prefix, field.to_sym do
53
+ yield(xml)
54
+ end
55
+ else
56
+ xml.tag! prefix, field.to_sym, soap_value(value)
57
+ end
58
+ end
59
+
60
+ def soap_value(value)
61
+ value.presence || { :"i:nil" => "true" }
62
+ end
63
+
50
64
  end
51
65
  end
@@ -0,0 +1,65 @@
1
+ module Stellae
2
+
3
+ module State
4
+
5
+ STATE_MAP = {
6
+ "Alabama" => "AL",
7
+ "Alaska" => "AK",
8
+ "Arizona" => "AZ",
9
+ "Arkansas" => "AR",
10
+ "California" => "CA",
11
+ "Colorado" => "CO",
12
+ "Connecticut" => "CT",
13
+ "Delaware" => "DE",
14
+ "District of Columbia" => "DC",
15
+ "Florida" => "FL",
16
+ "Georgia" => "GA",
17
+ "Hawaii" => "HI",
18
+ "Idaho" => "ID",
19
+ "Illinois" => "IL",
20
+ "Indiana" => "IN",
21
+ "Iowa" => "IA",
22
+ "Kansas" => "KS",
23
+ "Kentucky" => "KY",
24
+ "Louisiana" => "LA",
25
+ "Maine" => "ME",
26
+ "Maryland" => "MD",
27
+ "Massachusetts" => "MA",
28
+ "Michigan" => "MI",
29
+ "Minnesota" => "MN",
30
+ "Mississippi" => "MS",
31
+ "Missouri" => "MO",
32
+ "Montana" => "MT",
33
+ "Nebraska" => "NE",
34
+ "Nevada" => "NV",
35
+ "New Hampshire" => "NH",
36
+ "New Jersey" => "NJ",
37
+ "New Mexico" => "NM",
38
+ "New York" => "NY",
39
+ "North Carolina" => "NC",
40
+ "North Dakota" => "ND",
41
+ "Ohio" => "OH",
42
+ "Oklahoma" => "OK",
43
+ "Oregon" => "OR",
44
+ "Pennsylvania" => "PA",
45
+ "Rhode Island" => "RI",
46
+ "South Carolina" => "SC",
47
+ "South Dakota" => "SD",
48
+ "Tennessee" => "TN",
49
+ "Texas" => "TX",
50
+ "Utah" => "UT",
51
+ "Vermont" => "VT",
52
+ "Virginia" => "VA",
53
+ "Washington" => "WA",
54
+ "West Virginia" => "WV",
55
+ "Wisconsin" => "WI",
56
+ "Wyoming" => "WY"
57
+ }
58
+
59
+ def state_abbr(state)
60
+ STATE_MAP[state] || state
61
+ end
62
+
63
+ end
64
+
65
+ end
@@ -1,3 +1,3 @@
1
1
  module Stellae
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/stellae.rb CHANGED
@@ -1,6 +1,8 @@
1
+ require "active_support/core_ext/object/blank"
1
2
  require "stellae/version"
2
3
  require "stellae/response"
3
4
  require "stellae/client"
4
5
  require "stellae/request"
6
+ require "stellae/state"
5
7
  require "stellae/order"
6
8
  require "stellae/inventory"
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Stellae::Client do
4
- let(:client) { Stellae::Client.new("TESTACCOUNT", "TESTPASSWORD", test_mode: true) }
4
+ let(:client) { Stellae::Client.new("DELPOZOTEST", "9kUw#xAmk7uT", test_mode: true) }
5
5
 
6
6
  describe '#send_order_request', :vcr do
7
7
  let(:result) { client.send_order_request(order_hash) }
data/spec/spec_helper.rb CHANGED
@@ -48,22 +48,22 @@ def order_hash
48
48
  gift_wrap: "true",
49
49
  gift_message: "Happy Birthday!",
50
50
  email: "someone@somehwere.com",
51
- number: "R123123123",
51
+ number: "R123123125",
52
52
  type: "OO",
53
53
  currency: "USD",
54
54
  line_items: [
55
55
  {
56
56
  price: "127.23",
57
57
  quantity: "1",
58
- sku: "326604071",
58
+ sku: "8433889054239",
59
59
  size: "XS"
60
60
  }
61
61
  ],
62
- shipping_code: "90",
63
- invoice_url: "http://example.com/R123123123/invoice",
64
- shipping_cost: 10,
62
+ shipping_method: "90",
63
+ invoice_url: "http://example.com/R123123123/invoice",
64
+ shipping_cost: 10,
65
65
  shipping_discount: -5,
66
- item_discount: 0,
67
- total_amount: 132.23
66
+ item_discount: 0,
67
+ total_amount: 132.23
68
68
  }
69
69
  end
@@ -5,10 +5,10 @@ http_interactions:
5
5
  uri: https://webservice.stellae.us/SIIServices/Siiservice.svc?wsdl
6
6
  body:
7
7
  encoding: UTF-8
8
- string: <?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
9
- xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action s:mustUnderstand="1">SII/ISIIService/get_inventory_on_hand</a:Action><a:MessageID>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
8
+ string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
9
+ s:mustUnderstand="1">SII/ISIIService/get_inventory_on_hand</a:Action><a:MessageID>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
10
10
  s:mustUnderstand="1">https://webservice.stellae.us/SIIServices/Siiservice.svc</a:To></s:Header><s:Body><get_inventory_on_hand
11
- xmlns="SII"><user xmlns:b="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:user_name>TESTACCOUNT</b:user_name><b:user_password>TESTPASSWORD</b:user_password></user><upcs
11
+ xmlns="SII"><user xmlns:a="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:user_name>DELPOZOTEST</a:user_name><a:user_password>9kUw#xAmk7uT</a:user_password></user><upcs
12
12
  xmlns:b="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/></get_inventory_on_hand></s:Body></s:Envelope>
13
13
  headers:
14
14
  Accept-Encoding:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Content-Length:
28
- - '5234'
28
+ - '11856'
29
29
  Content-Type:
30
30
  - application/soap+xml; charset=utf-8
31
31
  Server:
@@ -33,41 +33,79 @@ http_interactions:
33
33
  X-Powered-By:
34
34
  - ASP.NET
35
35
  Date:
36
- - Mon, 17 Aug 2015 19:33:52 GMT
36
+ - Wed, 16 Dec 2015 22:29:08 GMT
37
37
  body:
38
38
  encoding: UTF-8
39
39
  string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
40
40
  s:mustUnderstand="1">SII/ISIIService/get_inventory_on_handResponse</a:Action><ActivityId
41
- CorrelationId="16c31059-054f-4123-9a04-996492f30840" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">d9bede9c-86bc-43f1-aad2-5140ae15bc57</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><get_inventory_on_handResponse
41
+ CorrelationId="79a6d0a9-3785-4631-b0c7-877e953a9e47" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">d6cfdc05-42ba-4ee2-b597-dc244b2be31c</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><get_inventory_on_handResponse
42
42
  xmlns="SII"><get_inventory_on_handResult xmlns:b="http://schemas.datacontract.org/2004/07/"
43
43
  xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:Inventory_values><b:UPC_Inventory_Response><b:lot>
44
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326604071</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
45
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326609016</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
46
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326612425</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
47
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326614291</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
48
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326616970</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
49
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326617439</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
50
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326624327</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
51
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326625879</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
52
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326626167</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
53
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326626532</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
54
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326627332</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
55
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326630329</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
56
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326636519</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
57
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326642628</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
58
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326646312</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
59
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326652161</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
60
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326656887</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
61
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326666544</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
62
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326668704</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
63
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326669917</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
64
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326671947</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
65
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326682263</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
66
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326685907</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
67
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326691679</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
68
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326692239</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
69
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326696838</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
70
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326699950</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response></b:Inventory_values><b:status>0001</b:status></get_inventory_on_handResult></get_inventory_on_handResponse></s:Body></s:Envelope>
44
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043134</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
45
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043141</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
46
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043158</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
47
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043165</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
48
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043172</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
49
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043189</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
50
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043196</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
51
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043202</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
52
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043219</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
53
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043226</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
54
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043233</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
55
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043240</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
56
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043257</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
57
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043264</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
58
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049525</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
59
+ </b:lot><b:on_hand>198</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049945</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
60
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049952</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
61
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049969</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
62
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050019</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
63
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050026</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
64
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050033</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
65
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050163</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
66
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050170</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
67
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050187</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
68
+ </b:lot><b:on_hand>186</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050231</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
69
+ </b:lot><b:on_hand>192</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050248</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
70
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050255</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
71
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051177</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
72
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051184</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
73
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051405</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
74
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051412</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
75
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052051</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
76
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052068</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
77
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052075</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
78
+ </b:lot><b:on_hand>196</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052105</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
79
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052112</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
80
+ </b:lot><b:on_hand>197</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052648</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
81
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052655</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
82
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052662</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
83
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052730</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
84
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052747</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
85
+ </b:lot><b:on_hand>197</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053294</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
86
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053300</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
87
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053317</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
88
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053478</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
89
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053485</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
90
+ </b:lot><b:on_hand>196</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053591</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
91
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054178</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
92
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054185</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
93
+ </b:lot><b:on_hand>197</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054239</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
94
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054246</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
95
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054420</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
96
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054437</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
97
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054475</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
98
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054499</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
99
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054857</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
100
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055021</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
101
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055144</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
102
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055151</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
103
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055168</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
104
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055175</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
105
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055250</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
106
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055267</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
107
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055274</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
108
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055281</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response></b:Inventory_values><b:status>0001</b:status></get_inventory_on_handResult></get_inventory_on_handResponse></s:Body></s:Envelope>
71
109
  http_version:
72
- recorded_at: Mon, 17 Aug 2015 19:36:57 GMT
110
+ recorded_at: Wed, 16 Dec 2015 22:30:36 GMT
73
111
  recorded_with: VCR 2.9.3
@@ -5,10 +5,10 @@ http_interactions:
5
5
  uri: https://webservice.stellae.us/SIIServices/Siiservice.svc?wsdl
6
6
  body:
7
7
  encoding: UTF-8
8
- string: <?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
9
- xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action s:mustUnderstand="1">SII/ISIIService/get_inventory_on_hand</a:Action><a:MessageID>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
8
+ string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
9
+ s:mustUnderstand="1">SII/ISIIService/get_inventory_on_hand</a:Action><a:MessageID>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
10
10
  s:mustUnderstand="1">https://webservice.stellae.us/SIIServices/Siiservice.svc</a:To></s:Header><s:Body><get_inventory_on_hand
11
- xmlns="SII"><user xmlns:b="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:user_name>TESTACCOUNT</b:user_name><b:user_password>TESTPASSWORD</b:user_password></user><upcs
11
+ xmlns="SII"><user xmlns:a="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:user_name>DELPOZOTEST</a:user_name><a:user_password>9kUw#xAmk7uT</a:user_password></user><upcs
12
12
  xmlns:b="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/></get_inventory_on_hand></s:Body></s:Envelope>
13
13
  headers:
14
14
  Accept-Encoding:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Content-Length:
28
- - '5234'
28
+ - '11856'
29
29
  Content-Type:
30
30
  - application/soap+xml; charset=utf-8
31
31
  Server:
@@ -33,41 +33,79 @@ http_interactions:
33
33
  X-Powered-By:
34
34
  - ASP.NET
35
35
  Date:
36
- - Mon, 17 Aug 2015 19:33:52 GMT
36
+ - Wed, 16 Dec 2015 22:29:08 GMT
37
37
  body:
38
38
  encoding: UTF-8
39
39
  string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
40
40
  s:mustUnderstand="1">SII/ISIIService/get_inventory_on_handResponse</a:Action><ActivityId
41
- CorrelationId="d7225c35-6e0b-4e13-9bb3-d9122aa5d951" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">ec66bb11-0509-43c5-812c-f535f104b32b</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><get_inventory_on_handResponse
41
+ CorrelationId="d876d4a1-9623-4f01-9828-a0af8fd0f935" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">c71782fc-0e75-45e5-8b5e-4b6ff40ff7ab</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><get_inventory_on_handResponse
42
42
  xmlns="SII"><get_inventory_on_handResult xmlns:b="http://schemas.datacontract.org/2004/07/"
43
43
  xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:Inventory_values><b:UPC_Inventory_Response><b:lot>
44
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326604071</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
45
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326609016</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
46
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326612425</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
47
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326614291</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
48
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326616970</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
49
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326617439</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
50
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326624327</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
51
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326625879</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
52
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326626167</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
53
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326626532</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
54
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326627332</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
55
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326630329</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
56
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326636519</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
57
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326642628</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
58
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326646312</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
59
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326652161</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
60
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326656887</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
61
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326666544</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
62
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326668704</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
63
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326669917</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
64
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326671947</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
65
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326682263</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
66
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326685907</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
67
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326691679</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
68
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326692239</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
69
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326696838</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
70
- </b:lot><b:on_hand>1</b:on_hand><b:uom>EA</b:uom><b:upc>326699950</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response></b:Inventory_values><b:status>0001</b:status></get_inventory_on_handResult></get_inventory_on_handResponse></s:Body></s:Envelope>
44
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043134</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
45
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043141</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
46
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043158</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
47
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043165</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
48
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043172</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
49
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043189</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
50
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043196</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
51
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043202</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
52
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043219</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
53
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043226</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
54
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043233</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
55
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043240</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
56
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043257</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
57
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889043264</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
58
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049525</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
59
+ </b:lot><b:on_hand>198</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049945</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
60
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049952</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
61
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889049969</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
62
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050019</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
63
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050026</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
64
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050033</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
65
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050163</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
66
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050170</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
67
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050187</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
68
+ </b:lot><b:on_hand>186</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050231</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
69
+ </b:lot><b:on_hand>192</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050248</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
70
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889050255</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
71
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051177</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
72
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051184</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
73
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051405</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
74
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889051412</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
75
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052051</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
76
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052068</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
77
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052075</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
78
+ </b:lot><b:on_hand>196</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052105</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
79
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052112</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
80
+ </b:lot><b:on_hand>197</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052648</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
81
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052655</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
82
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052662</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
83
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052730</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
84
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889052747</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
85
+ </b:lot><b:on_hand>197</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053294</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
86
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053300</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
87
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053317</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
88
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053478</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
89
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053485</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
90
+ </b:lot><b:on_hand>196</b:on_hand><b:uom>EA</b:uom><b:upc>8433889053591</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
91
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054178</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
92
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054185</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
93
+ </b:lot><b:on_hand>197</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054239</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
94
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054246</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
95
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054420</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
96
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054437</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
97
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054475</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
98
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054499</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
99
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889054857</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
100
+ </b:lot><b:on_hand>199</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055021</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
101
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055144</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
102
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055151</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
103
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055168</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
104
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055175</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
105
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055250</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
106
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055267</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
107
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055274</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response><b:UPC_Inventory_Response><b:lot>
108
+ </b:lot><b:on_hand>200</b:on_hand><b:uom>EA</b:uom><b:upc>8433889055281</b:upc><b:warehouse>NYC</b:warehouse></b:UPC_Inventory_Response></b:Inventory_values><b:status>0001</b:status></get_inventory_on_handResult></get_inventory_on_handResponse></s:Body></s:Envelope>
71
109
  http_version:
72
- recorded_at: Mon, 17 Aug 2015 19:36:56 GMT
110
+ recorded_at: Wed, 16 Dec 2015 22:30:36 GMT
73
111
  recorded_with: VCR 2.9.3
@@ -8,25 +8,24 @@ http_interactions:
8
8
  string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
9
9
  s:mustUnderstand="1">SII/ISIIService/new_order_entry</a:Action><a:MessageID>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
10
10
  s:mustUnderstand="1">https://webservice.stellae.us/SIIServices/Siiservice.svc</a:To></s:Header><s:Body><new_order_entry
11
- xmlns="SII"><user xmlns:b="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:user_name>TESTACCOUNT</b:user_name><b:user_password>TESTPASSWORD</b:user_password></user><ohn
12
- xmlns:b="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:CARRIER>FEDEX</b:CARRIER><b:CURRENCY>USD</b:CURRENCY><b:CUSTOMER_NAME><![CDATA[John
13
- Smith]]></b:CUSTOMER_NAME><b:CUSTOMER_ADDRESS_1><![CDATA[123 Here Now]]></b:CUSTOMER_ADDRESS_1><b:CUSTOMER_ADDRESS_2><![CDATA[2nd
14
- Floor]]></b:CUSTOMER_ADDRESS_2><b:CUSTOMER_ADDRESS_3><![CDATA[]]></b:CUSTOMER_ADDRESS_3><b:CUSTOMER_ADDRESS_CITY>New
15
- York</b:CUSTOMER_ADDRESS_CITY><b:CUSTOMER_ADDRESS_COUNTRY>US</b:CUSTOMER_ADDRESS_COUNTRY><b:CUSTOMER_ADDRESS_STATE>New
16
- York</b:CUSTOMER_ADDRESS_STATE><b:CUSTOMER_ADDRESS_ZIP>10012</b:CUSTOMER_ADDRESS_ZIP><b:CUSTOMER_TELEPHONE>123-123-1234</b:CUSTOMER_TELEPHONE><b:CUSTOMER_CODE/><b:CUSTOMER_PO
17
- i:nil="true"/><b:DELIVERY_NAME><![CDATA[John Smith]]></b:DELIVERY_NAME><b:DELIVERY_ADDRESS_1><![CDATA[123
18
- Here Now]]></b:DELIVERY_ADDRESS_1><b:DELIVERY_ADDRESS_2><![CDATA[2nd Floor]]></b:DELIVERY_ADDRESS_2><b:DELIVERY_ADDRESS_3><![CDATA[]]></b:DELIVERY_ADDRESS_3><b:DELIVERY_ADDRESS_CITY>New
19
- York</b:DELIVERY_ADDRESS_CITY><b:DELIVERY_ADDRESS_COUNTRY>US</b:DELIVERY_ADDRESS_COUNTRY><b:DELIVERY_ADDRESS_STATE>New
20
- York</b:DELIVERY_ADDRESS_STATE><b:DELIVERY_ADDRESS_ZIP>10012</b:DELIVERY_ADDRESS_ZIP><b:DELIVERY_TELEPHONE>123-123-1234</b:DELIVERY_TELEPHONE><b:DELIVERY_DC_EDI
21
- i:nil="true"/><b:DELIVERY_DOOR_EDI i:nil="true"/><b:DELIVERY_FROM i:nil="true"/><b:DELIVERY_ID
22
- i:nil="true"/><b:DELIVERY_MESSAGE><![CDATA[Happy Birthday!]]></b:DELIVERY_MESSAGE><b:DELIVERY_TO
23
- i:nil="true"/><b:DISCOUNT>0</b:DISCOUNT><b:EMAIL>someone@somehwere.com</b:EMAIL><b:FREIGHT_ACCOUNT
24
- i:nil="true"/><b:MISC1>0</b:MISC1><b:MISC1_REASON i:nil="true"/><b:MISC2>0</b:MISC2><b:MISC2_REASON
25
- i:nil="true"/><b:ORDER_ID>R123123123</b:ORDER_ID><b:ORDER_TYPE>OO</b:ORDER_TYPE><b:Order_Details><b:Order_Detail_New><b:COST
26
- i:nil="true"/><b:FLAGS i:nil="true"/><b:LINE_ID i:nil="true"/><b:LOT_NUMBER
27
- i:nil="true"/><b:PRICE>127.23</b:PRICE><b:QUANTITY>1</b:QUANTITY><b:RETAIL_PRICE
28
- i:nil="true"/><b:SEASON i:nil="true"/><b:SIZE>XS</b:SIZE><b:SKU>326604071</b:SKU></b:Order_Detail_New></b:Order_Details><b:SERVICE>90</b:SERVICE><b:SHIPPING_FEES>5</b:SHIPPING_FEES><b:TAXES>0</b:TAXES><b:TOTAL_AMOUNT>132.23</b:TOTAL_AMOUNT><b:USER1><![CDATA[http://example.com/R123123123/invoice]]></b:USER1><b:USER2
29
- i:nil="true"/><b:USER3 i:nil="true"/><b:USER4 i:nil="true"/><b:USER5 i:nil="true"/><b:WAREHOUSE
11
+ xmlns="SII"><user xmlns:a="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:user_name>DELPOZOTEST</a:user_name><a:user_password>9kUw#xAmk7uT</a:user_password></user><ohn
12
+ xmlns:a="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:CARRIER>FEDEX</a:CARRIER><a:CURRENCY>USD</a:CURRENCY><a:CUSTOMER_ADDRESS_1>123
13
+ Here Now</a:CUSTOMER_ADDRESS_1><a:CUSTOMER_ADDRESS_2>2nd Floor</a:CUSTOMER_ADDRESS_2><a:CUSTOMER_ADDRESS_3
14
+ i:nil="true"/><a:CUSTOMER_ADDRESS_CITY>New York</a:CUSTOMER_ADDRESS_CITY><a:CUSTOMER_ADDRESS_COUNTRY>US</a:CUSTOMER_ADDRESS_COUNTRY><a:CUSTOMER_ADDRESS_STATE>NY</a:CUSTOMER_ADDRESS_STATE><a:CUSTOMER_ADDRESS_ZIP>10012</a:CUSTOMER_ADDRESS_ZIP><a:CUSTOMER_CODE
15
+ i:nil="true"/><a:CUSTOMER_NAME>John Smith</a:CUSTOMER_NAME><a:CUSTOMER_PO
16
+ i:nil="true"/><a:CUSTOMER_TELEPHONE>123-123-1234</a:CUSTOMER_TELEPHONE><a:DELIVERY_ADDRESS_1>123
17
+ Here Now</a:DELIVERY_ADDRESS_1><a:DELIVERY_ADDRESS_2>2nd Floor</a:DELIVERY_ADDRESS_2><a:DELIVERY_ADDRESS_3
18
+ i:nil="true"/><a:DELIVERY_ADDRESS_CITY>New York</a:DELIVERY_ADDRESS_CITY><a:DELIVERY_ADDRESS_COUNTRY>US</a:DELIVERY_ADDRESS_COUNTRY><a:DELIVERY_ADDRESS_STATE>NY</a:DELIVERY_ADDRESS_STATE><a:DELIVERY_ADDRESS_ZIP>10012</a:DELIVERY_ADDRESS_ZIP><a:DELIVERY_DC_EDI
19
+ i:nil="true"/><a:DELIVERY_DOOR_EDI i:nil="true"/><a:DELIVERY_FROM i:nil="true"/><a:DELIVERY_ID
20
+ i:nil="true"/><a:DELIVERY_MESSAGE>Happy Birthday!</a:DELIVERY_MESSAGE><a:DELIVERY_NAME>John
21
+ Smith</a:DELIVERY_NAME><a:DELIVERY_TELEPHONE>123-123-1234</a:DELIVERY_TELEPHONE><a:DELIVERY_TO
22
+ i:nil="true"/><a:DISCOUNT>0</a:DISCOUNT><a:EMAIL>someone@somehwere.com</a:EMAIL><a:FREIGHT_ACCOUNT
23
+ i:nil="true"/><a:MISC1>0</a:MISC1><a:MISC1_REASON i:nil="true"/><a:MISC2>0</a:MISC2><a:MISC2_REASON
24
+ i:nil="true"/><a:ORDER_ID>R123123125</a:ORDER_ID><a:ORDER_TYPE>OO</a:ORDER_TYPE><a:Order_Details><a:Order_Detail_New><a:COST
25
+ i:nil="true"/><a:FLAGS i:nil="true"/><a:LINE_ID i:nil="true"/><a:LOT_NUMBER
26
+ i:nil="true"/><a:PRICE>127.23</a:PRICE><a:QUANTITY>1</a:QUANTITY><a:RETAIL_PRICE
27
+ i:nil="true"/><a:SEASON i:nil="true"/><a:SIZE>XS</a:SIZE><a:SKU>8433889054239</a:SKU></a:Order_Detail_New></a:Order_Details><a:SERVICE>90</a:SERVICE><a:SHIPPING_FEES>5</a:SHIPPING_FEES><a:TAXES>0</a:TAXES><a:TOTAL_AMOUNT>132.23</a:TOTAL_AMOUNT><a:USER1>http://example.com/R123123123/invoice</a:USER1><a:USER2
28
+ i:nil="true"/><a:USER3 i:nil="true"/><a:USER4 i:nil="true"/><a:USER5 i:nil="true"/><a:WAREHOUSE
30
29
  i:nil="true"/></ohn></new_order_entry></s:Body></s:Envelope>
31
30
  headers:
32
31
  Accept-Encoding:
@@ -51,15 +50,15 @@ http_interactions:
51
50
  X-Powered-By:
52
51
  - ASP.NET
53
52
  Date:
54
- - Mon, 17 Aug 2015 20:55:46 GMT
53
+ - Thu, 17 Dec 2015 16:32:46 GMT
55
54
  body:
56
55
  encoding: UTF-8
57
56
  string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
58
57
  s:mustUnderstand="1">SII/ISIIService/new_order_entryResponse</a:Action><ActivityId
59
- CorrelationId="3dd83e7d-16b5-4041-af29-0ad9eec526a7" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">7b61e1aa-f926-47fb-bb0f-8d96bca6c2ee</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><new_order_entryResponse
58
+ CorrelationId="c5e5b0d9-9cbd-43cc-aa4c-94fa8bd32f98" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">a5525994-a65e-4ec0-aeaa-a38ff4b9de4f</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><new_order_entryResponse
60
59
  xmlns="SII"><new_order_entryResult xmlns:b="http://schemas.datacontract.org/2004/07/"
61
60
  xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:detail_status i:nil="true"
62
- xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><b:sii_order_number>11736</b:sii_order_number><b:status>0001</b:status></new_order_entryResult></new_order_entryResponse></s:Body></s:Envelope>
61
+ xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><b:sii_order_number>11786</b:sii_order_number><b:status>0001</b:status></new_order_entryResult></new_order_entryResponse></s:Body></s:Envelope>
63
62
  http_version:
64
- recorded_at: Mon, 17 Aug 2015 20:58:49 GMT
63
+ recorded_at: Thu, 17 Dec 2015 16:34:20 GMT
65
64
  recorded_with: VCR 2.9.3
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://webservice.stellae.us/SIIServices/Siiservice.svc?wsdl
6
+ body:
7
+ encoding: UTF-8
8
+ string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
9
+ s:mustUnderstand="1">SII/ISIIService/new_order_entry</a:Action><a:MessageID>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:MessageID><a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo><a:To
10
+ s:mustUnderstand="1">https://webservice.stellae.us/SIIServices/Siiservice.svc</a:To></s:Header><s:Body><new_order_entry
11
+ xmlns="SII"><user xmlns:a="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:user_name>DELPOZOTEST</a:user_name><a:user_password>9kUw#xAmk7uT</a:user_password></user><ohn
12
+ xmlns:a="http://schemas.datacontract.org/2004/07/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:CARRIER>FEDEX</a:CARRIER><a:CURRENCY>USD</a:CURRENCY><a:CUSTOMER_ADDRESS_1>123
13
+ Here Now</a:CUSTOMER_ADDRESS_1><a:CUSTOMER_ADDRESS_2>2nd Floor</a:CUSTOMER_ADDRESS_2><a:CUSTOMER_ADDRESS_3
14
+ i:nil="true"/><a:CUSTOMER_ADDRESS_CITY>New York</a:CUSTOMER_ADDRESS_CITY><a:CUSTOMER_ADDRESS_COUNTRY>US</a:CUSTOMER_ADDRESS_COUNTRY><a:CUSTOMER_ADDRESS_STATE>New
15
+ York</a:CUSTOMER_ADDRESS_STATE><a:CUSTOMER_ADDRESS_ZIP>10012</a:CUSTOMER_ADDRESS_ZIP><a:CUSTOMER_CODE
16
+ i:nil="true"/><a:CUSTOMER_NAME>John Smith</a:CUSTOMER_NAME><a:CUSTOMER_PO
17
+ i:nil="true"/><a:CUSTOMER_TELEPHONE>123-123-1234</a:CUSTOMER_TELEPHONE><a:DELIVERY_ADDRESS_1>123
18
+ Here Now</a:DELIVERY_ADDRESS_1><a:DELIVERY_ADDRESS_2>2nd Floor</a:DELIVERY_ADDRESS_2><a:DELIVERY_ADDRESS_3
19
+ i:nil="true"/><a:DELIVERY_ADDRESS_CITY>New York</a:DELIVERY_ADDRESS_CITY><a:DELIVERY_ADDRESS_COUNTRY>US</a:DELIVERY_ADDRESS_COUNTRY><a:DELIVERY_ADDRESS_STATE>New
20
+ York</a:DELIVERY_ADDRESS_STATE><a:DELIVERY_ADDRESS_ZIP>10012</a:DELIVERY_ADDRESS_ZIP><a:DELIVERY_DC_EDI
21
+ i:nil="true"/><a:DELIVERY_DOOR_EDI i:nil="true"/><a:DELIVERY_FROM i:nil="true"/><a:DELIVERY_ID
22
+ i:nil="true"/><a:DELIVERY_MESSAGE>Happy Birthday!</a:DELIVERY_MESSAGE><a:DELIVERY_NAME>John
23
+ Smith</a:DELIVERY_NAME><a:DELIVERY_TELEPHONE>123-123-1234</a:DELIVERY_TELEPHONE><a:DELIVERY_TO
24
+ i:nil="true"/><a:DISCOUNT>0</a:DISCOUNT><a:EMAIL>someone@somehwere.com</a:EMAIL><a:FREIGHT_ACCOUNT
25
+ i:nil="true"/><a:MISC1>0</a:MISC1><a:MISC1_REASON i:nil="true"/><a:MISC2>0</a:MISC2><a:MISC2_REASON
26
+ i:nil="true"/><a:ORDER_ID>R123123124</a:ORDER_ID><a:ORDER_TYPE>OO</a:ORDER_TYPE><a:Order_Details><a:Order_Detail_New><a:COST
27
+ i:nil="true"/><a:FLAGS i:nil="true"/><a:LINE_ID i:nil="true"/><a:LOT_NUMBER
28
+ i:nil="true"/><a:PRICE>127.23</a:PRICE><a:QUANTITY>1</a:QUANTITY><a:RETAIL_PRICE
29
+ i:nil="true"/><a:SEASON i:nil="true"/><a:SIZE>XS</a:SIZE><a:SKU>8433889054239</a:SKU></a:Order_Detail_New></a:Order_Details><a:SERVICE>90</a:SERVICE><a:SHIPPING_FEES>5</a:SHIPPING_FEES><a:TAXES>0</a:TAXES><a:TOTAL_AMOUNT>132.23</a:TOTAL_AMOUNT><a:USER1>http://example.com/R123123123/invoice</a:USER1><a:USER2
30
+ i:nil="true"/><a:USER3 i:nil="true"/><a:USER4 i:nil="true"/><a:USER5 i:nil="true"/><a:WAREHOUSE
31
+ i:nil="true"/></ohn></new_order_entry></s:Body></s:Envelope>
32
+ headers:
33
+ Accept-Encoding:
34
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
35
+ Accept:
36
+ - '*/*'
37
+ User-Agent:
38
+ - Ruby
39
+ Content-Type:
40
+ - application/soap+xml; charset=utf-8
41
+ response:
42
+ status:
43
+ code: 200
44
+ message: OK
45
+ headers:
46
+ Content-Length:
47
+ - '880'
48
+ Content-Type:
49
+ - application/soap+xml; charset=utf-8
50
+ Server:
51
+ - Microsoft-IIS/8.5
52
+ X-Powered-By:
53
+ - ASP.NET
54
+ Date:
55
+ - Wed, 16 Dec 2015 21:21:02 GMT
56
+ body:
57
+ encoding: UTF-8
58
+ string: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
59
+ s:mustUnderstand="1">SII/ISIIService/new_order_entryResponse</a:Action><ActivityId
60
+ CorrelationId="1d6b8415-75bc-4b83-9635-96d256f1041c" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">0040b14a-0c54-439d-be7f-653051849330</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><new_order_entryResponse
61
+ xmlns="SII"><new_order_entryResult xmlns:b="http://schemas.datacontract.org/2004/07/"
62
+ xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:detail_status i:nil="true"
63
+ xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><b:sii_order_number>11785</b:sii_order_number><b:status>0001</b:status></new_order_entryResult></new_order_entryResponse></s:Body></s:Envelope>
64
+ http_version:
65
+ recorded_at: Wed, 16 Dec 2015 21:22:29 GMT
66
+ recorded_with: VCR 2.9.3
data/stellae.gemspec CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "builder"
22
22
  spec.add_dependency "xml-simple"
23
23
  spec.add_dependency "hashie"
24
+ spec.add_dependency "activesupport"
24
25
 
25
26
  spec.add_development_dependency "bundler", "~> 1.3"
26
27
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stellae-ruby-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Grubbs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -145,6 +159,7 @@ extra_rdoc_files: []
145
159
  files:
146
160
  - .gitignore
147
161
  - .rspec
162
+ - .ruby-version
148
163
  - .travis.yml
149
164
  - Gemfile
150
165
  - LICENSE.txt
@@ -156,6 +171,7 @@ files:
156
171
  - lib/stellae/order.rb
157
172
  - lib/stellae/request.rb
158
173
  - lib/stellae/response.rb
174
+ - lib/stellae/state.rb
159
175
  - lib/stellae/version.rb
160
176
  - spec/lib/client_spec.rb
161
177
  - spec/lib/order_spec.rb
@@ -165,6 +181,7 @@ files:
165
181
  - spec/vcr/stellae_client/inventory_methods_mapped_inventory_returns_an_array_of_quantity_hashes.yml
166
182
  - spec/vcr/stellae_client/inventory_methods_upcs_returns_an_array_of_upcs.yml
167
183
  - spec/vcr/stellae_client_send_order_request/sends_an_order_request_and_returns_a_parsed_respose.yml
184
+ - spec/vcr/stellae_client_send_order_request/sends_an_order_request_and_returns_a_parsed_respose_old.yml
168
185
  - stellae.gemspec
169
186
  homepage: http://sellect.com
170
187
  licenses:
@@ -186,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
203
  version: '0'
187
204
  requirements: []
188
205
  rubyforge_project:
189
- rubygems_version: 2.4.8
206
+ rubygems_version: 2.4.6
190
207
  signing_key:
191
208
  specification_version: 4
192
209
  summary: This is a library for interfacing with the Stellae Fulfillment API
@@ -199,3 +216,4 @@ test_files:
199
216
  - spec/vcr/stellae_client/inventory_methods_mapped_inventory_returns_an_array_of_quantity_hashes.yml
200
217
  - spec/vcr/stellae_client/inventory_methods_upcs_returns_an_array_of_upcs.yml
201
218
  - spec/vcr/stellae_client_send_order_request/sends_an_order_request_and_returns_a_parsed_respose.yml
219
+ - spec/vcr/stellae_client_send_order_request/sends_an_order_request_and_returns_a_parsed_respose_old.yml