[paypal ec][api] simplify api methods, constructor.