Documentation
¶
Index ¶
- func BasicAuthErrorHandler(w http.ResponseWriter, r *http.Request, err error)
- func BasicAuthValidator(validateCredentials func(username, password string) bool) func(*http.Request) error
- func ParseEventType(body []byte) (enum.EventType, error)
- type AddUsagesReminderContent
- type AddUsagesReminderEvent
- type AddonCreatedContent
- type AddonCreatedEvent
- type AddonDeletedContent
- type AddonDeletedEvent
- type AddonUpdatedContent
- type AddonUpdatedEvent
- type AttachedItemCreatedContent
- type AttachedItemCreatedEvent
- type AttachedItemDeletedContent
- type AttachedItemDeletedEvent
- type AttachedItemUpdatedContent
- type AttachedItemUpdatedEvent
- type AuthorizationSucceededContent
- type AuthorizationSucceededEvent
- type AuthorizationVoidedContent
- type AuthorizationVoidedEvent
- type BaseEvent
- type BusinessEntityCreatedContent
- type BusinessEntityCreatedEvent
- type BusinessEntityDeletedContent
- type BusinessEntityDeletedEvent
- type BusinessEntityUpdatedContent
- type BusinessEntityUpdatedEvent
- type CardAddedContent
- type CardAddedEvent
- type CardDeletedContent
- type CardDeletedEvent
- type CardExpiredContent
- type CardExpiredEvent
- type CardExpiryReminderContent
- type CardExpiryReminderEvent
- type CardUpdatedContent
- type CardUpdatedEvent
- type ContractTermCancelledContent
- type ContractTermCancelledEvent
- type ContractTermCompletedContent
- type ContractTermCompletedEvent
- type ContractTermCreatedContent
- type ContractTermCreatedEvent
- type ContractTermRenewedContent
- type ContractTermRenewedEvent
- type ContractTermTerminatedContent
- type ContractTermTerminatedEvent
- type CouponCodesAddedContent
- type CouponCodesAddedEvent
- type CouponCodesDeletedContent
- type CouponCodesDeletedEvent
- type CouponCodesUpdatedContent
- type CouponCodesUpdatedEvent
- type CouponCreatedContent
- type CouponCreatedEvent
- type CouponDeletedContent
- type CouponDeletedEvent
- type CouponSetCreatedContent
- type CouponSetCreatedEvent
- type CouponSetDeletedContent
- type CouponSetDeletedEvent
- type CouponSetUpdatedContent
- type CouponSetUpdatedEvent
- type CouponUpdatedContent
- type CouponUpdatedEvent
- type CreditNoteCreatedContent
- type CreditNoteCreatedEvent
- type CreditNoteCreatedWithBackdatingContent
- type CreditNoteCreatedWithBackdatingEvent
- type CreditNoteDeletedContent
- type CreditNoteDeletedEvent
- type CreditNoteUpdatedContent
- type CreditNoteUpdatedEvent
- type CustomerBusinessEntityChangedContent
- type CustomerBusinessEntityChangedEvent
- type CustomerChangedContent
- type CustomerChangedEvent
- type CustomerCreatedContent
- type CustomerCreatedEvent
- type CustomerDeletedContent
- type CustomerDeletedEvent
- type CustomerEntitlementsUpdatedContent
- type CustomerEntitlementsUpdatedEvent
- type CustomerMovedInContent
- type CustomerMovedInEvent
- type CustomerMovedOutContent
- type CustomerMovedOutEvent
- type DifferentialPriceCreatedContent
- type DifferentialPriceCreatedEvent
- type DifferentialPriceDeletedContent
- type DifferentialPriceDeletedEvent
- type DifferentialPriceUpdatedContent
- type DifferentialPriceUpdatedEvent
- type DunningUpdatedContent
- type DunningUpdatedEvent
- type EntitlementOverridesAutoRemovedContent
- type EntitlementOverridesAutoRemovedEvent
- type EntitlementOverridesRemovedContent
- type EntitlementOverridesRemovedEvent
- type EntitlementOverridesUpdatedContent
- type EntitlementOverridesUpdatedEvent
- type FeatureActivatedContent
- type FeatureActivatedEvent
- type FeatureArchivedContent
- type FeatureArchivedEvent
- type FeatureCreatedContent
- type FeatureCreatedEvent
- type FeatureDeletedContent
- type FeatureDeletedEvent
- type FeatureReactivatedContent
- type FeatureReactivatedEvent
- type FeatureUpdatedContent
- type FeatureUpdatedEvent
- type GiftCancelledContent
- type GiftCancelledEvent
- type GiftClaimedContent
- type GiftClaimedEvent
- type GiftExpiredContent
- type GiftExpiredEvent
- type GiftScheduledContent
- type GiftScheduledEvent
- type GiftUnclaimedContent
- type GiftUnclaimedEvent
- type GiftUpdatedContent
- type GiftUpdatedEvent
- type HierarchyCreatedContent
- type HierarchyCreatedEvent
- type HierarchyDeletedContent
- type HierarchyDeletedEvent
- type InvoiceDeletedContent
- type InvoiceDeletedEvent
- type InvoiceGeneratedContent
- type InvoiceGeneratedEvent
- type InvoiceGeneratedWithBackdatingContent
- type InvoiceGeneratedWithBackdatingEvent
- type InvoiceUpdatedContent
- type InvoiceUpdatedEvent
- type ItemCreatedContent
- type ItemCreatedEvent
- type ItemDeletedContent
- type ItemDeletedEvent
- type ItemEntitlementsRemovedContent
- type ItemEntitlementsRemovedEvent
- type ItemEntitlementsUpdatedContent
- type ItemEntitlementsUpdatedEvent
- type ItemFamilyCreatedContent
- type ItemFamilyCreatedEvent
- type ItemFamilyDeletedContent
- type ItemFamilyDeletedEvent
- type ItemFamilyUpdatedContent
- type ItemFamilyUpdatedEvent
- type ItemPriceCreatedContent
- type ItemPriceCreatedEvent
- type ItemPriceDeletedContent
- type ItemPriceDeletedEvent
- type ItemPriceEntitlementsRemovedContent
- type ItemPriceEntitlementsRemovedEvent
- type ItemPriceEntitlementsUpdatedContent
- type ItemPriceEntitlementsUpdatedEvent
- type ItemPriceUpdatedContent
- type ItemPriceUpdatedEvent
- type ItemUpdatedContent
- type ItemUpdatedEvent
- type MrrUpdatedContent
- type MrrUpdatedEvent
- type NetdPaymentDueReminderContent
- type NetdPaymentDueReminderEvent
- type OmnichannelOneTimeOrderCreatedContent
- type OmnichannelOneTimeOrderCreatedEvent
- type OmnichannelOneTimeOrderItemCancelledContent
- type OmnichannelOneTimeOrderItemCancelledEvent
- type OmnichannelSubscriptionCreatedContent
- type OmnichannelSubscriptionCreatedEvent
- type OmnichannelSubscriptionImportedContent
- type OmnichannelSubscriptionImportedEvent
- type OmnichannelSubscriptionItemCancellationScheduledContent
- type OmnichannelSubscriptionItemCancellationScheduledEvent
- type OmnichannelSubscriptionItemCancelledContent
- type OmnichannelSubscriptionItemCancelledEvent
- type OmnichannelSubscriptionItemChangeScheduledContent
- type OmnichannelSubscriptionItemChangeScheduledEvent
- type OmnichannelSubscriptionItemChangedContent
- type OmnichannelSubscriptionItemChangedEvent
- type OmnichannelSubscriptionItemDowngradeScheduledContent
- type OmnichannelSubscriptionItemDowngradeScheduledEvent
- type OmnichannelSubscriptionItemDowngradedContent
- type OmnichannelSubscriptionItemDowngradedEvent
- type OmnichannelSubscriptionItemDunningExpiredContent
- type OmnichannelSubscriptionItemDunningExpiredEvent
- type OmnichannelSubscriptionItemDunningStartedContent
- type OmnichannelSubscriptionItemDunningStartedEvent
- type OmnichannelSubscriptionItemExpiredContent
- type OmnichannelSubscriptionItemExpiredEvent
- type OmnichannelSubscriptionItemGracePeriodExpiredContent
- type OmnichannelSubscriptionItemGracePeriodExpiredEvent
- type OmnichannelSubscriptionItemGracePeriodStartedContent
- type OmnichannelSubscriptionItemGracePeriodStartedEvent
- type OmnichannelSubscriptionItemPauseScheduledContent
- type OmnichannelSubscriptionItemPauseScheduledEvent
- type OmnichannelSubscriptionItemPausedContent
- type OmnichannelSubscriptionItemPausedEvent
- type OmnichannelSubscriptionItemReactivatedContent
- type OmnichannelSubscriptionItemReactivatedEvent
- type OmnichannelSubscriptionItemRenewedContent
- type OmnichannelSubscriptionItemRenewedEvent
- type OmnichannelSubscriptionItemResubscribedContent
- type OmnichannelSubscriptionItemResubscribedEvent
- type OmnichannelSubscriptionItemResumedContent
- type OmnichannelSubscriptionItemResumedEvent
- type OmnichannelSubscriptionItemScheduledCancellationRemovedContent
- type OmnichannelSubscriptionItemScheduledCancellationRemovedEvent
- type OmnichannelSubscriptionItemScheduledChangeRemovedContent
- type OmnichannelSubscriptionItemScheduledChangeRemovedEvent
- type OmnichannelSubscriptionItemScheduledDowngradeRemovedContent
- type OmnichannelSubscriptionItemScheduledDowngradeRemovedEvent
- type OmnichannelSubscriptionItemUpgradedContent
- type OmnichannelSubscriptionItemUpgradedEvent
- type OmnichannelSubscriptionMovedInContent
- type OmnichannelSubscriptionMovedInEvent
- type OmnichannelTransactionCreatedContent
- type OmnichannelTransactionCreatedEvent
- type OrderCancelledContent
- type OrderCancelledEvent
- type OrderCreatedContent
- type OrderCreatedEvent
- type OrderDeletedContent
- type OrderDeletedEvent
- type OrderDeliveredContent
- type OrderDeliveredEvent
- type OrderReadyToProcessContent
- type OrderReadyToProcessEvent
- type OrderReadyToShipContent
- type OrderReadyToShipEvent
- type OrderResentContent
- type OrderResentEvent
- type OrderReturnedContent
- type OrderReturnedEvent
- type OrderUpdatedContent
- type OrderUpdatedEvent
- type PaymentDueReminderContent
- type PaymentDueReminderEvent
- type PaymentFailedContent
- type PaymentFailedEvent
- type PaymentInitiatedContent
- type PaymentInitiatedEvent
- type PaymentIntentCreatedContent
- type PaymentIntentCreatedEvent
- type PaymentIntentUpdatedContent
- type PaymentIntentUpdatedEvent
- type PaymentRefundedContent
- type PaymentRefundedEvent
- type PaymentScheduleSchemeCreatedContent
- type PaymentScheduleSchemeCreatedEvent
- type PaymentScheduleSchemeDeletedContent
- type PaymentScheduleSchemeDeletedEvent
- type PaymentSchedulesCreatedContent
- type PaymentSchedulesCreatedEvent
- type PaymentSchedulesUpdatedContent
- type PaymentSchedulesUpdatedEvent
- type PaymentSourceAddedContent
- type PaymentSourceAddedEvent
- type PaymentSourceDeletedContent
- type PaymentSourceDeletedEvent
- type PaymentSourceExpiredContent
- type PaymentSourceExpiredEvent
- type PaymentSourceExpiringContent
- type PaymentSourceExpiringEvent
- type PaymentSourceLocallyDeletedContent
- type PaymentSourceLocallyDeletedEvent
- type PaymentSourceUpdatedContent
- type PaymentSourceUpdatedEvent
- type PaymentSucceededContent
- type PaymentSucceededEvent
- type PendingInvoiceCreatedContent
- type PendingInvoiceCreatedEvent
- type PendingInvoiceUpdatedContent
- type PendingInvoiceUpdatedEvent
- type PlanCreatedContent
- type PlanCreatedEvent
- type PlanDeletedContent
- type PlanDeletedEvent
- type PlanUpdatedContent
- type PlanUpdatedEvent
- type PriceVariantCreatedContent
- type PriceVariantCreatedEvent
- type PriceVariantDeletedContent
- type PriceVariantDeletedEvent
- type PriceVariantUpdatedContent
- type PriceVariantUpdatedEvent
- type ProductCreatedContent
- type ProductCreatedEvent
- type ProductDeletedContent
- type ProductDeletedEvent
- type ProductUpdatedContent
- type ProductUpdatedEvent
- type PromotionalCreditsAddedContent
- type PromotionalCreditsAddedEvent
- type PromotionalCreditsDeductedContent
- type PromotionalCreditsDeductedEvent
- type PurchaseCreatedContent
- type PurchaseCreatedEvent
- type QuoteCreatedContent
- type QuoteCreatedEvent
- type QuoteDeletedContent
- type QuoteDeletedEvent
- type QuoteUpdatedContent
- type QuoteUpdatedEvent
- type RecordPurchaseFailedContent
- type RecordPurchaseFailedEvent
- type RefundInitiatedContent
- type RefundInitiatedEvent
- type RuleCreatedContent
- type RuleCreatedEvent
- type RuleDeletedContent
- type RuleDeletedEvent
- type RuleUpdatedContent
- type RuleUpdatedEvent
- type SalesOrderCreatedContent
- type SalesOrderCreatedEvent
- type SalesOrderUpdatedContent
- type SalesOrderUpdatedEvent
- type SubscriptionActivatedContent
- type SubscriptionActivatedEvent
- type SubscriptionActivatedWithBackdatingContent
- type SubscriptionActivatedWithBackdatingEvent
- type SubscriptionAdvanceInvoiceScheduleAddedContent
- type SubscriptionAdvanceInvoiceScheduleAddedEvent
- type SubscriptionAdvanceInvoiceScheduleRemovedContent
- type SubscriptionAdvanceInvoiceScheduleRemovedEvent
- type SubscriptionAdvanceInvoiceScheduleUpdatedContent
- type SubscriptionAdvanceInvoiceScheduleUpdatedEvent
- type SubscriptionBusinessEntityChangedContent
- type SubscriptionBusinessEntityChangedEvent
- type SubscriptionCanceledWithBackdatingContent
- type SubscriptionCanceledWithBackdatingEvent
- type SubscriptionCancellationReminderContent
- type SubscriptionCancellationReminderEvent
- type SubscriptionCancellationScheduledContent
- type SubscriptionCancellationScheduledEvent
- type SubscriptionCancelledContent
- type SubscriptionCancelledEvent
- type SubscriptionChangedContent
- type SubscriptionChangedEvent
- type SubscriptionChangedWithBackdatingContent
- type SubscriptionChangedWithBackdatingEvent
- type SubscriptionChangesScheduledContent
- type SubscriptionChangesScheduledEvent
- type SubscriptionCreatedContent
- type SubscriptionCreatedEvent
- type SubscriptionCreatedWithBackdatingContent
- type SubscriptionCreatedWithBackdatingEvent
- type SubscriptionDeletedContent
- type SubscriptionDeletedEvent
- type SubscriptionEntitlementsCreatedContent
- type SubscriptionEntitlementsCreatedEvent
- type SubscriptionEntitlementsUpdatedContent
- type SubscriptionEntitlementsUpdatedEvent
- type SubscriptionItemsRenewedContent
- type SubscriptionItemsRenewedEvent
- type SubscriptionMovedInContent
- type SubscriptionMovedInEvent
- type SubscriptionMovedOutContent
- type SubscriptionMovedOutEvent
- type SubscriptionMovementFailedContent
- type SubscriptionMovementFailedEvent
- type SubscriptionPauseScheduledContent
- type SubscriptionPauseScheduledEvent
- type SubscriptionPausedContent
- type SubscriptionPausedEvent
- type SubscriptionRampAppliedContent
- type SubscriptionRampAppliedEvent
- type SubscriptionRampCreatedContent
- type SubscriptionRampCreatedEvent
- type SubscriptionRampDeletedContent
- type SubscriptionRampDeletedEvent
- type SubscriptionRampDraftedContent
- type SubscriptionRampDraftedEvent
- type SubscriptionRampUpdatedContent
- type SubscriptionRampUpdatedEvent
- type SubscriptionReactivatedContent
- type SubscriptionReactivatedEvent
- type SubscriptionReactivatedWithBackdatingContent
- type SubscriptionReactivatedWithBackdatingEvent
- type SubscriptionRenewalReminderContent
- type SubscriptionRenewalReminderEvent
- type SubscriptionRenewedContent
- type SubscriptionRenewedEvent
- type SubscriptionResumedContent
- type SubscriptionResumedEvent
- type SubscriptionResumptionScheduledContent
- type SubscriptionResumptionScheduledEvent
- type SubscriptionScheduledCancellationRemovedContent
- type SubscriptionScheduledCancellationRemovedEvent
- type SubscriptionScheduledChangesRemovedContent
- type SubscriptionScheduledChangesRemovedEvent
- type SubscriptionScheduledPauseRemovedContent
- type SubscriptionScheduledPauseRemovedEvent
- type SubscriptionScheduledResumptionRemovedContent
- type SubscriptionScheduledResumptionRemovedEvent
- type SubscriptionShippingAddressUpdatedContent
- type SubscriptionShippingAddressUpdatedEvent
- type SubscriptionStartedContent
- type SubscriptionStartedEvent
- type SubscriptionTrialEndReminderContent
- type SubscriptionTrialEndReminderEvent
- type SubscriptionTrialExtendedContent
- type SubscriptionTrialExtendedEvent
- type TaxWithheldDeletedContent
- type TaxWithheldDeletedEvent
- type TaxWithheldRecordedContent
- type TaxWithheldRecordedEvent
- type TaxWithheldRefundedContent
- type TaxWithheldRefundedEvent
- type TokenConsumedContent
- type TokenConsumedEvent
- type TokenCreatedContent
- type TokenCreatedEvent
- type TokenExpiredContent
- type TokenExpiredEvent
- type TransactionCreatedContent
- type TransactionCreatedEvent
- type TransactionDeletedContent
- type TransactionDeletedEvent
- type TransactionUpdatedContent
- type TransactionUpdatedEvent
- type UnbilledChargesCreatedContent
- type UnbilledChargesCreatedEvent
- type UnbilledChargesDeletedContent
- type UnbilledChargesDeletedEvent
- type UnbilledChargesInvoicedContent
- type UnbilledChargesInvoicedEvent
- type UnbilledChargesVoidedContent
- type UnbilledChargesVoidedEvent
- type UsageFileIngestedContent
- type UsageFileIngestedEvent
- type VariantCreatedContent
- type VariantCreatedEvent
- type VariantDeletedContent
- type VariantDeletedEvent
- type VariantUpdatedContent
- type VariantUpdatedEvent
- type VirtualBankAccountAddedContent
- type VirtualBankAccountAddedEvent
- type VirtualBankAccountDeletedContent
- type VirtualBankAccountDeletedEvent
- type VirtualBankAccountUpdatedContent
- type VirtualBankAccountUpdatedEvent
- type VoucherCreateFailedContent
- type VoucherCreateFailedEvent
- type VoucherCreatedContent
- type VoucherCreatedEvent
- type VoucherExpiredContent
- type VoucherExpiredEvent
- type WebhookHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuthErrorHandler ¶
func BasicAuthErrorHandler(w http.ResponseWriter, r *http.Request, err error)
BasicAuthErrorHandler creates an OnError handler that returns 401 Unauthorized for auth errors
func BasicAuthValidator ¶
Types ¶
type AddUsagesReminderContent ¶
type AddUsagesReminderContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type AddUsagesReminderEvent ¶
type AddUsagesReminderEvent struct {
BaseEvent
Content *AddUsagesReminderContent `json:"content"`
}
AddUsagesReminderEvent represents a add_usages_reminder webhook event
type AddonCreatedContent ¶
type AddonCreatedEvent ¶
type AddonCreatedEvent struct {
BaseEvent
Content *AddonCreatedContent `json:"content"`
}
AddonCreatedEvent represents a addon_created webhook event
type AddonDeletedContent ¶
type AddonDeletedEvent ¶
type AddonDeletedEvent struct {
BaseEvent
Content *AddonDeletedContent `json:"content"`
}
AddonDeletedEvent represents a addon_deleted webhook event
type AddonUpdatedContent ¶
type AddonUpdatedEvent ¶
type AddonUpdatedEvent struct {
BaseEvent
Content *AddonUpdatedContent `json:"content"`
}
AddonUpdatedEvent represents a addon_updated webhook event
type AttachedItemCreatedContent ¶
type AttachedItemCreatedContent struct {
AttachedItem *attacheditem.AttachedItem `json:"attached_item,omitempty"`
}
type AttachedItemCreatedEvent ¶
type AttachedItemCreatedEvent struct {
BaseEvent
Content *AttachedItemCreatedContent `json:"content"`
}
AttachedItemCreatedEvent represents a attached_item_created webhook event
type AttachedItemDeletedContent ¶
type AttachedItemDeletedContent struct {
AttachedItem *attacheditem.AttachedItem `json:"attached_item,omitempty"`
}
type AttachedItemDeletedEvent ¶
type AttachedItemDeletedEvent struct {
BaseEvent
Content *AttachedItemDeletedContent `json:"content"`
}
AttachedItemDeletedEvent represents a attached_item_deleted webhook event
type AttachedItemUpdatedContent ¶
type AttachedItemUpdatedContent struct {
AttachedItem *attacheditem.AttachedItem `json:"attached_item,omitempty"`
}
type AttachedItemUpdatedEvent ¶
type AttachedItemUpdatedEvent struct {
BaseEvent
Content *AttachedItemUpdatedContent `json:"content"`
}
AttachedItemUpdatedEvent represents a attached_item_updated webhook event
type AuthorizationSucceededContent ¶
type AuthorizationSucceededContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
}
type AuthorizationSucceededEvent ¶
type AuthorizationSucceededEvent struct {
BaseEvent
Content *AuthorizationSucceededContent `json:"content"`
}
AuthorizationSucceededEvent represents a authorization_succeeded webhook event
type AuthorizationVoidedContent ¶
type AuthorizationVoidedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
}
type AuthorizationVoidedEvent ¶
type AuthorizationVoidedEvent struct {
BaseEvent
Content *AuthorizationVoidedContent `json:"content"`
}
AuthorizationVoidedEvent represents a authorization_voided webhook event
type BaseEvent ¶
type BaseEvent struct {
Id string `json:"id"`
OccurredAt int64 `json:"occurred_at"`
Source string `json:"source"`
Object string `json:"object"`
ApiVersion string `json:"api_version"`
EventType string `json:"event_type"`
WebhookStatus string `json:"webhook_status"`
}
func (*BaseEvent) GetOccurredAtTime ¶
type BusinessEntityCreatedContent ¶
type BusinessEntityCreatedContent struct {
BusinessEntity *businessentity.BusinessEntity `json:"business_entity,omitempty"`
}
type BusinessEntityCreatedEvent ¶
type BusinessEntityCreatedEvent struct {
BaseEvent
Content *BusinessEntityCreatedContent `json:"content"`
}
BusinessEntityCreatedEvent represents a business_entity_created webhook event
type BusinessEntityDeletedContent ¶
type BusinessEntityDeletedContent struct {
BusinessEntity *businessentity.BusinessEntity `json:"business_entity,omitempty"`
}
type BusinessEntityDeletedEvent ¶
type BusinessEntityDeletedEvent struct {
BaseEvent
Content *BusinessEntityDeletedContent `json:"content"`
}
BusinessEntityDeletedEvent represents a business_entity_deleted webhook event
type BusinessEntityUpdatedContent ¶
type BusinessEntityUpdatedContent struct {
BusinessEntity *businessentity.BusinessEntity `json:"business_entity,omitempty"`
}
type BusinessEntityUpdatedEvent ¶
type BusinessEntityUpdatedEvent struct {
BaseEvent
Content *BusinessEntityUpdatedContent `json:"content"`
}
BusinessEntityUpdatedEvent represents a business_entity_updated webhook event
type CardAddedContent ¶
type CardAddedEvent ¶
type CardAddedEvent struct {
BaseEvent
Content *CardAddedContent `json:"content"`
}
CardAddedEvent represents a card_added webhook event
type CardDeletedContent ¶
type CardDeletedEvent ¶
type CardDeletedEvent struct {
BaseEvent
Content *CardDeletedContent `json:"content"`
}
CardDeletedEvent represents a card_deleted webhook event
type CardExpiredContent ¶
type CardExpiredEvent ¶
type CardExpiredEvent struct {
BaseEvent
Content *CardExpiredContent `json:"content"`
}
CardExpiredEvent represents a card_expired webhook event
type CardExpiryReminderEvent ¶
type CardExpiryReminderEvent struct {
BaseEvent
Content *CardExpiryReminderContent `json:"content"`
}
CardExpiryReminderEvent represents a card_expiry_reminder webhook event
type CardUpdatedContent ¶
type CardUpdatedEvent ¶
type CardUpdatedEvent struct {
BaseEvent
Content *CardUpdatedContent `json:"content"`
}
CardUpdatedEvent represents a card_updated webhook event
type ContractTermCancelledContent ¶
type ContractTermCancelledContent struct {
ContractTerm *contractterm.ContractTerm `json:"contract_term,omitempty"`
}
type ContractTermCancelledEvent ¶
type ContractTermCancelledEvent struct {
BaseEvent
Content *ContractTermCancelledContent `json:"content"`
}
ContractTermCancelledEvent represents a contract_term_cancelled webhook event
type ContractTermCompletedContent ¶
type ContractTermCompletedContent struct {
ContractTerm *contractterm.ContractTerm `json:"contract_term,omitempty"`
}
type ContractTermCompletedEvent ¶
type ContractTermCompletedEvent struct {
BaseEvent
Content *ContractTermCompletedContent `json:"content"`
}
ContractTermCompletedEvent represents a contract_term_completed webhook event
type ContractTermCreatedContent ¶
type ContractTermCreatedContent struct {
ContractTerm *contractterm.ContractTerm `json:"contract_term,omitempty"`
}
type ContractTermCreatedEvent ¶
type ContractTermCreatedEvent struct {
BaseEvent
Content *ContractTermCreatedContent `json:"content"`
}
ContractTermCreatedEvent represents a contract_term_created webhook event
type ContractTermRenewedContent ¶
type ContractTermRenewedContent struct {
ContractTerm *contractterm.ContractTerm `json:"contract_term,omitempty"`
}
type ContractTermRenewedEvent ¶
type ContractTermRenewedEvent struct {
BaseEvent
Content *ContractTermRenewedContent `json:"content"`
}
ContractTermRenewedEvent represents a contract_term_renewed webhook event
type ContractTermTerminatedContent ¶
type ContractTermTerminatedContent struct {
ContractTerm *contractterm.ContractTerm `json:"contract_term,omitempty"`
}
type ContractTermTerminatedEvent ¶
type ContractTermTerminatedEvent struct {
BaseEvent
Content *ContractTermTerminatedContent `json:"content"`
}
ContractTermTerminatedEvent represents a contract_term_terminated webhook event
type CouponCodesAddedContent ¶
type CouponCodesAddedEvent ¶
type CouponCodesAddedEvent struct {
BaseEvent
Content *CouponCodesAddedContent `json:"content"`
}
CouponCodesAddedEvent represents a coupon_codes_added webhook event
type CouponCodesDeletedContent ¶
type CouponCodesDeletedContent struct {
Coupon *coupon.Coupon `json:"coupon,omitempty"`
CouponSet *couponset.CouponSet `json:"coupon_set,omitempty"`
CouponCode *couponcode.CouponCode `json:"coupon_code,omitempty"`
}
type CouponCodesDeletedEvent ¶
type CouponCodesDeletedEvent struct {
BaseEvent
Content *CouponCodesDeletedContent `json:"content"`
}
CouponCodesDeletedEvent represents a coupon_codes_deleted webhook event
type CouponCodesUpdatedEvent ¶
type CouponCodesUpdatedEvent struct {
BaseEvent
Content *CouponCodesUpdatedContent `json:"content"`
}
CouponCodesUpdatedEvent represents a coupon_codes_updated webhook event
type CouponCreatedContent ¶
type CouponCreatedEvent ¶
type CouponCreatedEvent struct {
BaseEvent
Content *CouponCreatedContent `json:"content"`
}
CouponCreatedEvent represents a coupon_created webhook event
type CouponDeletedContent ¶
type CouponDeletedEvent ¶
type CouponDeletedEvent struct {
BaseEvent
Content *CouponDeletedContent `json:"content"`
}
CouponDeletedEvent represents a coupon_deleted webhook event
type CouponSetCreatedContent ¶
type CouponSetCreatedEvent ¶
type CouponSetCreatedEvent struct {
BaseEvent
Content *CouponSetCreatedContent `json:"content"`
}
CouponSetCreatedEvent represents a coupon_set_created webhook event
type CouponSetDeletedContent ¶
type CouponSetDeletedEvent ¶
type CouponSetDeletedEvent struct {
BaseEvent
Content *CouponSetDeletedContent `json:"content"`
}
CouponSetDeletedEvent represents a coupon_set_deleted webhook event
type CouponSetUpdatedContent ¶
type CouponSetUpdatedEvent ¶
type CouponSetUpdatedEvent struct {
BaseEvent
Content *CouponSetUpdatedContent `json:"content"`
}
CouponSetUpdatedEvent represents a coupon_set_updated webhook event
type CouponUpdatedContent ¶
type CouponUpdatedEvent ¶
type CouponUpdatedEvent struct {
BaseEvent
Content *CouponUpdatedContent `json:"content"`
}
CouponUpdatedEvent represents a coupon_updated webhook event
type CreditNoteCreatedContent ¶
type CreditNoteCreatedContent struct {
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
}
type CreditNoteCreatedEvent ¶
type CreditNoteCreatedEvent struct {
BaseEvent
Content *CreditNoteCreatedContent `json:"content"`
}
CreditNoteCreatedEvent represents a credit_note_created webhook event
type CreditNoteCreatedWithBackdatingContent ¶
type CreditNoteCreatedWithBackdatingContent struct {
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
}
type CreditNoteCreatedWithBackdatingEvent ¶
type CreditNoteCreatedWithBackdatingEvent struct {
BaseEvent
Content *CreditNoteCreatedWithBackdatingContent `json:"content"`
}
CreditNoteCreatedWithBackdatingEvent represents a credit_note_created_with_backdating webhook event
type CreditNoteDeletedContent ¶
type CreditNoteDeletedContent struct {
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
}
type CreditNoteDeletedEvent ¶
type CreditNoteDeletedEvent struct {
BaseEvent
Content *CreditNoteDeletedContent `json:"content"`
}
CreditNoteDeletedEvent represents a credit_note_deleted webhook event
type CreditNoteUpdatedContent ¶
type CreditNoteUpdatedContent struct {
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
}
type CreditNoteUpdatedEvent ¶
type CreditNoteUpdatedEvent struct {
BaseEvent
Content *CreditNoteUpdatedContent `json:"content"`
}
CreditNoteUpdatedEvent represents a credit_note_updated webhook event
type CustomerBusinessEntityChangedContent ¶
type CustomerBusinessEntityChangedContent struct {
BusinessEntityTransfer *businessentitytransfer.BusinessEntityTransfer `json:"business_entity_transfer,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type CustomerBusinessEntityChangedEvent ¶
type CustomerBusinessEntityChangedEvent struct {
BaseEvent
Content *CustomerBusinessEntityChangedContent `json:"content"`
}
CustomerBusinessEntityChangedEvent represents a customer_business_entity_changed webhook event
type CustomerChangedContent ¶
type CustomerChangedEvent ¶
type CustomerChangedEvent struct {
BaseEvent
Content *CustomerChangedContent `json:"content"`
}
CustomerChangedEvent represents a customer_changed webhook event
type CustomerCreatedContent ¶
type CustomerCreatedEvent ¶
type CustomerCreatedEvent struct {
BaseEvent
Content *CustomerCreatedContent `json:"content"`
}
CustomerCreatedEvent represents a customer_created webhook event
type CustomerDeletedContent ¶
type CustomerDeletedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Subscription []*subscription.Subscription `json:"subscription,omitempty"`
}
type CustomerDeletedEvent ¶
type CustomerDeletedEvent struct {
BaseEvent
Content *CustomerDeletedContent `json:"content"`
}
CustomerDeletedEvent represents a customer_deleted webhook event
type CustomerEntitlementsUpdatedContent ¶
type CustomerEntitlementsUpdatedContent struct {
ImpactedCustomer *impactedcustomer.ImpactedCustomer `json:"impacted_customer,omitempty"`
}
type CustomerEntitlementsUpdatedEvent ¶
type CustomerEntitlementsUpdatedEvent struct {
BaseEvent
Content *CustomerEntitlementsUpdatedContent `json:"content"`
}
CustomerEntitlementsUpdatedEvent represents a customer_entitlements_updated webhook event
type CustomerMovedInContent ¶
type CustomerMovedInEvent ¶
type CustomerMovedInEvent struct {
BaseEvent
Content *CustomerMovedInContent `json:"content"`
}
CustomerMovedInEvent represents a customer_moved_in webhook event
type CustomerMovedOutContent ¶
type CustomerMovedOutEvent ¶
type CustomerMovedOutEvent struct {
BaseEvent
Content *CustomerMovedOutContent `json:"content"`
}
CustomerMovedOutEvent represents a customer_moved_out webhook event
type DifferentialPriceCreatedContent ¶
type DifferentialPriceCreatedContent struct {
DifferentialPrice *differentialprice.DifferentialPrice `json:"differential_price,omitempty"`
}
type DifferentialPriceCreatedEvent ¶
type DifferentialPriceCreatedEvent struct {
BaseEvent
Content *DifferentialPriceCreatedContent `json:"content"`
}
DifferentialPriceCreatedEvent represents a differential_price_created webhook event
type DifferentialPriceDeletedContent ¶
type DifferentialPriceDeletedContent struct {
DifferentialPrice *differentialprice.DifferentialPrice `json:"differential_price,omitempty"`
}
type DifferentialPriceDeletedEvent ¶
type DifferentialPriceDeletedEvent struct {
BaseEvent
Content *DifferentialPriceDeletedContent `json:"content"`
}
DifferentialPriceDeletedEvent represents a differential_price_deleted webhook event
type DifferentialPriceUpdatedContent ¶
type DifferentialPriceUpdatedContent struct {
DifferentialPrice *differentialprice.DifferentialPrice `json:"differential_price,omitempty"`
}
type DifferentialPriceUpdatedEvent ¶
type DifferentialPriceUpdatedEvent struct {
BaseEvent
Content *DifferentialPriceUpdatedContent `json:"content"`
}
DifferentialPriceUpdatedEvent represents a differential_price_updated webhook event
type DunningUpdatedContent ¶
type DunningUpdatedEvent ¶
type DunningUpdatedEvent struct {
BaseEvent
Content *DunningUpdatedContent `json:"content"`
}
DunningUpdatedEvent represents a dunning_updated webhook event
type EntitlementOverridesAutoRemovedContent ¶
type EntitlementOverridesAutoRemovedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItem *impacteditem.ImpactedItem `json:"impacted_item,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type EntitlementOverridesAutoRemovedEvent ¶
type EntitlementOverridesAutoRemovedEvent struct {
BaseEvent
Content *EntitlementOverridesAutoRemovedContent `json:"content"`
}
EntitlementOverridesAutoRemovedEvent represents a entitlement_overrides_auto_removed webhook event
type EntitlementOverridesRemovedContent ¶
type EntitlementOverridesRemovedContent struct {
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
}
type EntitlementOverridesRemovedEvent ¶
type EntitlementOverridesRemovedEvent struct {
BaseEvent
Content *EntitlementOverridesRemovedContent `json:"content"`
}
EntitlementOverridesRemovedEvent represents a entitlement_overrides_removed webhook event
type EntitlementOverridesUpdatedContent ¶
type EntitlementOverridesUpdatedContent struct {
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
}
type EntitlementOverridesUpdatedEvent ¶
type EntitlementOverridesUpdatedEvent struct {
BaseEvent
Content *EntitlementOverridesUpdatedContent `json:"content"`
}
EntitlementOverridesUpdatedEvent represents a entitlement_overrides_updated webhook event
type FeatureActivatedContent ¶
type FeatureActivatedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItem *impacteditem.ImpactedItem `json:"impacted_item,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type FeatureActivatedEvent ¶
type FeatureActivatedEvent struct {
BaseEvent
Content *FeatureActivatedContent `json:"content"`
}
FeatureActivatedEvent represents a feature_activated webhook event
type FeatureArchivedContent ¶
type FeatureArchivedEvent ¶
type FeatureArchivedEvent struct {
BaseEvent
Content *FeatureArchivedContent `json:"content"`
}
FeatureArchivedEvent represents a feature_archived webhook event
type FeatureCreatedContent ¶
type FeatureCreatedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItem *impacteditem.ImpactedItem `json:"impacted_item,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type FeatureCreatedEvent ¶
type FeatureCreatedEvent struct {
BaseEvent
Content *FeatureCreatedContent `json:"content"`
}
FeatureCreatedEvent represents a feature_created webhook event
type FeatureDeletedContent ¶
type FeatureDeletedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItem *impacteditem.ImpactedItem `json:"impacted_item,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type FeatureDeletedEvent ¶
type FeatureDeletedEvent struct {
BaseEvent
Content *FeatureDeletedContent `json:"content"`
}
FeatureDeletedEvent represents a feature_deleted webhook event
type FeatureReactivatedEvent ¶
type FeatureReactivatedEvent struct {
BaseEvent
Content *FeatureReactivatedContent `json:"content"`
}
FeatureReactivatedEvent represents a feature_reactivated webhook event
type FeatureUpdatedContent ¶
type FeatureUpdatedEvent ¶
type FeatureUpdatedEvent struct {
BaseEvent
Content *FeatureUpdatedContent `json:"content"`
}
FeatureUpdatedEvent represents a feature_updated webhook event
type GiftCancelledContent ¶
type GiftCancelledEvent ¶
type GiftCancelledEvent struct {
BaseEvent
Content *GiftCancelledContent `json:"content"`
}
GiftCancelledEvent represents a gift_cancelled webhook event
type GiftClaimedContent ¶
type GiftClaimedEvent ¶
type GiftClaimedEvent struct {
BaseEvent
Content *GiftClaimedContent `json:"content"`
}
GiftClaimedEvent represents a gift_claimed webhook event
type GiftExpiredContent ¶
type GiftExpiredEvent ¶
type GiftExpiredEvent struct {
BaseEvent
Content *GiftExpiredContent `json:"content"`
}
GiftExpiredEvent represents a gift_expired webhook event
type GiftScheduledContent ¶
type GiftScheduledEvent ¶
type GiftScheduledEvent struct {
BaseEvent
Content *GiftScheduledContent `json:"content"`
}
GiftScheduledEvent represents a gift_scheduled webhook event
type GiftUnclaimedContent ¶
type GiftUnclaimedEvent ¶
type GiftUnclaimedEvent struct {
BaseEvent
Content *GiftUnclaimedContent `json:"content"`
}
GiftUnclaimedEvent represents a gift_unclaimed webhook event
type GiftUpdatedContent ¶
type GiftUpdatedEvent ¶
type GiftUpdatedEvent struct {
BaseEvent
Content *GiftUpdatedContent `json:"content"`
}
GiftUpdatedEvent represents a gift_updated webhook event
type HierarchyCreatedContent ¶
type HierarchyCreatedEvent ¶
type HierarchyCreatedEvent struct {
BaseEvent
Content *HierarchyCreatedContent `json:"content"`
}
HierarchyCreatedEvent represents a hierarchy_created webhook event
type HierarchyDeletedContent ¶
type HierarchyDeletedEvent ¶
type HierarchyDeletedEvent struct {
BaseEvent
Content *HierarchyDeletedContent `json:"content"`
}
HierarchyDeletedEvent represents a hierarchy_deleted webhook event
type InvoiceDeletedContent ¶
type InvoiceDeletedEvent ¶
type InvoiceDeletedEvent struct {
BaseEvent
Content *InvoiceDeletedContent `json:"content"`
}
InvoiceDeletedEvent represents a invoice_deleted webhook event
type InvoiceGeneratedContent ¶
type InvoiceGeneratedEvent ¶
type InvoiceGeneratedEvent struct {
BaseEvent
Content *InvoiceGeneratedContent `json:"content"`
}
InvoiceGeneratedEvent represents a invoice_generated webhook event
type InvoiceGeneratedWithBackdatingEvent ¶
type InvoiceGeneratedWithBackdatingEvent struct {
BaseEvent
Content *InvoiceGeneratedWithBackdatingContent `json:"content"`
}
InvoiceGeneratedWithBackdatingEvent represents a invoice_generated_with_backdating webhook event
type InvoiceUpdatedContent ¶
type InvoiceUpdatedEvent ¶
type InvoiceUpdatedEvent struct {
BaseEvent
Content *InvoiceUpdatedContent `json:"content"`
}
InvoiceUpdatedEvent represents a invoice_updated webhook event
type ItemCreatedContent ¶
type ItemCreatedEvent ¶
type ItemCreatedEvent struct {
BaseEvent
Content *ItemCreatedContent `json:"content"`
}
ItemCreatedEvent represents a item_created webhook event
type ItemDeletedContent ¶
type ItemDeletedEvent ¶
type ItemDeletedEvent struct {
BaseEvent
Content *ItemDeletedContent `json:"content"`
}
ItemDeletedEvent represents a item_deleted webhook event
type ItemEntitlementsRemovedContent ¶
type ItemEntitlementsRemovedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItem *impacteditem.ImpactedItem `json:"impacted_item,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type ItemEntitlementsRemovedEvent ¶
type ItemEntitlementsRemovedEvent struct {
BaseEvent
Content *ItemEntitlementsRemovedContent `json:"content"`
}
ItemEntitlementsRemovedEvent represents a item_entitlements_removed webhook event
type ItemEntitlementsUpdatedContent ¶
type ItemEntitlementsUpdatedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItem *impacteditem.ImpactedItem `json:"impacted_item,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type ItemEntitlementsUpdatedEvent ¶
type ItemEntitlementsUpdatedEvent struct {
BaseEvent
Content *ItemEntitlementsUpdatedContent `json:"content"`
}
ItemEntitlementsUpdatedEvent represents a item_entitlements_updated webhook event
type ItemFamilyCreatedContent ¶
type ItemFamilyCreatedContent struct {
ItemFamily *itemfamily.ItemFamily `json:"item_family,omitempty"`
}
type ItemFamilyCreatedEvent ¶
type ItemFamilyCreatedEvent struct {
BaseEvent
Content *ItemFamilyCreatedContent `json:"content"`
}
ItemFamilyCreatedEvent represents a item_family_created webhook event
type ItemFamilyDeletedContent ¶
type ItemFamilyDeletedContent struct {
ItemFamily *itemfamily.ItemFamily `json:"item_family,omitempty"`
}
type ItemFamilyDeletedEvent ¶
type ItemFamilyDeletedEvent struct {
BaseEvent
Content *ItemFamilyDeletedContent `json:"content"`
}
ItemFamilyDeletedEvent represents a item_family_deleted webhook event
type ItemFamilyUpdatedContent ¶
type ItemFamilyUpdatedContent struct {
ItemFamily *itemfamily.ItemFamily `json:"item_family,omitempty"`
}
type ItemFamilyUpdatedEvent ¶
type ItemFamilyUpdatedEvent struct {
BaseEvent
Content *ItemFamilyUpdatedContent `json:"content"`
}
ItemFamilyUpdatedEvent represents a item_family_updated webhook event
type ItemPriceCreatedContent ¶
type ItemPriceCreatedEvent ¶
type ItemPriceCreatedEvent struct {
BaseEvent
Content *ItemPriceCreatedContent `json:"content"`
}
ItemPriceCreatedEvent represents a item_price_created webhook event
type ItemPriceDeletedContent ¶
type ItemPriceDeletedEvent ¶
type ItemPriceDeletedEvent struct {
BaseEvent
Content *ItemPriceDeletedContent `json:"content"`
}
ItemPriceDeletedEvent represents a item_price_deleted webhook event
type ItemPriceEntitlementsRemovedContent ¶
type ItemPriceEntitlementsRemovedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItemPrice *impacteditemprice.ImpactedItemPrice `json:"impacted_item_price,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type ItemPriceEntitlementsRemovedEvent ¶
type ItemPriceEntitlementsRemovedEvent struct {
BaseEvent
Content *ItemPriceEntitlementsRemovedContent `json:"content"`
}
ItemPriceEntitlementsRemovedEvent represents a item_price_entitlements_removed webhook event
type ItemPriceEntitlementsUpdatedContent ¶
type ItemPriceEntitlementsUpdatedContent struct {
Feature *feature.Feature `json:"feature,omitempty"`
Metadata *metadata.Metadata `json:"metadata,omitempty"`
ImpactedItemPrice *impacteditemprice.ImpactedItemPrice `json:"impacted_item_price,omitempty"`
ImpactedSubscription *impactedsubscription.ImpactedSubscription `json:"impacted_subscription,omitempty"`
}
type ItemPriceEntitlementsUpdatedEvent ¶
type ItemPriceEntitlementsUpdatedEvent struct {
BaseEvent
Content *ItemPriceEntitlementsUpdatedContent `json:"content"`
}
ItemPriceEntitlementsUpdatedEvent represents a item_price_entitlements_updated webhook event
type ItemPriceUpdatedContent ¶
type ItemPriceUpdatedEvent ¶
type ItemPriceUpdatedEvent struct {
BaseEvent
Content *ItemPriceUpdatedContent `json:"content"`
}
ItemPriceUpdatedEvent represents a item_price_updated webhook event
type ItemUpdatedContent ¶
type ItemUpdatedEvent ¶
type ItemUpdatedEvent struct {
BaseEvent
Content *ItemUpdatedContent `json:"content"`
}
ItemUpdatedEvent represents a item_updated webhook event
type MrrUpdatedContent ¶
type MrrUpdatedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
}
type MrrUpdatedEvent ¶
type MrrUpdatedEvent struct {
BaseEvent
Content *MrrUpdatedContent `json:"content"`
}
MrrUpdatedEvent represents a mrr_updated webhook event
type NetdPaymentDueReminderEvent ¶
type NetdPaymentDueReminderEvent struct {
BaseEvent
Content *NetdPaymentDueReminderContent `json:"content"`
}
NetdPaymentDueReminderEvent represents a netd_payment_due_reminder webhook event
type OmnichannelOneTimeOrderCreatedContent ¶
type OmnichannelOneTimeOrderCreatedContent struct {
OmnichannelOneTimeOrder *omnichannelonetimeorder.OmnichannelOneTimeOrder `json:"omnichannel_one_time_order,omitempty"`
OmnichannelOneTimeOrderItem *omnichannelonetimeorderitem.OmnichannelOneTimeOrderItem `json:"omnichannel_one_time_order_item,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelOneTimeOrderCreatedEvent ¶
type OmnichannelOneTimeOrderCreatedEvent struct {
BaseEvent
Content *OmnichannelOneTimeOrderCreatedContent `json:"content"`
}
OmnichannelOneTimeOrderCreatedEvent represents a omnichannel_one_time_order_created webhook event
type OmnichannelOneTimeOrderItemCancelledContent ¶
type OmnichannelOneTimeOrderItemCancelledContent struct {
OmnichannelOneTimeOrder *omnichannelonetimeorder.OmnichannelOneTimeOrder `json:"omnichannel_one_time_order,omitempty"`
OmnichannelOneTimeOrderItem *omnichannelonetimeorderitem.OmnichannelOneTimeOrderItem `json:"omnichannel_one_time_order_item,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelOneTimeOrderItemCancelledEvent ¶
type OmnichannelOneTimeOrderItemCancelledEvent struct {
BaseEvent
Content *OmnichannelOneTimeOrderItemCancelledContent `json:"content"`
}
OmnichannelOneTimeOrderItemCancelledEvent represents a omnichannel_one_time_order_item_cancelled webhook event
type OmnichannelSubscriptionCreatedContent ¶
type OmnichannelSubscriptionCreatedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionCreatedEvent ¶
type OmnichannelSubscriptionCreatedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionCreatedContent `json:"content"`
}
OmnichannelSubscriptionCreatedEvent represents a omnichannel_subscription_created webhook event
type OmnichannelSubscriptionImportedContent ¶
type OmnichannelSubscriptionImportedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionImportedEvent ¶
type OmnichannelSubscriptionImportedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionImportedContent `json:"content"`
}
OmnichannelSubscriptionImportedEvent represents a omnichannel_subscription_imported webhook event
type OmnichannelSubscriptionItemCancellationScheduledContent ¶
type OmnichannelSubscriptionItemCancellationScheduledContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemCancellationScheduledEvent ¶
type OmnichannelSubscriptionItemCancellationScheduledEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemCancellationScheduledContent `json:"content"`
}
OmnichannelSubscriptionItemCancellationScheduledEvent represents a omnichannel_subscription_item_cancellation_scheduled webhook event
type OmnichannelSubscriptionItemCancelledContent ¶
type OmnichannelSubscriptionItemCancelledContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemCancelledEvent ¶
type OmnichannelSubscriptionItemCancelledEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemCancelledContent `json:"content"`
}
OmnichannelSubscriptionItemCancelledEvent represents a omnichannel_subscription_item_cancelled webhook event
type OmnichannelSubscriptionItemChangeScheduledContent ¶
type OmnichannelSubscriptionItemChangeScheduledContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemChangeScheduledEvent ¶
type OmnichannelSubscriptionItemChangeScheduledEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemChangeScheduledContent `json:"content"`
}
OmnichannelSubscriptionItemChangeScheduledEvent represents a omnichannel_subscription_item_change_scheduled webhook event
type OmnichannelSubscriptionItemChangedContent ¶
type OmnichannelSubscriptionItemChangedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemChangedEvent ¶
type OmnichannelSubscriptionItemChangedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemChangedContent `json:"content"`
}
OmnichannelSubscriptionItemChangedEvent represents a omnichannel_subscription_item_changed webhook event
type OmnichannelSubscriptionItemDowngradeScheduledContent ¶
type OmnichannelSubscriptionItemDowngradeScheduledContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemDowngradeScheduledEvent ¶
type OmnichannelSubscriptionItemDowngradeScheduledEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemDowngradeScheduledContent `json:"content"`
}
OmnichannelSubscriptionItemDowngradeScheduledEvent represents a omnichannel_subscription_item_downgrade_scheduled webhook event
type OmnichannelSubscriptionItemDowngradedContent ¶
type OmnichannelSubscriptionItemDowngradedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemDowngradedEvent ¶
type OmnichannelSubscriptionItemDowngradedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemDowngradedContent `json:"content"`
}
OmnichannelSubscriptionItemDowngradedEvent represents a omnichannel_subscription_item_downgraded webhook event
type OmnichannelSubscriptionItemDunningExpiredContent ¶
type OmnichannelSubscriptionItemDunningExpiredContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemDunningExpiredEvent ¶
type OmnichannelSubscriptionItemDunningExpiredEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemDunningExpiredContent `json:"content"`
}
OmnichannelSubscriptionItemDunningExpiredEvent represents a omnichannel_subscription_item_dunning_expired webhook event
type OmnichannelSubscriptionItemDunningStartedContent ¶
type OmnichannelSubscriptionItemDunningStartedContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemDunningStartedEvent ¶
type OmnichannelSubscriptionItemDunningStartedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemDunningStartedContent `json:"content"`
}
OmnichannelSubscriptionItemDunningStartedEvent represents a omnichannel_subscription_item_dunning_started webhook event
type OmnichannelSubscriptionItemExpiredContent ¶
type OmnichannelSubscriptionItemExpiredContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemExpiredEvent ¶
type OmnichannelSubscriptionItemExpiredEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemExpiredContent `json:"content"`
}
OmnichannelSubscriptionItemExpiredEvent represents a omnichannel_subscription_item_expired webhook event
type OmnichannelSubscriptionItemGracePeriodExpiredContent ¶
type OmnichannelSubscriptionItemGracePeriodExpiredContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemGracePeriodExpiredEvent ¶
type OmnichannelSubscriptionItemGracePeriodExpiredEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemGracePeriodExpiredContent `json:"content"`
}
OmnichannelSubscriptionItemGracePeriodExpiredEvent represents a omnichannel_subscription_item_grace_period_expired webhook event
type OmnichannelSubscriptionItemGracePeriodStartedContent ¶
type OmnichannelSubscriptionItemGracePeriodStartedContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemGracePeriodStartedEvent ¶
type OmnichannelSubscriptionItemGracePeriodStartedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemGracePeriodStartedContent `json:"content"`
}
OmnichannelSubscriptionItemGracePeriodStartedEvent represents a omnichannel_subscription_item_grace_period_started webhook event
type OmnichannelSubscriptionItemPauseScheduledContent ¶
type OmnichannelSubscriptionItemPauseScheduledContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemPauseScheduledEvent ¶
type OmnichannelSubscriptionItemPauseScheduledEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemPauseScheduledContent `json:"content"`
}
OmnichannelSubscriptionItemPauseScheduledEvent represents a omnichannel_subscription_item_pause_scheduled webhook event
type OmnichannelSubscriptionItemPausedContent ¶
type OmnichannelSubscriptionItemPausedContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemPausedEvent ¶
type OmnichannelSubscriptionItemPausedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemPausedContent `json:"content"`
}
OmnichannelSubscriptionItemPausedEvent represents a omnichannel_subscription_item_paused webhook event
type OmnichannelSubscriptionItemReactivatedContent ¶
type OmnichannelSubscriptionItemReactivatedContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemReactivatedEvent ¶
type OmnichannelSubscriptionItemReactivatedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemReactivatedContent `json:"content"`
}
OmnichannelSubscriptionItemReactivatedEvent represents a omnichannel_subscription_item_reactivated webhook event
type OmnichannelSubscriptionItemRenewedContent ¶
type OmnichannelSubscriptionItemRenewedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemRenewedEvent ¶
type OmnichannelSubscriptionItemRenewedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemRenewedContent `json:"content"`
}
OmnichannelSubscriptionItemRenewedEvent represents a omnichannel_subscription_item_renewed webhook event
type OmnichannelSubscriptionItemResubscribedContent ¶
type OmnichannelSubscriptionItemResubscribedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemResubscribedEvent ¶
type OmnichannelSubscriptionItemResubscribedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemResubscribedContent `json:"content"`
}
OmnichannelSubscriptionItemResubscribedEvent represents a omnichannel_subscription_item_resubscribed webhook event
type OmnichannelSubscriptionItemResumedContent ¶
type OmnichannelSubscriptionItemResumedContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemResumedEvent ¶
type OmnichannelSubscriptionItemResumedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemResumedContent `json:"content"`
}
OmnichannelSubscriptionItemResumedEvent represents a omnichannel_subscription_item_resumed webhook event
type OmnichannelSubscriptionItemScheduledCancellationRemovedContent ¶
type OmnichannelSubscriptionItemScheduledCancellationRemovedContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemScheduledCancellationRemovedEvent ¶
type OmnichannelSubscriptionItemScheduledCancellationRemovedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemScheduledCancellationRemovedContent `json:"content"`
}
OmnichannelSubscriptionItemScheduledCancellationRemovedEvent represents a omnichannel_subscription_item_scheduled_cancellation_removed webhook event
type OmnichannelSubscriptionItemScheduledChangeRemovedContent ¶
type OmnichannelSubscriptionItemScheduledChangeRemovedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemScheduledChangeRemovedEvent ¶
type OmnichannelSubscriptionItemScheduledChangeRemovedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemScheduledChangeRemovedContent `json:"content"`
}
OmnichannelSubscriptionItemScheduledChangeRemovedEvent represents a omnichannel_subscription_item_scheduled_change_removed webhook event
type OmnichannelSubscriptionItemScheduledDowngradeRemovedContent ¶
type OmnichannelSubscriptionItemScheduledDowngradeRemovedContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemScheduledDowngradeRemovedEvent ¶
type OmnichannelSubscriptionItemScheduledDowngradeRemovedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemScheduledDowngradeRemovedContent `json:"content"`
}
OmnichannelSubscriptionItemScheduledDowngradeRemovedEvent represents a omnichannel_subscription_item_scheduled_downgrade_removed webhook event
type OmnichannelSubscriptionItemUpgradedContent ¶
type OmnichannelSubscriptionItemUpgradedContent struct {
OmnichannelSubscriptionItem *omnichannelsubscriptionitem.OmnichannelSubscriptionItem `json:"omnichannel_subscription_item,omitempty"`
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
OmnichannelSubscriptionItemScheduledChange *omnichannelsubscriptionitemscheduledchange.OmnichannelSubscriptionItemScheduledChange `json:"omnichannel_subscription_item_scheduled_change,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionItemUpgradedEvent ¶
type OmnichannelSubscriptionItemUpgradedEvent struct {
BaseEvent
Content *OmnichannelSubscriptionItemUpgradedContent `json:"content"`
}
OmnichannelSubscriptionItemUpgradedEvent represents a omnichannel_subscription_item_upgraded webhook event
type OmnichannelSubscriptionMovedInContent ¶
type OmnichannelSubscriptionMovedInContent struct {
OmnichannelSubscription *omnichannelsubscription.OmnichannelSubscription `json:"omnichannel_subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type OmnichannelSubscriptionMovedInEvent ¶
type OmnichannelSubscriptionMovedInEvent struct {
BaseEvent
Content *OmnichannelSubscriptionMovedInContent `json:"content"`
}
OmnichannelSubscriptionMovedInEvent represents a omnichannel_subscription_moved_in webhook event
type OmnichannelTransactionCreatedContent ¶
type OmnichannelTransactionCreatedContent struct {
OmnichannelTransaction *omnichanneltransaction.OmnichannelTransaction `json:"omnichannel_transaction,omitempty"`
}
type OmnichannelTransactionCreatedEvent ¶
type OmnichannelTransactionCreatedEvent struct {
BaseEvent
Content *OmnichannelTransactionCreatedContent `json:"content"`
}
OmnichannelTransactionCreatedEvent represents a omnichannel_transaction_created webhook event
type OrderCancelledContent ¶
type OrderCancelledEvent ¶
type OrderCancelledEvent struct {
BaseEvent
Content *OrderCancelledContent `json:"content"`
}
OrderCancelledEvent represents a order_cancelled webhook event
type OrderCreatedContent ¶
type OrderCreatedEvent ¶
type OrderCreatedEvent struct {
BaseEvent
Content *OrderCreatedContent `json:"content"`
}
OrderCreatedEvent represents a order_created webhook event
type OrderDeletedContent ¶
type OrderDeletedEvent ¶
type OrderDeletedEvent struct {
BaseEvent
Content *OrderDeletedContent `json:"content"`
}
OrderDeletedEvent represents a order_deleted webhook event
type OrderDeliveredContent ¶
type OrderDeliveredEvent ¶
type OrderDeliveredEvent struct {
BaseEvent
Content *OrderDeliveredContent `json:"content"`
}
OrderDeliveredEvent represents a order_delivered webhook event
type OrderReadyToProcessEvent ¶
type OrderReadyToProcessEvent struct {
BaseEvent
Content *OrderReadyToProcessContent `json:"content"`
}
OrderReadyToProcessEvent represents a order_ready_to_process webhook event
type OrderReadyToShipContent ¶
type OrderReadyToShipEvent ¶
type OrderReadyToShipEvent struct {
BaseEvent
Content *OrderReadyToShipContent `json:"content"`
}
OrderReadyToShipEvent represents a order_ready_to_ship webhook event
type OrderResentContent ¶
type OrderResentEvent ¶
type OrderResentEvent struct {
BaseEvent
Content *OrderResentContent `json:"content"`
}
OrderResentEvent represents a order_resent webhook event
type OrderReturnedContent ¶
type OrderReturnedEvent ¶
type OrderReturnedEvent struct {
BaseEvent
Content *OrderReturnedContent `json:"content"`
}
OrderReturnedEvent represents a order_returned webhook event
type OrderUpdatedContent ¶
type OrderUpdatedEvent ¶
type OrderUpdatedEvent struct {
BaseEvent
Content *OrderUpdatedContent `json:"content"`
}
OrderUpdatedEvent represents a order_updated webhook event
type PaymentDueReminderContent ¶ added in v3.45.0
type PaymentDueReminderEvent ¶ added in v3.45.0
type PaymentDueReminderEvent struct {
BaseEvent
Content *PaymentDueReminderContent `json:"content"`
}
PaymentDueReminderEvent represents a payment_due_reminder webhook event
type PaymentFailedContent ¶
type PaymentFailedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Card *card.Card `json:"card,omitempty"`
}
type PaymentFailedEvent ¶
type PaymentFailedEvent struct {
BaseEvent
Content *PaymentFailedContent `json:"content"`
}
PaymentFailedEvent represents a payment_failed webhook event
type PaymentInitiatedContent ¶
type PaymentInitiatedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Card *card.Card `json:"card,omitempty"`
}
type PaymentInitiatedEvent ¶
type PaymentInitiatedEvent struct {
BaseEvent
Content *PaymentInitiatedContent `json:"content"`
}
PaymentInitiatedEvent represents a payment_initiated webhook event
type PaymentIntentCreatedContent ¶
type PaymentIntentCreatedContent struct {
PaymentIntent *paymentintent.PaymentIntent `json:"payment_intent,omitempty"`
}
type PaymentIntentCreatedEvent ¶
type PaymentIntentCreatedEvent struct {
BaseEvent
Content *PaymentIntentCreatedContent `json:"content"`
}
PaymentIntentCreatedEvent represents a payment_intent_created webhook event
type PaymentIntentUpdatedContent ¶
type PaymentIntentUpdatedContent struct {
PaymentIntent *paymentintent.PaymentIntent `json:"payment_intent,omitempty"`
}
type PaymentIntentUpdatedEvent ¶
type PaymentIntentUpdatedEvent struct {
BaseEvent
Content *PaymentIntentUpdatedContent `json:"content"`
}
PaymentIntentUpdatedEvent represents a payment_intent_updated webhook event
type PaymentRefundedContent ¶
type PaymentRefundedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Card *card.Card `json:"card,omitempty"`
}
type PaymentRefundedEvent ¶
type PaymentRefundedEvent struct {
BaseEvent
Content *PaymentRefundedContent `json:"content"`
}
PaymentRefundedEvent represents a payment_refunded webhook event
type PaymentScheduleSchemeCreatedContent ¶
type PaymentScheduleSchemeCreatedContent struct {
PaymentScheduleScheme *paymentschedulescheme.PaymentScheduleScheme `json:"payment_schedule_scheme,omitempty"`
}
type PaymentScheduleSchemeCreatedEvent ¶
type PaymentScheduleSchemeCreatedEvent struct {
BaseEvent
Content *PaymentScheduleSchemeCreatedContent `json:"content"`
}
PaymentScheduleSchemeCreatedEvent represents a payment_schedule_scheme_created webhook event
type PaymentScheduleSchemeDeletedContent ¶
type PaymentScheduleSchemeDeletedContent struct {
PaymentScheduleScheme *paymentschedulescheme.PaymentScheduleScheme `json:"payment_schedule_scheme,omitempty"`
}
type PaymentScheduleSchemeDeletedEvent ¶
type PaymentScheduleSchemeDeletedEvent struct {
BaseEvent
Content *PaymentScheduleSchemeDeletedContent `json:"content"`
}
PaymentScheduleSchemeDeletedEvent represents a payment_schedule_scheme_deleted webhook event
type PaymentSchedulesCreatedContent ¶
type PaymentSchedulesCreatedContent struct {
PaymentSchedule *paymentschedule.PaymentSchedule `json:"payment_schedule,omitempty"`
}
type PaymentSchedulesCreatedEvent ¶
type PaymentSchedulesCreatedEvent struct {
BaseEvent
Content *PaymentSchedulesCreatedContent `json:"content"`
}
PaymentSchedulesCreatedEvent represents a payment_schedules_created webhook event
type PaymentSchedulesUpdatedContent ¶
type PaymentSchedulesUpdatedContent struct {
PaymentSchedule *paymentschedule.PaymentSchedule `json:"payment_schedule,omitempty"`
}
type PaymentSchedulesUpdatedEvent ¶
type PaymentSchedulesUpdatedEvent struct {
BaseEvent
Content *PaymentSchedulesUpdatedContent `json:"content"`
}
PaymentSchedulesUpdatedEvent represents a payment_schedules_updated webhook event
type PaymentSourceAddedContent ¶
type PaymentSourceAddedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PaymentSource *paymentsource.PaymentSource `json:"payment_source,omitempty"`
}
type PaymentSourceAddedEvent ¶
type PaymentSourceAddedEvent struct {
BaseEvent
Content *PaymentSourceAddedContent `json:"content"`
}
PaymentSourceAddedEvent represents a payment_source_added webhook event
type PaymentSourceDeletedContent ¶
type PaymentSourceDeletedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PaymentSource *paymentsource.PaymentSource `json:"payment_source,omitempty"`
}
type PaymentSourceDeletedEvent ¶
type PaymentSourceDeletedEvent struct {
BaseEvent
Content *PaymentSourceDeletedContent `json:"content"`
}
PaymentSourceDeletedEvent represents a payment_source_deleted webhook event
type PaymentSourceExpiredContent ¶
type PaymentSourceExpiredContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PaymentSource *paymentsource.PaymentSource `json:"payment_source,omitempty"`
}
type PaymentSourceExpiredEvent ¶
type PaymentSourceExpiredEvent struct {
BaseEvent
Content *PaymentSourceExpiredContent `json:"content"`
}
PaymentSourceExpiredEvent represents a payment_source_expired webhook event
type PaymentSourceExpiringContent ¶
type PaymentSourceExpiringContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PaymentSource *paymentsource.PaymentSource `json:"payment_source,omitempty"`
}
type PaymentSourceExpiringEvent ¶
type PaymentSourceExpiringEvent struct {
BaseEvent
Content *PaymentSourceExpiringContent `json:"content"`
}
PaymentSourceExpiringEvent represents a payment_source_expiring webhook event
type PaymentSourceLocallyDeletedContent ¶
type PaymentSourceLocallyDeletedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PaymentSource *paymentsource.PaymentSource `json:"payment_source,omitempty"`
}
type PaymentSourceLocallyDeletedEvent ¶
type PaymentSourceLocallyDeletedEvent struct {
BaseEvent
Content *PaymentSourceLocallyDeletedContent `json:"content"`
}
PaymentSourceLocallyDeletedEvent represents a payment_source_locally_deleted webhook event
type PaymentSourceUpdatedContent ¶
type PaymentSourceUpdatedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PaymentSource *paymentsource.PaymentSource `json:"payment_source,omitempty"`
}
type PaymentSourceUpdatedEvent ¶
type PaymentSourceUpdatedEvent struct {
BaseEvent
Content *PaymentSourceUpdatedContent `json:"content"`
}
PaymentSourceUpdatedEvent represents a payment_source_updated webhook event
type PaymentSucceededContent ¶
type PaymentSucceededContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Card *card.Card `json:"card,omitempty"`
}
type PaymentSucceededEvent ¶
type PaymentSucceededEvent struct {
BaseEvent
Content *PaymentSucceededContent `json:"content"`
}
PaymentSucceededEvent represents a payment_succeeded webhook event
type PendingInvoiceCreatedEvent ¶
type PendingInvoiceCreatedEvent struct {
BaseEvent
Content *PendingInvoiceCreatedContent `json:"content"`
}
PendingInvoiceCreatedEvent represents a pending_invoice_created webhook event
type PendingInvoiceUpdatedEvent ¶
type PendingInvoiceUpdatedEvent struct {
BaseEvent
Content *PendingInvoiceUpdatedContent `json:"content"`
}
PendingInvoiceUpdatedEvent represents a pending_invoice_updated webhook event
type PlanCreatedContent ¶
type PlanCreatedEvent ¶
type PlanCreatedEvent struct {
BaseEvent
Content *PlanCreatedContent `json:"content"`
}
PlanCreatedEvent represents a plan_created webhook event
type PlanDeletedContent ¶
type PlanDeletedEvent ¶
type PlanDeletedEvent struct {
BaseEvent
Content *PlanDeletedContent `json:"content"`
}
PlanDeletedEvent represents a plan_deleted webhook event
type PlanUpdatedContent ¶
type PlanUpdatedEvent ¶
type PlanUpdatedEvent struct {
BaseEvent
Content *PlanUpdatedContent `json:"content"`
}
PlanUpdatedEvent represents a plan_updated webhook event
type PriceVariantCreatedContent ¶
type PriceVariantCreatedContent struct {
PriceVariant *pricevariant.PriceVariant `json:"price_variant,omitempty"`
Attribute *attribute.Attribute `json:"attribute,omitempty"`
}
type PriceVariantCreatedEvent ¶
type PriceVariantCreatedEvent struct {
BaseEvent
Content *PriceVariantCreatedContent `json:"content"`
}
PriceVariantCreatedEvent represents a price_variant_created webhook event
type PriceVariantDeletedContent ¶
type PriceVariantDeletedContent struct {
PriceVariant *pricevariant.PriceVariant `json:"price_variant,omitempty"`
Attribute *attribute.Attribute `json:"attribute,omitempty"`
}
type PriceVariantDeletedEvent ¶
type PriceVariantDeletedEvent struct {
BaseEvent
Content *PriceVariantDeletedContent `json:"content"`
}
PriceVariantDeletedEvent represents a price_variant_deleted webhook event
type PriceVariantUpdatedContent ¶
type PriceVariantUpdatedContent struct {
PriceVariant *pricevariant.PriceVariant `json:"price_variant,omitempty"`
Attribute *attribute.Attribute `json:"attribute,omitempty"`
}
type PriceVariantUpdatedEvent ¶
type PriceVariantUpdatedEvent struct {
BaseEvent
Content *PriceVariantUpdatedContent `json:"content"`
}
PriceVariantUpdatedEvent represents a price_variant_updated webhook event
type ProductCreatedContent ¶
type ProductCreatedContent struct {
}
type ProductCreatedEvent ¶
type ProductCreatedEvent struct {
BaseEvent
Content *ProductCreatedContent `json:"content"`
}
ProductCreatedEvent represents a product_created webhook event
type ProductDeletedContent ¶
type ProductDeletedContent struct {
}
type ProductDeletedEvent ¶
type ProductDeletedEvent struct {
BaseEvent
Content *ProductDeletedContent `json:"content"`
}
ProductDeletedEvent represents a product_deleted webhook event
type ProductUpdatedContent ¶
type ProductUpdatedContent struct {
}
type ProductUpdatedEvent ¶
type ProductUpdatedEvent struct {
BaseEvent
Content *ProductUpdatedContent `json:"content"`
}
ProductUpdatedEvent represents a product_updated webhook event
type PromotionalCreditsAddedContent ¶
type PromotionalCreditsAddedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PromotionalCredit *promotionalcredit.PromotionalCredit `json:"promotional_credit,omitempty"`
}
type PromotionalCreditsAddedEvent ¶
type PromotionalCreditsAddedEvent struct {
BaseEvent
Content *PromotionalCreditsAddedContent `json:"content"`
}
PromotionalCreditsAddedEvent represents a promotional_credits_added webhook event
type PromotionalCreditsDeductedContent ¶
type PromotionalCreditsDeductedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
PromotionalCredit *promotionalcredit.PromotionalCredit `json:"promotional_credit,omitempty"`
}
type PromotionalCreditsDeductedEvent ¶
type PromotionalCreditsDeductedEvent struct {
BaseEvent
Content *PromotionalCreditsDeductedContent `json:"content"`
}
PromotionalCreditsDeductedEvent represents a promotional_credits_deducted webhook event
type PurchaseCreatedContent ¶
type PurchaseCreatedEvent ¶
type PurchaseCreatedEvent struct {
BaseEvent
Content *PurchaseCreatedContent `json:"content"`
}
PurchaseCreatedEvent represents a purchase_created webhook event
type QuoteCreatedContent ¶
type QuoteCreatedEvent ¶
type QuoteCreatedEvent struct {
BaseEvent
Content *QuoteCreatedContent `json:"content"`
}
QuoteCreatedEvent represents a quote_created webhook event
type QuoteDeletedContent ¶
type QuoteDeletedEvent ¶
type QuoteDeletedEvent struct {
BaseEvent
Content *QuoteDeletedContent `json:"content"`
}
QuoteDeletedEvent represents a quote_deleted webhook event
type QuoteUpdatedContent ¶
type QuoteUpdatedEvent ¶
type QuoteUpdatedEvent struct {
BaseEvent
Content *QuoteUpdatedContent `json:"content"`
}
QuoteUpdatedEvent represents a quote_updated webhook event
type RecordPurchaseFailedContent ¶
type RecordPurchaseFailedContent struct {
RecordedPurchase *recordedpurchase.RecordedPurchase `json:"recorded_purchase,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
}
type RecordPurchaseFailedEvent ¶
type RecordPurchaseFailedEvent struct {
BaseEvent
Content *RecordPurchaseFailedContent `json:"content"`
}
RecordPurchaseFailedEvent represents a record_purchase_failed webhook event
type RefundInitiatedContent ¶
type RefundInitiatedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Card *card.Card `json:"card,omitempty"`
}
type RefundInitiatedEvent ¶
type RefundInitiatedEvent struct {
BaseEvent
Content *RefundInitiatedContent `json:"content"`
}
RefundInitiatedEvent represents a refund_initiated webhook event
type RuleCreatedContent ¶
type RuleCreatedEvent ¶
type RuleCreatedEvent struct {
BaseEvent
Content *RuleCreatedContent `json:"content"`
}
RuleCreatedEvent represents a rule_created webhook event
type RuleDeletedContent ¶
type RuleDeletedEvent ¶
type RuleDeletedEvent struct {
BaseEvent
Content *RuleDeletedContent `json:"content"`
}
RuleDeletedEvent represents a rule_deleted webhook event
type RuleUpdatedContent ¶
type RuleUpdatedEvent ¶
type RuleUpdatedEvent struct {
BaseEvent
Content *RuleUpdatedContent `json:"content"`
}
RuleUpdatedEvent represents a rule_updated webhook event
type SalesOrderCreatedContent ¶
type SalesOrderCreatedContent struct {
}
type SalesOrderCreatedEvent ¶
type SalesOrderCreatedEvent struct {
BaseEvent
Content *SalesOrderCreatedContent `json:"content"`
}
SalesOrderCreatedEvent represents a sales_order_created webhook event
type SalesOrderUpdatedContent ¶
type SalesOrderUpdatedContent struct {
}
type SalesOrderUpdatedEvent ¶
type SalesOrderUpdatedEvent struct {
BaseEvent
Content *SalesOrderUpdatedContent `json:"content"`
}
SalesOrderUpdatedEvent represents a sales_order_updated webhook event
type SubscriptionActivatedContent ¶
type SubscriptionActivatedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
}
type SubscriptionActivatedEvent ¶
type SubscriptionActivatedEvent struct {
BaseEvent
Content *SubscriptionActivatedContent `json:"content"`
}
SubscriptionActivatedEvent represents a subscription_activated webhook event
type SubscriptionActivatedWithBackdatingContent ¶
type SubscriptionActivatedWithBackdatingContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionActivatedWithBackdatingEvent ¶
type SubscriptionActivatedWithBackdatingEvent struct {
BaseEvent
Content *SubscriptionActivatedWithBackdatingContent `json:"content"`
}
SubscriptionActivatedWithBackdatingEvent represents a subscription_activated_with_backdating webhook event
type SubscriptionAdvanceInvoiceScheduleAddedContent ¶
type SubscriptionAdvanceInvoiceScheduleAddedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
AdvanceInvoiceSchedule []*advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionAdvanceInvoiceScheduleAddedEvent ¶
type SubscriptionAdvanceInvoiceScheduleAddedEvent struct {
BaseEvent
Content *SubscriptionAdvanceInvoiceScheduleAddedContent `json:"content"`
}
SubscriptionAdvanceInvoiceScheduleAddedEvent represents a subscription_advance_invoice_schedule_added webhook event
type SubscriptionAdvanceInvoiceScheduleRemovedContent ¶
type SubscriptionAdvanceInvoiceScheduleRemovedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
AdvanceInvoiceSchedule []*advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionAdvanceInvoiceScheduleRemovedEvent ¶
type SubscriptionAdvanceInvoiceScheduleRemovedEvent struct {
BaseEvent
Content *SubscriptionAdvanceInvoiceScheduleRemovedContent `json:"content"`
}
SubscriptionAdvanceInvoiceScheduleRemovedEvent represents a subscription_advance_invoice_schedule_removed webhook event
type SubscriptionAdvanceInvoiceScheduleUpdatedContent ¶
type SubscriptionAdvanceInvoiceScheduleUpdatedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
AdvanceInvoiceSchedule []*advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionAdvanceInvoiceScheduleUpdatedEvent ¶
type SubscriptionAdvanceInvoiceScheduleUpdatedEvent struct {
BaseEvent
Content *SubscriptionAdvanceInvoiceScheduleUpdatedContent `json:"content"`
}
SubscriptionAdvanceInvoiceScheduleUpdatedEvent represents a subscription_advance_invoice_schedule_updated webhook event
type SubscriptionBusinessEntityChangedContent ¶
type SubscriptionBusinessEntityChangedContent struct {
BusinessEntityTransfer *businessentitytransfer.BusinessEntityTransfer `json:"business_entity_transfer,omitempty"`
Subscription *subscription.Subscription `json:"subscription,omitempty"`
}
type SubscriptionBusinessEntityChangedEvent ¶
type SubscriptionBusinessEntityChangedEvent struct {
BaseEvent
Content *SubscriptionBusinessEntityChangedContent `json:"content"`
}
SubscriptionBusinessEntityChangedEvent represents a subscription_business_entity_changed webhook event
type SubscriptionCanceledWithBackdatingContent ¶
type SubscriptionCanceledWithBackdatingContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote []*creditnote.CreditNote `json:"credit_note,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionCanceledWithBackdatingEvent ¶
type SubscriptionCanceledWithBackdatingEvent struct {
BaseEvent
Content *SubscriptionCanceledWithBackdatingContent `json:"content"`
}
SubscriptionCanceledWithBackdatingEvent represents a subscription_canceled_with_backdating webhook event
type SubscriptionCancellationReminderContent ¶
type SubscriptionCancellationReminderContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionCancellationReminderEvent ¶
type SubscriptionCancellationReminderEvent struct {
BaseEvent
Content *SubscriptionCancellationReminderContent `json:"content"`
}
SubscriptionCancellationReminderEvent represents a subscription_cancellation_reminder webhook event
type SubscriptionCancellationScheduledContent ¶
type SubscriptionCancellationScheduledContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionCancellationScheduledEvent ¶
type SubscriptionCancellationScheduledEvent struct {
BaseEvent
Content *SubscriptionCancellationScheduledContent `json:"content"`
}
SubscriptionCancellationScheduledEvent represents a subscription_cancellation_scheduled webhook event
type SubscriptionCancelledContent ¶
type SubscriptionCancelledContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote []*creditnote.CreditNote `json:"credit_note,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionCancelledEvent ¶
type SubscriptionCancelledEvent struct {
BaseEvent
Content *SubscriptionCancelledContent `json:"content"`
}
SubscriptionCancelledEvent represents a subscription_cancelled webhook event
type SubscriptionChangedContent ¶
type SubscriptionChangedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote []*creditnote.CreditNote `json:"credit_note,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionChangedEvent ¶
type SubscriptionChangedEvent struct {
BaseEvent
Content *SubscriptionChangedContent `json:"content"`
}
SubscriptionChangedEvent represents a subscription_changed webhook event
type SubscriptionChangedWithBackdatingContent ¶
type SubscriptionChangedWithBackdatingContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote []*creditnote.CreditNote `json:"credit_note,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionChangedWithBackdatingEvent ¶
type SubscriptionChangedWithBackdatingEvent struct {
BaseEvent
Content *SubscriptionChangedWithBackdatingContent `json:"content"`
}
SubscriptionChangedWithBackdatingEvent represents a subscription_changed_with_backdating webhook event
type SubscriptionChangesScheduledContent ¶
type SubscriptionChangesScheduledContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionChangesScheduledEvent ¶
type SubscriptionChangesScheduledEvent struct {
BaseEvent
Content *SubscriptionChangesScheduledContent `json:"content"`
}
SubscriptionChangesScheduledEvent represents a subscription_changes_scheduled webhook event
type SubscriptionCreatedContent ¶
type SubscriptionCreatedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionCreatedEvent ¶
type SubscriptionCreatedEvent struct {
BaseEvent
Content *SubscriptionCreatedContent `json:"content"`
}
SubscriptionCreatedEvent represents a subscription_created webhook event
type SubscriptionCreatedWithBackdatingContent ¶
type SubscriptionCreatedWithBackdatingContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionCreatedWithBackdatingEvent ¶
type SubscriptionCreatedWithBackdatingEvent struct {
BaseEvent
Content *SubscriptionCreatedWithBackdatingContent `json:"content"`
}
SubscriptionCreatedWithBackdatingEvent represents a subscription_created_with_backdating webhook event
type SubscriptionDeletedContent ¶
type SubscriptionDeletedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionDeletedEvent ¶
type SubscriptionDeletedEvent struct {
BaseEvent
Content *SubscriptionDeletedContent `json:"content"`
}
SubscriptionDeletedEvent represents a subscription_deleted webhook event
type SubscriptionEntitlementsCreatedContent ¶
type SubscriptionEntitlementsCreatedContent struct {
SubscriptionEntitlementsCreatedDetail *subscriptionentitlementscreateddetail.SubscriptionEntitlementsCreatedDetail `json:"subscription_entitlements_created_detail,omitempty"`
}
type SubscriptionEntitlementsCreatedEvent ¶
type SubscriptionEntitlementsCreatedEvent struct {
BaseEvent
Content *SubscriptionEntitlementsCreatedContent `json:"content"`
}
SubscriptionEntitlementsCreatedEvent represents a subscription_entitlements_created webhook event
type SubscriptionEntitlementsUpdatedContent ¶
type SubscriptionEntitlementsUpdatedContent struct {
SubscriptionEntitlementsUpdatedDetail *subscriptionentitlementsupdateddetail.SubscriptionEntitlementsUpdatedDetail `json:"subscription_entitlements_updated_detail,omitempty"`
}
type SubscriptionEntitlementsUpdatedEvent ¶
type SubscriptionEntitlementsUpdatedEvent struct {
BaseEvent
Content *SubscriptionEntitlementsUpdatedContent `json:"content"`
}
SubscriptionEntitlementsUpdatedEvent represents a subscription_entitlements_updated webhook event
type SubscriptionItemsRenewedContent ¶
type SubscriptionItemsRenewedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote []*creditnote.CreditNote `json:"credit_note,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionItemsRenewedEvent ¶
type SubscriptionItemsRenewedEvent struct {
BaseEvent
Content *SubscriptionItemsRenewedContent `json:"content"`
}
SubscriptionItemsRenewedEvent represents a subscription_items_renewed webhook event
type SubscriptionMovedInContent ¶
type SubscriptionMovedInContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
}
type SubscriptionMovedInEvent ¶
type SubscriptionMovedInEvent struct {
BaseEvent
Content *SubscriptionMovedInContent `json:"content"`
}
SubscriptionMovedInEvent represents a subscription_moved_in webhook event
type SubscriptionMovedOutContent ¶
type SubscriptionMovedOutContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
}
type SubscriptionMovedOutEvent ¶
type SubscriptionMovedOutEvent struct {
BaseEvent
Content *SubscriptionMovedOutContent `json:"content"`
}
SubscriptionMovedOutEvent represents a subscription_moved_out webhook event
type SubscriptionMovementFailedContent ¶
type SubscriptionMovementFailedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
}
type SubscriptionMovementFailedEvent ¶
type SubscriptionMovementFailedEvent struct {
BaseEvent
Content *SubscriptionMovementFailedContent `json:"content"`
}
SubscriptionMovementFailedEvent represents a subscription_movement_failed webhook event
type SubscriptionPauseScheduledContent ¶
type SubscriptionPauseScheduledContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionPauseScheduledEvent ¶
type SubscriptionPauseScheduledEvent struct {
BaseEvent
Content *SubscriptionPauseScheduledContent `json:"content"`
}
SubscriptionPauseScheduledEvent represents a subscription_pause_scheduled webhook event
type SubscriptionPausedContent ¶
type SubscriptionPausedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote []*creditnote.CreditNote `json:"credit_note,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionPausedEvent ¶
type SubscriptionPausedEvent struct {
BaseEvent
Content *SubscriptionPausedContent `json:"content"`
}
SubscriptionPausedEvent represents a subscription_paused webhook event
type SubscriptionRampAppliedEvent ¶
type SubscriptionRampAppliedEvent struct {
BaseEvent
Content *SubscriptionRampAppliedContent `json:"content"`
}
SubscriptionRampAppliedEvent represents a subscription_ramp_applied webhook event
type SubscriptionRampCreatedEvent ¶
type SubscriptionRampCreatedEvent struct {
BaseEvent
Content *SubscriptionRampCreatedContent `json:"content"`
}
SubscriptionRampCreatedEvent represents a subscription_ramp_created webhook event
type SubscriptionRampDeletedEvent ¶
type SubscriptionRampDeletedEvent struct {
BaseEvent
Content *SubscriptionRampDeletedContent `json:"content"`
}
SubscriptionRampDeletedEvent represents a subscription_ramp_deleted webhook event
type SubscriptionRampDraftedEvent ¶
type SubscriptionRampDraftedEvent struct {
BaseEvent
Content *SubscriptionRampDraftedContent `json:"content"`
}
SubscriptionRampDraftedEvent represents a subscription_ramp_drafted webhook event
type SubscriptionRampUpdatedEvent ¶
type SubscriptionRampUpdatedEvent struct {
BaseEvent
Content *SubscriptionRampUpdatedContent `json:"content"`
}
SubscriptionRampUpdatedEvent represents a subscription_ramp_updated webhook event
type SubscriptionReactivatedContent ¶
type SubscriptionReactivatedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionReactivatedEvent ¶
type SubscriptionReactivatedEvent struct {
BaseEvent
Content *SubscriptionReactivatedContent `json:"content"`
}
SubscriptionReactivatedEvent represents a subscription_reactivated webhook event
type SubscriptionReactivatedWithBackdatingContent ¶
type SubscriptionReactivatedWithBackdatingContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionReactivatedWithBackdatingEvent ¶
type SubscriptionReactivatedWithBackdatingEvent struct {
BaseEvent
Content *SubscriptionReactivatedWithBackdatingContent `json:"content"`
}
SubscriptionReactivatedWithBackdatingEvent represents a subscription_reactivated_with_backdating webhook event
type SubscriptionRenewalReminderContent ¶
type SubscriptionRenewalReminderContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionRenewalReminderEvent ¶
type SubscriptionRenewalReminderEvent struct {
BaseEvent
Content *SubscriptionRenewalReminderContent `json:"content"`
}
SubscriptionRenewalReminderEvent represents a subscription_renewal_reminder webhook event
type SubscriptionRenewedContent ¶
type SubscriptionRenewedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionRenewedEvent ¶
type SubscriptionRenewedEvent struct {
BaseEvent
Content *SubscriptionRenewedContent `json:"content"`
}
SubscriptionRenewedEvent represents a subscription_renewed webhook event
type SubscriptionResumedContent ¶
type SubscriptionResumedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type SubscriptionResumedEvent ¶
type SubscriptionResumedEvent struct {
BaseEvent
Content *SubscriptionResumedContent `json:"content"`
}
SubscriptionResumedEvent represents a subscription_resumed webhook event
type SubscriptionResumptionScheduledContent ¶
type SubscriptionResumptionScheduledContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionResumptionScheduledEvent ¶
type SubscriptionResumptionScheduledEvent struct {
BaseEvent
Content *SubscriptionResumptionScheduledContent `json:"content"`
}
SubscriptionResumptionScheduledEvent represents a subscription_resumption_scheduled webhook event
type SubscriptionScheduledCancellationRemovedContent ¶
type SubscriptionScheduledCancellationRemovedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionScheduledCancellationRemovedEvent ¶
type SubscriptionScheduledCancellationRemovedEvent struct {
BaseEvent
Content *SubscriptionScheduledCancellationRemovedContent `json:"content"`
}
SubscriptionScheduledCancellationRemovedEvent represents a subscription_scheduled_cancellation_removed webhook event
type SubscriptionScheduledChangesRemovedContent ¶
type SubscriptionScheduledChangesRemovedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionScheduledChangesRemovedEvent ¶
type SubscriptionScheduledChangesRemovedEvent struct {
BaseEvent
Content *SubscriptionScheduledChangesRemovedContent `json:"content"`
}
SubscriptionScheduledChangesRemovedEvent represents a subscription_scheduled_changes_removed webhook event
type SubscriptionScheduledPauseRemovedContent ¶
type SubscriptionScheduledPauseRemovedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionScheduledPauseRemovedEvent ¶
type SubscriptionScheduledPauseRemovedEvent struct {
BaseEvent
Content *SubscriptionScheduledPauseRemovedContent `json:"content"`
}
SubscriptionScheduledPauseRemovedEvent represents a subscription_scheduled_pause_removed webhook event
type SubscriptionScheduledResumptionRemovedContent ¶
type SubscriptionScheduledResumptionRemovedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionScheduledResumptionRemovedEvent ¶
type SubscriptionScheduledResumptionRemovedEvent struct {
BaseEvent
Content *SubscriptionScheduledResumptionRemovedContent `json:"content"`
}
SubscriptionScheduledResumptionRemovedEvent represents a subscription_scheduled_resumption_removed webhook event
type SubscriptionShippingAddressUpdatedContent ¶
type SubscriptionShippingAddressUpdatedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionShippingAddressUpdatedEvent ¶
type SubscriptionShippingAddressUpdatedEvent struct {
BaseEvent
Content *SubscriptionShippingAddressUpdatedContent `json:"content"`
}
SubscriptionShippingAddressUpdatedEvent represents a subscription_shipping_address_updated webhook event
type SubscriptionStartedContent ¶
type SubscriptionStartedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
}
type SubscriptionStartedEvent ¶
type SubscriptionStartedEvent struct {
BaseEvent
Content *SubscriptionStartedContent `json:"content"`
}
SubscriptionStartedEvent represents a subscription_started webhook event
type SubscriptionTrialEndReminderContent ¶
type SubscriptionTrialEndReminderContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionTrialEndReminderEvent ¶
type SubscriptionTrialEndReminderEvent struct {
BaseEvent
Content *SubscriptionTrialEndReminderContent `json:"content"`
}
SubscriptionTrialEndReminderEvent represents a subscription_trial_end_reminder webhook event
type SubscriptionTrialExtendedContent ¶
type SubscriptionTrialExtendedContent struct {
Subscription *subscription.Subscription `json:"subscription,omitempty"`
Customer *customer.Customer `json:"customer,omitempty"`
Card *card.Card `json:"card,omitempty"`
AdvanceInvoiceSchedule *advanceinvoiceschedule.AdvanceInvoiceSchedule `json:"advance_invoice_schedule,omitempty"`
}
type SubscriptionTrialExtendedEvent ¶
type SubscriptionTrialExtendedEvent struct {
BaseEvent
Content *SubscriptionTrialExtendedContent `json:"content"`
}
SubscriptionTrialExtendedEvent represents a subscription_trial_extended webhook event
type TaxWithheldDeletedContent ¶
type TaxWithheldDeletedContent struct {
TaxWithheld *taxwithheld.TaxWithheld `json:"tax_withheld,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
}
type TaxWithheldDeletedEvent ¶
type TaxWithheldDeletedEvent struct {
BaseEvent
Content *TaxWithheldDeletedContent `json:"content"`
}
TaxWithheldDeletedEvent represents a tax_withheld_deleted webhook event
type TaxWithheldRecordedContent ¶
type TaxWithheldRecordedContent struct {
TaxWithheld *taxwithheld.TaxWithheld `json:"tax_withheld,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
}
type TaxWithheldRecordedEvent ¶
type TaxWithheldRecordedEvent struct {
BaseEvent
Content *TaxWithheldRecordedContent `json:"content"`
}
TaxWithheldRecordedEvent represents a tax_withheld_recorded webhook event
type TaxWithheldRefundedContent ¶
type TaxWithheldRefundedContent struct {
TaxWithheld *taxwithheld.TaxWithheld `json:"tax_withheld,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
CreditNote *creditnote.CreditNote `json:"credit_note,omitempty"`
}
type TaxWithheldRefundedEvent ¶
type TaxWithheldRefundedEvent struct {
BaseEvent
Content *TaxWithheldRefundedContent `json:"content"`
}
TaxWithheldRefundedEvent represents a tax_withheld_refunded webhook event
type TokenConsumedContent ¶
type TokenConsumedEvent ¶
type TokenConsumedEvent struct {
BaseEvent
Content *TokenConsumedContent `json:"content"`
}
TokenConsumedEvent represents a token_consumed webhook event
type TokenCreatedContent ¶
type TokenCreatedEvent ¶
type TokenCreatedEvent struct {
BaseEvent
Content *TokenCreatedContent `json:"content"`
}
TokenCreatedEvent represents a token_created webhook event
type TokenExpiredContent ¶
type TokenExpiredEvent ¶
type TokenExpiredEvent struct {
BaseEvent
Content *TokenExpiredContent `json:"content"`
}
TokenExpiredEvent represents a token_expired webhook event
type TransactionCreatedContent ¶
type TransactionCreatedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
}
type TransactionCreatedEvent ¶
type TransactionCreatedEvent struct {
BaseEvent
Content *TransactionCreatedContent `json:"content"`
}
TransactionCreatedEvent represents a transaction_created webhook event
type TransactionDeletedContent ¶
type TransactionDeletedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
}
type TransactionDeletedEvent ¶
type TransactionDeletedEvent struct {
BaseEvent
Content *TransactionDeletedContent `json:"content"`
}
TransactionDeletedEvent represents a transaction_deleted webhook event
type TransactionUpdatedContent ¶
type TransactionUpdatedContent struct {
Transaction *transaction.Transaction `json:"transaction,omitempty"`
}
type TransactionUpdatedEvent ¶
type TransactionUpdatedEvent struct {
BaseEvent
Content *TransactionUpdatedContent `json:"content"`
}
TransactionUpdatedEvent represents a transaction_updated webhook event
type UnbilledChargesCreatedContent ¶
type UnbilledChargesCreatedContent struct {
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type UnbilledChargesCreatedEvent ¶
type UnbilledChargesCreatedEvent struct {
BaseEvent
Content *UnbilledChargesCreatedContent `json:"content"`
}
UnbilledChargesCreatedEvent represents a unbilled_charges_created webhook event
type UnbilledChargesDeletedContent ¶
type UnbilledChargesDeletedContent struct {
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type UnbilledChargesDeletedEvent ¶
type UnbilledChargesDeletedEvent struct {
BaseEvent
Content *UnbilledChargesDeletedContent `json:"content"`
}
UnbilledChargesDeletedEvent represents a unbilled_charges_deleted webhook event
type UnbilledChargesInvoicedContent ¶
type UnbilledChargesInvoicedContent struct {
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
Invoice *invoice.Invoice `json:"invoice,omitempty"`
}
type UnbilledChargesInvoicedEvent ¶
type UnbilledChargesInvoicedEvent struct {
BaseEvent
Content *UnbilledChargesInvoicedContent `json:"content"`
}
UnbilledChargesInvoicedEvent represents a unbilled_charges_invoiced webhook event
type UnbilledChargesVoidedContent ¶
type UnbilledChargesVoidedContent struct {
UnbilledCharge []*unbilledcharge.UnbilledCharge `json:"unbilled_charge,omitempty"`
}
type UnbilledChargesVoidedEvent ¶
type UnbilledChargesVoidedEvent struct {
BaseEvent
Content *UnbilledChargesVoidedContent `json:"content"`
}
UnbilledChargesVoidedEvent represents a unbilled_charges_voided webhook event
type UsageFileIngestedEvent ¶
type UsageFileIngestedEvent struct {
BaseEvent
Content *UsageFileIngestedContent `json:"content"`
}
UsageFileIngestedEvent represents a usage_file_ingested webhook event
type VariantCreatedContent ¶
type VariantCreatedContent struct {
}
type VariantCreatedEvent ¶
type VariantCreatedEvent struct {
BaseEvent
Content *VariantCreatedContent `json:"content"`
}
VariantCreatedEvent represents a variant_created webhook event
type VariantDeletedContent ¶
type VariantDeletedContent struct {
}
type VariantDeletedEvent ¶
type VariantDeletedEvent struct {
BaseEvent
Content *VariantDeletedContent `json:"content"`
}
VariantDeletedEvent represents a variant_deleted webhook event
type VariantUpdatedContent ¶
type VariantUpdatedContent struct {
}
type VariantUpdatedEvent ¶
type VariantUpdatedEvent struct {
BaseEvent
Content *VariantUpdatedContent `json:"content"`
}
VariantUpdatedEvent represents a variant_updated webhook event
type VirtualBankAccountAddedContent ¶
type VirtualBankAccountAddedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
VirtualBankAccount *virtualbankaccount.VirtualBankAccount `json:"virtual_bank_account,omitempty"`
}
type VirtualBankAccountAddedEvent ¶
type VirtualBankAccountAddedEvent struct {
BaseEvent
Content *VirtualBankAccountAddedContent `json:"content"`
}
VirtualBankAccountAddedEvent represents a virtual_bank_account_added webhook event
type VirtualBankAccountDeletedContent ¶
type VirtualBankAccountDeletedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
VirtualBankAccount *virtualbankaccount.VirtualBankAccount `json:"virtual_bank_account,omitempty"`
}
type VirtualBankAccountDeletedEvent ¶
type VirtualBankAccountDeletedEvent struct {
BaseEvent
Content *VirtualBankAccountDeletedContent `json:"content"`
}
VirtualBankAccountDeletedEvent represents a virtual_bank_account_deleted webhook event
type VirtualBankAccountUpdatedContent ¶
type VirtualBankAccountUpdatedContent struct {
Customer *customer.Customer `json:"customer,omitempty"`
VirtualBankAccount *virtualbankaccount.VirtualBankAccount `json:"virtual_bank_account,omitempty"`
}
type VirtualBankAccountUpdatedEvent ¶
type VirtualBankAccountUpdatedEvent struct {
BaseEvent
Content *VirtualBankAccountUpdatedContent `json:"content"`
}
VirtualBankAccountUpdatedEvent represents a virtual_bank_account_updated webhook event
type VoucherCreateFailedContent ¶
type VoucherCreateFailedContent struct {
PaymentVoucher *paymentvoucher.PaymentVoucher `json:"payment_voucher,omitempty"`
}
type VoucherCreateFailedEvent ¶
type VoucherCreateFailedEvent struct {
BaseEvent
Content *VoucherCreateFailedContent `json:"content"`
}
VoucherCreateFailedEvent represents a voucher_create_failed webhook event
type VoucherCreatedContent ¶
type VoucherCreatedContent struct {
PaymentVoucher *paymentvoucher.PaymentVoucher `json:"payment_voucher,omitempty"`
}
type VoucherCreatedEvent ¶
type VoucherCreatedEvent struct {
BaseEvent
Content *VoucherCreatedContent `json:"content"`
}
VoucherCreatedEvent represents a voucher_created webhook event
type VoucherExpiredContent ¶
type VoucherExpiredContent struct {
PaymentVoucher *paymentvoucher.PaymentVoucher `json:"payment_voucher,omitempty"`
}
type VoucherExpiredEvent ¶
type VoucherExpiredEvent struct {
BaseEvent
Content *VoucherExpiredContent `json:"content"`
}
VoucherExpiredEvent represents a voucher_expired webhook event
type WebhookHandler ¶
type WebhookHandler struct {
RequestValidator func(*http.Request) error
OnError func(http.ResponseWriter, *http.Request, error)
OnUnhandledEvent func(enum.EventType, []byte) error
OnAddUsagesReminder func(AddUsagesReminderEvent) error
OnAddonCreated func(AddonCreatedEvent) error
OnAddonDeleted func(AddonDeletedEvent) error
OnAddonUpdated func(AddonUpdatedEvent) error
OnAttachedItemCreated func(AttachedItemCreatedEvent) error
OnAttachedItemDeleted func(AttachedItemDeletedEvent) error
OnAttachedItemUpdated func(AttachedItemUpdatedEvent) error
OnAuthorizationSucceeded func(AuthorizationSucceededEvent) error
OnAuthorizationVoided func(AuthorizationVoidedEvent) error
OnBusinessEntityCreated func(BusinessEntityCreatedEvent) error
OnBusinessEntityDeleted func(BusinessEntityDeletedEvent) error
OnBusinessEntityUpdated func(BusinessEntityUpdatedEvent) error
OnCardAdded func(CardAddedEvent) error
OnCardDeleted func(CardDeletedEvent) error
OnCardExpired func(CardExpiredEvent) error
OnCardExpiryReminder func(CardExpiryReminderEvent) error
OnCardUpdated func(CardUpdatedEvent) error
OnContractTermCancelled func(ContractTermCancelledEvent) error
OnContractTermCompleted func(ContractTermCompletedEvent) error
OnContractTermCreated func(ContractTermCreatedEvent) error
OnContractTermRenewed func(ContractTermRenewedEvent) error
OnContractTermTerminated func(ContractTermTerminatedEvent) error
OnCouponCodesAdded func(CouponCodesAddedEvent) error
OnCouponCodesDeleted func(CouponCodesDeletedEvent) error
OnCouponCodesUpdated func(CouponCodesUpdatedEvent) error
OnCouponCreated func(CouponCreatedEvent) error
OnCouponDeleted func(CouponDeletedEvent) error
OnCouponSetCreated func(CouponSetCreatedEvent) error
OnCouponSetDeleted func(CouponSetDeletedEvent) error
OnCouponSetUpdated func(CouponSetUpdatedEvent) error
OnCouponUpdated func(CouponUpdatedEvent) error
OnCreditNoteCreated func(CreditNoteCreatedEvent) error
OnCreditNoteCreatedWithBackdating func(CreditNoteCreatedWithBackdatingEvent) error
OnCreditNoteDeleted func(CreditNoteDeletedEvent) error
OnCreditNoteUpdated func(CreditNoteUpdatedEvent) error
OnCustomerBusinessEntityChanged func(CustomerBusinessEntityChangedEvent) error
OnCustomerChanged func(CustomerChangedEvent) error
OnCustomerCreated func(CustomerCreatedEvent) error
OnCustomerDeleted func(CustomerDeletedEvent) error
OnCustomerEntitlementsUpdated func(CustomerEntitlementsUpdatedEvent) error
OnCustomerMovedIn func(CustomerMovedInEvent) error
OnCustomerMovedOut func(CustomerMovedOutEvent) error
OnDifferentialPriceCreated func(DifferentialPriceCreatedEvent) error
OnDifferentialPriceDeleted func(DifferentialPriceDeletedEvent) error
OnDifferentialPriceUpdated func(DifferentialPriceUpdatedEvent) error
OnDunningUpdated func(DunningUpdatedEvent) error
OnEntitlementOverridesAutoRemoved func(EntitlementOverridesAutoRemovedEvent) error
OnEntitlementOverridesRemoved func(EntitlementOverridesRemovedEvent) error
OnEntitlementOverridesUpdated func(EntitlementOverridesUpdatedEvent) error
OnFeatureActivated func(FeatureActivatedEvent) error
OnFeatureArchived func(FeatureArchivedEvent) error
OnFeatureCreated func(FeatureCreatedEvent) error
OnFeatureDeleted func(FeatureDeletedEvent) error
OnFeatureReactivated func(FeatureReactivatedEvent) error
OnFeatureUpdated func(FeatureUpdatedEvent) error
OnGiftCancelled func(GiftCancelledEvent) error
OnGiftClaimed func(GiftClaimedEvent) error
OnGiftExpired func(GiftExpiredEvent) error
OnGiftScheduled func(GiftScheduledEvent) error
OnGiftUnclaimed func(GiftUnclaimedEvent) error
OnGiftUpdated func(GiftUpdatedEvent) error
OnHierarchyCreated func(HierarchyCreatedEvent) error
OnHierarchyDeleted func(HierarchyDeletedEvent) error
OnInvoiceDeleted func(InvoiceDeletedEvent) error
OnInvoiceGenerated func(InvoiceGeneratedEvent) error
OnInvoiceGeneratedWithBackdating func(InvoiceGeneratedWithBackdatingEvent) error
OnInvoiceUpdated func(InvoiceUpdatedEvent) error
OnItemCreated func(ItemCreatedEvent) error
OnItemDeleted func(ItemDeletedEvent) error
OnItemEntitlementsRemoved func(ItemEntitlementsRemovedEvent) error
OnItemEntitlementsUpdated func(ItemEntitlementsUpdatedEvent) error
OnItemFamilyCreated func(ItemFamilyCreatedEvent) error
OnItemFamilyDeleted func(ItemFamilyDeletedEvent) error
OnItemFamilyUpdated func(ItemFamilyUpdatedEvent) error
OnItemPriceCreated func(ItemPriceCreatedEvent) error
OnItemPriceDeleted func(ItemPriceDeletedEvent) error
OnItemPriceEntitlementsRemoved func(ItemPriceEntitlementsRemovedEvent) error
OnItemPriceEntitlementsUpdated func(ItemPriceEntitlementsUpdatedEvent) error
OnItemPriceUpdated func(ItemPriceUpdatedEvent) error
OnItemUpdated func(ItemUpdatedEvent) error
OnMrrUpdated func(MrrUpdatedEvent) error
OnNetdPaymentDueReminder func(NetdPaymentDueReminderEvent) error
OnOmnichannelOneTimeOrderCreated func(OmnichannelOneTimeOrderCreatedEvent) error
OnOmnichannelOneTimeOrderItemCancelled func(OmnichannelOneTimeOrderItemCancelledEvent) error
OnOmnichannelSubscriptionCreated func(OmnichannelSubscriptionCreatedEvent) error
OnOmnichannelSubscriptionImported func(OmnichannelSubscriptionImportedEvent) error
OnOmnichannelSubscriptionItemCancellationScheduled func(OmnichannelSubscriptionItemCancellationScheduledEvent) error
OnOmnichannelSubscriptionItemCancelled func(OmnichannelSubscriptionItemCancelledEvent) error
OnOmnichannelSubscriptionItemChangeScheduled func(OmnichannelSubscriptionItemChangeScheduledEvent) error
OnOmnichannelSubscriptionItemChanged func(OmnichannelSubscriptionItemChangedEvent) error
OnOmnichannelSubscriptionItemDowngradeScheduled func(OmnichannelSubscriptionItemDowngradeScheduledEvent) error
OnOmnichannelSubscriptionItemDowngraded func(OmnichannelSubscriptionItemDowngradedEvent) error
OnOmnichannelSubscriptionItemDunningExpired func(OmnichannelSubscriptionItemDunningExpiredEvent) error
OnOmnichannelSubscriptionItemDunningStarted func(OmnichannelSubscriptionItemDunningStartedEvent) error
OnOmnichannelSubscriptionItemExpired func(OmnichannelSubscriptionItemExpiredEvent) error
OnOmnichannelSubscriptionItemGracePeriodExpired func(OmnichannelSubscriptionItemGracePeriodExpiredEvent) error
OnOmnichannelSubscriptionItemGracePeriodStarted func(OmnichannelSubscriptionItemGracePeriodStartedEvent) error
OnOmnichannelSubscriptionItemPauseScheduled func(OmnichannelSubscriptionItemPauseScheduledEvent) error
OnOmnichannelSubscriptionItemPaused func(OmnichannelSubscriptionItemPausedEvent) error
OnOmnichannelSubscriptionItemReactivated func(OmnichannelSubscriptionItemReactivatedEvent) error
OnOmnichannelSubscriptionItemRenewed func(OmnichannelSubscriptionItemRenewedEvent) error
OnOmnichannelSubscriptionItemResubscribed func(OmnichannelSubscriptionItemResubscribedEvent) error
OnOmnichannelSubscriptionItemResumed func(OmnichannelSubscriptionItemResumedEvent) error
OnOmnichannelSubscriptionItemScheduledCancellationRemoved func(OmnichannelSubscriptionItemScheduledCancellationRemovedEvent) error
OnOmnichannelSubscriptionItemScheduledChangeRemoved func(OmnichannelSubscriptionItemScheduledChangeRemovedEvent) error
OnOmnichannelSubscriptionItemScheduledDowngradeRemoved func(OmnichannelSubscriptionItemScheduledDowngradeRemovedEvent) error
OnOmnichannelSubscriptionItemUpgraded func(OmnichannelSubscriptionItemUpgradedEvent) error
OnOmnichannelSubscriptionMovedIn func(OmnichannelSubscriptionMovedInEvent) error
OnOmnichannelTransactionCreated func(OmnichannelTransactionCreatedEvent) error
OnOrderCancelled func(OrderCancelledEvent) error
OnOrderCreated func(OrderCreatedEvent) error
OnOrderDeleted func(OrderDeletedEvent) error
OnOrderDelivered func(OrderDeliveredEvent) error
OnOrderReadyToProcess func(OrderReadyToProcessEvent) error
OnOrderReadyToShip func(OrderReadyToShipEvent) error
OnOrderResent func(OrderResentEvent) error
OnOrderReturned func(OrderReturnedEvent) error
OnOrderUpdated func(OrderUpdatedEvent) error
OnPaymentDueReminder func(PaymentDueReminderEvent) error
OnPaymentFailed func(PaymentFailedEvent) error
OnPaymentInitiated func(PaymentInitiatedEvent) error
OnPaymentIntentCreated func(PaymentIntentCreatedEvent) error
OnPaymentIntentUpdated func(PaymentIntentUpdatedEvent) error
OnPaymentRefunded func(PaymentRefundedEvent) error
OnPaymentScheduleSchemeCreated func(PaymentScheduleSchemeCreatedEvent) error
OnPaymentScheduleSchemeDeleted func(PaymentScheduleSchemeDeletedEvent) error
OnPaymentSchedulesCreated func(PaymentSchedulesCreatedEvent) error
OnPaymentSchedulesUpdated func(PaymentSchedulesUpdatedEvent) error
OnPaymentSourceAdded func(PaymentSourceAddedEvent) error
OnPaymentSourceDeleted func(PaymentSourceDeletedEvent) error
OnPaymentSourceExpired func(PaymentSourceExpiredEvent) error
OnPaymentSourceExpiring func(PaymentSourceExpiringEvent) error
OnPaymentSourceLocallyDeleted func(PaymentSourceLocallyDeletedEvent) error
OnPaymentSourceUpdated func(PaymentSourceUpdatedEvent) error
OnPaymentSucceeded func(PaymentSucceededEvent) error
OnPendingInvoiceCreated func(PendingInvoiceCreatedEvent) error
OnPendingInvoiceUpdated func(PendingInvoiceUpdatedEvent) error
OnPlanCreated func(PlanCreatedEvent) error
OnPlanDeleted func(PlanDeletedEvent) error
OnPlanUpdated func(PlanUpdatedEvent) error
OnPriceVariantCreated func(PriceVariantCreatedEvent) error
OnPriceVariantDeleted func(PriceVariantDeletedEvent) error
OnPriceVariantUpdated func(PriceVariantUpdatedEvent) error
OnProductCreated func(ProductCreatedEvent) error
OnProductDeleted func(ProductDeletedEvent) error
OnProductUpdated func(ProductUpdatedEvent) error
OnPromotionalCreditsAdded func(PromotionalCreditsAddedEvent) error
OnPromotionalCreditsDeducted func(PromotionalCreditsDeductedEvent) error
OnPurchaseCreated func(PurchaseCreatedEvent) error
OnQuoteCreated func(QuoteCreatedEvent) error
OnQuoteDeleted func(QuoteDeletedEvent) error
OnQuoteUpdated func(QuoteUpdatedEvent) error
OnRecordPurchaseFailed func(RecordPurchaseFailedEvent) error
OnRefundInitiated func(RefundInitiatedEvent) error
OnRuleCreated func(RuleCreatedEvent) error
OnRuleDeleted func(RuleDeletedEvent) error
OnRuleUpdated func(RuleUpdatedEvent) error
OnSalesOrderCreated func(SalesOrderCreatedEvent) error
OnSalesOrderUpdated func(SalesOrderUpdatedEvent) error
OnSubscriptionActivated func(SubscriptionActivatedEvent) error
OnSubscriptionActivatedWithBackdating func(SubscriptionActivatedWithBackdatingEvent) error
OnSubscriptionAdvanceInvoiceScheduleAdded func(SubscriptionAdvanceInvoiceScheduleAddedEvent) error
OnSubscriptionAdvanceInvoiceScheduleRemoved func(SubscriptionAdvanceInvoiceScheduleRemovedEvent) error
OnSubscriptionAdvanceInvoiceScheduleUpdated func(SubscriptionAdvanceInvoiceScheduleUpdatedEvent) error
OnSubscriptionBusinessEntityChanged func(SubscriptionBusinessEntityChangedEvent) error
OnSubscriptionCanceledWithBackdating func(SubscriptionCanceledWithBackdatingEvent) error
OnSubscriptionCancellationReminder func(SubscriptionCancellationReminderEvent) error
OnSubscriptionCancellationScheduled func(SubscriptionCancellationScheduledEvent) error
OnSubscriptionCancelled func(SubscriptionCancelledEvent) error
OnSubscriptionChanged func(SubscriptionChangedEvent) error
OnSubscriptionChangedWithBackdating func(SubscriptionChangedWithBackdatingEvent) error
OnSubscriptionChangesScheduled func(SubscriptionChangesScheduledEvent) error
OnSubscriptionCreated func(SubscriptionCreatedEvent) error
OnSubscriptionCreatedWithBackdating func(SubscriptionCreatedWithBackdatingEvent) error
OnSubscriptionDeleted func(SubscriptionDeletedEvent) error
OnSubscriptionEntitlementsCreated func(SubscriptionEntitlementsCreatedEvent) error
OnSubscriptionEntitlementsUpdated func(SubscriptionEntitlementsUpdatedEvent) error
OnSubscriptionItemsRenewed func(SubscriptionItemsRenewedEvent) error
OnSubscriptionMovedIn func(SubscriptionMovedInEvent) error
OnSubscriptionMovedOut func(SubscriptionMovedOutEvent) error
OnSubscriptionMovementFailed func(SubscriptionMovementFailedEvent) error
OnSubscriptionPauseScheduled func(SubscriptionPauseScheduledEvent) error
OnSubscriptionPaused func(SubscriptionPausedEvent) error
OnSubscriptionRampApplied func(SubscriptionRampAppliedEvent) error
OnSubscriptionRampCreated func(SubscriptionRampCreatedEvent) error
OnSubscriptionRampDeleted func(SubscriptionRampDeletedEvent) error
OnSubscriptionRampDrafted func(SubscriptionRampDraftedEvent) error
OnSubscriptionRampUpdated func(SubscriptionRampUpdatedEvent) error
OnSubscriptionReactivated func(SubscriptionReactivatedEvent) error
OnSubscriptionReactivatedWithBackdating func(SubscriptionReactivatedWithBackdatingEvent) error
OnSubscriptionRenewalReminder func(SubscriptionRenewalReminderEvent) error
OnSubscriptionRenewed func(SubscriptionRenewedEvent) error
OnSubscriptionResumed func(SubscriptionResumedEvent) error
OnSubscriptionResumptionScheduled func(SubscriptionResumptionScheduledEvent) error
OnSubscriptionScheduledCancellationRemoved func(SubscriptionScheduledCancellationRemovedEvent) error
OnSubscriptionScheduledChangesRemoved func(SubscriptionScheduledChangesRemovedEvent) error
OnSubscriptionScheduledPauseRemoved func(SubscriptionScheduledPauseRemovedEvent) error
OnSubscriptionScheduledResumptionRemoved func(SubscriptionScheduledResumptionRemovedEvent) error
OnSubscriptionShippingAddressUpdated func(SubscriptionShippingAddressUpdatedEvent) error
OnSubscriptionStarted func(SubscriptionStartedEvent) error
OnSubscriptionTrialEndReminder func(SubscriptionTrialEndReminderEvent) error
OnSubscriptionTrialExtended func(SubscriptionTrialExtendedEvent) error
OnTaxWithheldDeleted func(TaxWithheldDeletedEvent) error
OnTaxWithheldRecorded func(TaxWithheldRecordedEvent) error
OnTaxWithheldRefunded func(TaxWithheldRefundedEvent) error
OnTokenConsumed func(TokenConsumedEvent) error
OnTokenCreated func(TokenCreatedEvent) error
OnTokenExpired func(TokenExpiredEvent) error
OnTransactionCreated func(TransactionCreatedEvent) error
OnTransactionDeleted func(TransactionDeletedEvent) error
OnTransactionUpdated func(TransactionUpdatedEvent) error
OnUnbilledChargesCreated func(UnbilledChargesCreatedEvent) error
OnUnbilledChargesDeleted func(UnbilledChargesDeletedEvent) error
OnUnbilledChargesInvoiced func(UnbilledChargesInvoicedEvent) error
OnUnbilledChargesVoided func(UnbilledChargesVoidedEvent) error
OnUsageFileIngested func(UsageFileIngestedEvent) error
OnVariantCreated func(VariantCreatedEvent) error
OnVariantDeleted func(VariantDeletedEvent) error
OnVariantUpdated func(VariantUpdatedEvent) error
OnVirtualBankAccountAdded func(VirtualBankAccountAddedEvent) error
OnVirtualBankAccountDeleted func(VirtualBankAccountDeletedEvent) error
OnVirtualBankAccountUpdated func(VirtualBankAccountUpdatedEvent) error
OnVoucherCreateFailed func(VoucherCreateFailedEvent) error
OnVoucherCreated func(VoucherCreatedEvent) error
OnVoucherExpired func(VoucherExpiredEvent) error
}
func (*WebhookHandler) HTTPHandler ¶
func (h *WebhookHandler) HTTPHandler() http.Handler
func (*WebhookHandler) ParseAndDispatch ¶
func (h *WebhookHandler) ParseAndDispatch(body []byte) error