Walmart to pay USD 45 million in class-action settlement