reward_station 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/.gitignore +4 -0
  2. data/.rspec +1 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +9 -0
  5. data/LICENSE +0 -0
  6. data/README.md +5 -0
  7. data/Rakefile +5 -0
  8. data/lib/reward_station.rb +1 -0
  9. data/lib/reward_station/version.rb +3 -0
  10. data/lib/wsdl/reward_services.xml +511 -0
  11. data/lib/xceleration/reward_station.rb +122 -0
  12. data/reward_station.gemspec +21 -0
  13. data/spec/fixtures/savon/reward_station/award_points/award_points.xml +12 -0
  14. data/spec/fixtures/savon/reward_station/award_points/award_points_invalid_token.xml +12 -0
  15. data/spec/fixtures/savon/reward_station/return_point_summary/return_point_summary.xml +22 -0
  16. data/spec/fixtures/savon/reward_station/return_point_summary/return_point_summary_invalid_token.xml +12 -0
  17. data/spec/fixtures/savon/reward_station/return_popular_products/return_popular_products.xml +362 -0
  18. data/spec/fixtures/savon/reward_station/return_popular_products/return_popular_products_invalid_token.xml +10 -0
  19. data/spec/fixtures/savon/reward_station/return_token/return_token.xml +10 -0
  20. data/spec/fixtures/savon/reward_station/return_token/return_token_invalid.xml +10 -0
  21. data/spec/fixtures/savon/reward_station/return_user/return_user.xml +35 -0
  22. data/spec/fixtures/savon/reward_station/return_user/return_user_invalid_token.xml +10 -0
  23. data/spec/fixtures/savon/reward_station/return_user/return_user_invalid_user.xml +10 -0
  24. data/spec/fixtures/savon/reward_station/update_user/create_user.xml +34 -0
  25. data/spec/fixtures/savon/reward_station/update_user/create_user_exists.xml +9 -0
  26. data/spec/savon_helper.rb +129 -0
  27. data/spec/spec_helper.rb +18 -0
  28. data/spec/xceleration/reward_station_spec.rb +348 -0
  29. metadata +95 -0
