first commit

This commit is contained in:
2024-07-12 08:03:32 +07:00
commit 7f9359656d
122 changed files with 13427 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
<?php
/**
* Created by PhpStorm.
* User: USER
* Date: 11/05/2024
* Time: 13:07
*/
namespace App\Models\Qris\v1;
class QrisJatimCheckStatusQrisRequest extends \stdClass
{
private $username = "";
private $password = "";
private $invoice_number = "";
public function __construct($response)
{
$has = get_object_vars($this);
foreach ($has as $name => $oldValue) {
!array_key_exists($name, $response) ?: $this->$name = $response[$name];
}
}
public function toArray(): array
{
$has = get_object_vars($this);
$response = array();
foreach ($has as $name => $value) {
if (gettype($value) === 'object') {
$response[$name] = $value->toArray();
} else {
$response[$name] = $value;
}
}
return $response;
}
public function getusername()
{
return $this->username;
}
public function setusername($username): void
{
$this->username = $username;
}
public function getpassword()
{
return $this->password;
}
public function setpassword($password): void
{
$this->password = $password;
}
public function getinvoice_number()
{
return $this->invoice_number;
}
public function setinvoice_number($invoice_number): void
{
$this->invoice_number = $invoice_number;
}
}

View File

@@ -0,0 +1,135 @@
<?php
/**
* Created by PhpStorm.
* User: ITKOM-EFFENDY
* Date: 01/04/2024
* Time: 14:48
*/
namespace App\Models\Qris\v1;
class QrisJatimGenerateRequest extends \stdClass
{
private $merchantPan = "";
private $hashcodeKey = "";
private $billNumber = "";
private $purposetrx = "";
private $storelabel = "";
private $customerlabel = "";
private $terminalUser = "";
private $amount = "";
private $expiredDate = "";
public function __construct($response)
{
$has = get_object_vars($this);
foreach ($has as $name => $oldValue) {
!array_key_exists($name, $response) ?: $this->$name = $response[$name];
}
}
public function toArray(): array
{
$has = get_object_vars($this);
$response = array();
foreach ($has as $name => $value) {
if (gettype($value) === 'object') {
$response[$name] = $value->toArray();
} else {
$response[$name] = $value;
}
}
return $response;
}
public function getmerchantPan()
{
return $this->merchantPan;
}
public function setmerchantPan($merchantPan): void
{
$this->merchantPan = $merchantPan;
}
public function gethashcodeKey()
{
return $this->hashcodeKey;
}
public function sethashcodeKey($hashcodeKey): void
{
$this->hashcodeKey = $hashcodeKey;
}
public function getbillNumber()
{
return $this->billNumber;
}
public function setbillNumber($billNumber): void
{
$this->billNumber = $billNumber;
}
public function getpurposetrx()
{
return $this->purposetrx;
}
public function setpurposetrx($purposetrx): void
{
$this->purposetrx = $purposetrx;
}
public function getstorelabel()
{
return $this->storelabel;
}
public function setstorelabel($storelabel): void
{
$this->storelabel = $storelabel;
}
public function getcustomerlabel()
{
return $this->customerlabel;
}
public function setcustomerlabel($customerlabel): void
{
$this->customerlabel = $customerlabel;
}
public function getterminalUser()
{
return $this->terminalUser;
}
public function setterminalUser($terminalUser): void
{
$this->terminalUser = $terminalUser;
}
public function getexpiredDate()
{
return $this->expiredDate;
}
public function setexpiredDate($expiredDate): void
{
$this->expiredDate = $expiredDate;
}
public function getamount()
{
return $this->amount;
}
public function setamount($amount): void
{
$this->amount = $amount;
}
}

View File

