Documentation
¶
Overview ¶
Package razorpay mocks Razorpay's payment API surface. Real-world shape: payment entity with id/entity/amount/currency/status, and webhook envelope { entity: "event", event, contains, payload, created_at }.
DTO shapes for Razorpay's /payments response and webhook notifications. Derived from the production reference library (test-dto-/razorpay.go) and Razorpay's public API docs. Kept scoped to the fields this mock emits; extend when a new failure mode needs more surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct{}
func (*Adapter) BuildResponse ¶
func (*Adapter) BuildWebhookPayload ¶
Click to show internal directories.
Click to hide internal directories.