for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/vuongxuongminh/yii2-gatewayclients
* @copyright Copyright (c) 2018 Vuong Xuong Minh
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
*/
namespace vxm\examples\gatewayclients;
use vxm\gatewayclients\RequestData as BaseRequestData;
* Class RequestData
*
* @author Vuong Minh <[email protected]>
* @since 1.0
class RequestData extends BaseRequestData
{
* @inheritdoc
public function rules()
return [
[['amount'], 'required', 'on' => ['refund', 'charge']]
];
}