Moqui订单业务模型分析


h1. 通用订单服务

h2. 通用的下单和商业用法

| create customer                                    新建客户| CustomerServices.create#Account |
| create/update/delete customer address 新增/修改/删除 客户地址 | ContactServices.create#PostalAddress, .update#PartyPostalAddress |
| create/update/delete customer phone 新增/修改/删除 客户电话 | ContactServices.create#TelecomNumber, .update#PartyTelecomNumber |
| create/update/delete customer credit card新增/修改/删除 客户信用卡 | PaymentMethodServices.create#CreditCard, .update#CreditCard |

| login: merge with previous open 登录时候合并多个状态为open的订单为一个| merge#OrderItems |
| find customer open orders       查询客户的状态为open的订单| find#OpenOrders - TODO |

| init cart (auto on add to cart)  初始化购物车| create#Order |
| add to cart                      添加到购物车| add#OrderProductQuantity, create#OrderItem |
| change cart quantity              修改购物车| update#OrderProductQuantity, update#OrderItem |
| remove from cart                  删除购物车| delete#OrderItem |
| set billing and shipping info 设置付款和发货信息| set#OrderBillingShippingInfo |
| split order                          分拆订单| create#OrderPart |
| confirm/complete order          确认和完成订单| place#Order |

| create order from shopping list (or other existing order) 根据购物车生成订单(根据其他订单生成订单)| clone#Order - TODO |

你可能感兴趣的:(qui)