云速成

附录

枚举值说明

接口中常见枚举字段的取值与含义。所有枚举均以字符串返回。

订单与支付

枚举取值含义
OrderStatuspending / processing / shipped / completed / cancelled待处理 / 处理中 / 已发货 / 已完成 / 已取消
PaymentStatuspending / paid / failed / refunded待支付 / 已支付 / 支付失败 / 已退款
PaymentChannelalipay / wechat / paypal支付宝 / 微信 / PayPal
CurrencyCodecny / usd / eur / jpy / hkd人民币 / 美元 / 欧元 / 日元 / 港币
ShippingCarriersf / yto / zto / sto / yunda / jd / ems / other顺丰 / 圆通 / 中通 / 申通 / 韵达 / 京东 / EMS / 其他

内容与商品

枚举取值含义
ArticleStatusdraft / published / private草稿 / 已发布 / 私密
ProductStatusdraft / published / private草稿 / 已上架 / 私密

云服务、发票与工单

枚举取值含义
CloudServiceStatuspending / provisioning / active / failed / expired / released待开通 / 开通中 / 正常 / 开通失败 / 已过期 / 已释放
InvoiceStatuspending / issued / rejected待开票 / 已开具 / 已驳回
InvoiceTargetTypeorder / recharge_order / kenpai_order商城订单 / 充值单 / 域名证书订单
TicketStatusopen / replied / closed待处理 / 已回复 / 已关闭
TicketCategorypresale / aftersale / technical / domain / finance / other售前 / 售后 / 技术支持 / 域名 / 财务 / 其他

域名与证书

枚举取值含义
KenpaiOrderTypedomain_register / domain_renew / domain_transfer_in / ssl_apply域名注册 / 续费 / 转入 / 证书申请
KenpaiOrderStatuspending_payment / paid / processing / completed / failed / cancelled待支付 / 已支付 / 处理中 / 已完成 / 失败 / 已取消