Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomerWebhookPayload ¶
type CustomerWebhookPayload struct {
Customer *dto.CustomerResponse `json:"customer"`
}
func NewCustomerWebhookPayload ¶
func NewCustomerWebhookPayload(customer *dto.CustomerResponse) *CustomerWebhookPayload
type InternalCustomerEvent ¶
type InternalInvoiceEvent ¶
type InternalWalletEvent ¶
type InvoiceWebhookPayload ¶
type InvoiceWebhookPayload struct {
Invoice *dto.InvoiceResponse `json:"invoice"`
}
func NewInvoiceWebhookPayload ¶
func NewInvoiceWebhookPayload(invoice *dto.InvoiceResponse) *InvoiceWebhookPayload
type SubscriptionWebhookPayload ¶
type SubscriptionWebhookPayload struct {
Subscription *dto.SubscriptionResponse `json:"subscription"`
}
SubscriptionWebhookPayload represents the detailed payload for subscription payment webhooks
func NewSubscriptionWebhookPayload ¶
func NewSubscriptionWebhookPayload(subscription *dto.SubscriptionResponse) *SubscriptionWebhookPayload
type TransactionWebhookPayload ¶
type TransactionWebhookPayload struct {
Transaction *dto.WalletTransactionResponse `json:"transaction"`
Wallet *dto.WalletResponse `json:"wallet"`
}
func NewTransactionWebhookPayload ¶
func NewTransactionWebhookPayload(transaction *dto.WalletTransactionResponse, wallet *dto.WalletResponse) *TransactionWebhookPayload
type WalletWebhookPayload ¶
type WalletWebhookPayload struct {
Wallet *dto.WalletResponse `json:"wallet"`
}
WalletWebhookPayload represents the detailed payload for wallet webhooks
func NewWalletWebhookPayload ¶
func NewWalletWebhookPayload(wallet *dto.WalletResponse) *WalletWebhookPayload
Click to show internal directories.
Click to hide internal directories.