public function __construct($payment='', $platform = '', $notify_url = '', $type = 'pay',$return_url='',$order_type = '')
{
if($platform == 'TApp'){
$platform = 'App';
}
$this->platform = $platform;
$this->payment = $payment;
$this->notify_url = $notify_url;
$this->return_url = $return_url;
$this->type = $type;
$this->order_type = $order_type;
$this->setPaymentConfig();
}