# IOutput | @coopenomics/sdk
Documentation for @coopenomics/sdk

# Type alias IOutput

IOutput: {
getPaymentMethods: {
currentPage: number;
items: {
created_at: unknown;
data: ({
__typename: "BankAccount";
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
} | {
__typename: "SbpAccount";
phone: string;
}) & {};
is_default: boolean;
method_id: string;
method_type: string;
updated_at: unknown;
username: string;
}[];
totalCount: number;
totalPages: number;
};
}

#### Type declaration

- ##### getPaymentMethods: {
  currentPage: number;
  items: {
  created_at: unknown;
  data: ({
  __typename: "BankAccount";
  account_number: string;
  bank_name: string;
  card_number?: null | string;
  currency: string;
  details: {
  bik: string;
  corr: string;
  kpp: string;
  };
  } | {
  __typename: "SbpAccount";
  phone: string;
  }) & {};
  is_default: boolean;
  method_id: string;
  method_type: string;
  updated_at: unknown;
  username: string;
  }[];
  totalCount: number;
  totalPages: number;
  }

  Получить список методов оплаты

  - ##### currentPage: number

    Текущая страница

  - ##### items: {
    created_at: unknown;
    data: ({
    __typename: "BankAccount";
    account_number: string;
    bank_name: string;
    card_number?: null | string;
    currency: string;
    details: {
    bik: string;
    corr: string;
    kpp: string;
    };
    } | {
    __typename: "SbpAccount";
    phone: string;
    }) & {};
    is_default: boolean;
    method_id: string;
    method_type: string;
    updated_at: unknown;
    username: string;
    }[]

    Элементы текущей страницы

  - ##### totalCount: number

    Общее количество элементов

  - ##### totalPages: number

    Общее количество страниц

- Defined in components/sdk/src/queries/paymentMethods/getPaymentMethods.ts:23