Commit 65465a28 authored by Muhammad Fahrul's avatar Muhammad Fahrul

Initial commit

parents
This diff is collapsed.
<?php
require_once('./SingleSettlement.php');
$operatorCode = '0053';
echo "Operator Code : $operatorCode";
echo PHP_EOL;
$siteCode = '00';
echo "Site Code : $siteCode";
echo PHP_EOL;
$data = json_decode('[{"report_sam":"603298407594505900840D706E89064206151301000120F2030000AFB8000023012416510000000006000283386FC8,0,0084,15130100,6032984075945059,23012024165100,0000001010,0000047279,R80.41uc"},{"report_sam":"603298100004665600030D706E86285851060128000120010000007D03000010112310575600060000E802038AF3F2,0,0001,06012800,6032981000046656,23012024105758,0000000001,0000000893,2.0.7"},{"report_sam":"603298407594505900840D706E8906420615130100012001000000A6BC0000220124151700000000000000834D1658,0,0084,15130100,6032984075945059,23012024151700,0000000001,0000048294,R80.41uc"},{"report_sam":"603298407594505900840D706E8906420615130100012001000000AEB80000230124190600000000070003832E39D4,0,0084,15130100,6032984075945059,23012024190600,0000000001,0000047278,R80.41uc"}]', true);
$results = (new SingleSettlement($operatorCode, $siteCode))->create($data);
echo "Data : " . json_encode($data, JSON_PRETTY_PRINT);
echo PHP_EOL;
echo "Results : " . json_encode($results, JSON_PRETTY_PRINT);
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment