Understand the WeChat Pay APIv3 Java SDK structure
mainThe SDK is divided into two main components:
- core: The foundational library. It provides an HTTP client with automatic request signing and response verification, callback handling, and encryption/decryption utilities.
- service: The business layer. It contains high-level business interfaces and usage examples for specific payment scenarios.
Developers typically interact with the service layer after configuring the core component.