webhookDto

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 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 EntitlementWebhookPayload added in v1.0.19

type EntitlementWebhookPayload struct {
	Entitlement *dto.EntitlementResponse `json:"entitlement"`
}

func NewEntitlementWebhookPayload added in v1.0.19

func NewEntitlementWebhookPayload(entitlement *dto.EntitlementResponse) *EntitlementWebhookPayload

type FeatureWebhookPayload added in v1.0.19

type FeatureWebhookPayload struct {
	Feature *dto.FeatureResponse `json:"feature"`
}

func NewFeatureWebhookPayload added in v1.0.19

func NewFeatureWebhookPayload(feature *dto.FeatureResponse) *FeatureWebhookPayload

type InternalCustomerEvent

type InternalCustomerEvent struct {
	CustomerID string `json:"customer_id"`
	TenantID   string `json:"tenant_id"`
}

type InternalEntitlementEvent added in v1.0.19

type InternalEntitlementEvent struct {
	EntitlementID string `json:"entitlement_id"`
	TenantID      string `json:"tenant_id"`
}

type InternalFeatureEvent added in v1.0.19

type InternalFeatureEvent struct {
	FeatureID string `json:"feature_id"`
	TenantID  string `json:"tenant_id"`
}

type InternalInvoiceEvent

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

type InternalPaymentEvent added in v1.0.19

type InternalPaymentEvent struct {
	PaymentID string `json:"payment_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 PaymentWebhookPayload added in v1.0.19

type PaymentWebhookPayload struct {
	Payment *dto.PaymentResponse `json:"payment"`
}

func NewPaymentWebhookPayload added in v1.0.19

func NewPaymentWebhookPayload(payment *dto.PaymentResponse) *PaymentWebhookPayload

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