Twenty shirts amount to $10 x 20 = $<<10*20=200>>200.
The cost of each pair of jeans is $10 x 2 = $<<10*2=20>>20.
So 10 pairs of jeans amount to $20 x 10 = $<<20*10=200>>200.
Therefore, the store will earn $200 + $200 = $<<200+200=400>>400 if all shirts and jeans are sold.
#### 400