@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
13 lines (12 loc) • 1.11 kB
TypeScript
import { managementWebhooks } from "../typings";
declare class ManagementWebhookHandler {
private readonly payload;
constructor(jsonPayload: string);
getGenericWebhook(): managementWebhooks.MerchantUpdatedNotificationRequest | managementWebhooks.MerchantCreatedNotificationRequest | managementWebhooks.PaymentMethodCreatedNotificationRequest | managementWebhooks.PaymentMethodRequestRemovedNotificationRequest | managementWebhooks.PaymentMethodScheduledForRemovalNotificationRequest;
getMerchantCreatedNotificationRequest(): managementWebhooks.MerchantCreatedNotificationRequest;
getMerchantUpdatedNotificationRequest(): managementWebhooks.MerchantUpdatedNotificationRequest;
getPaymentMethodCreatedNotificationRequest(): managementWebhooks.PaymentMethodCreatedNotificationRequest;
getPaymentMethodRequestRemovedNotificationRequest(): managementWebhooks.PaymentMethodRequestRemovedNotificationRequest;
getPaymentMethodScheduledForRemovalNotificationRequest(): managementWebhooks.PaymentMethodScheduledForRemovalNotificationRequest;
}
export default ManagementWebhookHandler;