“Daftar Pembayaran Laravel Gigapay” Kode Jawaban

Laravel Gigapay Membuat Pembayaran

use Mazimez\Gigapay\Payout;

$payout = Payout::create(
            '9aa16b42-d0f3-420f-ba57-580c3c86c419', //employee id
            'Instagram samarbete 2021-11-13.', //description for payout
            120, //amount of payout
            null, //cost of payout
            null, //invoice amount of payout
            'SEK', //currency of payout
            json_encode([
                "data" => "data from your system" //metadata of payout
            ]),
            null, //The time at which the gig will start. Displayed as ISO 8601 string.
            null, //The time at which the gig will end. Displayed as ISO 8601 string.
            3 //Unique identifier for the object.
);
return $payout->getJson();
Asif Patel

Daftar Pembayaran Laravel Gigapay

use Mazimez\Gigapay\Payout;

$payouts = Payout::list(); //getting list of employee
$payouts = $payouts->paginate(1, 5);  //add pagination
return $payouts->getJson();
Asif Patel

Jawaban yang mirip dengan “Daftar Pembayaran Laravel Gigapay”

Pertanyaan yang mirip dengan “Daftar Pembayaran Laravel Gigapay”

Lebih banyak jawaban terkait untuk “Daftar Pembayaran Laravel Gigapay” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya