Adapter Pattern

Use case: Create two payment methods - Paypal and Stripe - using the same client API when it comes to payment process given that Paypal and Stripe have different API methods

Let's assume the following implementations of Paypal and Stripe from their creators

<?php

class Paypal
{
    public function sendPayment(int $amount)
    {
        return "Pay $amount with Paypal";
    }
}