<?php
namespace Faker\Provider\ar_JO;
class Company extends \Faker\Provider\Company
{
protected static $formats = [
'{{lastName}} {{companySuffix}}',
'{{companyPrefix}} {{lastName}} {{companySuffix}}',
'{{companyPrefix}} {{lastName}}',
];
protected static $bsWords = [
[],
];
protected static $catchPhraseWords = [
['الخدمات', 'الحلول', 'الانظمة'],
[
'الذهبية', 'الذكية', 'المتطورة', 'المتقدمة', 'الدولية', 'المتخصصه', 'السريعة',
'المثلى', 'الابداعية', 'المتكاملة', 'المتغيرة', 'المثالية',
],
];
protected static $companyPrefix = ['شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض'];
protected static $companySuffix = ['وأولاده', 'للمساهمة المحدودة', ' ذ.م.م', 'مساهمة عامة', 'وشركائه'];
/**
* @example 'مؤسسة'
*
* @return string
*/
public function companyPrefix()
{
return static::randomElement(self::$companyPrefix);
}
/**
* @example 'Robust full-range hub'
*/
public function catchPhrase()
{
$result = [];
foreach (static::$catchPhraseWords as &$word) {
$result[] = static::randomElement($word);
}
return implode(' ', $result);
}
/**
* @example 'integrate extensible convergence'
*/
public function bs()
{
$result = [];
foreach (static::$bsWords as &$word) {
$result[] = static::randomElement($word);
}
return implode(' ', $result);
}
}
Checks the status of a payment.
**Response: SUCCESS (200 OK)**
{
"message": {
"success": [
"Success"
]
},
"data": {
"token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
"trx_id": "CP44657864",
"payer": {
"username": "testuser",
"email": "user@appdevs.net"
}
"status": "Test",
},
"type": "success"
}