Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
anandsiddharth
/
laravel-paytm-wallet
/
src
/
Traits
Location:
/home/zoteqbgb/public_html/vendor/anandsiddharth/laravel-paytm-wallet/src/Traits
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: HasTransactionStatus.php
<?php namespace Anand\LaravelPaytmWallet\Traits; use Anand\LaravelPaytmWallet\Facades\PaytmWallet; trait HasTransactionStatus { public function isOpen(){ if ($this->response['STATUS'] == PaytmWallet::STATUS_OPEN){ return true; } return false; } public function isFailed(){ if ($this->response['STATUS'] == PaytmWallet::STATUS_FAILURE) { return true; } return false; } public function isSuccessful(){ if($this->response['STATUS'] == PaytmWallet::STATUS_SUCCESSFUL){ return true; } return false; } public function isPending(){ if($this->response['STATUS'] == PaytmWallet::STATUS_PENDING){ return true; } return false; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
HasTransactionStatus.php
801 bytes
0644
2020-10-28 10:22
âï¸
ðï¸
Rename
Chang
Apply