@@ -0,0 +1,189 @@
<?php
/**
* Created by PhpStorm.
* User: ITKOM-EFFENDY
* Date: 01/04/2024
* Time: 14:48
*/
namespace App\Models\Qris\v1;
class QrisJatimGenerateResponse extends \stdClass
{
private $responseCode = '00';
private $totalAmount = '';
private $qrValue = '';
private $amount = '';
private $expiredDate = '';
private $nmid = '';
private $billNumber = '';
private $merchantPan = '';
private $invoiceNumber = '';
private $status = '';
private $merchantName = '';
public function __construct($response = null)
{
if ($response !== null) {
$has = get_object_vars($this);
foreach ($has as $name => $oldValue) {
!array_key_exists($name, $response) ?: $this->{'set' . $name}($response[$name]);
}
}
}
public function toArray()
{
$has = get_object_vars($this);
$response = array();
foreach ($has as $name => $value) {
$response[$name] = $value;
}
return $response;
}
public function getresponseCode()
{
return $this->responseCode;
}
/**
* @param mixed $responseCode
*/
public function setresponseCode($responseCode): void
{
$this->responseCode = $responseCode;
}
public function gettotalAmount()
{
return $this->totalAmount;
}
/**
* @param mixed $totalAmount
*/
public function settotalAmount($totalAmount): void
{
$this->totalAmount = $totalAmount;
}
public function getqrValue()
{
return $this->qrValue;
}
/**
* @param mixed $qrValue
*/
public function setqrValue($qrValue): void
{
$this->qrValue = $qrValue;
}
public function getamount()
{
return $this->amount;
}
/**
* @param mixed $amount
*/
public function setamount($amount): void
{
$this->amount = $amount;
}
public function getexpiredDate()
{
return $this->expiredDate;
}
/**
* @param mixed $expiredDate
*/
public function setexpiredDate($expiredDate): void
{
$this->expiredDate = $expiredDate;
}
public function getnmid()
{
return $this->nmid;
}
/**
* @param mixed $nmid
*/
public function setnmid($nmid): void
{
$this->nmid = $nmid;
}
public function getbillNumber()
{
return $this->billNumber;
}
/**
* @param mixed $billNumber
*/
public function setbillNumber($billNumber): void
{
$this->billNumber = $billNumber;
}
public function getmerchantPan()
{
return $this->merchantPan;
}
/**
* @param mixed $merchantPan
*/
public function setmerchantPan($merchantPan): void
{
$this->merchantPan = $merchantPan;
}
public function getinvoiceNumber()
{
return $this->invoiceNumber;
}
/**
* @param mixed $invoiceNumber
*/
public function setinvoiceNumber($invoiceNumber): void
{
$this->invoiceNumber = $invoiceNumber;
}
public function getstatus()
{
return $this->status;
}
/**
* @param mixed $status
*/
public function setstatus($status): void
{
$this->status = $status;
}
public function getmerchantName()
{
return $this->merchantName;
}
/**
* @param mixed $merchantName
*/
public function setmerchantName($merchantName): void
{
$this->merchantName = $merchantName;
}
}

View File

@@ -0,0 +1,149 @@
<?php
/**
* Created by PhpStorm.
* User: USER
* Date: 13/05/2024
* Time: 10:47
*/
namespace App\Models\Qris\v1;
class QrisJatimPaymentRequest extends \stdClass
{
private $billNumber = "";
private $purposetrx = "";
private $storelabel = "";
private $customerlabel = "";
private $terminalUser = "";
private $amount = "";
private $core_reference = "";
private $merchantPan = "";
private $pjsp = "";
private $invoice_number = "";
private $transactionDate = "";
public function __construct($response)
{
$has = get_object_vars($this);
foreach ($has as $name => $oldValue) {
!array_key_exists($name, $response) ?: $this->$name = $response[$name];
}
}
public function toArray(): array
{
$has = get_object_vars($this);
$response = array();
foreach ($has as $name => $value) {
if (gettype($value) === 'object') {
$response[$name] = $value->toArray();
} else {
$response[$name] = $value;
}
}
return $response;
}
public function getbillNumber()
{
return $this->billNumber;
}
public function setbillNumber($billNumber): void
{
$this->billNumber = $billNumber;
}
public function getpurposetrx()
{
return $this->purposetrx;
}
public function setpurposetrx($purposetrx): void
{
$this->purposetrx = $purposetrx;
}
public function getstorelabel()
{
return $this->storelabel;
}
public function setstorelabel($storelabel): void
{
$this->storelabel = $storelabel;
}
public function getcustomerlabel()
{
return $this->customerlabel;
}
public function setcustomerlabel($customerlabel): void
{
$this->customerlabel = $customerlabel;
}
public function getterminalUser()
{
return $this->terminalUser;
}
public function setterminalUser($terminalUser): void
{
$this->terminalUser = $terminalUser;
}
public function getcore_reference()
{
return $this->core_reference;
}
public function setcore_reference($core_reference): void
{
$this->core_reference = $core_reference;
}
public function getcustomerPan()
{
return $this->customerPan;
}
public function setcustomerPan($customerPan): void
{
$this->customerPan = $customerPan;
}
public function getpjsp()
{
return $this->pjsp;
}
public function setpjsp($pjsp): void
{
$this->pjsp = $pjsp;
}
public function getinvoice_number()
{
return $this->invoice_number;
}
public function setinvoice_number($invoice_number): void
{
$this->invoice_number = $invoice_number;
}
public function gettransactionDate()
{
return $this->transactionDate;
}
public function settransactionDate($transactionDate): void
{
$this->transactionDate = $transactionDate;
}
}

