<?php
/**
 * @author: helei
 * @createTime: 2016-07-14 17:56
 * @description: 支付宝 即时到账 接口
 * @link      https://github.com/helei112g/payment/tree/paymentv2
 * @link      https://helei112g.github.io/
 */

namespace Payment\Charge\Ali;

use Payment\Common\Ali\AliBaseStrategy;
use Payment\Common\Ali\Data\Charge\WebChargeData;
use Payment\Common\AliConfig;

class AliWebCharge extends AliBaseStrategy
{
    /**
     * 获取支付对应的数据完成类
     * @return string
     * @author helei
     */
    public function getBuildDataClass()
    {
        $this->config->method = AliConfig::PC_PAY_METHOD;
        // 以下两种方式均可以
        return WebChargeData::class;
        //return 'Payment\Common\Ali\Data\Charge\WebChargeData';
    }
}
