✏️ 编辑:MeasurementUnitUnitType.php
路径:
/home/forge/woocommerce-square/vendor/square/square/src/Models/MeasurementUnitUnitType.php
大小:982 B · 修改:2025-12-23 20:26:26 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php declare(strict_types=1); namespace Square\Models; /** * Describes the type of this unit and indicates which field contains the unit information. This is an * ‘open’ enum. */ class MeasurementUnitUnitType { /** * The unit details are contained in the custom_unit field. */ public const TYPE_CUSTOM = 'TYPE_CUSTOM'; /** * The unit details are contained in the area_unit field. */ public const TYPE_AREA = 'TYPE_AREA'; /** * The unit details are contained in the length_unit field. */ public const TYPE_LENGTH = 'TYPE_LENGTH'; /** * The unit details are contained in the volume_unit field. */ public const TYPE_VOLUME = 'TYPE_VOLUME'; /** * The unit details are contained in the weight_unit field. */ public const TYPE_WEIGHT = 'TYPE_WEIGHT'; /** * The unit details are contained in the generic_unit field. */ public const TYPE_GENERIC = 'TYPE_GENERIC'; }
💾 保存
取消
保存为 UTF-8,换行统一为 LF