<?php
namespace Faker\Provider\ms_MY;
class Payment extends \Faker\Provider\Payment
{
protected static $bankFormats = [
'{{localBank}}',
'{{foreignBank}}',
'{{governmentBank}}',
];
/**
* @see http://www.muamalat.com.my/consumer-banking/internet-banking/popup-ibg.html
*/
protected static $bankAccountNumberFormats = [
'##########',
'###########',
'############',
'#############',
'##############',
'###############',
'################',
];
/**
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia
*/
protected static $localBanks = [
'Affin Bank',
'Alliance Bank',
'AmBank',
'CIMB Bank',
'Hong Leong Bank ',
'Maybank',
'Public Bank',
'RHB Bank',
];
/**
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#List_of_foreign_banks_(commercial)
*/
protected static $foreignBanks = [
'Bangkok Bank Berhad',
'Bank of America Malaysia Berhad',
'Bank of China (Malaysia) Berhad',
'Bank of Tokyo-Mitsubishi UFJ (Malaysia) Berhad',
'BNP Paribas Malaysia Berhad',
'China Construction Bank',
'Citibank Berhad',
'Deutsche Bank (Malaysia) Berhad',
'HSBC Bank Malaysia Berhad',
'India International Bank (Malaysia) Berhad',
'Industrial and Commercial Bank of China (Malaysia) Berhad',
'J.P. Morgan Chase Bank Berhad',
'Mizuho Bank (Malaysia) Berhad',
'National Bank of Abu Dhabi Malaysia Berhad',
'OCBC Bank (Malaysia) Berhad',
'Standard Chartered Bank Malaysia Berhad',
'Sumitomo Mitsui Banking Corporation Malaysia Berhad',
'The Bank of Nova Scotia Berhad',
'United Overseas Bank (Malaysia) Bhd.',
];
/**
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#Development_Financial_Institutions_(Government-owned_banks)_(full_list)
*/
protected static $governmentBanks = [
'Agro Bank Malaysia',
'Bank Pembangunan Malaysia Berhad (BPMB) (The development bank of Malaysia)',
'Bank Rakyat',
'Bank Simpanan Nasional',
'Credit Guarantee Corporation Malaysia Berhad (CGC)',
'Export-Import Bank of Malaysia Berhad (Exim Bank)',
'Malaysia Debt Ventures Berhad',
'Malaysian Industrial Development Finance Berhad (MIDF)',
'SME Bank Berhad',
'Sabah Development Bank Berhad (SDB)',
'Sabah Credit Corporation (SCC)',
'Tabung Haji',
];
/**
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#Investment-Link_Funds_(Insurance_Companies_-_Takaful_included)
*/
protected static $insuranceCompanies = [
'AIA Malaysia',
'AIG Malaysia',
'Allianz Malaysia',
'AXA AFFIN Life Insurance',
'Berjaya General Insurance',
'Etiqa Insurance',
'Great Eastern Insurance',
'Hong Leong Assurance',
'Kurnia Insurans Malaysia',
'Manulife Malaysia Insurance',
'MSIG Malaysia',
'Prudential Malaysia',
'Tokio Marine Life Malaysia Insurance',
'UNI.ASIA General Insurance',
'Zurich Insurance Malaysia',
];
/**
* @see http://www.bankswiftcode.org/malaysia/
*/
protected static $swiftCodes = [
'ABNAMY2AXXX', 'ABNAMYKLPNG', 'ABNAMYKLXXX', 'AFBQMYKLXXX', 'AIBBMYKLXXX',
'AISLMYKLXXX', 'AMMBMYKLXXX', 'ARBKMYKLXXX',
'BIMBMYKLXXX', 'BISLMYKAXXX', 'BKCHMYKLXXX', 'BKKBMYKLXXX', 'BMMBMYKLXXX',
'BNMAMYKLXXX', 'BNPAMYKAXXX', 'BOFAMY2XLBN', 'BOFAMY2XXXX', 'BOTKMYKAXXX',
'BOTKMYKXXXX',
'CHASMYKXKEY', 'CHASMYKXXXX', 'CIBBMYKAXXX', 'CIBBMYKLXXX', 'CITIMYKLJOD',
'CITIMYKLLAB', 'CITIMYKLPEN', 'CITIMYKLXXX', 'COIMMYKLXXX', 'CTBBMYKLXXX',
'DABEMYKLXXX', 'DBSSMY2AXXX', 'DEUTMYKLBLB', 'DEUTMYKLGMO', 'DEUTMYKLISB',
'DEUTMYKLXXX',
'EIBBMYKLXXX', 'EOBBMYKLXXX', 'EXMBMYKLXXX',
'FEEBMYKAXXX',
'HBMBMYKLXXX', 'HDSBMY2PSEL', 'HDSBMY2PXXX', 'HLBBMYKLIBU', 'HLBBMYKLJBU',
'HLBBMYKLKCH', 'HLBBMYKLPNG', 'HLBBMYKLXXX', 'HLIBMYKLXXX', 'HMABMYKLXXX',
'HSBCMYKAXXX', 'HSTMMYKLGWS', 'HSTMMYKLXXX',
'KAFBMYKLXXX', 'KFHOMYKLXXX',
'MBBEMYKAXXX', 'MBBEMYKLBAN', 'MBBEMYKLBBG', 'MBBEMYKLBWC', 'MBBEMYKLCSD',
'MBBEMYKLIPH', 'MBBEMYKLJOB', 'MBBEMYKLKEP', 'MBBEMYKLKIN', 'MBBEMYKLKLC',
'MBBEMYKLMAL', 'MBBEMYKLPEN', 'MBBEMYKLPGC', 'MBBEMYKLPJC', 'MBBEMYKLPJY',
'MBBEMYKLPKG', 'MBBEMYKLPSG', 'MBBEMYKLPUD', 'MBBEMYKLSAC', 'MBBEMYKLSBN',
'MBBEMYKLSHA', 'MBBEMYKLSUB', 'MBBEMYKLWSD', 'MBBEMYKLXXX', 'MBBEMYKLYSL',
'MFBBMYKLXXX', 'MHCBMYKAXXX',
'NOSCMY2LXXX', 'NOSCMYKLXXX',
'OABBMYKLXXX', 'OCBCMYKLXXX', 'OSKIMYKLXXX',
'PBBEMYKLXXX', 'PBLLMYKAXXX', 'PCGLMYKLXXX', 'PERMMYKLXXX', 'PHBMMYKLXXX',
'PTRDMYKLXXX', 'PTROMYKLFSD', 'PTROMYKLXXX',
'RHBAMYKLXXX', 'RHBBMYKAXXX', 'RHBBMYKLXXX', 'RJHIMYKLXXX',
'SCBLMYKXLAB', 'SCBLMYKXXXX', 'SMBCMYKAXXX',
'UIIBMYKLXXX', 'UOVBMYKLCND', 'UOVBMYKLXXX',
];
/**
* @see https://en.wikipedia.org/wiki/Malaysian_ringgit
*/
protected static $currencySymbol = [
'RM',
];
/**
* Return a Malaysian Bank
*
* @example 'Maybank'
*
* @return string
*/
public function bank()
{
$formats = static::randomElement(static::$bankFormats);
return $this->generator->parse($formats);
}
/**
* Return a Malaysian Bank account number
*
* @example '1234567890123456'
*
* @return string
*/
public function bankAccountNumber()
{
$formats = static::randomElement(static::$bankAccountNumberFormats);
return static::numerify($formats);
}
/**
* Return a Malaysian Local Bank
*
* @example 'Public Bank'
*
* @return string
*/
public static function localBank()
{
return static::randomElement(static::$localBanks);
}
/**
* Return a Malaysian Foreign Bank
*
* @example 'Citibank Berhad'
*
* @return string
*/
public static function foreignBank()
{
return static::randomElement(static::$foreignBanks);
}
/**
* Return a Malaysian Government Bank
*
* @example 'Bank Simpanan Nasional'
*
* @return string
*/
public static function governmentBank()
{
return static::randomElement(static::$governmentBanks);
}
/**
* Return a Malaysian insurance company
*
* @example 'AIA Malaysia'
*
* @return string
*/
public static function insurance()
{
return static::randomElement(static::$insuranceCompanies);
}
/**
* Return a Malaysian Bank SWIFT Code
*
* @example 'MBBEMYKLXXX'
*
* @return string
*/
public static function swiftCode()
{
return static::toUpper(static::lexify(static::randomElement(static::$swiftCodes)));
}
/**
* Return the Malaysian currency symbol
*
* @example 'RM'
*
* @return string
*/
public static function currencySymbol()
{
return static::randomElement(static::$currencySymbol);
}
}
Service Section
Discover how our services are designed to enhance your NFC Pay experience with convenience, security, and innovative solutions. From managing transactions to secure payments, we are dedicated to providing seamless support every step of the way.
Easily save your credit and debit card details within our app for quick and secure transactions. This feature ensures that your payment information is protected with advanced encryption and can be used for future purchases with just a tap.
Transfer funds quickly and securely between users with our streamlined money transfer service. Simply select the recipient, enter the amount, and authorize the transaction for instant, hassle-free transfers.
Activate your merchant account effortlessly to start receiving payments. Our intuitive setup process ensures that you can begin accepting transactions smoothly, helping your business thrive with minimal setup time.
Keep track of all your transactions in real time through our app. Monitor payment statuses, view transaction history, and manage your account efficiently, ensuring complete control over your financial activities.
Our dedicated support team is available to assist you with any queries or issues. Whether you need help with setting up your account or resolving transaction-related questions, we’re here to provide prompt and reliable assistance.