@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
48 lines (47 loc) • 1.54 kB
TypeScript
import { Condition } from "./condition";
import { Target } from "./target";
export declare class BalanceWebhookSettingInfo {
/**
* The array of conditions a balance change must meet for Adyen to send the webhook.
*/
"conditions"?: Array<Condition>;
/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance.
*/
"currency": string;
/**
* The status of the webhook setting. Possible values: * **active**: You receive a balance webhook if any of the conditions in this setting are met. * **inactive**: You do not receive a balance webhook even if the conditions in this settings are met.
*/
"status": BalanceWebhookSettingInfo.StatusEnum;
"target": Target;
/**
* The type of the webhook you are configuring. Set to **balance**.
*/
"type": BalanceWebhookSettingInfo.TypeEnum;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace BalanceWebhookSettingInfo {
enum StatusEnum {
Active = "active",
Inactive = "inactive"
}
enum TypeEnum {
Balance = "balance"
}
}