<?php
namespace Payment\Charge\Cmb; use Payment\Common\Cmb\CmbBaseStrategy; use Payment\Common\Cmb\Data\Charge\ChargeData; class CmbCharge extends CmbBaseStrategy { public function getBuildDataClass() { $this->config->getewayUrl = 'https://netpay.cmbchina.com/netpayment/BaseHttp.dll?MB_EUserPay'; if ($this->config->useSandbox) { $this->config->getewayUrl = 'http://121.15.180.66:801/NetPayment/BaseHttp.dll?MB_EUserPay'; } return ChargeData::class; } } 