@@ -0,0 +1,122 @@
1
+ module Xceleration
2
+ class InvalidAccount < StandardError; end
3
+ class InvalidToken < StandardError; end
4
+ class InvalidUser < StandardError; end
5
+ class ConnectionError < StandardError; end
6
+ class UserAlreadyExists < StandardError; end
7
+
8
+ class RewardStation
9
+
10
+ PROGRAM_ID = 90
11
+ POINT_REASON_CODE_ID = 129
12
+
13
+ attr_reader :client
14
+
15
+ def initialize
16
+ @client = Savon::Client.new do |wsdl|
17
+ wsdl.document = File.join(File.dirname(__FILE__), '..', 'wsdl', 'reward_services.xml')
18
+ end
19
+ end
20
+
21
+ def return_token client_id, client_password
22
+ result = request :return_token, :body => {
23
+ 'AccountNumber' => client_id,
24
+ 'AccountCode' => client_password
25
+ }
26
+
27
+ puts "xceleration token #{result[:token]}"
28
+
29
+ result[:token]
30
+ end
31
+
32
+ def return_user token, xceleration_id
33
+ result = request :return_user, :body => { 'UserID' => xceleration_id, 'Token' => token}
34
+ result[:user_profile]
35
+ end
36
+
37
+ def award_points token, xceleration_id, points, description, program_id = PROGRAM_ID, point_reason_code_id = POINT_REASON_CODE_ID
38
+ result = request :award_points, :body => {
39
+ 'UserID' => xceleration_id,
40
+ 'Points' => points,
41
+ 'ProgramID' => program_id,
42
+ 'PointReasonCodeID' => point_reason_code_id,
43
+ 'Description' => description,
44
+ 'Token' => token
45
+ }
46
+ result[:confirmation_number]
47
+ end
48
+
49
+
50
+ def return_point_summary token, xceleration_id, client_id
51
+ result = request :return_point_summary, :body => {
52
+ 'clientId' => client_id,
53
+ 'userId' => xceleration_id,
54
+ 'Token' => token
55
+ }
56
+ result[:point_summary_collection][:point_summary]
57
+ end
58
+
59
+ def update_user token, xceleration_id, client_id, organization_id, attrs = {}
60
+
61
+ email = attrs[:email] || ""
62
+ first_name = attrs[:first_name] || ""
63
+ last_name = attrs[:last_name] || ""
64
+ user_name = attrs[:user_name] || email
65
+ balance = attrs[:balance] || 0
66
+
67
+ result = request :update_user , :body => {
68
+ 'updateUser' => {
69
+ 'UserID' => xceleration_id,
70
+ 'ClientID' => client_id,
71
+ 'UserName' => user_name,
72
+ 'FirstName' => first_name,
73
+ 'LastName' => last_name,
74
+ 'CountryCode' => 'USA',
75
+ 'Email' => email,
76
+ 'IsActive' => true,
77
+ 'PointBalance' => balance,
78
+ 'OrganizationID' => organization_id
79
+ },
80
+ 'Token' => token
81
+ }
82
+
83
+ result[:update_user]
84
+ end
85
+
86
+
87
+ def create_user token, client_id, organization_id, attrs = {}
88
+ update_user token, -1, client_id, organization_id, attrs
89
+ end
90
+
91
+ def return_popular_products token, xceleration_id
92
+ result = request :return_popular_products , :body => {
93
+ 'userId' => xceleration_id,
94
+ 'Token' => token
95
+ }
96
+
97
+ result[:products][:product]
98
+ end
99
+
100
+ protected
101
+
102
+ def request method_name, params
103
+
104
+ response = @client.request(:wsdl, method_name , params).to_hash
105
+
106
+ result = response[:"#{method_name}_response"][:"#{method_name}_result"]
107
+
108
+ unless (error_message = result.delete(:error_message).to_s).nil?
109
+ raise Xceleration::InvalidToken if error_message.start_with?("Invalid Token")
110
+ raise Xceleration::InvalidAccount if error_message.start_with?("Invalid Account Number")
111
+ raise Xceleration::InvalidUser if error_message.start_with?("Invalid User")
112
+ raise Xceleration::UserAlreadyExists if error_message.start_with?("User Name:") && error_message.end_with?("Please enter a different user name.")
113
+ end
114
+
115
+ result
116
+ rescue Savon::SOAP::Fault, Savon::HTTP::Error => ex
117
+ puts ex.to_s
118
+ puts ex.backtrace.inspect
119
+ raise ConnectionError, ex.message
120
+ end
121
+ end
122
+ end
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "reward_station/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "reward_station"
7
+ s.version = RewardStation::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Stepan Filatov"]
10
+ s.email = ["filatov.st@gmail.com"]
11
+ s.homepage = "https://github.com/sfilatov/reward_station"
12
+ s.summary = %q{Reward Station is a client implementation of the Xceleration Reward Station service API}
13
+ s.description = %q{Reward Station is a client implementation of the Xceleration Reward Station service API}
14
+
15
+ s.rubyforge_project = "reward_station"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {spec}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+ end
@@ -0,0 +1,12 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <AwardPointsResponse xmlns="http://rswebservices.rewardstation.com/">
4
+ <AwardPointsResult>
5
+ <UserID>577</UserID>
6
+ <Points>10</Points>
7
+ <ConfirmationNumber>9376</ConfirmationNumber>
8
+ <ErrorMessage/>
9
+ </AwardPointsResult>
10
+ </AwardPointsResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>
@@ -0,0 +1,12 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <AwardPointsResponse xmlns="http://rswebservices.rewardstation.com/">
4
+ <AwardPointsResult>
5
+ <UserID>577</UserID>
6
+ <Points>10</Points>
7
+ <ConfirmationNumber/>
8
+ <ErrorMessage>Invalid Token</ErrorMessage>
9
+ </AwardPointsResult>
10
+ </AwardPointsResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>
@@ -0,0 +1,22 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <ReturnPointSummaryResponse xmlns="http://rswebservices.rewardstation.com/">
4
+ <ReturnPointSummaryResult>
5
+ <ClientID>100080</ClientID>
6
+ <ActiveOnly>false</ActiveOnly>
7
+ <UserID>577</UserID>
8
+ <PointSummaryCollection>
9
+ <PointSummary>
10
+ <UserID>577</UserID>
11
+ <IsActive>true</IsActive>
12
+ <PointsEarned>465</PointsEarned>
13
+ <PointsRedeemed>0</PointsRedeemed>
14
+ <PointsCredited>0</PointsCredited>
15
+ <PointsBalance>465</PointsBalance>
16
+ </PointSummary>
17
+ </PointSummaryCollection>
18
+ <ErrorMessage/>
19
+ </ReturnPointSummaryResult>
20
+ </ReturnPointSummaryResponse>
21
+ </soap:Body>
22
+ </soap:Envelope>
@@ -0,0 +1,12 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <ReturnPointSummaryResponse xmlns="http://rswebservices.rewardstation.com/">
4
+ <ReturnPointSummaryResult>
5
+ <ClientID>10080</ClientID>
6
+ <ActiveOnly>false</ActiveOnly>
7
+ <UserID>577</UserID>
8
+ <ErrorMessage>Invalid Token</ErrorMessage>
9
+ </ReturnPointSummaryResult>
10
+ </ReturnPointSummaryResponse>
11
+ </soap:Body>
12
+ </soap:Envelope>
@@ -0,0 +1,362 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <ReturnPopularProductsResponse xmlns="http://rswebservices.rewardstation.com/">
4
+ <ReturnPopularProductsResult>
5
+ <UserID>577</UserID>
6
+ <Products>
7
+ <Product>
8
+ <ProductID>MC770LLA</ProductID>
9
+ <Name>iPad 2 with Wifi - 32GB</Name>
10
+ <Description><![CDATA[The NEW Apple iPad 2 - Thinner, lighter, and full of great ideas. Once you pick up iPad 2, it’ll be hard to put down. That’s the idea behind the all-new design. It’s 33 percent thinner and up to 15 percent lighter, so it feels even more comfortable in your hands. And, it makes surfing the web, checking email, watching movies, and reading books so natural, you might forget there’s incredible technology under your fingers.<br><br><b>Dual-core A5 chip</b>.<br> Two powerful cores in one A5 chip mean iPad can do twice the work at once. You’ll notice the difference when you’re surfing the web, watching movies, making FaceTime video calls, gaming, and going from app to app to app. Multitasking is smoother, apps load faster, and everything just works better.<br><br><b>Superfast graphics</b>. <br>With up to nine times the graphics performance, gameplay on iPad is even smoother and more realistic. And faster graphics help apps perform better — especially those with video. You’ll see it when you’re scrolling through your photo library, editing video with iMovie, and viewing animations in Keynote.<br><br><b>Battery life keeps on going. So you can, too.</b><br> Even with the new thinner and lighter design, iPad has the same amazing 10-hour battery life. That’s enough juice for one flight across the ocean, or one movie-watching all-nighter, or a week’s commute across town. The power-efficient A5 chip and iOS keep battery life from fading away, so you can get carried away.<br><br><b>Two cameras.</b><br> You’ll see two cameras on iPad — one on the front and one on the back. They may be tiny, but they’re a big deal. They’re designed for FaceTime video calling, and they work together so you can talk to your favorite people and see them smile and laugh back at you. The front camera puts you and your friend face-to-face. Switch to the back camera during your video call to share where you are, who you’re with, or what’s going on around you. When you’re not using FaceTime, let the back camera roll if you see something movie-worthy. It’s HD, so whatever you shoot is a mini-masterpiece. And you can take wacky snapshots in Photo Booth. It’s the most fun a face can have.<br><br><b>Due to the demand for this item, please allow up to 8-10 weeks for delivery</b>.]]></Description>
11
+ <Points>10927</Points>
12
+ <Category>Office &amp; Computer</Category>
13
+ <Manufacturer>Apple</Manufacturer>
14
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/MC769LLA.gif</SmallImageURL>
15
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/MC769LLA.jpg</LargeImageURL>
16
+ </Product>
17
+ <Product>
18
+ <ProductID>GS12005</ProductID>
19
+ <Name>7100 Hybrid Bike- Men's</Name>
20
+ <Description>The ride of your life. 21-speed bike is crafted with Alpha aluminum comfort-specific frame, front suspension fork with 50mm of travel, and suspension seat post. Features alloy direct-pull brakes with alloy levers, and quick-release seat and wheels.</Description>
21
+ <Points>8897</Points>
22
+ <Category>Bicycles</Category>
23
+ <Manufacturer>Trek</Manufacturer>
24
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/GS12005.gif</SmallImageURL>
25
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_17390.jpg</LargeImageURL>
26
+ </Product>
27
+ <Product>
28
+ <ProductID>AW47071</ProductID>
29
+ <Name>iPod touch® 8GB With FaceTime</Name>
30
+ <Description>The newly redesigned iPod touch® 8GB comes with remarkable 960 x 640 resolution and a 3.5'' color, Multi-Touch Retina display. See friends while you talk to them with FaceTime. Shoot, edit and share stunning HD video. Play games against friends, or unknown foes, with the new Game Center.&lt;br/>&lt;br/> Other capabilities include music, movies, TV shows, videos, games, applications, ebooks, audiobooks, podcasts, photos, Safari web browser, e-mail, maps, HD video recording and editing and built-in Nike + iPod support.</Description>
31
+ <Points>4179</Points>
32
+ <Category>Audio</Category>
33
+ <Manufacturer>Apple</Manufacturer>
34
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW47071.gif</SmallImageURL>
35
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_34731.jpg</LargeImageURL>
36
+ </Product>
37
+ <Product>
38
+ <ProductID>AW23106</ProductID>
39
+ <Name>Nuvi 1350 GPS</Name>
40
+ <Description>This amazing personal navigation system uses a 4.3” color touchscreen display to guide you safely on your way, mile after mile. You’ll get turn-by-turn directions with spoken street names, lane assist for smoother exits and a feature that helps you locate the nearest hospitals, police &amp; gas stations, as well as the nearest address and intersection. It’s also a world travel clock, calculator and currency and unit converter. Plus, you’ll welcome its route avoidance features and auto re-route capabilities to recalculate your trip when you encounter a detour. The ecoRoute™ feature will calculate a more fuel-efficient route, too.</Description>
41
+ <Points>3448</Points>
42
+ <Category>GPS</Category>
43
+ <Manufacturer>Garmin</Manufacturer>
44
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW23106.gif</SmallImageURL>
45
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_15144.jpg</LargeImageURL>
46
+ </Product>
47
+ <Product>
48
+ <ProductID>AW25813</ProductID>
49
+ <Name>Oakley Flak Jacket</Name>
50
+ <Description>These cutting-edge, super stylish sunglasses feature Oakley’s Hydrophobic™ permanent coating that prevents rain and sweat from building up on the lens, as well as the unbeatable clarity of High Definition Optics®. Two sets of nose pads are included, for the best fit, and Oakley’s Three-Point Fit optimizes comfort and holds the lenses in precise optical alignment for superior clarity.</Description>
51
+ <Points>3189</Points>
52
+ <Category>Apparel</Category>
53
+ <Manufacturer>Oakley</Manufacturer>
54
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW25813.gif</SmallImageURL>
55
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_16126.jpg</LargeImageURL>
56
+ </Product>
57
+ <Product>
58
+ <ProductID>AW28030</ProductID>
59
+ <Name>Kitchen Storage Cart</Name>
60
+ <Description>The solid beechwood worktop provides you with a handly food preparation surface on this rolling storage cart. A top drawer is underpinned by a large two-door cabinet. Handy towel bar on one side helps too. WxDxH: 25,5 x 19,25 x 34</Description>
61
+ <Points>2849</Points>
62
+ <Category>Furniture</Category>
63
+ <Manufacturer>Winsome Wood</Manufacturer>
64
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW28030.gif</SmallImageURL>
65
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_19548.jpg</LargeImageURL>
66
+ </Product>
67
+ <Product>
68
+ <ProductID>AW41795</ProductID>
69
+ <Name>New York Yankees 2009 World Series Framed Collage</Name>
70
+ <Description>Commemorate the New York Yankees championship season with this 2009 World Series collectible. Each piece features one 8x10 and four 4x5 World Series photographs, a descriptive plate, Yankees logo art and actual game-used dirt from the World Series that has been double matted and framed in black wood. This product is officially licensed by Major League Baseball and comes with an individually numbered; tamper evident hologram. Overall dimensions are 23'' x 27''.</Description>
71
+ <Points>2595</Points>
72
+ <Category>Sports Memorabilia</Category>
73
+ <Manufacturer>Mounted Memories</Manufacturer>
74
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW41795.gif</SmallImageURL>
75
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_31105.jpg</LargeImageURL>
76
+ </Product>
77
+ <Product>
78
+ <ProductID>AW27265</ProductID>
79
+ <Name>WindTunnel® T-Series™ Bagless Upright Vacuum</Name>
80
+ <Description>The WindTunnel® T-Series™ vacuums feature Hoover's patented Windtunnel® technology with air passages that trap dirt and channel it into the dirt cup, significantly minimizing blowback or scattering back onto the floor. While each model is lightweight, they offer full Hoover power for a deep down clean and no loss of suction. This hi-tech bagless vacuum has ingenious options, such as fingertip controls conveniently located within reach on the handle and a height adjustment feature to ensure roll brushes are at the proper height. A cord clip is just below the handle on the back side of the unit and it keeps the cord out of the way while cleaning. Requiring minimal maintenance, the WindTunnel® T-Series™ has a rinsable filter that can be easily cleaned under running water and a high quality HEPA filter - neither of which will need to be replaced with proper care. On-Board tools include Turbo brush, 12'' extension wand, crevice tool and upholstery/dust brush.</Description>
81
+ <Points>2300</Points>
82
+ <Category>Home/Indoor</Category>
83
+ <Manufacturer>Hoover</Manufacturer>
84
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW27265.gif</SmallImageURL>
85
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_16691.jpg</LargeImageURL>
86
+ </Product>
87
+ <Product>
88
+ <ProductID>XTAA100</ProductID>
89
+ <Name>American Airlines - $100 Travel Certificate</Name>
90
+ <Description>It's hard to imagine a better gift than the gift of travel. AmericanAirlines Incentive TrAAvel® Flight Certificates and Gift Certificates offer limitless travel possibilities. This award is for $100. They can be combined and applied toward the purchase of any published fare on American Airlines, American Eagle or AmericanConnection carriers. Gift Certificate recipients also earn AAdvantage miles when traveling. American Airlines Gift Certificates cannot be replaced if lost or stolen.</Description>
91
+ <Points>2027</Points>
92
+ <Category>Travel</Category>
93
+ <Manufacturer>American Airlines</Manufacturer>
94
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/XTAA100.GIF</SmallImageURL>
95
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/XTAA100.JPG</LargeImageURL>
96
+ </Product>
97
+ <Product>
98
+ <ProductID>AW17989</ProductID>
99
+ <Name>Pinot/Nebbiolo Wine Glasses - Set of 8</Name>
100
+ <Description>This set of eight Pinot/Nebbiolo glasses is ideal for full-bodied red wines with high acidity and moderate tannins. The large bowl is a fitting shape for the wine's complex aroma, complimenting any tablescape.</Description>
101
+ <Points>1926</Points>
102
+ <Category>Glassware</Category>
103
+ <Manufacturer>Riedel Wine Company</Manufacturer>
104
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW17989.gif</SmallImageURL>
105
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_7512.jpg</LargeImageURL>
106
+ </Product>
107
+ <Product>
108
+ <ProductID>AW46870</ProductID>
109
+ <Name>Weekender Bag</Name>
110
+ <Description>So good you'll want to plan a trip just to carry it. Everything tucks neatly away in the four interior or two front pockets. There's also a full zippered back pocket. Packing is a breeze thanks to a wide opening with double zippers and a sturdy removable base. Elegant metal hardware holds the 48-1/2'' removable strap.</Description>
111
+ <Points>1722</Points>
112
+ <Category>Bags &amp; Purses</Category>
113
+ <Manufacturer>Vera Bradley</Manufacturer>
114
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW46870.gif</SmallImageURL>
115
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_34313.jpg</LargeImageURL>
116
+ </Product>
117
+ <Product>
118
+ <ProductID>AW51282</ProductID>
119
+ <Name>Large Portable Pet Carrier</Name>
120
+ <Description>Recommended for dogs up to 21.5' tall, this large pet carrier is perfect for air or car travel. Features include durable wire and resin construction, comfortable carry handle, easy access storage compartment and easy tool-free assembly. Includes food and water tray. Available in light taupe with brown and blue accents.</Description>
121
+ <Points>1644</Points>
122
+ <Category>Pet Supplies</Category>
123
+ <Manufacturer>Suncast</Manufacturer>
124
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW51282.gif</SmallImageURL>
125
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_39049.jpg</LargeImageURL>
126
+ </Product>
127
+ <Product>
128
+ <ProductID>AW16219</ProductID>
129
+ <Name>5.1 Channel DVD Player/Receiver Home Theater System</Name>
130
+ <Description>This space saving system delivers a massive 300 watts of 5.1 sound from a surprisingly small set of components. Features a compact progressive scan DVD player, which handles all major CD/DVD formats. Other features include NTSC/PAL compatibility, convenient front panel display and multiple language, subtitle and camera angle support.</Description>
131
+ <Points>1604</Points>
132
+ <Category>TV &amp; Home Theater</Category>
133
+ <Manufacturer>Coby</Manufacturer>
134
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW16219.gif</SmallImageURL>
135
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_7608.jpg</LargeImageURL>
136
+ </Product>
137
+ <Product>
138
+ <ProductID>GS11002</ProductID>
139
+ <Name>Backyard Bonanza</Name>
140
+ <Description>Family and friends will love this appetizing spread. Includes eight 4-oz. bold and beefy gourmet burgers, eight 4-oz. boneless chicken breasts, and eight 4-oz. boneless pork chops.</Description>
141
+ <Points>1398</Points>
142
+ <Category>Summer Sizzlers</Category>
143
+ <Manufacturer>Omaha Steaks</Manufacturer>
144
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/GS11002.gif</SmallImageURL>
145
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_1407.jpg</LargeImageURL>
146
+ </Product>
147
+ <Product>
148
+ <ProductID>AW20807</ProductID>
149
+ <Name>Eco-Friendly Bonded Leather Briefcase</Name>
150
+ <Description>Perfect size for that last minute meeting! Features full grain lightweight Nappa leather, (2) Outside front zippered pockets, Main zipped compartment has full length interior zip pocket, Adjustable and removable shoulder straps</Description>
151
+ <Points>1348</Points>
152
+ <Category>Leather Goods</Category>
153
+ <Manufacturer>Kluge</Manufacturer>
154
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW20807.gif</SmallImageURL>
155
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_11467.jpg</LargeImageURL>
156
+ </Product>
157
+ <Product>
158
+ <ProductID>GR40477</ProductID>
159
+ <Name>Sundome® 3 Tent</Name>
160
+ <Description>With a 52'' center height, the Sundome tent offers an oversized rear window and a window on the single-zipper door. Features WeatherTEC system and shock-corded fiberglass poles. Measures 6.29’ x 22.44’ x 6.29’. Sleeps three.</Description>
161
+ <Points>1198</Points>
162
+ <Category>Camping Equipment</Category>
163
+ <Manufacturer>Coleman</Manufacturer>
164
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/GR40477.gif</SmallImageURL>
165
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_15637.jpg</LargeImageURL>
166
+ </Product>
167
+ <Product>
168
+ <ProductID>AW23055</ProductID>
169
+ <Name>Get-A-Grip 10-Piece Nonstick Cookware Set</Name>
170
+ <Description>Made from heavy-gauge aluminum that heats up quickly and evenly, as well as non-stick coatings that resist stains and odors and release food for simple cleanup, this is a great set of cookware that you’ll use every day. Other great features include silicone handles for a comfortable, slip-free grasp and tempered glass lids. The set includes one-quart covered saucepan, two-quart covered saucepan, five-quart covered Dutch oven, 8” sauté pan, 10” sauté pan, solid spoon and solid turner. Oven safe to 350 degrees.</Description>
171
+ <Points>1145</Points>
172
+ <Category>Kitchen</Category>
173
+ <Manufacturer>Mirro</Manufacturer>
174
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW23055.gif</SmallImageURL>
175
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_11516.jpg</LargeImageURL>
176
+ </Product>
177
+ <Product>
178
+ <ProductID>AW22987</ProductID>
179
+ <Name>Dual Handset Expandable Cordless Phone System with Digital Answering System and Caller ID</Name>
180
+ <Description>DECT 6.0 technology is a newly available frequency band that provides improved range without needing to boost the power. The sound quality on DECT models is superior to existing models and enables the user to talk anywhere in their home or office without interference from a wireless network. Two handset systems provide the convenience of operating two handsets using only one phone jack and one base station. The second handset simply needs an electrical outlet to plug into. These systems also allow you to transfer calls, conference an outside call or use the intercom feature between handsets. Return phone calls and recall numbers with 50 name and number caller ID memory. With just the touch of a button, hands-free conversations are made easy with the handset speakerphone. Hearing aid compatible phones have a reduced noise and interference when used with most T-coil equipped hearing aids and cochlear implants. Expandable up to 12 handsets using only one phone jack. Wall mounting bracket included.</Description>
181
+ <Points>1029</Points>
182
+ <Category>Telephones</Category>
183
+ <Manufacturer>Vtech</Manufacturer>
184
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW22987.jpg</SmallImageURL>
185
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_33098.jpg</LargeImageURL>
186
+ </Product>
187
+ <Product>
188
+ <ProductID>AW14749</ProductID>
189
+ <Name>Contemporary 80-Square-Inch Grill</Name>
190
+ <Description>George Foreman, the man behind the world’s best selling grill is back with a new, sleek indoor grill, angled to let the fat drip away and allowing you to eat healthier. The patented slope design and nonstick cooking surface allow fat and grease to drain off for higher fat reduction, healthier meals for the entire family and less smoke during cooking. Signature heating elements provide more even heat during cooking from the center to the sides of the plate and faster temperature recovery. Family sized 80-square-inch grilling surface has enough room for five burgers. The extended safe-touch handle is durable and protects hands from heat. Dishwasher safe accessories include unique spatula and drip tray.</Description>
191
+ <Points>788</Points>
192
+ <Category>Grills</Category>
193
+ <Manufacturer>George Foreman</Manufacturer>
194
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW14749.gif</SmallImageURL>
195
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_6858.jpg</LargeImageURL>
196
+ </Product>
197
+ <Product>
198
+ <ProductID>AW42791</ProductID>
199
+ <Name>3-Piece Carry-On Luggage Set</Name>
200
+ <Description>Set features 20'' EVA rolling carry-on with convenient telescopic handle and ''in-line'' blade wheels, 14'' boarding tote with padded carry handle, and 10'' toiletry kit with roomy zippered compartment. Black</Description>
201
+ <Points>703</Points>
202
+ <Category>Luggage</Category>
203
+ <Manufacturer>Travelers Club</Manufacturer>
204
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW42791.gif</SmallImageURL>
205
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_30423.jpg</LargeImageURL>
206
+ </Product>
207
+ <Product>
208
+ <ProductID>AW42137</ProductID>
209
+ <Name>SNAPP™ Mini Camcorder</Name>
210
+ <Description>This pocket-sized digital camcorder lets you shoot video, take pictures and play back your files at the touch of a button on a brilliant 1.44'' LCD screen. A built-in SD/SDHC card slot offers expandable memory for more than two hours of recording time, and the integrated USB plug eliminates the need for cables. The easy-to-use ArcSoft® video editing software and YouTube™ uploader let you share your videos online in minutes. USB extension cable and hand strap also included.</Description>
211
+ <Points>557</Points>
212
+ <Category>Camcorders</Category>
213
+ <Manufacturer>Coby</Manufacturer>
214
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW42137.gif</SmallImageURL>
215
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_29740.jpg</LargeImageURL>
216
+ </Product>
217
+ <Product>
218
+ <ProductID>AW21494</ProductID>
219
+ <Name>Golds Gym Cardio Workout for Wii™</Name>
220
+ <Description>Gold's Gym Cardio Workout brings your own personal Gold's Gym cardio trainer into your living room! Gold's Gym is the largest gym in the world and is known for leading the industry in personal training, so expect to get in shape fast. It's a fun way to exercise and maintain a healthy body. Features: A personal training experience: schedule workouts, track burned calories and body weight. Offers a more intense cardio workout than most Wii fitness games; includes exercises such as cardio boxing, running, sit-ups, and more. Tracks your progress and maintains a calendar of your exercise activity. Multiple training modes and fitness levels difficulty evolves as your fitness level increases. Compatible with the Wii Balance Board.</Description>
221
+ <Points>523</Points>
222
+ <Category>Toys &amp; Games</Category>
223
+ <Manufacturer>Ubisoft</Manufacturer>
224
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW21494.gif</SmallImageURL>
225
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_10420.jpg</LargeImageURL>
226
+ </Product>
227
+ <Product>
228
+ <ProductID>AW21366</ProductID>
229
+ <Name>PowerProtect™ with Surge Protection</Name>
230
+ <Description>Keep your sensitive electronic equipment safe from the permanent damage of voltage spikes with this hardworking surge protector. Unlike standard units, this protector utilizes multiple layers of protection to respond to power surges in one billionth of a second.</Description>
231
+ <Points>367</Points>
232
+ <Category>Green &amp; Eco Friendly</Category>
233
+ <Manufacturer>Monster Cable</Manufacturer>
234
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW21366.gif</SmallImageURL>
235
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_10360.jpg</LargeImageURL>
236
+ </Product>
237
+ <Product>
238
+ <ProductID>AW28825</ProductID>
239
+ <Name>NCAA® Basketball</Name>
240
+ <Description>NCAA® official size and weight all surface basketball</Description>
241
+ <Points>350</Points>
242
+ <Category>Sporting Equipment</Category>
243
+ <Manufacturer>Wilson</Manufacturer>
244
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW28825.gif</SmallImageURL>
245
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_31113.jpg</LargeImageURL>
246
+ </Product>
247
+ <Product>
248
+ <ProductID>AW35246</ProductID>
249
+ <Name>Clipshot Digital Camera- Blue</Name>
250
+ <Description>3 in 1- takes digital photos, video clips and can be used as a web camera for internet chatting. 8 MB internal memory for storing up to 138 digital photos. Super-small and lightweight- fits in the palm of your hand. Clips onto clothes or bag. Need 1 AAA Battery (not included).</Description>
251
+ <Points>333</Points>
252
+ <Category>Cameras</Category>
253
+ <Manufacturer>Vivitar</Manufacturer>
254
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW35246.gif</SmallImageURL>
255
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_35970.jpg</LargeImageURL>
256
+ </Product>
257
+ <Product>
258
+ <ProductID>AW47005</ProductID>
259
+ <Name>Jillian Michaels' Shred It with Weights DVD</Name>
260
+ <Description>TV’s favorite trainer brings her dynamic weight loss and body sculpting plan to your home, giving you a hard-core circuit training technique for a total body workout that’s designed to burn maximum fat. Using a kettlebell or single hand weight (not included), Jillian’s two levels of workouts will help you build lean muscle and burn mega calories.</Description>
261
+ <Points>316</Points>
262
+ <Category>Exercise</Category>
263
+ <Manufacturer>Lionsgate</Manufacturer>
264
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW47005.gif</SmallImageURL>
265
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_34998.jpg</LargeImageURL>
266
+ </Product>
267
+ <Product>
268
+ <ProductID>AW20391</ProductID>
269
+ <Name>Extreme Capacity Travel Mug</Name>
270
+ <Description>Take your favorite drinks to go, and they’ll stay as hot or cold as when you poured them, thanks to the double wall foam insulation of this Thermos® stainless steel travel mug. Its patented design features an unbreakable 18/8 stainless steel exterior with an easy-to-clean plastic liner, a comfortable rubber grip and scratch-resistant base. Holds a full 16 ounces, has a screw-on, spill-resistant slide-lock lid and fits into most automobile cup holders. Carries a one-year manufacturer’s limited warranty.</Description>
271
+ <Points>281</Points>
272
+ <Category>Home/Outdoor</Category>
273
+ <Manufacturer>Thermos</Manufacturer>
274
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW20391.gif</SmallImageURL>
275
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_31023.jpg</LargeImageURL>
276
+ </Product>
277
+ <Product>
278
+ <ProductID>AW46354</ProductID>
279
+ <Name>Take-Out Time-Out Mats</Name>
280
+ <Description>The award-winning Take-Out Time-Out mat is a portable time-out spot for teaching children acceptable behavior. The Supernanny, Nanny 911 and Dr. Phil all subscribe to the time-out method. They stress the importance of using a consistent spot for time-outs. This innovative product fits into a purse, bag or pocket, so you can set up a consistent time-out spot anywhere. The Take-Out Time-Out mat received the iParenting Media Award and on-air recommendations from Kelly Ripa.</Description>
281
+ <Points>281</Points>
282
+ <Category>Children</Category>
283
+ <Manufacturer>Bright Products, Inc</Manufacturer>
284
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW46354.gif</SmallImageURL>
285
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_33831.jpg</LargeImageURL>
286
+ </Product>
287
+ <Product>
288
+ <ProductID>AW21351</ProductID>
289
+ <Name>Golf Distance Scope</Name>
290
+ <Description>This handy, rubber-coated monocular is calibrated up to 200 yards, so you can determine how far your golf ball is from the pin and select your clubs accordingly. Features ground and polished glass lenses, as well as a wrist strap and vinyl carrying case with belt loop. Measures 3-3/8” L x 1” Diameter.</Description>
291
+ <Points>264</Points>
292
+ <Category>Golf Equipment</Category>
293
+ <Manufacturer>Sonnet</Manufacturer>
294
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW21351.gif</SmallImageURL>
295
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_10428.jpg</LargeImageURL>
296
+ </Product>
297
+ <Product>
298
+ <ProductID>AW47443</ProductID>
299
+ <Name>Sterling Silver Hoops</Name>
300
+ <Description>A classic addition to any jewelry collection.</Description>
301
+ <Points>264</Points>
302
+ <Category>Jewelry &amp; Watches</Category>
303
+ <Manufacturer>Other</Manufacturer>
304
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW47443.gif</SmallImageURL>
305
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_38500.jpg</LargeImageURL>
306
+ </Product>
307
+ <Product>
308
+ <ProductID>AW30829</ProductID>
309
+ <Name>Wine Tote</Name>
310
+ <Description>This thoughtful and affordable tote takes the gift of wine to a new level. It accommodates two bottles and features a front pocket and comfortable shoulder strap. Made of 600D polyester. &lt;br>&lt;br>Dimensions: 11 1/2'' x 7'' x 3 1/2''</Description>
311
+ <Points>249</Points>
312
+ <Category>Food &amp; Wine</Category>
313
+ <Manufacturer>Sunscope</Manufacturer>
314
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW30829.gif</SmallImageURL>
315
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_30503.jpg</LargeImageURL>
316
+ </Product>
317
+ <Product>
318
+ <ProductID>AW21342</ProductID>
319
+ <Name>Car Charger for USB Items</Name>
320
+ <Description>Now you can power or charge all your USB 2.0 devices when you’re out on the road. This all-in-one USB power source plugs right into your car lighter and provides power and charging for your iPod®, MP3/4 player, cell phone or more! With LED operation indicator light.</Description>
321
+ <Points>212</Points>
322
+ <Category>Cars &amp; Motorcycles</Category>
323
+ <Manufacturer>Impulse</Manufacturer>
324
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW21342.gif</SmallImageURL>
325
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_10345.jpg</LargeImageURL>
326
+ </Product>
327
+ <Product>
328
+ <ProductID>AW21350</ProductID>
329
+ <Name>4x30 Binoculars</Name>
330
+ <Description>Sturdily constructed and clad in soft rubber, these folding binoculars feature a blue-coated lens and center focus. They fold up for easy carrying and include a case with a belt loop and neck strap. Measure 1-3/4” H x 3-3/4” W x 3-1/2” D.</Description>
331
+ <Points>195</Points>
332
+ <Category>Binoculars &amp; Telescopes</Category>
333
+ <Manufacturer>Sonnet</Manufacturer>
334
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW21350.gif</SmallImageURL>
335
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_10426.jpg</LargeImageURL>
336
+ </Product>
337
+ <Product>
338
+ <ProductID>AW30827</ProductID>
339
+ <Name>6 Piece Manicure Set</Name>
340
+ <Description>Compact 6 piece manicure kit. Features a nail clipper, nail file, safety scissors, cuticle tool and more! Packed in a zipper case.</Description>
341
+ <Points>180</Points>
342
+ <Category>Health &amp; Beauty</Category>
343
+ <Manufacturer>Sunscope</Manufacturer>
344
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW30827.gif</SmallImageURL>
345
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_30504.jpg</LargeImageURL>
346
+ </Product>
347
+ <Product>
348
+ <ProductID>AW22841</ProductID>
349
+ <Name>LED Hand Powered Flashlight</Name>
350
+ <Description>No batteries required. Simply squeeze the crank handle to charge for up to 15 minutes of light.</Description>
351
+ <Points>178</Points>
352
+ <Category>Tools</Category>
353
+ <Manufacturer>Other</Manufacturer>
354
+ <SmallImageURL>https://www.rewardstation.com/catalogimages/AW22841.gif</SmallImageURL>
355
+ <LargeImageURL>https://www.rewardstation.com/catalogimages/eps_11607.jpg</LargeImageURL>
356
+ </Product>
357
+ </Products>
358
+ <ErrorMessage/>
359
+ </ReturnPopularProductsResult>
360
+ </ReturnPopularProductsResponse>
361
+ </soap:Body>
362
+ </soap:Envelope>