Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
@CommandRoute(prefix = "customer/{customerId}", path = "address", method = CommandRoute.Method.PUT, appendIdPath = CommandRoute.AppendPath.ALWAYS)
ChangeAddress .
Link copied to clipboard
data class CreateOrder(val customerId: String, val items: List<CreateOrder.Item>, val address: ShippingAddress, val fromCart: Boolean) : CommandValidator
CreateOrder .
Link copied to clipboard
interface CreateOrderItem
Link copied to clipboard
data class OrderCreated(val orderId: String, val customerId: String, val items: List<OrderItem>, val address: ShippingAddress, val fromCart: Boolean)
Link copied to clipboard
data class OrderItem(val id: String, val productId: String, val price: BigDecimal, val quantity: Int) : Identifier, CreateOrderItem
订单项为实体对象 .
Link copied to clipboard
Link copied to clipboard
OrderPackage .
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
ProductId .
Link copied to clipboard
object OrderReceived
Link copied to clipboard
object OrderShipped
Link copied to clipboard
@CommandRoute(path = "pay", method = CommandRoute.Method.POST, appendIdPath = CommandRoute.AppendPath.ALWAYS)
PayOrder .
Link copied to clipboard
@CommandRoute(prefix = "customer/{customerId}", path = "package", appendIdPath = CommandRoute.AppendPath.ALWAYS, method = CommandRoute.Method.PATCH)
ReceiptOrder .
Link copied to clipboard
@CommandRoute(path = "package", appendIdPath = CommandRoute.AppendPath.ALWAYS, method = CommandRoute.Method.POST)
ShipOrder .