-
Notifications
You must be signed in to change notification settings - Fork 62
/
paymentMethodCreatedNotificationRequest.ts
60 lines (54 loc) · 1.63 KB
/
paymentMethodCreatedNotificationRequest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* The version of the OpenAPI document: v3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { MidServiceNotificationData } from './midServiceNotificationData';
export class PaymentMethodCreatedNotificationRequest {
/**
* Timestamp for when the webhook was created.
*/
'createdAt': Date;
'data': MidServiceNotificationData;
/**
* The environment from which the webhook originated. Possible values: **test**, **live**.
*/
'environment': string;
/**
* Type of notification.
*/
'type': PaymentMethodCreatedNotificationRequest.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "createdAt",
"baseName": "createdAt",
"type": "Date"
},
{
"name": "data",
"baseName": "data",
"type": "MidServiceNotificationData"
},
{
"name": "environment",
"baseName": "environment",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "PaymentMethodCreatedNotificationRequest.TypeEnum"
} ];
static getAttributeTypeMap() {
return PaymentMethodCreatedNotificationRequest.attributeTypeMap;
}
}
export namespace PaymentMethodCreatedNotificationRequest {
export enum TypeEnum {
PaymentMethodCreated = 'paymentMethod.created'
}
}