webhookDto

package
v1.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

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 InternalCustomerEvent struct {
	CustomerID string `json:"customer_id"`
	TenantID   string `json:"tenant_id"`
}

type InternalInvoiceEvent

type InternalInvoiceEvent struct {
	InvoiceID string `json:"invoice_id"`
	TenantID  string `json:"tenant_id"`
}

type InternalSubscriptionEvent

type InternalSubscriptionEvent struct {
	EventType      string `json:"event_type"`
	SubscriptionID string `json:"subscription_id"`
	TenantID       string `json:"tenant_id"`
}

type InternalTransactionEvent

type InternalTransactionEvent struct {
	EventType     string `json:"event_type"`
	TransactionID string `json:"transaction_id"`
	TenantID      string `json:"tenant_id"`
}

type InternalWalletEvent

type InternalWalletEvent struct {
	EventType string `json:"event_type"`
	WalletID  string `json:"wallet_id"`
	TenantID  string `json:"tenant_id"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL