You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
652 B
30 lines
652 B
<?php
|
|
|
|
namespace App\Common;
|
|
|
|
/**
|
|
* 支付方式常量
|
|
* Class PayType
|
|
* @package App\Common
|
|
*/
|
|
class PayType
|
|
{
|
|
const ONLINE = 0; //在线全款支付
|
|
const OFFLINE = 1; //线下支付
|
|
const SUBSCRIPTION = 2; //订金支付
|
|
const DEPOSIT = 3; //定金支付
|
|
const DOWN_PAYMENT = 4; //尾款/多加支付
|
|
const BALANCE_PAY = 5; //尾款/多加支付
|
|
|
|
public static function array()
|
|
{
|
|
return [
|
|
self::ONLINE => '在线支付',
|
|
self::OFFLINE => '线下支付',
|
|
self::SUBSCRIPTION => '订金支付',
|
|
self::DEPOSIT => '定金支付',
|
|
self::DOWN_PAYMENT => '首款支付',
|
|
self::BALANCE_PAY => '尾款/多加支付',
|
|
];
|
|
}
|
|
}
|