<?php

namespace Omise\Payment\Gateway\Http\Client;

class Authorize extends AbstractOmiseClient
{
    /**
     * @param  array $body
     *
     * @return array
     */
    public function request(Array $body)
    {
        return \OmiseCharge::create([
            'amount'   => 10000,
            'currency' => "thb",
            'card'     => "tokn_test_5609gc5d58d32nr4e1g",
            'capture'  => false
        ], $this->publicKey, $this->secretKey);
    }
}

Add a class to create the charge with authorize only
Add a class to create the charge with authorize only

Add a class to create the charge with authorize only. The public key and
secret key will be used from the initialize of parent class. This class
is still fixed the parameters from the client side.