(Reuters) - Payment processor Mastercard Inc said on Monday it would buy back up to $4 billion of its class A shares.