stellae-ruby-api 0.0.2 → 0.0.3

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: c980b130d43d35bffd5e4fbb4f0bb000b8dc3a3d
4
- data.tar.gz: 39fe40a8edb7ccdc326f434163f64013dcbadf90
3
+ metadata.gz: bce007945bda4c3c7471717633ccb5db54516dcf
4
+ data.tar.gz: b23378b1d2ff5fed95949d54c44612a0fd6f1f74
5
5
  SHA512:
6
- metadata.gz: 4f362216196d5a5446f2bef1acdf903d46dfaa18bc4e88dac9a2d29b3302c528b0ac6571a3fb596204eab66d827f1fcc549c562d4d85fbf643aea1594ece8021
7
- data.tar.gz: 3fb60a02d1b8cf0bdc3abe3ba30dbaa91e591dec8c57119c67f44fe3aebf3fee4b15d13fc1fa12418106d38f2a2d0cc90ab804e8937f4d39e9c37d922e6bc65e
6
+ metadata.gz: 8e7e1b19c95018cb171c9d65362e4c075cd6e4dd46997794a549c4c82fbd88c0a4b53a53f5362c5e4064c73b6b5ce3f5f3f0c5462cdb3da0ea5be08bc37e1bf0
7
+ data.tar.gz: 0266ef14feab227a199db17b914ae79a5edc09e3f3b11f2f4909ab78d8f778950bcbbaf3646209a22641bc2fc811cf030976467c666c33b0e2394bb1ce12c973
data/lib/stellae.rb CHANGED
@@ -4,5 +4,6 @@ require "stellae/response"
4
4
  require "stellae/client"
5
5
  require "stellae/request"
6
6
  require "stellae/state"
7
+ require "stellae/shipping"
7
8
  require "stellae/order"
8
9
  require "stellae/inventory"
data/lib/stellae/order.rb CHANGED
@@ -2,6 +2,7 @@ module Stellae
2
2
  class Order < Request
3
3
 
4
4
  include State
5
+ include Shipping
5
6
 
6
7
  def build_order_request(order)
7
8
 
@@ -9,7 +10,7 @@ module Stellae
9
10
 
10
11
  xml.ohn :"xmlns:a" => SCHEMA[:datacontract], :"xmlns:i" => SCHEMA[:instance] do
11
12
 
12
- soap_field xml, :CARRIER, order[:carrier].upcase
13
+ soap_field xml, :CARRIER, order[:shipping_carrier].upcase
13
14
  soap_field xml, :CURRENCY, order[:currency].upcase
14
15
  build_address xml, "CUSTOMER", order[:billing_address]
15
16
  soap_field xml, :CUSTOMER_CODE
@@ -35,7 +36,7 @@ module Stellae
35
36
  soap_field xml, :ORDER_ID, order[:number]
36
37
  soap_field xml, :ORDER_TYPE, order[:type] || 'OO'
37
38
  build_line_items xml, order
38
- soap_field xml, :SERVICE, order[:shipping_method]
39
+ soap_field xml, :SERVICE, shipping_service(order[:shipping_method])
39
40
  soap_field xml, :SHIPPING_FEES, shipping_fees(order)
40
41
  soap_field xml, :TAXES, order[:tax] || 0
41
42
  soap_field xml, :TOTAL_AMOUNT, order[:total_amount] || 0
@@ -0,0 +1,16 @@
1
+ module Stellae
2
+
3
+ module Shipping
4
+
5
+ SHIPPING_MAP = {
6
+ "Standard" => "90",
7
+ "Next Business Day" => "05"
8
+ }
9
+
10
+ def shipping_service(shipping_method)
11
+ SHIPPING_MAP[shipping_method] || shipping_method
12
+ end
13
+
14
+ end
15
+
16
+ end
@@ -1,3 +1,3 @@
1
1
  module Stellae
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -20,7 +20,7 @@ end
20
20
 
21
21
  def order_hash