View File

@@ -0,0 +1,171 @@
<?php
/**
* Created by PhpStorm.
* User: USER
* Date: 13/05/2024
* Time: 10:56
*/
namespace App\Models\Qris\v1;
class QrisJatimPaymentResponse extends \stdClass
{
private $responsCode = "00";
private $responsDesc = "Success";
private $billNumber = "";
private $purposetrx = "";
private $storelabel = "";
private $customerlabel = "";
private $terminalUser = "";
private $amount = "";
private $core_reference = "";
private $customerPan = "";
private $merchantPan = "";
private $pjsp = "";
private $invoice_number = "";
private $transactionDate = "";
public function __construct($response)
{
$has = get_object_vars($this);
foreach ($has as $name => $oldValue) {
!array_key_exists($name, $response) ?: $this->$name = $response[$name];
}
}
public function toArray(): array
{
$has = get_object_vars($this);
$response = array();
foreach ($has as $name => $value) {
if (gettype($value) === 'object') {
$response[$name] = $value->toArray();
} else {
$response[$name] = $value;
}
}
return $response;
}
public function getresponsCode()
{
return $this->responsCode;
}
public function setresponsCode($responsCode): void
{
$this->responsCode = $responsCode;
}
public function getresponsDesc()
{
return $this->responsDesc;
}
public function setresponsDesc($responsDesc): void
{
$this->responsDesc = $responsDesc;
}
public function getpurposetrx()
{
return $this->purposetrx;
}
public function setpurposetrx($purposetrx): void
{
$this->purposetrx = $purposetrx;
}
public function getstorelabel()
{
return $this->storelabel;
}
public function setstorelabel($storelabel): void
{
$this->storelabel = $storelabel;
}
public function getcustomerlabel()
{
return $this->customerlabel;
}
public function setcustomerlabel($customerlabel): void
{
$this->customerlabel= $customerlabel;
}
public function getterminalUser()
{
return $this->terminalUser;
}
public function setterminalUser($terminalUser): void
{
$this->terminalUser = $terminalUser;
}
public function getamount()
{
return $this->amount;
}
public function setamount($amount): void
{
$this->amount= $amount;
}
public function gettransactionDate()
{
return $this->transactionDate;
}
public function settransactionDate($transactionDate): void
{
$this->transactionDate = $transactionDate;
}
public function getcore_reference ()
{
return $this->core_reference ;
}
public function setcore_reference ($core_reference ): void
{
$this->core_reference = $core_reference ;
}
public function getccustomerPan ()
{
return $this->customerPan ;
}
public function setcustomerPan ($customerPan ): void
{
$this->customerPan = $customerPan ;
}
public function getpjsp()
{
return $this->pjsp;
}
public function setpjsp($pjsp): void
{
$this->pjsp = $pjsp;
}
public function getinvoice_number()
{
return $this->invoice_number;
}
public function setinvoice_number($invoice_number): void
{
$this->invoice_number = $invoice_number;
}
}