NEW YORK (TheStreet) -- Shares of Costco Wholesale (COST) - Get Report were edging lower in mid-morning trading on Friday as Barclays assumed coverage of the stock with an "equal weight" rating and reduced its price target to $158 from $180.

"Costco went up a great deal when they switched cards and left American Express (AXP) and went to Visa (V)," TheStreet's Jim Cramer said on CNBC's "Squawk on the Street" this morning.

"In the end, it's still a retailer," Cramer added, noting that he thinks Costco is a "great" retailer.

The Costco credit card is a "differentiator," according to Cramer.

But Cramer mentioned that Amazon.com (AMZN) also has a credit card.

"I said last night that Amazon should just set up a stock market. If you like Fed rate hike, you should sell. But if you like no hike, you should buy Twilio (TWLO) and you can beat the algorithm guys," Cramer said.

(Costco is a holding in Jim Cramer's charitable trust Action Alerts PLUS. See all of his holding with a free trialhere.)

Image placeholder title