22
22
  {
23
- carrier: "FEDEX",
23
+ shipping_carrier: "FEDEX",
24
24
  billing_address: {
25
25
  first_name: "John",
26
26
  last_name: "Smith",
@@ -48,7 +48,7 @@ def order_hash
48
48
  gift_wrap: "true",
49
49
  gift_message: "Happy Birthday!",
50
50
  email: "someone@somehwere.com",
51
- number: "R123123125",
51
+ number: "R123123126",
52
52
  type: "OO",
53
53
  currency: "USD",
54
54
  line_items: [
@@ -59,7 +59,7 @@ def order_hash
59
59
  size: "XS"
60
60
  }
61
61
  ],
62
- shipping_method: "90",
62
+ shipping_method: "Next Business Day",
63
63
  invoice_url: "http://example.com/R123123123/invoice",
64
64
  shipping_cost: 10,
65
65
  shipping_discount: -5,
@@ -8,7 +8,7 @@ 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/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
- - '5070'
28
+ - '11856'
29
29
  Content-Type:
30
30
  - application/soap+xml; charset=utf-8
31
31
  Server:
@@ -33,40 +33,79 @@ http_interactions:
33
33
  X-Powered-By:
34
34
  - ASP.NET
35
35
  Date:
36
- - Mon, 17 Aug 2015 20:58:56 GMT
36
+ - Thu, 17 Dec 2015 17:01:19 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="c9f9b908-fa88-498f-a616-61702225871b" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">f5df4c89-2f2e-4b56-99b2-75fe06214a06</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><get_inventory_on_handResponse
41
+ CorrelationId="1cb9a4e6-f38e-4085-bca7-b07dd94f2dc4" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">0324a5e4-3c6b-428b-9e11-66543d08a577</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>326609016</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>326612425</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>326614291</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>326616970</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>326617439</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>326624327</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>326625879</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>326626167</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>326626532</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>326627332</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>326630329</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>326636519</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>326642628</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>326646312</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>326652161</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>326656887</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>326666544</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>326668704</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>326669917</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>326671947</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>326682263</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>326685907</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>326691679</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>326692239</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>326696838</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>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>196</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>
70
109
  http_version:
71
- recorded_at: Mon, 17 Aug 2015 21:01:59 GMT
110
+ recorded_at: Thu, 17 Dec 2015 17:02:54 GMT
72
111
  recorded_with: VCR 2.9.3
@@ -33,12 +33,12 @@ http_interactions:
33
33
  X-Powered-By:
34
34
  - ASP.NET
35
35
  Date:
36
- - Wed, 16 Dec 2015 22:29:08 GMT
36
+ - Thu, 17 Dec 2015 17:01:19 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="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
41
+ CorrelationId="b9971cca-472a-42d3-94cc-50090a50b43a" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">5bc247a7-37de-4b7b-b97e-3416b110ed60</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
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>
@@ -90,7 +90,7 @@ http_interactions:
90
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
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
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>
93
+ </b:lot><b:on_hand>196</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
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
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
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>
@@ -107,5 +107,5 @@ http_interactions:
107
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
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>
109
109
  http_version:
110
- recorded_at: Wed, 16 Dec 2015 22:30:36 GMT
110
+ recorded_at: Thu, 17 Dec 2015 17:02:53 GMT
111
111
  recorded_with: VCR 2.9.3
@@ -21,10 +21,10 @@ http_interactions:
21
21
  Smith</a:DELIVERY_NAME><a:DELIVERY_TELEPHONE>123-123-1234</a:DELIVERY_TELEPHONE><a:DELIVERY_TO
22
22
  i:nil="true"/><a:DISCOUNT>0</a:DISCOUNT><a:EMAIL>someone@somehwere.com</a:EMAIL><a:FREIGHT_ACCOUNT
23
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
24
+ i:nil="true"/><a:ORDER_ID>R123123126</a:ORDER_ID><a:ORDER_TYPE>OO</a:ORDER_TYPE><a:Order_Details><a:Order_Detail_New><a:COST
25
25
  i:nil="true"/><a:FLAGS i:nil="true"/><a:LINE_ID i:nil="true"/><a:LOT_NUMBER
26
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
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>05</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
28
  i:nil="true"/><a:USER3 i:nil="true"/><a:USER4 i:nil="true"/><a:USER5 i:nil="true"/><a:WAREHOUSE
29
29
  i:nil="true"/></ohn></new_order_entry></s:Body></s:Envelope>
30
30
  headers:
@@ -50,15 +50,15 @@ http_interactions:
50
50
  X-Powered-By:
51
51
  - ASP.NET
52
52
  Date:
53
- - Thu, 17 Dec 2015 16:32:46 GMT
53
+ - Thu, 17 Dec 2015 23:52:02 GMT
54
54
  body:
55
55
  encoding: UTF-8
56
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
57
57
  s:mustUnderstand="1">SII/ISIIService/new_order_entryResponse</a:Action><ActivityId
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
58
+ CorrelationId="13a4a194-08f5-4649-945e-f1ef656b81c4" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">d88e1037-c3f8-4ab3-98e3-ef424116c854</ActivityId><a:RelatesTo>urn:uuid:56b55a70-8bbc-471d-94bb-9ca060bcf99f</a:RelatesTo></s:Header><s:Body><new_order_entryResponse
59
59
  xmlns="SII"><new_order_entryResult xmlns:b="http://schemas.datacontract.org/2004/07/"
60
60
  xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:detail_status i:nil="true"
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>
61
+ xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><b:sii_order_number>11787</b:sii_order_number><b:status>0001</b:status></new_order_entryResult></new_order_entryResponse></s:Body></s:Envelope>
62
62
  http_version:
63
- recorded_at: Thu, 17 Dec 2015 16:34:20 GMT
63
+ recorded_at: Thu, 17 Dec 2015 23:53:39 GMT
64
64
  recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stellae-ruby-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Grubbs
@@ -171,6 +171,7 @@ files:
171
171
  - lib/stellae/order.rb
172
172
  - lib/stellae/request.rb
173
173
  - lib/stellae/response.rb
174
+ - lib/stellae/shipping.rb
174
175
  - lib/stellae/state.rb
175
176
  - lib/stellae/version.rb
176
177
  - spec/lib/client_spec.rb
@@ -181,7 +182,6 @@ files:
181
182
  - spec/vcr/stellae_client/inventory_methods_mapped_inventory_returns_an_array_of_quantity_hashes.yml
182
183
  - spec/vcr/stellae_client/inventory_methods_upcs_returns_an_array_of_upcs.yml
183
184
  - 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
185
185
  - stellae.gemspec
186
186
  homepage: http://sellect.com
187
187
  licenses:
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  requirements: []
205
205
  rubyforge_project:
206
- rubygems_version: 2.4.6
206
+ rubygems_version: 2.2.2
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: This is a library for interfacing with the Stellae Fulfillment API
@@ -216,4 +216,3 @@ test_files:
216
216
  - spec/vcr/stellae_client/inventory_methods_mapped_inventory_returns_an_array_of_quantity_hashes.yml
217
217
  - spec/vcr/stellae_client/inventory_methods_upcs_returns_an_array_of_upcs.yml
218
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
@@ -1,66 +0,0 @@
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