yoone-wc-moneris-payments/includes/interfaces/class-yoone-moneris-txn-typ...

23 lines
609 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
if (! defined('ABSPATH')) {
exit;
}
/**
* 交易类型常量枚举(避免字符串写错)
* 将常用的交易类型统一到接口常量中,供 API 层调用。
*/
interface Yoone_Moneris_Txn_Types
{
// Vault存储卡片相关
public const RES_ADD_CC = 'res_add_cc';
public const RES_UPDATE_CC = 'res_update_cc';
public const RES_DELETE = 'res_delete';
// Vault 令牌交易
public const RES_PURCHASE_CC = 'res_purchase_cc';
public const RES_PREAUTH_CC = 'res_preauth_cc';
// 通用交易
public const REFUND = 'refund';
}