Documentation
¶
Index ¶
- type CustomerWebhookPayload
- type EntitlementWebhookPayload
- type FeatureWebhookPayload
- type InternalCustomerEvent
- type InternalEntitlementEvent
- type InternalFeatureEvent
- type InternalInvoiceEvent
- type InternalPaymentEvent
- type InternalSubscriptionEvent
- type InternalTransactionEvent
- type InternalWalletEvent
- type InvoiceWebhookPayload
- type PaymentWebhookPayload
- type SubscriptionWebhookPayload
- type TransactionWebhookPayload
- type WalletWebhookPayload
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 InternalEntitlementEvent ¶ added in v1.0.19
type InternalFeatureEvent ¶ added in v1.0.19
type InternalInvoiceEvent ¶
type InternalPaymentEvent ¶ added in v1.0.19
type InternalWalletEvent ¶
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
Click to show internal directories.
Click to hide internal directories.