
聚合收款码哪个零费率?聚合收款码提供的零费率有:微信/支付宝和银行卡代扣、微信/QQ钱包和银行卡快速到帐、云闪付和快捷。
聚合收款码0费率$payType = 0;
if($this->channel == 'aplipay'){
$payType = 1; //支付宝聚合收款码1费率
}
return Db::name('merchants_rate')->where(['mch_id'=>$this->mchId,'type'=>$payType])->value('rate');
}
/**
* 收银台配置信息返回处理, 会在子类中复写该方法,实例如微信、支付宝;权重最低。
*/
protected function _parseConfigParams() {
}
/**
* 向上递归取商户的所有上级ID列表.(关联数量: 20) 高性能. [用于代理商佣金] 这个函数由子集覆盖. 不能使用 Model 类式的函数!
* @param int $id 商户id (默认无). 不是必须的, 外部即可使用 `MCH::getMerchantParentIds()` 这样的实例化对象函数带入 ID! ? I thought it was optional parameter? -_-||| Maybe you forget a colon? 2018-09-14 By AcatLiu. [DONE] . . . . . 2019-03-18 add by heikepeng 2019/04/25 update by jasonchen@vcomic.cn 2020/6/20 update by zhaoyu2020@gmail.com2020/7/
聚合收款码免费率///
/// 聚合收款码免费率
///
public double FreeRate { get; set; } = 0.0025f;
#endregion
#region 其它优惠券
///
/// 满多少可用 优惠券 金额,单位为元。0表示无门槛
///
public decimal MeetPrice { get; set; } = 0m;
/// <