Database
Schema Payment
Database ownership boundary của Payment cho tích hợp billing-context.
Schema owner
Payment Service.
Table chính
- Billing context.
- Customer billing state.
- Quote/trial state.
- Payment package linkage.
Trách nhiệm entity
Payment sở hữu hành vi billing-context và payment-facing state. Tích hợp Entitlement với Payment Java billing-context vẫn đang chờ.
Rule boundary cross-service
Service khác không được query trực tiếp private table của Payment. Dùng Payment API hoặc integration contract rõ ràng.
Không được query trực tiếp
Billing state, quote state, payment method state và private integration tables không được Entitlement hoặc Gateway query trực tiếp.