mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-10 08:01:20 +00:00
* create first version of management api structure and "me" endpoints * change me/allowedOrigins response to fix bug in API Spec file
57 lines
1.3 KiB
TypeScript
57 lines
1.3 KiB
TypeScript
/*
|
|
* The version of the OpenAPI document: v1
|
|
* Contact: developer-experience@adyen.com
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit this class manually.
|
|
*/
|
|
|
|
import { Merchant } from './merchant';
|
|
import { PaginationLinks } from './paginationLinks';
|
|
|
|
export class ListMerchantResponse {
|
|
'links'?: PaginationLinks;
|
|
/**
|
|
* The list of merchant accounts.
|
|
*/
|
|
'data'?: Array<Merchant>;
|
|
/**
|
|
* Total number of items.
|
|
*/
|
|
'itemsTotal': number;
|
|
/**
|
|
* Total number of pages.
|
|
*/
|
|
'pagesTotal': number;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "links",
|
|
"baseName": "_links",
|
|
"type": "PaginationLinks"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"baseName": "data",
|
|
"type": "Array<Merchant>"
|
|
},
|
|
{
|
|
"name": "itemsTotal",
|
|
"baseName": "itemsTotal",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "pagesTotal",
|
|
"baseName": "pagesTotal",
|
|
"type": "number"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return ListMerchantResponse.attributeTypeMap;
|
|
}
|
|
}
|
|
|